… | |
… | |
101 | ST_GET_PARTY_PASSWORD, |
101 | ST_GET_PARTY_PASSWORD, |
102 | }; |
102 | }; |
103 | |
103 | |
104 | // a handler for a specific type of packet |
104 | // a handler for a specific type of packet |
105 | enum { |
105 | enum { |
106 | PF_PLAYER = 0x01, // must have valid player / will by synchronised |
106 | PF_PLAYER = 0x01, // must have valid player / will by synchronised |
107 | PF_PLAYING = 0x02, // must be in playing state |
107 | PF_PLAYING = 0x02, // must be in playing state |
108 | PF_COMMAND0 = 0x04, // command starts at offset 0 |
108 | PF_COMMAND = 0x04, // is a suer command |
109 | PF_COMMAND6 = 0x08, // command starts at offset 6 |
|
|
110 | }; |
109 | }; |
111 | |
110 | |
112 | // face types. bit 0 means "has meta info prepended" |
111 | // face types. bit 0 means "has meta info prepended" |
113 | enum { |
112 | enum { |
114 | FT_IMAGE = 0 * 2 + 0, // images |
113 | FT_IMAGE = 0 * 2 + 0, // images |