C# 클래스 SpilGames.Unity.Helpers.SpilGameDataHelper

This is the business object that the developer can use to work with Spil Game Data (Currencies, Items, Bundles, Shop). Much easier to work with than the raw data!
파일 보기 프로젝트 열기: spilgames/spil_event_unity_plugin

공개 프로퍼티들

프로퍼티 타입 설명
Bundles List
Currencies List
Items List
Promotions List
Shop Shop

공개 메소드들

메소드 설명
GetBundle ( int bundleId ) : Bundle

Helper method that returns the Bundle for a given bundleId Returns null if no bundle was found

GetCurrency ( int currencyId ) : Currency

Helper method that returns the Currency for a given currencyId Returns null if no currency was found

GetItem ( int itemId ) : Item

Helper method that returns the Item for a given itemId Returns null if no item was found

RefreshData ( SpilUnityImplementationBase Instance ) : void
SpilGameDataHandler ( ) : void
SpilGameDataHelper ( SpilUnityImplementationBase Instance ) : System

비공개 메소드들

메소드 설명
AddDataToHelper ( List currencies, List items, List bundles, List shop, List promotions ) : void
UpdateSpilGameData ( ) : void

메소드 상세

GetBundle() 공개 메소드

Helper method that returns the Bundle for a given bundleId Returns null if no bundle was found
public GetBundle ( int bundleId ) : Bundle
bundleId int
리턴 Bundle

GetCurrency() 공개 메소드

Helper method that returns the Currency for a given currencyId Returns null if no currency was found
public GetCurrency ( int currencyId ) : Currency
currencyId int
리턴 Currency

GetItem() 공개 메소드

Helper method that returns the Item for a given itemId Returns null if no item was found
public GetItem ( int itemId ) : Item
itemId int
리턴 Item

RefreshData() 공개 메소드

public RefreshData ( SpilUnityImplementationBase Instance ) : void
Instance SpilUnityImplementationBase
리턴 void

SpilGameDataHandler() 공개 메소드

public SpilGameDataHandler ( ) : void
리턴 void

SpilGameDataHelper() 공개 메소드

public SpilGameDataHelper ( SpilUnityImplementationBase Instance ) : System
Instance SpilUnityImplementationBase
리턴 System

프로퍼티 상세

Bundles 공개적으로 프로퍼티

public List Bundles
리턴 List

Currencies 공개적으로 프로퍼티

public List Currencies
리턴 List

Items 공개적으로 프로퍼티

public List Items
리턴 List

Promotions 공개적으로 프로퍼티

public List Promotions
리턴 List

Shop 공개적으로 프로퍼티

public Shop,SpilGames.Unity.Helpers Shop
리턴 Shop