CloudsGoodsClasses - SocialPlay/CloudGoodsUnitySDK GitHub Wiki

public class UserResponse

The class object used to hold the status of the information for the currently active user in the App

public int code The response code ID identifying the status of the user.

public string message A string message that is populated when an error is thrown when getting a UserResponse

public SocialplayUser userInfo All of the user info received from the user response.

public override string ToString() Returns a string representation of the code and message of the userResponse

Socialplay User

The class object used to hold the information for the currently active user in the App

public bool isNewUserToWorld shows if it is the users first time logging into the app

public string userName the name of the logged in user

public string userEmail the email attached to the logged in user

public Guid sessionID the ID of the Session created when the user has logged into the app

public Guid userID the ID of the user that is logged in

public class StoreItem

The class object containing information on the given store item in the App

public int ID The ID for the item in the store

public string itemName The string representation of the item name in the store

public List<StoreItemDetail> itemDetail A list of all the properties and values of the item in the store

public DateTime addedDate the DateTime format add date of the item into the store

public string behaviours string representation of the items behaviours

public List<string> tags a list of all the tags tied to the item in the store

public int itemID an int representation of the item ID

public int premiumCurrencyValue the amount received in premium currency when selling the item at the store

public int standardCurrencyValue the amount received in standard currency when selling the item at the store

public string imageURL string representation of the URL containing the item image

StoreItemDetail

Detailed information about the item in the store

public string propertyName The name of a property in the item

public int value The number value of a property in the item

public bool invertEnergy Indicates if the the value of the item has a positive or negitive impact on the total energy value of the item

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