C# 클래스 SpilGames.Unity.Utils.UnityEditor.Responses.PlayerDataResponse

상속: Response
파일 보기 프로젝트 열기: spilgames/spil_event_unity_plugin

공개 프로퍼티들

프로퍼티 타입 설명
Inventory InventoryData
Wallet WalletData

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

ConsumeBundle() 공개 메소드

public ConsumeBundle ( int bundleId, string reason ) : void
bundleId int
reason string
리턴 void

InitInventory() 공개 메소드

public InitInventory ( ) : InventoryData
리턴 InventoryData

InitWallet() 공개 메소드

public InitWallet ( ) : WalletData
리턴 WalletData

InventoryOperation() 공개 메소드

public InventoryOperation ( string action, int itemId, int amount, string reason ) : void
action string
itemId int
amount int
reason string
리턴 void

ProcessPlayerDataResponse() 공개 메소드

public ProcessPlayerDataResponse ( ResponseEvent response ) : void
response ResponseEvent
리턴 void

WalletOperation() 공개 메소드

public WalletOperation ( string action, int currencyId, int amount, string reason ) : void
action string
currencyId int
amount int
reason string
리턴 void

프로퍼티 상세

Inventory 공개적으로 프로퍼티

public InventoryData Inventory
리턴 InventoryData

Wallet 공개적으로 프로퍼티

public WalletData Wallet
리턴 WalletData