diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 16:19:54 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 16:19:54 +0100 |
commit | ad148587dcf5244c2d2011dba339786c765c54c4 (patch) | |
tree | bdd914121cd326da2ed26679838878e3edffc841 /src/network/clientopcodes.h | |
parent | 1145b05ea0bda87dc0827821385810eced08f774 (diff) | |
download | dragonfireclient-ad148587dcf5244c2d2011dba339786c765c54c4.tar.xz |
Make Lint Happy
Diffstat (limited to 'src/network/clientopcodes.h')
-rw-r--r-- | src/network/clientopcodes.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/network/clientopcodes.h b/src/network/clientopcodes.h index d03dc457d..d984d0cb7 100644 --- a/src/network/clientopcodes.h +++ b/src/network/clientopcodes.h @@ -25,7 +25,8 @@ with this program; if not, write to the Free Software Foundation, Inc., class NetworkPacket; -enum ToClientConnectionState { +enum ToClientConnectionState +{ TOCLIENT_STATE_NOT_CONNECTED, TOCLIENT_STATE_CONNECTED, TOCLIENT_STATE_ALL, @@ -33,14 +34,14 @@ enum ToClientConnectionState { struct ToClientCommandHandler { - const char* name; - ToClientConnectionState state; - void (Client::*handler)(NetworkPacket* pkt); + const char *name; + ToClientConnectionState state; + void (Client::*handler)(NetworkPacket *pkt); }; struct ServerCommandFactory { - const char* name; + const char *name; u8 channel; bool reliable; }; |