C# Class FSO.Client.UI.Panels.UIMessageController

A controller for messages.
Inheritance: FSO.Client.UI.Framework.UIContainer
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
MessageWindows List
PendingEmails List

Méthodes publiques

Méthode Description
MCUpdate ( UpdateState update ) : void
OpenEmail ( MessageAuthor sender, string subject, string message ) : void

Opens mail without the confirmation dialog. Use when manually opening mail from the inbox.

PassEmail ( MessageAuthor sender, string subject, string message ) : void

Brings up a "You've got mail!" dialog and upon confirming that you want to see it, opens the message. If multiple messages are recieved while the dialog is open it will be updated.

PassMessage ( MessageAuthor Sender, string Message ) : void

Display an IM message in its currently open window. If there is no window, this will create a new one.

RemoveMessageGroup ( UIMessageGroup grp ) : void

Remove a UIMessageGroup from the Message UI.

ReorderIcons ( ) : void

Fix order of UIMessageGroup minimized icons. Called after every message minimize/restore/creation/deletion.

SendLetter ( string message, string subject, string destinationUser ) : void

Fires OnSendLetter event with the passed letter.

SendMessage ( string message, string GUID ) : void

Fires OnSendMessage event with the passed message.

UIMessageController ( ) : System

Private Methods

Méthode Description
GetMessageGroup ( string name, UIMessageType type ) : UIMessageGroup

Get the first message group with the specified recipient name and type.

Method Details

MCUpdate() public méthode

public MCUpdate ( UpdateState update ) : void
update FSO.Common.Rendering.Framework.Model.UpdateState
Résultat void

OpenEmail() public méthode

Opens mail without the confirmation dialog. Use when manually opening mail from the inbox.
public OpenEmail ( MessageAuthor sender, string subject, string message ) : void
sender MessageAuthor
subject string
message string
Résultat void

PassEmail() public méthode

Brings up a "You've got mail!" dialog and upon confirming that you want to see it, opens the message. If multiple messages are recieved while the dialog is open it will be updated.
public PassEmail ( MessageAuthor sender, string subject, string message ) : void
sender MessageAuthor
subject string
message string
Résultat void

PassMessage() public méthode

Display an IM message in its currently open window. If there is no window, this will create a new one.
public PassMessage ( MessageAuthor Sender, string Message ) : void
Sender MessageAuthor
Message string
Résultat void

RemoveMessageGroup() public méthode

Remove a UIMessageGroup from the Message UI.
public RemoveMessageGroup ( UIMessageGroup grp ) : void
grp UIMessageGroup
Résultat void

ReorderIcons() public méthode

Fix order of UIMessageGroup minimized icons. Called after every message minimize/restore/creation/deletion.
public ReorderIcons ( ) : void
Résultat void

SendLetter() public méthode

Fires OnSendLetter event with the passed letter.
public SendLetter ( string message, string subject, string destinationUser ) : void
message string
subject string
destinationUser string
Résultat void

SendMessage() public méthode

Fires OnSendMessage event with the passed message.
public SendMessage ( string message, string GUID ) : void
message string
GUID string
Résultat void

UIMessageController() public méthode

public UIMessageController ( ) : System
Résultat System

Property Details

MessageWindows public_oe property

public List MessageWindows
Résultat List

PendingEmails public_oe property

public List PendingEmails
Résultat List