This object serves as a wrapper for individual HUD team score widgets.
More...
|
Widget | FindScoreWidget (notnull Widget parent, string name) |
| Finds a widget by name, either available variant (default, _Left, _Right)
|
|
This object serves as a wrapper for individual HUD team score widgets.
◆ SCR_CaptureAndHoldTeamScoreDisplayObject()
void SCR_CaptureAndHoldTeamScoreDisplayObject.SCR_CaptureAndHoldTeamScoreDisplayObject |
( |
notnull Widget |
root, |
|
|
notnull Faction |
faction |
|
) |
| |
Creates new score object wrapper for provided faction.
◆ FindScoreWidget()
Widget SCR_CaptureAndHoldTeamScoreDisplayObject.FindScoreWidget |
( |
notnull Widget |
parent, |
|
|
string |
name |
|
) |
| |
|
protected |
Finds a widget by name, either available variant (default, _Left, _Right)
◆ GetFaction()
Faction SCR_CaptureAndHoldTeamScoreDisplayObject.GetFaction |
( |
| ) |
|
Returns the Faction this object is affiliated with.
◆ Update()
void SCR_CaptureAndHoldTeamScoreDisplayObject.Update |
( |
int |
score, |
|
|
int |
maxScore |
|
) |
| |
Updates state of this object.
◆ m_pAffiliatedFaction
Faction SCR_CaptureAndHoldTeamScoreDisplayObject.m_pAffiliatedFaction |
|
protected |
◆ m_wBarImage
ImageWidget SCR_CaptureAndHoldTeamScoreDisplayObject.m_wBarImage |
|
protected |
Reference to fillable bar widget.
◆ m_wFactionImage
ImageWidget SCR_CaptureAndHoldTeamScoreDisplayObject.m_wFactionImage |
|
protected |
Reference to fillable bar widget.
◆ m_wRoot
Widget SCR_CaptureAndHoldTeamScoreDisplayObject.m_wRoot |
|
protected |
Topmost frame of this object.
◆ m_wScoreText
TextWidget SCR_CaptureAndHoldTeamScoreDisplayObject.m_wScoreText |
|
protected |
Reference to text widget that displays score.
The documentation for this interface was generated from the following file:
- Game/UI/CaptureAndHold/SCR_CaptureAndHoldTeamScoreDisplayObject.c