private static NetEvent CreateEvent(NetEventType type, NetPeer peer) { NetEvent evnt = new NetEvent(); evnt.Initialize(type, peer); return evnt; }