Net/Svc Message
Part of Packet message.
Name | Type | Size in bytes | Size in bits | Value |
---|---|---|---|---|
Type | Message Type | 0.75 | 6 | - |
Data | Based on Type | - | - | - |
Types
Name | Value | Description |
---|---|---|
NetNop | 0 | - |
NetDisconnect | 1 | - |
NetFile | 2 | - |
NetSplitScreenUser | 3 | New engine. |
NetTick | 4 | 3 in old engine. |
NetStringCmd | 5 | 4 in old engine. |
NetSetConVar | 6 | 5 in old engine. |
NetSignonState | 7 | 6 in old engine. |
SvcServerInfo | 8 | - |
SvcSendTable | 9 | - |
SvcClassInfo | 10 | - |
SvcSetPause | 11 | - |
SvcCreateStringTable | 12 | - |
SvcUpdateStringTable | 13 | - |
SvcVoiceInit | 14 | - |
SvcVoiceData | 15 | - |
SvcPrint | 16 | 7 in old engine. |
SvcSounds | 17 | - |
SvcSetView | 18 | - |
SvcFixAngle | 19 | - |
SvcCrosshairAngle | 20 | - |
SvcBspDecal | 21 | - |
SvcSplitScreen | 22 | New engine. |
SvcUserMessage | 23 | - |
SvcEntityMessage | 24 | - |
SvcGameEvent | 25 | - |
SvcPacketEntities | 26 | - |
SvcTempEntities | 27 | - |
SvcPrefetch | 28 | - |
SvcMenu | 29 | - |
SvcGameEventList | 30 | - |
SvcGetCvarValue | 31 | - |
SvcCmdKeyValues | 32 | 34 in CS:GO. |
SvcPaintmapData | 33 | New engine. |
SvcEncryptedData | 35 | Seen in CS:GO. |
SvcHltvReplay | 36 | Seen in CS:GO. |
SvcBroadcastCommand | 38 | Seen in CS:GO. |
NetPlayerAvatarData | 100 | Seen in CS:GO. |
Pseudocode Example
while bits_left > 6 {
let message_type = read_bits(6);
read_net_or_svc_message(message_type);
}