New player method unbind all instances

This commit is contained in:
Asandru
2015-02-09 19:48:38 +02:00
committed by Rochet2
parent 166dacee83
commit 5f6417663e
2 changed files with 40 additions and 1 deletions

View File

@@ -706,6 +706,7 @@ ElunaRegister<Player> PlayerMethods[] =
{ "LeaveBattleground", &LuaPlayer::LeaveBattleground }, // :LeaveBattleground([teleToEntryPoint]) - The player leaves the battleground
// {"BindToInstance", &LuaPlayer::BindToInstance}, // :BindToInstance() - Binds the player to the current instance
{ "UnbindInstance", &LuaPlayer::UnbindInstance }, // :UnbindInstance(map, difficulty) - Unbinds the player from an instance
{ "UnbindAllInstances", &LuaPlayer::UnbindAllInstances }, // :UnbindAllInstances() - Unbinds the player from all instances
{ "RemoveFromBattlegroundRaid", &LuaPlayer::RemoveFromBattlegroundRaid }, // :RemoveFromBattlegroundRaid() - Removes the player from a battleground or battlefield raid
#if (!defined(TBC) && !defined(CLASSIC))
{ "ResetAchievements", &LuaPlayer::ResetAchievements }, // :ResetAchievements() - Resets player<65>s achievements