equal
deleted
inserted
replaced
97 // Actions that can be used for NetworkTextMessage |
97 // Actions that can be used for NetworkTextMessage |
98 typedef enum { |
98 typedef enum { |
99 NETWORK_ACTION_JOIN, |
99 NETWORK_ACTION_JOIN, |
100 NETWORK_ACTION_LEAVE, |
100 NETWORK_ACTION_LEAVE, |
101 NETWORK_ACTION_CHAT, |
101 NETWORK_ACTION_CHAT, |
102 NETWORK_ACTION_CHAT_PLAYER, |
102 NETWORK_ACTION_CHAT_COMPANY, |
103 NETWORK_ACTION_CHAT_CLIENT, |
103 NETWORK_ACTION_CHAT_CLIENT, |
104 NETWORK_ACTION_GIVE_MONEY, |
104 NETWORK_ACTION_GIVE_MONEY, |
105 NETWORK_ACTION_NAME_CHANGE, |
105 NETWORK_ACTION_NAME_CHANGE, |
106 } NetworkAction; |
106 } NetworkAction; |
107 |
107 |
168 PACKET_END // Should ALWAYS be on the end of this list!! (period) |
168 PACKET_END // Should ALWAYS be on the end of this list!! (period) |
169 } PacketType; |
169 } PacketType; |
170 |
170 |
171 typedef enum { |
171 typedef enum { |
172 DESTTYPE_BROADCAST, ///< Send message/notice to all players (All) |
172 DESTTYPE_BROADCAST, ///< Send message/notice to all players (All) |
173 DESTTYPE_PLAYER, ///< Send message/notice to everyone playing the same company (Team) |
173 DESTTYPE_TEAM, ///< Send message/notice to everyone playing the same company (Team) |
174 DESTTYPE_CLIENT, ///< Send message/notice to only a certain player (Private) |
174 DESTTYPE_CLIENT, ///< Send message/notice to only a certain player (Private) |
175 } DestType; |
175 } DestType; |
176 |
176 |
177 CommandPacket *_local_command_queue; |
177 CommandPacket *_local_command_queue; |
178 |
178 |