Class Celebration
The foreground of the celebration scaleform.
Inherited Members
Namespace: LemonUI.Scaleform
Assembly: LemonUI.SHVDN3.dll
Syntax
public class Celebration : CelebrationCore, IScaleform, IDrawable, IProcessable, IDisposable
Constructors
View SourceCelebration()
Initializes a new Celebration scaleform.
Declaration
public Celebration()
Properties
View SourceBackground
The background of the scaleform.
Declaration
public CelebrationBackground Background { get; }
Property Value
| Type | Description |
|---|---|
| CelebrationBackground |
Challenge
The challenge shown.
Declaration
public string Challenge { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This is used to show messages like "ROUND 10" or "POTENTIAL CUT $1000000".
Duration
For how long the scalefom is show.
Declaration
public int Duration { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Foreground
The foreground of the scaleform.
Declaration
public CelebrationForeground Foreground { get; }
Property Value
| Type | Description |
|---|---|
| CelebrationForeground |
Job
The job name shown.
Declaration
public string Job { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This is used to show the current job name like "The Prison Break" or "Premium Race - East Coast".
Mode
The mode name shown.
Declaration
public string Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This is used to show the current mode, like "HEIST", "RACE", "LAST TEAM STANDING", etc.
Style
The style of the celebration.
Declaration
public CelebrationStyle Style { get; set; }
Property Value
| Type | Description |
|---|---|
| CelebrationStyle |
Methods
View SourceCancel()
Cancels the current screen being shown.
Declaration
public void Cancel()
DrawFullScreen()
Draws the celebration scaleform.
Declaration
public override void DrawFullScreen()
Overrides
View SourceProcess()
Draws the scaleform full screen.
Declaration
public override void Process()
Overrides
View SourceShow()
Shows the celebration scaleform.
Declaration
public void Show()
Events
View SourceFinished
Event triggered when the scaleform has finished fading out.
Declaration
public event EventHandler Finished
Event Type
| Type | Description |
|---|---|
| EventHandler |
Shown
Event triggered when the scaleform is shown on the screen.
Declaration
public event EventHandler Shown
Event Type
| Type | Description |
|---|---|
| EventHandler |