Created
October 20, 2010 12:48
-
-
Save ghazel/636348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@_o | |
def read_map_chunk(self): | |
x = yield self.read_int() | |
y = yield self.read_short() | |
z = yield self.read_int() | |
size_x = yield self.read_byte() | |
size_y = yield self.read_byte() | |
size_z = yield self.read_byte() | |
compressed_chunk_size = yield self.read_int() | |
compressed_chunk = yield self.client.read(compressed_chunk_size) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment