forked from lestofante/jSpace2d
-
Notifications
You must be signed in to change notification settings - Fork 0
Update map packet
lestofante edited this page Mar 8, 2012
·
12 revisions
This TCP packet is sent by the server to every connected client to send information regarding:
- other connected players
- every entity in the game
The type of this packet is -125.
byte | value |
---|---|
0 | -125 |
1->2 | number of player |
... | ... |
0->1 | number of entity for this player |
2->3 | player unique identifier (unsigned short int) |
4->33 | player ASCII name padded with whitespaces (30 byte) |
... | ... |
0->1 | entity unique identifier (unsigned short int) |
2->3 | char (unsigned short int) indicating the ID of the blueprint to build the entity model (graphical and phisycal) |
... | ... |