![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
This object serves as a wrapper for individual HUD team score widgets. More...
Protected Member Functions | |
| Widget | FindScoreWidget (notnull Widget parent, string name) |
| Finds a widget by name, either available variant (default, _Left, _Right). | |
| void | SCR_CaptureAndHoldTeamScoreDisplayObject (notnull Widget root, notnull Faction faction) |
| Creates new score object wrapper for provided faction. | |
| void | Update (int score, int maxScore) |
| Updates state of this object. | |
| Faction | GetFaction () |
| Returns the Faction this object is affiliated with. | |
Protected Attributes | |
| Widget | m_wRoot |
| Topmost frame of this object. | |
| ImageWidget | m_wFactionImage |
| Reference to fillable bar widget. | |
| ImageWidget | m_wBarImage |
| Reference to fillable bar widget. | |
| TextWidget | m_wScoreText |
| Reference to text widget that displays score. | |
| Faction | m_pAffiliatedFaction |
| Faction this object represents. | |
This object serves as a wrapper for individual HUD team score widgets.
Definition at line 2 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
inlineprotected |
Creates new score object wrapper for provided faction.
Definition at line 40 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
inlineprotected |
Finds a widget by name, either available variant (default, _Left, _Right).
Definition at line 21 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
inlineprotected |
Returns the Faction this object is affiliated with.
Definition at line 92 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
Updates state of this object.
Definition at line 80 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
protected |
Faction this object represents.
Definition at line 17 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
protected |
Reference to fillable bar widget.
Definition at line 11 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
protected |
Reference to fillable bar widget.
Definition at line 8 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
protected |
Topmost frame of this object.
Definition at line 5 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.
|
protected |
Reference to text widget that displays score.
Definition at line 14 of file SCR_CaptureAndHoldTeamScoreDisplayObject.c.