project_files/frontlib/net/netconn_internal.h
changeset 7691 55c0a856ecd0
parent 7580 c92596feac0d
child 8260 83d85e32c713
--- a/project_files/frontlib/net/netconn_internal.h	Sun Sep 16 17:42:48 2012 +0200
+++ b/project_files/frontlib/net/netconn_internal.h	Sun Sep 16 22:31:34 2012 +0200
@@ -41,7 +41,6 @@
 	char *dataDirPath;
 
 	int netconnState;			// One of the NETCONN_STATE constants
-	bool isAdmin;				// Player is server administrator
 
 	bool isChief;				// Player can modify the current room
 	flib_map *map;
@@ -72,6 +71,9 @@
 	void (*onRoomUpdateCb)(void *context, const char *oldName, const flib_room *room);
 	void *onRoomUpdateCtx;
 
+	void (*onClientFlagsCb)(void *context, const char *nick, const char *flags, bool newFlagState);
+	void *onClientFlagsCtx;
+
 	void (*onChatCb)(void *context, const char *nick, const char *msg);
 	void *onChatCtx;
 
@@ -93,12 +95,6 @@
 	void (*onPasswordRequestCb)(void *context, const char *nick);
 	void *onPasswordRequestCtx;
 
-	void (*onRoomChiefStatusCb)(void *context, bool isChief);
-	void *onRoomChiefStatusCtx;
-
-	void (*onReadyStateCb)(void *context, const char *nick, bool ready);
-	void *onReadyStateCtx;
-
 	void (*onEnterRoomCb)(void *context, bool chief);
 	void *onEnterRoomCtx;
 
@@ -138,9 +134,6 @@
 	void (*onWeaponsetChangedCb)(void *context, const flib_weaponset *weaponset);
 	void *onWeaponsetChangedCtx;
 
-	void (*onAdminAccessCb)(void *context);
-	void *onAdminAccessCtx;
-
 	void (*onServerVarCb)(void *context, const char *name, const char *value);
 	void *onServerVarCtx;