mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 02:31:03 +00:00
[Feature] Implement Custom Pet Names (#4594)
* rebase\tidy up to address commends * I blame git for this one * last typo * spaces * formating fixes I think? * Repository fixes * Cleanup --------- Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
@@ -3458,6 +3458,12 @@ void Lua_Client::ShowZoneShardMenu()
|
||||
self->ShowZoneShardMenu();
|
||||
}
|
||||
|
||||
void Lua_Client::GrantPetNameChange()
|
||||
{
|
||||
Lua_Safe_Call_Void();
|
||||
self->GrantPetNameChange();
|
||||
}
|
||||
|
||||
void Lua_Client::SetAAEXPPercentage(uint8 percentage)
|
||||
{
|
||||
Lua_Safe_Call_Void();
|
||||
@@ -3568,6 +3574,7 @@ luabind::scope lua_register_client() {
|
||||
.def("CanHaveSkill", (bool(Lua_Client::*)(int))&Lua_Client::CanHaveSkill)
|
||||
.def("CashReward", &Lua_Client::CashReward)
|
||||
.def("ChangeLastName", (void(Lua_Client::*)(std::string))&Lua_Client::ChangeLastName)
|
||||
.def("GrantPetNameChange", &Lua_Client::GrantPetNameChange)
|
||||
.def("CharacterID", (uint32(Lua_Client::*)(void))&Lua_Client::CharacterID)
|
||||
.def("CheckIncreaseSkill", (void(Lua_Client::*)(int,Lua_Mob))&Lua_Client::CheckIncreaseSkill)
|
||||
.def("CheckIncreaseSkill", (void(Lua_Client::*)(int,Lua_Mob,int))&Lua_Client::CheckIncreaseSkill)
|
||||
|
||||
Reference in New Issue
Block a user