UserItem - TogetherGames/Public-Unity-CSharp GitHub Wiki
Together::UserItem
The UserItem class represents an Item belonging to the User's account.
long UserItemID
The ID of the UserItem.
long RoomID
The ID of the Room the UserItem was created in. If equal to 0, then the UserItem wasn't created in a room.
Item Item
The base Item that the UserItem is essentially an instance of.
PropertyCollection Properties
A property collection containing all custom properties for the UserItem.
Modifies the UserItem. Upon success, this will automatically update the internal data. The UserItemID and Properties members are sent to the server when this method is called.
Returns void
UserItem.Modify( callbackFunc )
OnCompleteHandler callbackFunc
The function to call upon completion.
--------------------------------------------------------------------------------