battleye_rust/remote_console/packet.rs
1pub mod packet_types {
2 pub const STATIC_HEADER: [u8; 2] = [0x42, 0x45]; // Required identifier ['B','E']
3
4 pub const MESSAGE_TYPE_PACKET_LOGIN: u8 = 0x00;
5 pub const MESSAGE_TYPE_PACKET_COMMAND: u8 = 0x01;
6 pub const MESSAGE_TYPE_PACKET_SERVER_MESSAGE: u8 = 0x02; // Also required for acknowledging packets from remote
7}