protected void AnwCallBack(MsgRec msgRec) { Farm_Game_NewUser_Anw msgRecPro = (Farm_Game_NewUser_Anw)msgRec._proto; LoginModel.Instance.Uid = msgRecPro.UserGameID; LoginModel.Instance.Nickname = name; GetDispatcher().Dispatch(CreateEvent.OnCreateSucc); }
public void SetData(Farm_Game_NewUser_Anw GenerateAnw) { CreateResult = GenerateAnw.CreateResult; UserGameID = GenerateAnw.UserGameID; }