private void SaveInvitation(string id, string title, string content, string summerId, InvitateType type = InvitateType.KHOrZDY) { if (this.saveData != string.Empty) { this.saveData = string.Concat(new object[] { this.saveData, "|", id, "&", title, "&", content, "&", summerId, "&", (int)type }); } else { this.saveData = string.Concat(new object[] { id, "&", title, "&", content, "&", summerId, "&", (int)type }); } }
private IEnumerator AddOneNotice(string id, string title, string content, string summerId, InvitateType type = InvitateType.KHOrZDY) { InvitationView.< AddOneNotice > c__Iterator13A <AddOneNotice> c__Iterator13A = new InvitationView.< AddOneNotice > c__Iterator13A();
public void AddInvitation(string id, string title, string content, string summerId, InvitateType type = InvitateType.KHOrZDY) { if (SceneManager.Instance.CurSceneType == SceneType.Home && !Singleton <PvpRoomView> .Instance.IsOpen && !Singleton <PvpSelectHeroView> .Instance.IsOpen) { if (!Singleton <InvitationView> .Instance.IsOpen) { CtrlManager.OpenWindow(WindowID.InvitationView, null); } this.coroutineManager.StartCoroutine(this.AddOneNotice(id, title, content, summerId, type), true); } else { this.SaveInvitation(id, title, content, summerId, type); } }