Method CreateInventory
CreateInventory(string, string, string, int, Completer)
Request to create a new inventory with the given id.
Declaration
void CreateInventory(string definitionId, string inventoryId, string displayName, int gameItemId, Completer completer)
Parameters
Type | Name | Description |
---|---|---|
string | definitionId | Id of the definition used to create the inventory. |
string | inventoryId | Id to give to the created inventory. |
string | displayName | Friendly name of the created inventory that will be displayed. |
int | gameItemId | Id of the item use by GameItemLookup. |
Completer | completer | The handle to settle the promise with. |