public void SetSource(string source) { BasePlatformWrapper platformWrapper = PlatformWrapper.platform; platformWrapper.SetSource(source); if (source == Source.GP) { string appkey = Config.main.iapAppKeyGoogle; platformWrapper.SetAppKey(appkey); } }
public void StopBuy(string product) { BasePlatformWrapper platformWrapper = PlatformWrapper.platform; platformWrapper.StopBuy(product); }
public void RestoreBuy(string product) { BasePlatformWrapper platformWrapper = PlatformWrapper.platform; platformWrapper.RestoreBuy(product); }
//consume 消费类型 public void StartBuy(string product, bool isConsume) { BasePlatformWrapper platformWrapper = PlatformWrapper.platform; platformWrapper.StartBuy(product, isConsume); }
public void SetObjectInfo(string objName, string objMethod) { BasePlatformWrapper platformWrapper = PlatformWrapper.platform; platformWrapper.SetObjectInfo(objName, objMethod); }
public void SetSource(string source) { BasePlatformWrapper platformWrapper = PlatformWrapper.platform; platformWrapper.SetSource(source); }