private void HandleGetMailDataCmd(CommandParser.Command param) { MC2S_GetMailData mC2S_GetMailData = new MC2S_GetMailData(); mC2S_GetMailData.MinMailID = 0u; Globals.Instance.CliSession.Send(212, mC2S_GetMailData); }
public void OnEmailClick(GameObject go) { Globals.Instance.EffectSoundMgr.Play("ui/ui_001"); if (Globals.Instance.Player.HasNewMail()) { MC2S_GetMailData mC2S_GetMailData = new MC2S_GetMailData(); mC2S_GetMailData.MinMailID = Globals.Instance.Player.MaxMailID; Globals.Instance.CliSession.Send(212, mC2S_GetMailData); } else { this.OnGetMailEvent(); } }