summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/protocol.md b/doc/protocol.md
index 7324637..4c05cf2 100644
--- a/doc/protocol.md
+++ b/doc/protocol.md
@@ -22,14 +22,15 @@ encoded text.
0xff disconnect()
0x01 request_resource(name: Res)
0x02 respond_resource(data: Vec<u8>)
-0x03 add(id: Obj, prefab: Res<Prefab>)
-0x04 remove(id: Obj)
-0x05 position(id: Obj, pos: Vec3, rot: Vec3)
-0x06 pose(id: Obj, params: Vec<f32>)
+0x03 add(ob: Obj, prefab: Res<Prefab>)
+0x04 remove(ob: Obj)
+0x05 position(ob: Obj, pos: Vec3, rot: Vec3)
+0x06 pose(ob: Obj, params: Vec<f32>)
0x07 parent(parent: Obj, child: Obj)
-0x08 sound(id: Obj, data: Vec<u8>)
+0x08 sound(ob: Obj, data: Vec<u8>)
0x09 prefab_index(res: Res)
0x0a announce_prefab(res: Res)
+0x0b chat(ob: Obj, message: String)
```
## Resources