aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_nc_front.png
diff options
context:
space:
mode:
0 files changed, 0 insertions, 0 deletions
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include "client/client.h" #include "networkprotocol.h" class NetworkPacket; enum ToClientConnectionState { TOCLIENT_STATE_NOT_CONNECTED, TOCLIENT_STATE_CONNECTED, TOCLIENT_STATE_ALL, }; struct ToClientCommandHandler { const char* name; ToClientConnectionState state; void (Client::*handler)(NetworkPacket* pkt); }; struct ServerCommandFactory { const char* name; u8 channel; bool reliable; }; extern const ToClientCommandHandler toClientCommandTable[TOCLIENT_NUM_MSG_TYPES]; extern const ServerCommandFactory serverCommandFactoryTable[TOSERVER_NUM_MSG_TYPES];