C# Class GTAVBETrainerDotNet.Weapon.WeaponData

Weapon data
Show file Open project: betenner/betrainer Class Usage Examples

Public Methods

Method Description
Clone ( ) : WeaponData

Creates a clone of this weapon data.
Selected attachment index will not be cloned.
Attachment data only clones reference.

GetAttachmentData ( int index ) : WeaponAttachmentData

Gets the specified attachment data of this weapon

WeaponData ( string name, string internalValue, bool tint = true ) : System

Creates a weapon data

Method Details

Clone() public method

Creates a clone of this weapon data.
Selected attachment index will not be cloned.
Attachment data only clones reference.
public Clone ( ) : WeaponData
return WeaponData

GetAttachmentData() public method

Gets the specified attachment data of this weapon
public GetAttachmentData ( int index ) : WeaponAttachmentData
index int Index of attachment
return WeaponAttachmentData

WeaponData() public method

Creates a weapon data
public WeaponData ( string name, string internalValue, bool tint = true ) : System
name string Name
internalValue string Internal value
tint bool Can has tint
return System