mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
LUA/PERL - IsStanding() and IsCrouching() - Returns as bools
This commit is contained in:
@@ -791,7 +791,9 @@ public:
|
||||
uint32 GetCharMaxLevelFromQGlobal();
|
||||
uint32 GetCharMaxLevelFromBucket();
|
||||
|
||||
inline bool IsStanding() const {return (playeraction == 0);}
|
||||
inline bool IsSitting() const {return (playeraction == 1);}
|
||||
inline bool IsCrouching() const {return (playeraction == 2);}
|
||||
inline bool IsBecomeNPC() const { return npcflag; }
|
||||
inline uint8 GetBecomeNPCLevel() const { return npclevel; }
|
||||
inline void SetBecomeNPC(bool flag) { npcflag = flag; }
|
||||
|
||||
Reference in New Issue
Block a user