mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 21:56:36 +00:00
Cleanup of some lua code, initial work on encounter_quests
This commit is contained in:
+196
-1
@@ -6,10 +6,17 @@
|
||||
|
||||
struct Item_Struct;
|
||||
|
||||
namespace luabind {
|
||||
struct scope;
|
||||
}
|
||||
|
||||
luabind::scope lua_register_item();
|
||||
|
||||
class Lua_Item : public Lua_Ptr<const void>
|
||||
{
|
||||
typedef Item_Struct NativeType;
|
||||
typedef const Item_Struct NativeType;
|
||||
public:
|
||||
Lua_Item(uint32 item_id);
|
||||
Lua_Item() { }
|
||||
Lua_Item(const Item_Struct *d) : Lua_Ptr(d) { }
|
||||
virtual ~Lua_Item() { }
|
||||
@@ -22,6 +29,194 @@ public:
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int GetMinStatus();
|
||||
int GetItemClass();
|
||||
const char *GetName();
|
||||
const char *GetLore();
|
||||
const char *GetIDFile();
|
||||
uint32 GetID();
|
||||
int GetWeight();
|
||||
int GetNoRent();
|
||||
int GetNoDrop();
|
||||
int GetSize();
|
||||
uint32 GetSlots();
|
||||
uint32 GetPrice();
|
||||
uint32 GetIcon();
|
||||
uint32 GetLoreGroup();
|
||||
bool GetLoreFlag();
|
||||
bool GetPendingLoreFlag();
|
||||
bool GetArtifactFlag();
|
||||
bool GetSummonedFlag();
|
||||
int GetFVNoDrop();
|
||||
uint32 GetFavor();
|
||||
uint32 GetGuildFavor();
|
||||
uint32 GetPointType();
|
||||
int GetBagType();
|
||||
int GetBagSlots();
|
||||
int GetBagSize();
|
||||
int GetBagWR();
|
||||
bool GetBenefitFlag();
|
||||
bool GetTradeskills();
|
||||
int GetCR();
|
||||
int GetDR();
|
||||
int GetPR();
|
||||
int GetMR();
|
||||
int GetFR();
|
||||
int GetAStr();
|
||||
int GetASta();
|
||||
int GetAAgi();
|
||||
int GetADex();
|
||||
int GetACha();
|
||||
int GetAInt();
|
||||
int GetAWis();
|
||||
int GetHP();
|
||||
int GetMana();
|
||||
int GetAC();
|
||||
uint32 GetDeity();
|
||||
int GetSkillModValue();
|
||||
uint32 GetSkillModType();
|
||||
uint32 GetBaneDmgRace();
|
||||
int GetBaneDmgAmt();
|
||||
uint32 GetBaneDmgBody();
|
||||
bool GetMagic();
|
||||
int GetCastTime_();
|
||||
int GetReqLevel();
|
||||
uint32 GetBardType();
|
||||
int GetBardValue();
|
||||
int GetLight();
|
||||
int GetDelay();
|
||||
int GetRecLevel();
|
||||
int GetRecSkill();
|
||||
int GetElemDmgType();
|
||||
int GetElemDmgAmt();
|
||||
int GetRange();
|
||||
uint32 GetDamage();
|
||||
uint32 GetColor();
|
||||
uint32 GetClasses();
|
||||
uint32 GetRaces();
|
||||
int GetMaxCharges();
|
||||
int GetItemType();
|
||||
int GetMaterial();
|
||||
double GetSellRate();
|
||||
uint32 GetFulfilment();
|
||||
int GetCastTime();
|
||||
uint32 GetEliteMaterial();
|
||||
int GetProcRate();
|
||||
int GetCombatEffects();
|
||||
int GetShielding();
|
||||
int GetStunResist();
|
||||
int GetStrikeThrough();
|
||||
uint32 GetExtraDmgSkill();
|
||||
uint32 GetExtraDmgAmt();
|
||||
int GetSpellShield();
|
||||
int GetAvoidance();
|
||||
int GetAccuracy();
|
||||
uint32 GetCharmFileID();
|
||||
int GetFactionMod1();
|
||||
int GetFactionMod2();
|
||||
int GetFactionMod3();
|
||||
int GetFactionMod4();
|
||||
int GetFactionAmt1();
|
||||
int GetFactionAmt2();
|
||||
int GetFactionAmt3();
|
||||
int GetFactionAmt4();
|
||||
const char *GetCharmFile();
|
||||
uint32 GetAugType();
|
||||
int GetAugSlotType1();
|
||||
int GetAugSlotType2();
|
||||
int GetAugSlotType3();
|
||||
int GetAugSlotType4();
|
||||
int GetAugSlotType5();
|
||||
int GetAugSlotVisible1();
|
||||
int GetAugSlotVisible2();
|
||||
int GetAugSlotVisible3();
|
||||
int GetAugSlotVisible4();
|
||||
int GetAugSlotVisible5();
|
||||
int GetAugSlotUnk21();
|
||||
int GetAugSlotUnk22();
|
||||
int GetAugSlotUnk23();
|
||||
int GetAugSlotUnk24();
|
||||
int GetAugSlotUnk25();
|
||||
uint32 GetLDoNTheme();
|
||||
uint32 GetLDoNPrice();
|
||||
uint32 GetLDoNSold();
|
||||
uint32 GetBaneDmgRaceAmt();
|
||||
uint32 GetAugRestrict();
|
||||
uint32 GetEndur();
|
||||
uint32 GetDotShielding();
|
||||
uint32 GetAttack();
|
||||
uint32 GetRegen();
|
||||
uint32 GetManaRegen();
|
||||
uint32 GetEnduranceRegen();
|
||||
uint32 GetHaste();
|
||||
uint32 GetDamageShield();
|
||||
uint32 GetRecastDelay();
|
||||
uint32 GetRecastType();
|
||||
uint32 GetAugDistiller();
|
||||
bool GetAttuneable();
|
||||
bool GetNoPet();
|
||||
bool GetPotionBelt();
|
||||
bool GetStackable();
|
||||
bool GetNoTransfer();
|
||||
bool GetQuestItemFlag();
|
||||
int GetStackSize();
|
||||
int GetPotionBeltSlots();
|
||||
int GetClick_Effect();
|
||||
int GetClick_Type();
|
||||
int GetClick_Level();
|
||||
int GetClick_Level2();
|
||||
int GetProc_Effect();
|
||||
int GetProc_Type();
|
||||
int GetProc_Level();
|
||||
int GetProc_Level2();
|
||||
int GetWorn_Effect();
|
||||
int GetWorn_Type();
|
||||
int GetWorn_Level();
|
||||
int GetWorn_Level2();
|
||||
int GetFocus_Effect();
|
||||
int GetFocus_Type();
|
||||
int GetFocus_Level();
|
||||
int GetFocus_Level2();
|
||||
int GetScroll_Effect();
|
||||
int GetScroll_Type();
|
||||
int GetScroll_Level();
|
||||
int GetScroll_Level2();
|
||||
int GetBard_Effect();
|
||||
int GetBard_Type();
|
||||
int GetBard_Level();
|
||||
int GetBard_Level2();
|
||||
int GetBook();
|
||||
uint32 GetBookType();
|
||||
const char *GetFilename();
|
||||
int GetSVCorruption();
|
||||
uint32 GetPurity();
|
||||
uint32 GetBackstabDmg();
|
||||
uint32 GetDSMitigation();
|
||||
int GetHeroicStr();
|
||||
int GetHeroicInt();
|
||||
int GetHeroicWis();
|
||||
int GetHeroicAgi();
|
||||
int GetHeroicDex();
|
||||
int GetHeroicSta();
|
||||
int GetHeroicCha();
|
||||
int GetHeroicMR();
|
||||
int GetHeroicFR();
|
||||
int GetHeroicCR();
|
||||
int GetHeroicDR();
|
||||
int GetHeroicPR();
|
||||
int GetHeroicSVCorrup();
|
||||
int GetHealAmt();
|
||||
int GetSpellDmg();
|
||||
uint32 GetLDoNSellBackRate();
|
||||
uint32 GetScriptFileID();
|
||||
int GetExpendableArrow();
|
||||
uint32 GetClairvoyance();
|
||||
const char *GetClickName();
|
||||
const char *GetProcName();
|
||||
const char *GetWornName();
|
||||
const char *GetFocusName();
|
||||
const char *GetScrollName();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user