少年修仙传客户端代码仓库
client_Wu Xijin
2018-11-13 6f505576d5f496c7c3160a9282f821d1c7a8cc43
2341 【1.3】【1.2】游戏充值串号
2个文件已修改
10 ■■■■■ 已修改文件
System/Login/LoginModel.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Login/ServerListCenter.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Login/LoginModel.cs
@@ -6,7 +6,7 @@
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
    public class LoginModel : Model
    public class LoginModel : Model
    {
        public const uint DwVersionNo = 153518004;
        public readonly static string USER_ACCOUNT = Application.dataPath + "UserAccount";
@@ -76,6 +76,8 @@
        public string accountBuf { get; private set; }
        public string passwordBuf { get; private set; }
        public bool isLogined { get; private set; }
        private void OnSDKAccountLoginOk(SDKUtility.FP_LoginOk _result)
        {
            sdkLogined = true;
@@ -132,6 +134,7 @@
        public void AccountLogin(string _account, string _ip, int _port, int _gamePort)
        {
            isLogined = true;
            if (Application.internetReachability == NetworkReachability.NotReachable)
            {
                ConfirmCancel.ShowPopConfirm(
System/Login/ServerListCenter.cs
@@ -393,6 +393,11 @@
    private void FiltrateDefaultServerAndServerGroup()
    {
        if (ModelCenter.Instance.GetModel<LoginModel>().isLogined)
        {
            return;
        }
        if (serverInfoPlayer != null && serverInfoPlayer.player != null && serverInfoPlayer.player.group_list != null && serverInfoPlayer.player.group_list.Length > 0)
        {
            currentServer = serverInfoPlayer.player.group_list[0];