少年修仙传客户端代码仓库
System/Login/LoginModel.cs
@@ -16,7 +16,8 @@
        public SDKUtility.FP_LoginOk sdkLoginResult;
        public SDKUtility.FP_CheckIDAuthentication sdkIDCheckIDAuthentication;
        public string localSaveAccountName {
        public string localSaveAccountName
        {
            get { return LocalSave.GetString(USER_ACCOUNT); }
            set { LocalSave.SetString(USER_ACCOUNT, value); }
        }
@@ -25,19 +26,22 @@
        public event Action accountBindOkEvent;
        bool m_ReconnecBackGround = false;
        public bool reconnectBackGround {
        public bool reconnectBackGround
        {
            get { return m_ReconnecBackGround; }
            set { m_ReconnecBackGround = value; }
        }
        bool m_OnCreateRole = false;
        public bool onCreateRole {
        public bool onCreateRole
        {
            get { return m_OnCreateRole; }
            set { m_OnCreateRole = value; }
        }
        bool m_Busy = false;
        public bool busy {
        public bool busy
        {
            get { return m_Busy; }
            set { m_Busy = value; }
        }
@@ -171,6 +175,13 @@
            if (sdkLogined)
            {
                AccountLogin(sdkLoginResult.account, _ip, _port, _gamePort);
            }
            else
            {
                if (SDKUtility.Instance.ChannelPlatform == SDKUtility.E_ChannelPlatform.Yl)
                {
                    SDKUtility.Instance.FreePlatformLogin();
                }
            }
        }
@@ -315,7 +326,8 @@
                                       SDKUtility.Yj_AppID + "|" +
                                       SDKUtility.Instance.FreePlatformInfo.accountID);
                        send.ExtraLen = (byte)send.Extra.Length;
                    }else if(SDKUtility.Instance.ChannelPlatform == SDKUtility.E_ChannelPlatform.Yl)
                    }
                    else if (SDKUtility.Instance.ChannelPlatform == SDKUtility.E_ChannelPlatform.Yl)
                    {
                        send.IDType = 6;
                    }