StatPage |
GUI.SkillHive.CharacterStats |
| GUI. | |
| Variables | |
| m_StatPageItems | objects |
| m_LabelObject | |
| m_StatPagesObject | |
| m_CharacterStatsPane | |
| m_ContentClip | |
| m_StatPage | |
| m_CurrentStatPageIndex | |
| m_PanelTweenSpeed | |
| m_StatPageItemHeight | layoup |
| Functions | |
| CharacterStats | |
| SetCharacterName | |
| SetFactionName | |
| CreatePaperDoll | |
| CreateStatPage | Attaches a dropdown to the m_StatPage MovieClip and draws the stats on it when requested |
| SlotCharacterLoaded | |
| UpdateStatPage | Updates the content of the stat page when a new page is selected |
| OnDropdownSelection | updates the statpage wnhen a new item is selected from the dropdown |
| SlotSkillUpdated | when an update to a skill is received checks if the stat is visible and writes to it, if not it stores the updated skill |
objects
private var m_StatPageItems: Array
private var m_LabelObject: Object
private var m_StatPagesObject: Object
private var m_CharacterStatsPane: MovieClip
private var m_ContentClip: MovieClip
private var m_StatPage: MovieClip
private var m_CurrentStatPageIndex: Number
private var m_PanelTweenSpeed: Number
layoup
private var m_StatPageItemHeight: Number
public function CharacterStats( characterStatsPane: MovieClip )
public function SetCharacterName( name: String ) : Void
public function SetFactionName( playerFaction: Number ):Void
private function CreatePaperDoll() : Void
Attaches a dropdown to the m_StatPage MovieClip and draws the stats on it when requested
private function CreateStatPage() : Void
public function SlotCharacterLoaded( url: String, succeded: Boolean )
Updates the content of the stat page when a new page is selected
private function UpdateStatPage( index: Number )
updates the statpage wnhen a new item is selected from the dropdown
private function OnDropdownSelection( event: Object )
when an update to a skill is received checks if the stat is visible and writes to it, if not it stores the updated skill
private function SlotSkillUpdated( updatedSkill: Number )