mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Quest API] Add GetLDoNThemeName() to Perl/Lua. (#1861)
* [Quest API] Add GetLDoNThemeName() to Perl/Lua. - Add quest::getldonthemename(theme_id) to Perl. - Add eq.get_ldon_theme_name(theme_id) to Lua. * Update embparser_api.cpp
This commit is contained in:
@@ -3351,6 +3351,10 @@ Lua_Spell lua_get_spell(uint32 spell_id) {
|
||||
return Lua_Spell(spell_id);
|
||||
}
|
||||
|
||||
std::string lua_get_ldon_theme_name(uint32 theme_id) {
|
||||
return quest_manager.getldonthemename(theme_id);
|
||||
}
|
||||
|
||||
std::string lua_get_faction_name(int faction_id) {
|
||||
return quest_manager.getfactionname(faction_id);
|
||||
}
|
||||
@@ -3806,6 +3810,7 @@ luabind::scope lua_register_general() {
|
||||
luabind::def("is_npc_spawned", &lua_is_npc_spawned),
|
||||
luabind::def("count_spawned_npcs", &lua_count_spawned_npcs),
|
||||
luabind::def("get_spell", &lua_get_spell),
|
||||
luabind::def("get_ldon_theme_name", &lua_get_ldon_theme_name),
|
||||
luabind::def("get_faction_name", &lua_get_faction_name),
|
||||
luabind::def("get_language_name", &lua_get_language_name),
|
||||
luabind::def("get_body_type_name", &lua_get_body_type_name),
|
||||
|
||||
Reference in New Issue
Block a user