Remove old documentation and reference to GetCharges.

This commit is contained in:
Patman64
2014-07-31 20:26:41 -04:00
parent 3ad216ff1d
commit ddc9f9f46b

View File

@@ -904,23 +904,22 @@ ElunaRegister<Item> ItemMethods[] =
ElunaRegister<Aura> AuraMethods[] = ElunaRegister<Aura> AuraMethods[] =
{ {
// Getters // Getters
{ "GetCaster", &LuaAura::GetCaster }, // :GetCaster() - Returns caster as object { "GetCaster", &LuaAura::GetCaster },
{ "GetCasterGUID", &LuaAura::GetCasterGUID }, // :GetCasterGUID() - Returns caster as GUID { "GetCasterGUID", &LuaAura::GetCasterGUID },
{ "GetCasterLevel", &LuaAura::GetCasterLevel }, // :GetCasterLevel() - Returns casters level { "GetCasterLevel", &LuaAura::GetCasterLevel },
{ "GetDuration", &LuaAura::GetDuration }, // :GetDuration() - Returns remaining duration { "GetDuration", &LuaAura::GetDuration },
{ "GetMaxDuration", &LuaAura::GetMaxDuration }, // :GetMaxDuration() - Returns maximum duration { "GetMaxDuration", &LuaAura::GetMaxDuration },
{ "GetCharges", &LuaAura::GetCharges }, // :GetCharges() - Returns remaining charges { "GetAuraId", &LuaAura::GetAuraId },
{ "GetAuraId", &LuaAura::GetAuraId }, // :GetAuraId() - Returns aura ID { "GetStackAmount", &LuaAura::GetStackAmount },
{ "GetStackAmount", &LuaAura::GetStackAmount }, // :GetStackAmount() - Returns current stack amount { "GetOwner", &LuaAura::GetOwner },
{ "GetOwner", &LuaAura::GetOwner }, // :GetOwner() - Gets the unit wearing the aura
// Setters // Setters
{ "SetDuration", &LuaAura::SetDuration }, // :SetDuration(duration) - Sets remaining duration { "SetDuration", &LuaAura::SetDuration },
{ "SetMaxDuration", &LuaAura::SetMaxDuration }, // :SetMaxDuration(duration) - Sets maximum duration { "SetMaxDuration", &LuaAura::SetMaxDuration },
{ "SetStackAmount", &LuaAura::SetStackAmount }, // :SetStackAmount(amount) - Sets current stack amount { "SetStackAmount", &LuaAura::SetStackAmount },
// Other // Other
{ "Remove", &LuaAura::Remove }, // :Remove() - Removes the aura { "Remove", &LuaAura::Remove },
{ NULL, NULL }, { NULL, NULL },
}; };