- void setNick(char *n) { strcpy(nick, n);};
- //const char *getNick() { return nick; };
- char *getNick() { return nick; };
- Player *stats;
+
+ void setNick(char *n) { strcpy(nick, n);}; // Sets the client's nick
+ char *getNick() { return nick; }; // Returns the client's nick
+ Player *stats; // Pointer to the client's player struct
+
+ long int getFlags() { return flags; }; // Returns the Client's current flags
+
+ // Functions also return the flags after modifying them
+ long int setFlags(long int); // Sets the clients flags to a new value
+ long int addFlag(long int); // Adds a flag to the client's flags
+ long int remFlag(long int); // Removes a flag from the client's current flags