Пример #1
0
        public void SetSource(string source)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.SetSource(source);

            if (source == Source.GP)
            {
                string appkey = Config.main.iapAppKeyGoogle;
                platformWrapper.SetAppKey(appkey);
            }
        }
Пример #2
0
        public void StopBuy(string product)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.StopBuy(product);
        }
Пример #3
0
        public void RestoreBuy(string product)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.RestoreBuy(product);
        }
Пример #4
0
        //consume 消费类型
        public void StartBuy(string product, bool isConsume)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.StartBuy(product, isConsume);
        }
Пример #5
0
        public void SetObjectInfo(string objName, string objMethod)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.SetObjectInfo(objName, objMethod);
        }
Пример #6
0
        public void SetSource(string source)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.SetSource(source);
        }