summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-02-06 11:48:44 +0000
committerubq323 <ubq323@ubq323.website>2023-02-06 11:48:44 +0000
commit3ad4d4da500a770e4f9cc7aa1bfe42588126a67c (patch)
tree5e12f284ef51922582713f4edd7dc141314e4d92
parentc74c2a3133ad4d1f03b83021e53fb9e8a67b3914 (diff)
update net.txt
-rw-r--r--net.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/net.txt b/net.txt
index 70b8fb1..ced98ee 100644
--- a/net.txt
+++ b/net.txt
@@ -5,6 +5,9 @@ ppos {x,y}
settile {q,r,tile}
set tile at H(q,r) to tile (currently boolean)
+reqchunk {u,v}
+ request chunk data for chunk at chunkpos u,v
+
s2c:
playerinfopart:: {id,x,y,color:[r,g,b]}
@@ -21,7 +24,7 @@ move {id,x,y}
player with id id has moved to (x,y)
chunk {tiles=[array of 128*128 booleans],u,v}
- chunk has data d. one day changes will exist and also multiple chunks will exist and also more than 2 tile types will exist
+ chunk at chunkpos u,v has tile data tiles
settile {q,r,tile}
tile at H(q,r) was set to tile (currently boolean)