aboutsummaryrefslogtreecommitdiff
path: root/src/network/clientopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/clientopcodes.h')
-rw-r--r--src/network/clientopcodes.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/network/clientopcodes.h b/src/network/clientopcodes.h
index d984d0cb7..d03dc457d 100644
--- a/src/network/clientopcodes.h
+++ b/src/network/clientopcodes.h
@@ -25,8 +25,7 @@ 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,
@@ -34,14 +33,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;
};