Class BigMessage
A customizable big message.
Inherited Members
Namespace: LemonUI.Scaleform
Assembly: LemonUI.SHVDN3.dll
Syntax
public class BigMessage : BaseScaleform, IScaleform, IDrawable, IProcessable, IDisposable
Constructors
View SourceBigMessage(string)
Creates a standard customizable message with just a title.
Declaration
public BigMessage(string title)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
BigMessage(string, MessageType)
Creates a custom message with the specified title.
Declaration
public BigMessage(string title, MessageType type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| MessageType | type | The type of message. |
BigMessage(string, int)
Creates a standard customizable message with a title and a custom text color.
Declaration
public BigMessage(string title, int colorText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| int | colorText | The color of the text. |
BigMessage(string, int, int)
Creates a standard customizable message with a specific title and custom colors.
Declaration
public BigMessage(string title, int colorText, int colorBackground)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| int | colorText | The color of the text. |
| int | colorBackground | The color of the background. |
BigMessage(string, string)
Creates a standard customizable message with a title and message.
Declaration
public BigMessage(string title, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
BigMessage(string, string, WeaponHash)
Creates a Weapon Purchase message with a custom text and weapons.
Declaration
public BigMessage(string title, string weapon, WeaponHash hash)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | weapon | The name of the Weapon. |
| WeaponHash | hash | The hash of the Weapon image. |
BigMessage(string, string, WeaponHash)
Creates a Weapon Purchase message with a custom text and weapons.
Declaration
public BigMessage(string title, string weapon, WeaponHash hash)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | weapon | The name of the Weapon. |
| WeaponHash | hash | The hash of the Weapon image. |
BigMessage(string, string, MessageType)
Creates a message with the specified type, title and message.
Declaration
public BigMessage(string title, string message, MessageType type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| MessageType | type | The type of message. |
BigMessage(string, string, WeaponHash)
Creates a Weapon Purchase message with a custom text and weapons.
Declaration
public BigMessage(string title, string weapon, WeaponHash hash)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | weapon | The name of the Weapon. |
| WeaponHash | hash | The hash of the Weapon image. |
BigMessage(string, string, string)
Creates a Cops and Crooks message type.
Declaration
public BigMessage(string title, string message, string rank)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | rank | Text to show in the Rank space. |
BigMessage(string, string, string, WeaponHash)
Creates a Weapon Purchase message with a custom text and weapons.
Declaration
public BigMessage(string title, string message, string weapon, WeaponHash hash)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | weapon | The name of the Weapon. |
| WeaponHash | hash | The hash of the Weapon image. |
BigMessage(string, string, string, WeaponHash, int, int, MessageType)
Creates a message with all of the selected information.
Declaration
public BigMessage(string title, string message, string rank, WeaponHash weapon, int colorText, int colorBackground, MessageType type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | rank | The Rank on Cops and Crooks. |
| WeaponHash | weapon | The hash of the Weapon image. |
| int | colorText | The color of the text. |
| int | colorBackground | The color of the background. |
| MessageType | type | The type of message. |
BigMessage(string, string, string, WeaponHash)
Creates a Weapon Purchase message with a custom text and weapons.
Declaration
public BigMessage(string title, string message, string weapon, WeaponHash hash)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | weapon | The name of the Weapon. |
| WeaponHash | hash | The hash of the Weapon image. |
BigMessage(string, string, string, WeaponHash, int, int, MessageType)
Creates a message with all of the selected information.
Declaration
public BigMessage(string title, string message, string rank, WeaponHash weapon, int colorText, int colorBackground, MessageType type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | rank | The Rank on Cops and Crooks. |
| WeaponHash | weapon | The hash of the Weapon image. |
| int | colorText | The color of the text. |
| int | colorBackground | The color of the background. |
| MessageType | type | The type of message. |
BigMessage(string, string, string, WeaponHash)
Creates a Weapon Purchase message with a custom text and weapons.
Declaration
public BigMessage(string title, string message, string weapon, WeaponHash hash)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | weapon | The name of the Weapon. |
| WeaponHash | hash | The hash of the Weapon image. |
BigMessage(string, string, string, WeaponHash, int, int, MessageType)
Creates a message with all of the selected information.
Declaration
public BigMessage(string title, string message, string rank, WeaponHash weapon, int colorText, int colorBackground, MessageType type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | rank | The Rank on Cops and Crooks. |
| WeaponHash | weapon | The hash of the Weapon image. |
| int | colorText | The color of the text. |
| int | colorBackground | The color of the background. |
| MessageType | type | The type of message. |
BigMessage(string, string, string, uint, int, int, MessageType)
Creates a message with all of the selected information.
Declaration
public BigMessage(string title, string message, string rank, uint weapon, int colorText, int colorBackground, MessageType type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | The title to use. |
| string | message | The message to show. |
| string | rank | The Rank on Cops and Crooks. |
| uint | weapon | The hash of the Weapon image. |
| int | colorText | The color of the text. |
| int | colorBackground | The color of the background. |
| MessageType | type | The type of message. |
Properties
View SourceBackgroundColor
The color of the background in the Customizable message type.
Declaration
public int BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Message
The subtitle or description of the message.
Declaration
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Rank
The Rank when the mode is set to Cops and Crooks.
Declaration
public string Rank { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TextColor
The color of the text. Only used on the Customizable message type.
Declaration
public int TextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Title
The title of the message.
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
The type of message to show.
Declaration
public MessageType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| MessageType |
Weapon
The hash of the Weapon as an enum.
Declaration
public WeaponHash Weapon { get; set; }
Property Value
| Type | Description |
|---|---|
| WeaponHash |
WeaponHash
The hash of the Weapon as it's native value.
Declaration
public uint WeaponHash { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
View SourceDrawFullScreen()
Draws the scaleform full screen.
Declaration
public override void DrawFullScreen()
Overrides
View SourceFadeOut(int)
Fades the big message out.
Declaration
public void FadeOut(int time)
Parameters
| Type | Name | Description |
|---|---|---|
| int | time | The time it will take to do the fade. |
Update()
Does nothing.
Declaration
public override void Update()