private void OnPreChunk(PreChunkPacket p) { if (PreChunk != null) PreChunk.Invoke(this, new PacketEventArgs<PreChunkPacket>(p)); }
public void SendPreChunk(int x, int z, bool load, bool sync) { PreChunkPacket prepacket = new PreChunkPacket { Load = load, X = x, Z = z, Async = !sync }; SendPacket(prepacket); }
internal void SendPreChunk(int x, int z, bool load, bool sync) { PreChunkPacket prepacket = new PreChunkPacket { Load = load, X = x, Z = z, }; if (!sync) SendPacket(prepacket); else Send_Sync_Packet(prepacket); }
private void SendPreChunk(int x, int z, bool load) { PreChunkPacket prepacket = new PreChunkPacket { Load = load, X = x, Z = z }; PacketHandler.SendPacket(prepacket); }
public static void ReadPreChunk(TestClient client, PacketReader reader) { PreChunkPacket pc = new PreChunkPacket(); pc.Read(reader); }