Property | Type | Description | |
---|---|---|---|
Inventory | InventoryData | ||
Wallet | WalletData |
Method | Description | |
---|---|---|
ConsumeBundle ( int bundleId, string reason ) : void | ||
InitInventory ( ) : InventoryData | ||
InitWallet ( ) : WalletData | ||
InventoryOperation ( string action, int itemId, int amount, string reason ) : void | ||
ProcessPlayerDataResponse ( ResponseEvent response ) : void | ||
WalletOperation ( string action, int currencyId, int amount, string reason ) : void |
Method | Description | |
---|---|---|
CalculatePlayerDataResponse ( WalletData receivedWallet, InventoryData receivedInventory ) : void | ||
GetBundleFromObjects ( int bundleId ) : SpilBundleData | ||
GetCurrencyFromWallet ( int currencyId ) : PlayerCurrencyData | ||
GetItemFromInventory ( int itemId ) : PlayerItemData | ||
GetItemFromObjects ( int itemId ) : SpilItemData | ||
GetPromotionFromObjects ( int bundleId ) : SpilShopPromotionData | ||
IsPromotionValid ( SpilShopPromotionData promotion ) : bool | ||
SendUpdatePlayerDataEvent ( PlayerItemData item, string reason ) : void | ||
SendUpdatePlayerDataEvent ( SpilBundleData bundle, string reason ) : void | ||
SendUpdatePlayerDataEvent ( string reason ) : void | ||
UpdateCurrency ( PlayerCurrencyData currency ) : void | ||
UpdateItem ( PlayerItemData item ) : void |
public ConsumeBundle ( int bundleId, string reason ) : void | ||
bundleId | int | |
reason | string | |
return | void |
public InventoryOperation ( string action, int itemId, int amount, string reason ) : void | ||
action | string | |
itemId | int | |
amount | int | |
reason | string | |
return | void |
public ProcessPlayerDataResponse ( ResponseEvent response ) : void | ||
response | ResponseEvent | |
return | void |
public WalletOperation ( string action, int currencyId, int amount, string reason ) : void | ||
action | string | |
currencyId | int | |
amount | int | |
reason | string | |
return | void |