public static void PostEvent(NetworkEventKey key, NetworkEventHandle handle = null) { if (events.ContainsKey(key)) { events[key](handle); } handle?.Dispose(); }