… | |
… | |
98 | ST_GET_PARTY_PASSWORD, |
98 | ST_GET_PARTY_PASSWORD, |
99 | }; |
99 | }; |
100 | |
100 | |
101 | // a handler for a specific type of packet |
101 | // a handler for a specific type of packet |
102 | enum { |
102 | enum { |
103 | PF_PLAYER = 0x01, // must have valid player / will by synchronised |
103 | PF_PLAYER = 0x01, // must have valid player / will by synchronised |
104 | PF_PLAYING = 0x02, // must be in playing state |
104 | PF_PLAYING = 0x02, // must be in playing state |
|
|
105 | PF_COMMAND0 = 0x04, // command starts at offset 0 |
|
|
106 | PF_COMMAND6 = 0x08, // command starts at offset 6 |
105 | }; |
107 | }; |
106 | |
108 | |
107 | struct packet_type |
109 | struct packet_type |
108 | { |
110 | { |
109 | const char *name; |
111 | const char *name; |