You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v5/framework/sockets-specification.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Packet types are named from the POV of the sender.
10
10
-[CorePacket](https://github.com/RLBot/flatbuffers-schema/blob/main/schema/corepacket.fbs) - Wraps `CoreMessage`, a union of all valid message types that can be sent _by_ RLBotServer, _to_ interfaces.
11
11
12
12
??? question "What is an interface? What is core?"
13
-
- "Interface" refers to the layer of abstraction that sits in between the RLBotServer API and the bot/script someone wants to make. While not strictly required, it a good interface makes working with RLBot fun & easy - even without knowing anything about TCP, FlatBuffers, or the RLBotServer API.
13
+
- "Interface" refers to the layer of abstraction that sits in between the RLBotServer API and the bot/script someone wants to make. While not strictly required, a good interface makes working with RLBot fun & easy - even without knowing anything about TCP, FlatBuffers, or the RLBotServer API.
14
14
- "Core" refers to RLBotServer itself, which is considered the shared "core" of RLBot that implements various functions related to starting and running matches that are accessable via the RLBotServer API.
15
15
16
16
## Connecting to RLBotServer
@@ -22,10 +22,10 @@ Packet types are named from the POV of the sender.
22
22
## Packet format
23
23
24
24
This project uses [FlatBuffers](https://flatbuffers.dev/) as the data format,
25
-
prefixed with a 32-bit unsigned integer.
25
+
prefixed with a 16-bit unsigned integer.
26
26
All packets should be big endian.
27
27
28
-
- Read the first 32 bits as an unsigned integer. This is `n`, the length of the flatbuffer in bytes.
28
+
- Read the first 16 bits as an unsigned integer. This is `n`, the length of the flatbuffer in bytes.
29
29
- Read `n` bytes, and deserialize this into the correct flatbuffer according to the data type.
0 commit comments