togetheruseritem - TogetherGames/Public-Corona-Lua GitHub Wiki
Together::TogetherUserItem
The UserItem class represents an Item belonging to the User's account.
number UserItemID
The ID of the UserItem.
number RoomID
The ID of the Room the UserItem was created in. If equal to 0, then the UserItem wasn't created in a room.
TogetherItem 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
TogetherUserItem:Modify( callbackFunc )
function callbackFunc
The function to call upon completion.
--------------------------------------------------------------------------------