summaryrefslogtreecommitdiff
path: root/net.txt
diff options
context:
space:
mode:
Diffstat (limited to 'net.txt')
-rw-r--r--net.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/net.txt b/net.txt
index 4a81d7d..d5f5ef1 100644
--- a/net.txt
+++ b/net.txt
@@ -11,6 +11,9 @@ reqchunk {u,v}
chat {msg}
send chat message msg
+handshake {username}
+ sent on join
+
s2c:
playerinfopart:: {id,x,y,color:[r,g,b]}
@@ -26,11 +29,11 @@ leave {id}
move {id,x,y}
player with id id has moved to (x,y)
-chunk {tiles=[array of 128*128 booleans],u,v}
+chunk {tiles=[array of 128*128 tiles],u,v}
chunk at chunkpos u,v has tile data tiles
settile {q,r,tile}
- tile at H(q,r) was set to tile (currently boolean)
+ tile at H(q,r) was set to tile
chat {msg,from}
recieve chat message msg from player with name from.