PlayerManager
This commit is contained in:
@@ -10,7 +10,7 @@ class ServerState : public Server::State, private utils::SlotGuard {
|
||||
public:
|
||||
virtual void HandlePacket(PlayerID a_Id, const protocol::PacketBase& a_Packet) = 0;
|
||||
virtual void Update(float a_Delta) = 0;
|
||||
virtual void OnPlayerJoin(PlayerID a_Id, const td::protocol::PlayerInfo& a_Info) {}
|
||||
virtual void OnPlayerJoin(PlayerID a_Id, const td::PlayerInfo& a_Info) {}
|
||||
virtual void OnPlayerLeave(PlayerID a_Id) {}
|
||||
|
||||
ServerState(Server& a_Server);
|
||||
|
||||
Reference in New Issue
Block a user