예제 #1
0
 public void OnPlatformLogin()
 {
     _loginParam = new ArrayList()
     {
         ApplicationConst.PlatformID,
         ApplicationConst.ChannelID,
         DeviceInfo.GetDeviceInfo(),
         System.Guid.NewGuid().ToString(),
         SystemInfo.deviceUniqueIdentifier,
         PlayerInfo.Account,
         PlayerInfo.Token
     };
     CommonCommand.ExecuteShort(Client2ServerList.GetInst().C2S_LOGIN_SHORT, _loginParam, true);
 }
예제 #2
0
        private void OnConfirm()
        {
            string command = commandInput.text;

            if (command.Equals(string.Empty))
            {
                return;
            }

            if (ClientGM(command))
            {
                return;
            }

            string[]  param     = command.Split(' ');
            ArrayList paramList = new ArrayList()
            {
                param[0], param[1], param.Length == 3 ? param[2] : string.Empty
            };

            CommonCommand.ExecuteShort(Client2ServerList.GetInst().C2S_GM, paramList);
        }