예제 #1
0
 // Token: 0x0600001E RID: 30 RVA: 0x00003998 File Offset: 0x00001B98
 public static void Listen()
 {
     EventListeners.ListenLobbyEnter();
     EventListeners.ListenLobbyLeave();
     EventListeners.ListenHostMigration();
     EventListeners.ListenBecomeHost();
     EventListeners.ListenBlockedConnection();
     EventListeners.totalBlockCountOld   = EventListeners.totalBlockCount;
     EventListeners.onlinePlayerCountOld = (ulong)GameData.onlinePlayerCount;
     EventListeners.youAreHostOld        = GameData.youAreHost;
     EventListeners.hostSteamIdOld       = GameData.Host.SteamId;
 }
예제 #2
0
 // Token: 0x06000085 RID: 133 RVA: 0x0000D560 File Offset: 0x0000B760
 private void UpdateActive(object Object, EventArgs myEventArgs)
 {
     GameMemory.UpdateHandle();
     this.UpdateMessage();
     SoundEffects.UpdateSounds();
     if (MainForm.connectionBlockTimeout > 0)
     {
         MainForm.connectionBlockTimeout--;
     }
     MainForm.CurrentLobbyUI.UpdateActive();
     this.BanlistUpdateActive();
     this.WhitelistUpdateActive();
     EventListeners.Listen();
 }