API:UnitMana

__NOTOC__
UnitMana
Gets the current mana of the primary class from a given unit.
UnitMana(UnitId)
== Parameters ==
=== Arguments ===
:;UnitId
::string - A UnitId (e.g. "player", "target", "party1", "raid1", etc..) 
=== Returns ===
:;number
::number - Current amount of mana / rage etc of the primary class of the given unit. Returns 0 if the specified unit does not exist (eg. "target" given but there is no target).
== Example ==
-- Print your mana to the Guild channel.
SendChatMessage("My mana is " .. UnitMana("player"),"GUILD")
== Notes ==
== Related Functions ==
* UnitManaType
* UnitSkill