private void SendChunk(int connectionID, Vector3i position) { var chunk = GameApplication.Current.Terrain.ChunkByPosition(position); if (chunk == null) { SendOrEnqueue(connectionID, TerrainMessageType.InvalidChunkPosition, position.Serialize()); return; } var part01 = chunk.Serialize(true); var part02 = chunk.Serialize(false); SendOrEnqueue(connectionID, TerrainMessageType.LoadChunkByPosition, part01); SendOrEnqueue(connectionID, TerrainMessageType.LoadChunkByPosition, part02); }