C# Class Item, TestGame

Inheritance: MonoBehaviour
Afficher le fichier Open project: liuxq/TestGame Class Usage Examples

Méthodes publiques

Свойство Type Description
indexItemInList int
itemDesc string
itemID int
itemIcon Sprite
itemIndex int
itemModel GameObject
itemName string
itemType ItemType
itemUUID UInt64
itemValue int
itemWeight float
maxStack int
rarity int

Méthodes publiques

Méthode Description
Item ( ) : System
Item ( string name, int id, string desc, Sprite icon, GameObject model, int maxStack, ItemType type, string sendmessagetext, List itemAttributes ) : System
getCopy ( ) : Item
isConsumeItem ( ) : bool
isEquipItem ( ) : bool

Method Details

Item() public méthode

public Item ( ) : System
Résultat System

Item() public méthode

public Item ( string name, int id, string desc, Sprite icon, GameObject model, int maxStack, ItemType type, string sendmessagetext, List itemAttributes ) : System
name string
id int
desc string
icon Sprite
model GameObject
maxStack int
type ItemType
sendmessagetext string
itemAttributes List
Résultat System

getCopy() public méthode

public getCopy ( ) : Item
Résultat Item

isConsumeItem() public méthode

public isConsumeItem ( ) : bool
Résultat bool

isEquipItem() public méthode

public isEquipItem ( ) : bool
Résultat bool

Property Details

indexItemInList public_oe property

public int indexItemInList
Résultat int

itemDesc public_oe property

public string itemDesc
Résultat string

itemID public_oe property

public int itemID
Résultat int

itemIcon public_oe property

public Sprite itemIcon
Résultat Sprite

itemIndex public_oe property

public int itemIndex
Résultat int

itemModel public_oe property

public GameObject itemModel
Résultat GameObject

itemName public_oe property

public string itemName
Résultat string

itemType public_oe property

public ItemType itemType
Résultat ItemType

itemUUID public_oe property

public UInt64 itemUUID
Résultat UInt64

itemValue public_oe property

public int itemValue
Résultat int

itemWeight public_oe property

public float itemWeight
Résultat float

maxStack public_oe property

public int maxStack
Résultat int

rarity public_oe property

public int rarity
Résultat int