...
1 package network
2
3 type askInfo struct {
4 Version uint8
5 Time uint32
6 }
7
8 type ServerInfo struct {
9 OldVersion uint8
10 PacketVersion uint8
11 Application [16]byte
12 Version, Subversion, NumberOfPlayer, MaxPlayer, Gametype, ModifiedGame, CheatsEnabled, KartVars, FileNeededNum uint8
13 Time, LevelTime uint32
14 ServerName [32]byte
15 MapName [8]byte
16 MapTitle [33]byte
17 MapMd5 [16]byte
18 ActNum uint8
19 IsZone uint8
20 HttpSource [256]byte
21 FileNeeded [915]uint8
22 }
23
24 type PlayerInfo struct {
25 Node uint8
26 Name [22]byte
27 Address [4]uint8
28 Team, Skin, Data uint8
29 Score uint32
30 TimeInServer uint16
31 }
32
33 type FilesNeededNum uint32
34
35 type FilesNeeded struct {
36 First uint32
37 Num uint8
38 More uint8
39 Files [915]uint8
40 }
41
42 type File struct {
43 FileStatus uint8
44 FileSize uint32
45 WadName string
46 Md5Sum [16]byte
47 }
48
View as plain text