public void HandleStreamRemovedEvent(Club.ClubStreamRemovedEvent streamRemovedEvent) { if (this.m_streamList.ContainsKey(streamRemovedEvent.StreamID)) { this.m_streamList.Remove(streamRemovedEvent.StreamID); } }
private void OnStreamRemoved(Club.ClubStreamRemovedEvent removeStreamEvent) { if (CommunityData.m_communityDictionary.ContainsKey(removeStreamEvent.ClubID)) { CommunityData.m_communityDictionary[removeStreamEvent.ClubID].HandleStreamRemovedEvent(removeStreamEvent); this.FireChannelRefreshCallback(removeStreamEvent.ClubID); } }
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.")); } }