summaryrefslogtreecommitdiff
path: root/net.txt
diff options
context:
space:
mode:
Diffstat (limited to 'net.txt')
-rw-r--r--net.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/net.txt b/net.txt
index ced98ee..4a81d7d 100644
--- a/net.txt
+++ b/net.txt
@@ -8,6 +8,9 @@ settile {q,r,tile}
reqchunk {u,v}
request chunk data for chunk at chunkpos u,v
+chat {msg}
+ send chat message msg
+
s2c:
playerinfopart:: {id,x,y,color:[r,g,b]}
@@ -29,3 +32,5 @@ chunk {tiles=[array of 128*128 booleans],u,v}
settile {q,r,tile}
tile at H(q,r) was set to tile (currently boolean)
+chat {msg,from}
+ recieve chat message msg from player with name from.