internal static void FixLobby() { if (OnFixLobby != null) { foreach (Delegate d in OnFixLobby.GetInvocationList()) { PVPNet.OnMessageReceived -= (PVPNetConnection.OnMessageReceivedHandler)d; OnFixLobby -= (PVPNetConnection.OnMessageReceivedHandler)d; } } }
internal static void FixLobby() { if (OnFixLobby != null) { foreach (Delegate d in OnFixLobby.GetInvocationList()) { RtmpConnection.MessageReceived -= (EventHandler <MessageReceivedEventArgs>)d; OnFixLobby -= (EventHandler <MessageReceivedEventArgs>)d; } } }