mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-02-04 04:00:02 +00:00
Moved common NPC summoning logic into a helper function
This commit is contained in:
@@ -67,6 +67,7 @@ namespace NPCManager {
|
||||
void npcCombineItems(CNSocket* sock, CNPacketData* data);
|
||||
|
||||
void handleWarp(CNSocket* sock, int32_t warpId);
|
||||
BaseNPC *summonNPC(int x, int y, int z, uint64_t instance, int type, bool respawn=false, bool baseInstance=false);
|
||||
|
||||
BaseNPC* getNearestNPC(std::set<Chunk*>* chunks, int X, int Y, int Z);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user