public unsafe bool HandlePacket(ENetPeer* peer, byte[] data, Game game) { var world = new WorldSendGameNumber(1, game.getPeerInfo(peer).getName()); return PacketHandlerManager.getInstace().sendPacket(peer, world, Channel.CHL_S2C); }
unsafe bool handleGameNumber(ClientInfo client, ENetPeer* peer, ENetPacket* packet) { var world = new WorldSendGameNumber(1, client.getName()); return PacketHandlerManager.getInstace().sendPacket(peer, world, Channel.CHL_S2C); }