-
Notifications
You must be signed in to change notification settings - Fork 2
Data Packet Extra Layout
Matthias Hoste edited this page Jan 9, 2023
·
3 revisions
After the header and initial layout the data packet is split up into 3 streams. These "streams" are parts of the packet that goes into individual stream managers which will read the data from their remote counterpart if it exists. In BF2 only 3 stream managers exist(PlayerActionManager, GameEventManager and GhostManager)
Packet PlayerActionManager{
bool hasPlayerActionManager;
//if the above bool is true then there is more, if false then it skips to the next stream manager
}
Packet GameEventManager{
bool hasGameEventManager;
//if the above bool is true then there is more, if false then it skips to the next stream manager
byte numEvents;
5bits unknown;
bool unknown;
List<GameEvent> gameEvents;
}
Packet GhostManager{
bool hasGhostManager;
//if the above bool is true then there is more, if false then it skips to the next stream manager
}