C# Класс GTAVBETrainerDotNet.Weapon.WeaponData

Weapon data
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Clone() публичный Метод

Creates a clone of this weapon data.
Selected attachment index will not be cloned.
Attachment data only clones reference.
public Clone ( ) : WeaponData
Результат WeaponData

GetAttachmentData() публичный Метод

Gets the specified attachment data of this weapon
public GetAttachmentData ( int index ) : WeaponAttachmentData
index int Index of attachment
Результат WeaponAttachmentData

WeaponData() публичный Метод

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
Результат System