feat(LuaEngine/PlayerMethods): add GetHomebind, GetSpells and TeleportTo (#232)

Co-authored-by: 55Honey <71938210+55Honey@users.noreply.github.com>
This commit is contained in:
iThorgrim
2025-02-01 22:08:16 +01:00
committed by GitHub
parent ef8d5a0866
commit 8ebf1f4cda
2 changed files with 78 additions and 1 deletions

View File

@@ -567,6 +567,8 @@ ElunaRegister<Player> PlayerMethods[] =
{ "SetPlayerLock", &LuaPlayer::SetPlayerLock },
{ "SetGender", &LuaPlayer::SetGender },
{ "SetSheath", &LuaPlayer::SetSheath },
{ "GetHomebind", &LuaPlayer::GetHomebind },
{ "GetSpells", &LuaPlayer::GetSpells },
// Boolean
{ "HasTankSpec", &LuaPlayer::HasTankSpec },
@@ -737,6 +739,7 @@ ElunaRegister<Player> PlayerMethods[] =
{ "SendCinematicStart", &LuaPlayer::SendCinematicStart },
{ "SendMovieStart", &LuaPlayer::SendMovieStart },
{ "UpdatePlayerSetting", &LuaPlayer::UpdatePlayerSetting },
{ "TeleportTo", &LuaPlayer::TeleportTo },
{ NULL, NULL }
};