void Recv_Login_Ans(System.IO.MemoryStream buffer) { MsgSvrCli_Login_Ans ans = new MsgSvrCli_Login_Ans(); if (false == ans.Load(buffer)) { Log("MessageFormatError(MsgSvrCli_Login_Ans)"); return; } Log("MsgSvrCli_Login_Ans(user_seq:" + ans.user_data.user_seq + ", error_code:" + ans.error_code.ToString() + ")"); if (ErrorCode.Success != ans.error_code) { session.Close(); return; } user_data = ans.user_data; if (null != coroutine) { StopCoroutine(coroutine); } coroutine = StartCoroutine(SendHeartBeat()); }
public static int Size(MsgSvrCli_Login_Ans obj) { return(obj.Size()); }
public static bool Load(ref MsgSvrCli_Login_Ans obj, MemoryStream _buf_) { return(obj.Load(_buf_)); }
public static bool Store(MemoryStream _buf_, MsgSvrCli_Login_Ans obj) { return(obj.Store(_buf_)); }