Esempio n. 1
0
        public void Call_Cmd(string cmd, string info = null, string jstr = null, bool waiting = true)
        {
            Debug.Log(string.Concat(new string[]
            {
                "Call Cmd ",
                cmd,
                "  ",
                info,
                "  ",
                jstr,
                "\n"
            }));
            bool flag = Application.platform != RuntimePlatform.IPhonePlayer;

            if (!flag)
            {
                bool flag2 = Globle.QSMY_Platform_Index != ENUM_QSMY_PLATFORM.QSPF_LINKSDK;
                if (!flag2)
                {
                    if (waiting)
                    {
                        InterfaceMgr.getInstance().open(InterfaceMgr.SDK_LOADING, null, false);
                    }
                    IOSPlatformSDK.m_bInCalling = true;
                    bool flag3 = info != null && jstr != null;
                    if (flag3)
                    {
                        IOSPlatformSDK.CallSDKFunc(info, jstr);
                    }
                    IOSPlatformSDK.CallSDKFunc(cmd, "");
                }
            }
        }
Esempio n. 2
0
        public void Add_moreCmdInfo(string info, string jstr)
        {
            bool flag = Application.platform != RuntimePlatform.IPhonePlayer;

            if (!flag)
            {
                bool flag2 = Globle.QSMY_Platform_Index != ENUM_QSMY_PLATFORM.QSPF_LINKSDK;
                if (!flag2)
                {
                    IOSPlatformSDK.CallSDKFunc(info, jstr);
                }
            }
        }