Fixing compiler warnings.
This commit is contained in:
@@ -182,16 +182,16 @@ public:
|
|||||||
static ServerGameStateFinal &Instance();
|
static ServerGameStateFinal &Instance();
|
||||||
|
|
||||||
virtual ~ServerGameStateFinal() {}
|
virtual ~ServerGameStateFinal() {}
|
||||||
virtual void Enter(boost::shared_ptr<ServerGame> server) {}
|
virtual void Enter(boost::shared_ptr<ServerGame> /*server*/) {}
|
||||||
virtual void Exit(boost::shared_ptr<ServerGame> server) {}
|
virtual void Exit(boost::shared_ptr<ServerGame> /*server*/) {}
|
||||||
|
|
||||||
virtual void NotifyGameAdminChanged(boost::shared_ptr<ServerGame> server) {}
|
virtual void NotifyGameAdminChanged(boost::shared_ptr<ServerGame> /*server*/) {}
|
||||||
|
|
||||||
// Handling of a new session.
|
// Handling of a new session.
|
||||||
virtual void HandleNewSession(boost::shared_ptr<ServerGame> server, SessionWrapper session) {}
|
virtual void HandleNewSession(boost::shared_ptr<ServerGame> /*server*/, SessionWrapper /*session*/) {}
|
||||||
|
|
||||||
// Main processing function of the current state.
|
// Main processing function of the current state.
|
||||||
virtual int ProcessPacket(boost::shared_ptr<ServerGame> server, SessionWrapper session, boost::shared_ptr<NetPacket> packet) {}
|
virtual int ProcessPacket(boost::shared_ptr<ServerGame> /*server*/, SessionWrapper /*session*/, boost::shared_ptr<NetPacket> /*packet*/) {return 0;}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
ServerGameStateFinal() {}
|
ServerGameStateFinal() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user