Quest Item Methods
Perl
Lua
1
$quest_item->GetAugment(int16 slot_id)
2
$quest_item->GetCharges()
3
$quest_item->GetID()
4
$quest_item->GetName()
5
$quest_item->IsAttuned()
6
$quest_item->IsType(type)
7
$quest_item->ItemSay(string text [int language_id])
8
$quest_item->SetScale(float scale_multiplier)
Copied!
1
iteminst:AddExp(uint32 exp); -- void
2
iteminst:ClearTimers(); -- void
3
iteminst:Clone(); -- Lua_ItemInst
4
iteminst:DeleteCustomData(std::string identifier); -- void
5
iteminst:GetAugment(int slot); -- Lua_ItemInst
6
iteminst:GetAugmentItemID(int slot); -- uint32
7
iteminst:GetAugmentType(); -- int
8
iteminst:GetCharges(); -- int
9
iteminst:GetColor(); -- uint32
10
iteminst:GetCustomData(std::string identifier); -- std::string
11
iteminst:GetCustomDataString(); -- std::string
12
iteminst:GetExp(); -- uint32
13
iteminst:GetID(); -- uint32
14
iteminst:GetItem(); -- Lua_Item
15
iteminst:GetItem(int slot); -- Lua_ItemInst
16
iteminst:GetItemID(int slot); -- uint32
17
iteminst:GetItemScriptID(); -- uint32
18
iteminst:GetKillsNeeded(int current_level); -- uint32
19
iteminst:GetMaxEvolveLvl(); -- int
20
iteminst:GetPrice(); -- uint32
21
iteminst:GetTotalItemCount(); -- int
22
iteminst:GetUnscaledItem(int slot); -- Lua_Item
23
iteminst:IsAmmo(); -- bool
24
iteminst:IsAugmentable(); -- bool
25
iteminst:IsAugmented(); -- bool
26
iteminst:IsEquipable(int race, int class_); -- bool
27
iteminst:IsEquipable(int slot_id); -- bool
28
iteminst:IsExpendable(); -- bool
29
iteminst:IsInstNoDrop(); -- bool
30
iteminst:IsStackable(); -- bool
31
iteminst:IsType(int item_class); -- bool
32
iteminst:IsWeapon(); -- bool
33
iteminst:Lua_ItemInst(const Lua_ItemInst& o); -- Lua_ItemInst::Lua_ItemInst(const
34
iteminst:SetCharges(int charges); -- void
35
iteminst:SetColor(uint32 color); -- void
36
iteminst:SetCustomData(std::string identifier, bool value); -- void
37
iteminst:SetCustomData(std::string identifier, float value); -- void
38
iteminst:SetCustomData(std::string identifier, int value); -- void
39
iteminst:SetCustomData(std::string identifier, std::string value); -- void
40
iteminst:SetExp(uint32 exp); -- void
41
iteminst:SetInstNoDrop(bool flag); -- void
42
iteminst:SetPrice(uint32 price); -- void
43
iteminst:SetScale(double scale_factor); -- void
44
iteminst:SetScaling(bool v); -- void
45
iteminst:SetTimer(std::string name, uint32 time); -- void
46
iteminst:StopTimer(std::string name); -- void
47
iteminst:operator=(const Lua_ItemInst& o); -- Lua_ItemInst&
Copied!
Last modified 2yr ago
Copy link