Added requested movement method

Todo: Implement TC equivalent

Part of #80
This commit is contained in:
Foereaper
2014-12-21 06:08:46 +01:00
parent d6b65cdf4c
commit 20eeccf815
2 changed files with 39 additions and 0 deletions

View File

@@ -263,6 +263,9 @@ ElunaRegister<Unit> UnitMethods[] =
{ "GetVehicleKit", &LuaUnit::GetVehicleKit }, // :GetVehicleKit() - Gets unit's Vehicle kit if the unit is a vehicle
// {"GetVehicle", &LuaUnit::GetVehicle}, // :GetVehicle() - Gets the Vehicle kit of the vehicle the unit is on
#endif
#ifdef MANGOS
{ "GetMovementType", &LuaUnit::GetMovementType },
#endif
// Setters
{ "SetFaction", &LuaUnit::SetFaction }, // :SetFaction(factionId) - Sets the unit's faction