… | |
… | |
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 | }; |
105 | }; |
106 | |
106 | |
107 | struct packet_type |
107 | struct packet_type |
108 | { |
108 | { |
109 | const char *name; |
109 | const char *name; |