X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=doc%2Fprotocol;fp=doc%2Fprotocol;h=432a3e9413d6604e75808424ab35bb29fd7bdf96;hb=d4c71969df4f6b5e6b750c98268d30ca6784908b;hp=a02ff2afa4bffa99b29dc32b7fe448e3d115af13;hpb=36923ee2defd0848c5a530721114d4e553872305;p=blank.git diff --git a/doc/protocol b/doc/protocol index a02ff2a..432a3e9 100644 --- a/doc/protocol +++ b/doc/protocol @@ -94,14 +94,15 @@ Sent by the server to notify the client of an entity entering spawn range. Code: 5 Payload: - 0 entity ID, 32bit unsigned int - 4 chunk coords of the entity, 3x 32bit signed int - 16 pos/vel/rot/ang of the entity, 13x 32bit float - 68 bounding box of the entity, 6x 32bit float - 92 flags, 32bit bitfield with boolean values - 1: world collision - 96 entity name, max 32 byte UTF-8 string -Length: 128 + 0 entity ID, 32bit unsigned int + 4 entity's skeleton ID, 32bit unsigned int + 8 chunk coords of the entity, 3x 32bit signed int + 20 pos/vel/rot/ang of the entity, 13x 32bit float + 72 bounding box of the entity, 6x 32bit float + 96 flags, 32bit bitfield with boolean values + 1: world collision + 100 entity name, max 32 byte UTF-8 string +Length: 132 Despawn Entity