Difference between revisions of "GameData Query"

From AlliedModders Wiki
Jump to: navigation, search
(Request format)
(Request format)
Line 5: Line 5:
 
! Data || Type || Comment
 
! Data || Type || Comment
 
|-
 
|-
| Header || [[byte]] || Should be equal to 'A'
+
| Header || byte || Should be equal to 'A'
 
|-
 
|-
| Type || [[byte]] || Should be equal to 'G'
+
| Type || byte || Should be equal to 'G'
 
|-
 
|-
| Version || [[short]] || Current SourceMod version number (1)
+
| Version || short || Current SourceMod version number (1)
 
|-
 
|-
| Major || [[short]] || Current Major release version
+
| Major || short || Current Major release version
 
|-
 
|-
| Minor || [[short]] || Current Minor release version
+
| Minor || short || Current Minor release version
 
|-
 
|-
| Build || [[short]] || Current build number
+
| Build || short || Current build number
 
|-
 
|-
| Count || [[byte]] || Number of MD5 Checksums
+
| 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