コード例 #1
0
ファイル: Community.cs プロジェクト: Hyhyx/WoWLegionCompanion
 public void HandleStreamRemovedEvent(Club.ClubStreamRemovedEvent streamRemovedEvent)
 {
     if (this.m_streamList.ContainsKey(streamRemovedEvent.StreamID))
     {
         this.m_streamList.Remove(streamRemovedEvent.StreamID);
     }
 }
コード例 #2
0
 private void OnStreamRemoved(Club.ClubStreamRemovedEvent removeStreamEvent)
 {
     if (CommunityData.m_communityDictionary.ContainsKey(removeStreamEvent.ClubID))
     {
         CommunityData.m_communityDictionary[removeStreamEvent.ClubID].HandleStreamRemovedEvent(removeStreamEvent);
         this.FireChannelRefreshCallback(removeStreamEvent.ClubID);
     }
 }
コード例 #3
0
 private void OnStreamRemoved(Club.ClubStreamRemovedEvent streamRemovedEvent)
 {
     if (this.m_focusedStream != null && this.m_community != null && streamRemovedEvent.StreamID == this.m_focusedStream.StreamId && streamRemovedEvent.ClubID == this.m_community.ClubId && base.gameObject.activeSelf)
     {
         this.ForceCloseChatPanel();
         AllPopups.instance.ShowGenericPopupFull(StaticDB.GetString("CHANNEL_NO_LONGER_VALID", "[PH] The channel is no longer valid."));
     }
 }