Validate interaction NPCs for refine and cube
Some checks failed
build / Linux asan (push) Has been cancelled
build / Linux release (push) Has been cancelled
build / FreeBSD build (push) Has been cancelled

This commit is contained in:
server
2026-04-16 12:43:34 +02:00
parent f79d5134c4
commit bdfdef8411
4 changed files with 183 additions and 14 deletions

View File

@@ -1878,6 +1878,7 @@ class CHARACTER : public CEntity, public CFSM, public CHorseRider
// by mhh
LPITEM* GetCubeItem() { return m_pointsInstant.pCubeItems; }
bool IsCubeOpen () const { return (m_pointsInstant.pCubeNpc?true:false); }
LPCHARACTER GetCubeNpc() const { return m_pointsInstant.pCubeNpc; }
void SetCubeNpc(LPCHARACTER npc) { m_pointsInstant.pCubeNpc = npc; }
bool CanDoCube() const;