DB/UnitPowerBar: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Barncastle (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Sandbox/VersionRange|min_expansionlevel=4}} | |||
==6.0.1.18179== | ==6.0.1.18179== | ||
Line 14: | Line 16: | ||
uint32_t m_color[6]; | uint32_t m_color[6]; | ||
uint32_t m_flags; | uint32_t m_flags; | ||
stringref m_name_lang; | {{Template:Type|stringref}} m_name_lang; | ||
stringref m_cost_lang; | {{Template:Type|stringref}} m_cost_lang; | ||
stringref m_outOfError_lang; | {{Template:Type|stringref}} m_outOfError_lang; | ||
stringref m_toolTip_lang; | {{Template:Type|stringref}} m_toolTip_lang; | ||
float m_startInset; | float m_startInset; | ||
float m_endInset; | float m_endInset; | ||
}; | }; | ||
===Flags=== | |||
{| style="background:#FCFCFC; color:black" | |||
|- | |||
! width="80" | Value | |||
! width="500" | Description | |||
|- | |||
| 0x002 || smooth progress change | |||
|- | |||
| 0x004 || hide from others | |||
|- | |||
| 0x008 || show on raid | |||
|- | |||
| 0x010 || prevent powerbar reset on death | |||
|- | |||
| 0x020 || opaque spark effect | |||
|- | |||
| 0x040 || opaque flash effect | |||
|- | |||
| 0x080 || display as fractional <code>Script_UnitAlternatePowerCounterInfo</code> | |||
|- | |||
| 0x100 || animate numbers <code>Script_UnitAlternatePowerCounterInfo</code> | |||
|} | |||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_WoD]] | [[Category:DBC_WoD]] | ||
[[Category:6.0.1.18179]] | [[Category:6.0.1.18179]] |
Latest revision as of 16:22, 15 April 2019
6.0.1.18179
struct UnitPowerBarRec { uint32_t m_ID; uint32_t m_minPower; uint32_t m_maxPower; uint32_t m_startPower; uint32_t m_centerPower; float m_regenerationPeace; float m_regenerationCombat; uint32_t m_barType; uint32_t m_fileDataID[6]; uint32_t m_color[6]; uint32_t m_flags; stringrefⁱ m_name_lang; stringrefⁱ m_cost_lang; stringrefⁱ m_outOfError_lang; stringrefⁱ m_toolTip_lang; float m_startInset; float m_endInset; };
Flags
Value | Description |
---|---|
0x002 | smooth progress change |
0x004 | hide from others |
0x008 | show on raid |
0x010 | prevent powerbar reset on death |
0x020 | opaque spark effect |
0x040 | opaque flash effect |
0x080 | display as fractional Script_UnitAlternatePowerCounterInfo
|
0x100 | animate numbers Script_UnitAlternatePowerCounterInfo
|