示例#1
0
 void OnLoginRsp(qp_server.qp_login_rsp rsp)
 {
     Log.Logic("room login_rsp state={0}", rsp.state);
     if (rsp.state != 0)
     {
         Scheduling.Ins.ChangeScene(SceneType.ST_Login);
     }
     else
     {
         NetPacketHandle.LoginRspHandle(rsp);
     }
 }
示例#2
0
 void OnLoginRsp(qp_server.qp_login_rsp rsp)
 {
     Log.Logic("login_rsp state={0}", rsp.state);
     if (rsp.state != 0)
     {
         DestoryBlocked();
         if (accountLoginControl != null)
         {
             accountLoginControl.SetState("账号验证失败");
         }
     }
     else
     {
         DestoryBlocked();
         NetPacketHandle.LoginRspHandle(rsp);
     }
 }