Make proximity NPC search a helper function

This commit is contained in:
Gent
2020-10-10 23:12:12 -04:00
parent 2b9d0f6bab
commit 1564cc7724
3 changed files with 26 additions and 31 deletions

View File

@@ -47,4 +47,6 @@ namespace NPCManager {
void npcCombineItems(CNSocket* sock, CNPacketData* data);
void handleWarp(CNSocket* sock, int32_t warpId);
BaseNPC* getNearestNPC(std::vector<Chunk*> chunks, int X, int Y, int Z);
}