mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +00:00
Lua corpse API
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "lua_mob.h"
|
||||
|
||||
class Corpse;
|
||||
class Lua_Client;
|
||||
|
||||
namespace luabind {
|
||||
struct scope;
|
||||
@@ -28,6 +29,36 @@ public:
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
uint32 GetCharID();
|
||||
uint32 GetDecayTime();
|
||||
void Lock();
|
||||
void UnLock();
|
||||
bool IsLocked();
|
||||
void ResetLooter();
|
||||
uint32 GetDBID();
|
||||
bool IsRezzed();
|
||||
const char *GetOwnerName();
|
||||
bool Save();
|
||||
void Delete();
|
||||
void Bury();
|
||||
void Depop();
|
||||
uint32 CountItems();
|
||||
void AddItem(uint32 itemnum, uint16 charges, int16 slot, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5);
|
||||
uint32 GetWornItem(int16 equipSlot);
|
||||
void RemoveItem(uint16 lootslot);
|
||||
void SetCash(uint32 copper, uint32 silver, uint32 gold, uint32 platinum);
|
||||
void RemoveCash();
|
||||
bool IsEmpty();
|
||||
void SetDecayTimer(uint32 decaytime);
|
||||
bool CanMobLoot(int charid);
|
||||
void AllowMobLoot(Lua_Mob them, uint8 slot);
|
||||
bool Summon(Lua_Client client, bool spell, bool checkdistance);
|
||||
uint32 GetCopper();
|
||||
uint32 GetSilver();
|
||||
uint32 GetGold();
|
||||
uint32 GetPlatinum();
|
||||
void AddLooter(Lua_Mob who);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user