DarkflameServer/dGame/PlayerManager.h
David Markowitz 9655f0ee45 make include guards standards conforming
fix compile issues
2024-10-30 00:34:25 -07:00

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