ItemData - SocialPlay/CloudGoodsUnitySDK GitHub Wiki

ItemData is the main class of all the cloud goods items. It holds all the information about the item

Public Variables

public string itemName - The name of the item

internal Guid stackID - The ID of the item stack

internal int classID - the ID representing the items base class

internal int CollectionID the ID representing the items collection

internal int ItemID - The ID represting the variance of this item

internal int totalEnergy - Total energy of the item with the extra variance added

internal int baseEnergy - The base energy of the item without variance

internal List<BehaviourDefinition> behaviours - List of existing behaviour of the item

internal string description - Brief description of the item

internal int quality - The amount contained in the item stack

internal string imageName - URL containing the items image

internal int persistantLocation - The ID of the location of this item on the database

internal Dictionary<string, float> stats - List of stats of the item

internal string assetURL - URL of the assest used when instatiating this item

internal List<string> tags - List of all the string tags tied to this item

⚠️ **GitHub.com Fallback** ⚠️