mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
9655f0ee45
fix compile issues
26 lines
442 B
C++
26 lines
442 B
C++
#ifndef PLAYERMANAGER_H
|
|
#define PLAYERMANAGER_H
|
|
|
|
#include "dCommonVars.h"
|
|
|
|
#include <string>
|
|
|
|
class Entity;
|
|
struct SystemAddress;
|
|
|
|
namespace PlayerManager {
|
|
void AddPlayer(Entity* player);
|
|
|
|
bool RemovePlayer(Entity* player);
|
|
|
|
Entity* GetPlayer(const SystemAddress& sysAddr);
|
|
|
|
Entity* GetPlayer(const std::string& name);
|
|
|
|
Entity* GetPlayer(LWOOBJID playerID);
|
|
|
|
const std::vector<Entity*>& GetAllPlayers();
|
|
};
|
|
|
|
#endif //!PLAYERMANAGER_H
|