mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-08 22:32:26 +00:00
Lua: Header Matching and Cleanup (#5055)
This commit is contained in:
parent
491b1edd12
commit
ba2ca5eada
@ -6920,8 +6920,8 @@ luabind::scope lua_register_events() {
|
||||
luabind::value("spell_buff_tic", static_cast<int>(EVENT_SPELL_EFFECT_BUFF_TIC_CLIENT)),
|
||||
luabind::value("spell_fade", static_cast<int>(EVENT_SPELL_FADE)),
|
||||
luabind::value("spell_effect_translocate_complete", static_cast<int>(EVENT_SPELL_EFFECT_TRANSLOCATE_COMPLETE)),
|
||||
luabind::value("combine_success ", static_cast<int>(EVENT_COMBINE_SUCCESS )),
|
||||
luabind::value("combine_failure ", static_cast<int>(EVENT_COMBINE_FAILURE )),
|
||||
luabind::value("combine_success", static_cast<int>(EVENT_COMBINE_SUCCESS )),
|
||||
luabind::value("combine_failure", static_cast<int>(EVENT_COMBINE_FAILURE )),
|
||||
luabind::value("item_click", static_cast<int>(EVENT_ITEM_CLICK)),
|
||||
luabind::value("item_click_cast", static_cast<int>(EVENT_ITEM_CLICK_CAST)),
|
||||
luabind::value("group_change", static_cast<int>(EVENT_GROUP_CHANGE)),
|
||||
|
||||
@ -3732,6 +3732,7 @@ luabind::scope lua_register_mob() {
|
||||
.def("GMMove", (void(Lua_Mob::*)(double,double,double))&Lua_Mob::GMMove)
|
||||
.def("GMMove", (void(Lua_Mob::*)(double,double,double,double))&Lua_Mob::GMMove)
|
||||
.def("GMMove", (void(Lua_Mob::*)(double,double,double,double,bool))&Lua_Mob::GMMove)
|
||||
.def("Gate", &Lua_Mob::Gate)
|
||||
.def("GetAA", (int(Lua_Mob::*)(int))&Lua_Mob::GetAA)
|
||||
.def("GetAABonuses", &Lua_Mob::GetAABonuses)
|
||||
.def("GetAAByAAID", (int(Lua_Mob::*)(int))&Lua_Mob::GetAAByAAID)
|
||||
|
||||
@ -1068,6 +1068,7 @@ luabind::scope lua_register_npc() {
|
||||
.def("GetWaypointMax", (int(Lua_NPC::*)(void))&Lua_NPC::GetWaypointMax)
|
||||
.def("HasAISpellEffect", (bool(Lua_NPC::*)(int))&Lua_NPC::HasAISpellEffect)
|
||||
.def("HasItem", (bool(Lua_NPC::*)(uint32))&Lua_NPC::HasItem)
|
||||
.def("HasSpecialAbilities", &Lua_NPC::HasSpecialAbilities)
|
||||
.def("IsAnimal", (bool(Lua_NPC::*)(void))&Lua_NPC::IsAnimal)
|
||||
.def("IsGuarding", (bool(Lua_NPC::*)(void))&Lua_NPC::IsGuarding)
|
||||
.def("IsLDoNLocked", (bool(Lua_NPC::*)(void))&Lua_NPC::IsLDoNLocked)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user