Difference between revisions of "GameData Query"
(→Request format) |
(→Request format) |
||
Line 5: | Line 5: | ||
! Data || Type || Comment | ! Data || Type || Comment | ||
|- | |- | ||
− | | Header || | + | | Header || byte || Should be equal to 'A' |
|- | |- | ||
− | | Type || | + | | Type || byte || Should be equal to 'G' |
|- | |- | ||
− | | Version || | + | | Version || short || Current SourceMod version number (1) |
|- | |- | ||
− | | Major || | + | | Major || short || Current Major release version |
|- | |- | ||
− | | Minor || | + | | Minor || short || Current Minor release version |
|- | |- | ||
− | | Build || | + | | Build || short || Current build number |
|- | |- | ||
− | | Count || | + | | Count || byte || Number of MD5 Checksums |
|} | |} |
Revision as of 00:06, 29 June 2008
Request format
GameData updates can be requested by sending the following byte values in a TCP packet to the server.
Data | Type | Comment |
---|---|---|
Header | byte | Should be equal to 'A' |
Type | byte | Should be equal to 'G' |
Version | short | Current SourceMod version number (1) |
Major | short | Current Major release version |
Minor | short | Current Minor release version |
Build | short | Current build number |
Count | byte | Number of MD5 Checksums |