Interface IMessage
The window interface for displaying a message to the user.
The MessageController is responsible for controlling this window
Inherited Members
Namespace: LemonEdge.Client.Core.Messages
Assembly: LemonEdge.ClientCore.dll
Syntax
public interface IMessage : IWindow
Methods
Init(MessageButtonInfo[], string, string, ImageType)
Initializes the message window with the parameters for displaying the message to the user
Declaration
void Init(MessageButtonInfo[] buttons, string header, string message, ImageType img)
Parameters
Type | Name | Description |
---|---|---|
MessageButtonInfo[] | buttons | A list of customizable buttons for displaying with the message |
string | header | The header/title for this message window |
string | message | The message itself that should be displayed to the user |
ImageType | img | The image to display along with the message |
InitController(MessageController)
Provides the message controller for this window instance
Declaration
void InitController(MessageController controller)
Parameters
Type | Name | Description |
---|---|---|
MessageController | controller | The controller used for this window |
Events
OnButtonClicked
An event raised by the window when one of the provided buttons in the Init(IEnumerable<MessageButtonInfo>, string, string, ImageType) call is pressed by the user
Declaration
event MessageButtonClicked OnButtonClicked
Event Type
Type | Description |
---|---|
MessageButtonClicked |