HOCO Unity SDK 0.0.15-Alpha
A Web3 SDK provided by HoneyComb
|
Public Attributes | |
string | ItemName = string.Empty |
The Name of the InvItem. | |
string | ItemDescription = string.Empty |
Flavor text for the Player. | |
float | ItemWeight = 0f |
The Weight of the InvItem when its a Stack of 1. | |
long | ItemValue = 1 |
ItemType | ItemType = ItemType.General |
Should be the value of one of the ItemTypes. | |
ItemRarity | ItemRarity = ItemRarity.Trash |
EquipmentType | ItemEquipType = EquipmentType.None |
DecorationType | ItemDecoType = DecorationType.GroundAndWalls |
Properties | |
int | ItemId [get] |
The ItemId is specialy crafted via InvItem Types, and is followed by the actual id which is 4 digits long. For example, If a Wall InvItem type = 10 then a WallItem might have an index of 100005, 101210, or 109999. If a Deco InvItem type = 420 then a DecoItem might have an index of 4200005, 4201210, or 4209999. See ItemType for more details. | |
int | ItemIndex [get, set] |
This is the Unique Index of the Type, like the 5 in 100005,or the 1210 in 101210, or 9999 in 109999. | |
ItemStats | ItemStats = new ItemStats() [get, set] |
bool | HasNFTData [get] |
Use to see if NFTData is null before you use it, When true it mean its an NFT Item. | |
NFTMetadata | NFTData [get, set] |
string ItemName = string.Empty |
The Name of the InvItem.
Referenced by ItemDataTest.SerializeCycle_Single().
string ItemDescription = string.Empty |
Flavor text for the Player.
float ItemWeight = 0f |
The Weight of the InvItem when its a Stack of 1.
long ItemValue = 1 |
Should be the value of one of the ItemTypes.
EquipmentType ItemEquipType = EquipmentType.None |
DecorationType ItemDecoType = DecorationType.GroundAndWalls |
|
get |
The ItemId is specialy crafted via InvItem Types, and is followed by the actual id which is 4 digits long. For example, If a Wall InvItem type = 10 then a WallItem might have an index of 100005, 101210, or 109999. If a Deco InvItem type = 420 then a DecoItem might have an index of 4200005, 4201210, or 4209999. See ItemType for more details.
|
getset |
This is the Unique Index of the Type, like the 5 in 100005,or the 1210 in 101210, or 9999 in 109999.
|
get |
Use to see if NFTData is null before you use it, When true it mean its an NFT Item.
|
getset |