|
| Inventory () |
| Initializes a new instance of the Inventory class. More...
|
|
| Inventory (string jsonString) |
| Initializes a new instance of the Inventory class from a JSON formatted string. More...
|
|
| Inventory (Hashtable hash) |
| Initializes a new instance of the Inventory class from a Hashtable. More...
|
|
virtual void | FromJson (string jsonString) |
| Initialize the object from a JSON formatted string. More...
|
|
virtual void | FromHashtable (Hashtable hash) |
| Initialize the object from a hashtable. More...
|
|
virtual void | Update (System.Action< bool, string > callback) |
| Update this inventory item to server. More...
|
|
virtual void | Delete (System.Action< bool, string > callback) |
| Delete this inventory item from server. More...
|
|
|
static void | Load (string userId, System.Action< Inventory[], string > callback) |
| Load the inventory items of a User. More...
|
|
static void | Load< T > (string userId, System.Action< T[], string > callback) |
| Load the inventory of a User. More...
|
|
static void | Delete (long idInventory, System.Action< bool, string > callback) |
| Delete the specified inventory item from server. More...
|
|
|
string | name = "" |
|
int | quantity = 0 |
|
Hashtable | customData = new Hashtable() |
|
Combu.Inventory.Inventory |
( |
| ) |
|
Initializes a new instance of the Inventory class.
Combu.Inventory.Inventory |
( |
string |
jsonString | ) |
|
Initializes a new instance of the Inventory class from a JSON formatted string.
- Parameters
-
jsonString | JSON formatted string. |
Combu.Inventory.Inventory |
( |
Hashtable |
hash | ) |
|
Initializes a new instance of the Inventory class from a Hashtable.
- Parameters
-
virtual void Combu.Inventory.Delete |
( |
System.Action< bool, string > |
callback | ) |
|
|
virtual |
Delete this inventory item from server.
- Parameters
-
static void Combu.Inventory.Delete |
( |
long |
idInventory, |
|
|
System.Action< bool, string > |
callback |
|
) |
| |
|
static |
Delete the specified inventory item from server.
- Parameters
-
idInventory | Identifier inventory. |
callback | Callback. |
virtual void Combu.Inventory.FromHashtable |
( |
Hashtable |
hash | ) |
|
|
virtual |
Initialize the object from a hashtable.
- Parameters
-
virtual void Combu.Inventory.FromJson |
( |
string |
jsonString | ) |
|
|
virtual |
Initialize the object from a JSON formatted string.
- Parameters
-
static void Combu.Inventory.Load |
( |
string |
userId, |
|
|
System.Action< Inventory[], string > |
callback |
|
) |
| |
|
static |
Load the inventory items of a User.
- Parameters
-
userId | User identifier. |
callback | Callback. |
Load the inventory of a User.
- Parameters
-
userId | User identifier. |
callback | Callback. |
- Template Parameters
-
virtual void Combu.Inventory.Update |
( |
System.Action< bool, string > |
callback | ) |
|
|
virtual |
Update this inventory item to server.
- Parameters
-
The documentation for this class was generated from the following file:
- /Users/ziored/Documents/Projects/Unity/Empty Test/Assets/Combu/Scripts/Inventory.cs