private IEnumerator ShowAnnounce() { LoungeAnnounce announce = MonoBehaviourSingleton <UIManager> .I.loungeAnnounce; if (announce == null) { loungeAnnounceCoroutine = null; } else { while (loungeAnnounceQueue.Count > 0) { LoungeAnnounce.AnnounceData annouceData = loungeAnnounceQueue.Dequeue(); bool wait = true; announce.Play(annouceData, delegate { ((_003CShowAnnounce_003Ec__IteratorDE) /*Error near IL_0085: stateMachine*/)._003Cwait_003E__2 = false; }); while (wait) { yield return((object)null); } yield return((object)new WaitForSeconds(0.3f)); } loungeAnnounceCoroutine = null; } }
private void CreatePartyAnnounce(int userId) { NeedLoungeQuestBalloonUpdate = true; LoungeModel.SlotInfo slotInfoByUserId = MonoBehaviourSingleton <LoungeMatchingManager> .I.GetSlotInfoByUserId(userId); LoungeAnnounce.AnnounceData announce = new LoungeAnnounce.AnnounceData(LoungeAnnounce.ANNOUNCE_TYPE.CREATED_PARTY, slotInfoByUserId.userInfo.name); SetAnnounce(announce); }
private void SetAnnounce(LoungeAnnounce.AnnounceData data) { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Expected O, but got Unknown if (!object.ReferenceEquals(data, null)) { loungeAnnounceQueue.Enqueue(data); if (object.ReferenceEquals(loungeAnnounceCoroutine, null)) { loungeAnnounceCoroutine = this.StartCoroutine(ShowAnnounce()); } } }