diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-26 19:32:38 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-26 19:32:38 +0100 |
commit | 55ef91b95decf829ac988fd9e86624b488959956 (patch) | |
tree | 1be32298a1634ba91769ac5b14782df0f88e2f1b /doc/protocol.md | |
parent | 0ad677e6205250422f8f8cc9041e10fe4fecf549 (diff) | |
download | weareserver-55ef91b95decf829ac988fd9e86624b488959956.tar weareserver-55ef91b95decf829ac988fd9e86624b488959956.tar.bz2 weareserver-55ef91b95decf829ac988fd9e86624b488959956.tar.zst |
chat packet
Diffstat (limited to 'doc/protocol.md')
-rw-r--r-- | doc/protocol.md | 11 |
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 |