| | |
| | | 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";
|
| | |
| | | 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;
|
| | |
| | |
|
| | | public void AccountLogin(string _account, string _ip, int _port, int _gamePort)
|
| | | {
|
| | | isLogined = true;
|
| | | if (Application.internetReachability == NetworkReachability.NotReachable)
|
| | | {
|
| | | ConfirmCancel.ShowPopConfirm(
|