Esempio n. 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);
            }
        }
Esempio n. 2
0
        public void StopBuy(string product)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.StopBuy(product);
        }
Esempio n. 3
0
        public void RestoreBuy(string product)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.RestoreBuy(product);
        }
Esempio n. 4
0
        //consume 消费类型
        public void StartBuy(string product, bool isConsume)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.StartBuy(product, isConsume);
        }
Esempio n. 5
0
        public void SetObjectInfo(string objName, string objMethod)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.SetObjectInfo(objName, objMethod);
        }
Esempio n. 6
0
        public void SetSource(string source)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.SetSource(source);
        }