Class Countdown
The Countdown scaleform in the GTA Online races.
Inherited Members
Namespace: LemonUI.Scaleform
Assembly: LemonUI.SHVDN3.dll
Syntax
public class Countdown : BaseScaleform, IScaleform, IDrawable, IProcessable, IDisposable
Constructors
View SourceCountdown()
Creates a new countdown scaleform.
Declaration
public Countdown()
Fields
View SourceDefaultCountSound
The default sound played when the countdown
Declaration
public static Sound DefaultCountSound
Field Value
| Type | Description |
|---|---|
| Sound |
DefaultGoSound
The default sound when th
Declaration
public static Sound DefaultGoSound
Field Value
| Type | Description |
|---|---|
| Sound |
Properties
View SourceColorGo
The color used for the GO at the end.
Declaration
public Color ColorGo { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
ColorNumbers
The color used for the numbers.
Declaration
public Color ColorNumbers { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
CountSound
The sound played when counting down.
Declaration
public Sound CountSound { get; set; }
Property Value
| Type | Description |
|---|---|
| Sound |
Current
The current count.
Declaration
public int Current { get; }
Property Value
| Type | Description |
|---|---|
| int |
Duration
The duration of the countdown.
Declaration
public int Duration { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
GoSound
The sound played when the countdown has finished.
Declaration
public Sound GoSound { get; set; }
Property Value
| Type | Description |
|---|---|
| Sound |
Methods
View SourceProcess()
Draws the scaleform full screen.
Declaration
public override void Process()
Overrides
View SourceStart()
Starts the countdown.
Declaration
public void Start()
Update()
Updates the parameters of the Scaleform.
Declaration
public override void Update()
Overrides
Events
View SourceFinished
Event triggered when the countdown has finished.
Declaration
public event EventHandler Finished
Event Type
| Type | Description |
|---|---|
| EventHandler |
Started
Event triggered when the countdown starts.
Declaration
public event EventHandler Started
Event Type
| Type | Description |
|---|---|
| EventHandler |