Corpse Methods
Perl
Lua
1
$corpse->AddItem(uint32 item_id, uint16 charges, [unt16 slot = 0])
2
$corpse->AddLooter(mob* who)
3
$corpse->AllowMobLoot(mob* them, uint8 slot)
4
$corpse->CanMobLoot(int character_id)
5
$corpse->CastRezz(uint16 spell_id, [mob* caster = nullptr])
6
$corpse->CompleteRezz()
7
$corpse->CountItems()
8
$corpse->Delete()
9
$corpse->GetCharID()
10
$corpse->GetCopper()
11
$corpse->GetDBID()
12
$corpse->GetDecayTime()
13
$corpse->GetGold()
14
$corpse->GetOwnerName()
15
$corpse->GetPlatinum()
16
$corpse->GetSilver()
17
$corpse->GetWornItem(equipslot)
18
$corpse->IsEmpty()
19
$corpse->IsLocked()
20
$corpse->IsRezzed()
21
$corpse->Lock()
22
$corpse->RemoveCash()
23
$corpse->RemoveItem(uint16 loot_slot)
24
$corpse->ResetLooter()
25
$corpse->SetCash(uint16 copper, uint16 silver, uint16 gold, uint16 platinum)
26
$corpse->SetDecayTimer(uint32 decay_time)
27
$corpse->Summon(client* client, bool is_spell)
28
$corpse->UnLock()
Copied!
1
corpse:AddItem(uint32 itemnum, uint16 charges, int16 slot, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5); -- void
2
corpse:AddLooter(Lua_Mob who); -- void
3
corpse:AllowMobLoot(Lua_Mob them, uint8 slot); -- void
4
corpse:Bury(); -- void
5
corpse:CanMobLoot(int charid); -- bool
6
corpse:CountItems(); -- uint32
7
corpse:Delete(); -- void
8
corpse:Depop(); -- void
9
corpse:GetCharID(); -- uint32
10
corpse:GetCopper(); -- uint32
11
corpse:GetDBID(); -- uint32
12
corpse:GetDecayTime(); -- uint32
13
corpse:GetGold(); -- uint32
14
corpse:GetPlatinum(); -- uint32
15
corpse:GetSilver(); -- uint32
16
corpse:GetWornItem(int16 equipSlot); -- uint32
17
corpse:IsEmpty(); -- bool
18
corpse:IsLocked(); -- bool
19
corpse:IsRezzed(); -- bool
20
corpse:Lock(); -- void
21
corpse:RemoveCash(); -- void
22
corpse:RemoveItem(uint16 lootslot); -- void
23
corpse:ResetLooter(); -- void
24
corpse:Save(); -- bool
25
corpse:SetCash(uint32 copper, uint32 silver, uint32 gold, uint32 platinum); -- void
26
corpse:SetDecayTimer(uint32 decaytime); -- void
27
corpse:Summon(Lua_Client client, bool spell, bool checkdistance); -- bool
28
corpse:UnLock(); -- void
Copied!
Last modified 2yr ago
Copy link