Beispiel #1
0
 public void SetLoginAuthMessage(ACLoginAuthMessage message)
 {
     accountId               = message.Protocol.AccountId;
     areas                   = message.Protocol.AreaList;
     channel                 = message.Protocol.ChannelMsg;
     isFirstQuickLogin       = message.Protocol.IsFirstQuickLogin;
     isShowActivityInterface = message.Protocol.IsShowActiveInterface;
     lastAreaId              = message.Protocol.LastAreaId;
     result                  = message.Protocol.ResultCode;
     token                   = message.Protocol.Token;
 }
Beispiel #2
0
 // 登录认证服务器响应
 private void OnLoginASRes(ACLoginAuthMessage message)
 {
     PrintBusinessLog("[OnLoginAuthRes] OnLoginASRes " + GetErrorKey(message.ResultCode) + " 0x" + Convert.ToString(message.ResultCode, 16));
     ReceiveResponse(new PRLoginAS(message).InitMessage(message));
 }