added basic NPCManager

This commit is contained in:
2020-08-20 16:43:48 -05:00
parent c549192f59
commit 6857f50c30
8 changed files with 100 additions and 4 deletions

View File

@@ -2,13 +2,16 @@
#define _NPCMANAGER_HPP
#include "CNProtocol.hpp"
#include "PlayerManager.hpp"
#include "NPC.hpp"
#include <map>
namespace NPCManager {
extern std::map<int32_t, BaseNPC> NPCs;
void init();
void updatePlayerNPCS(CNSocket* sock, PlayerView& plr);
}
#endif