Implement NPC spawning.

Protected by a simplified GM system. Either everyone is a GM (local
servers) or nobody is (public servers).
This commit is contained in:
2020-08-25 04:28:42 +02:00
parent 9aa9b76826
commit b79bc56b31
6 changed files with 34 additions and 7 deletions

View File

@@ -21,5 +21,6 @@ namespace NPCManager {
void init();
void updatePlayerNPCS(CNSocket* sock, PlayerView& plr);
void npcWarpManager(CNSocket* sock, CNPacketData* data);
void npcWarpHandler(CNSocket* sock, CNPacketData* data);
void npcSummonHandler(CNSocket* sock, CNPacketData* data);
}