// Token: 0x060000B7 RID: 183 RVA: 0x000087F8 File Offset: 0x000069F8 public static void InitReceivers() { PacketThread.Reset(); foreach (SteamChannel item in UnityEngine.Object.FindObjectsOfType <SteamChannel>()) { PacketThread.Receivers.Add(item); PacketThread.ReceiverCount++; } }
// Token: 0x060000B8 RID: 184 RVA: 0x00008840 File Offset: 0x00006A40 public static void Start() { Provider.onClientDisconnected = (Provider.ClientDisconnected)Delegate.Combine(Provider.onClientDisconnected, new Provider.ClientDisconnected(PacketThread.Reset)); for (;;) { Thread.Sleep(OptimizationOptions.PacketRefreshRate); PacketThread.Listen(0); for (int i = 0; i < PacketThread.ReceiverCount; i++) { PacketThread.Listen(PacketThread.Receivers[i].id); } } }