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

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

Public Properties

Property Type Description
MessageWindows List
PendingEmails List

Public Methods

Method 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

Method Description
GetMessageGroup ( string name, UIMessageType type ) : UIMessageGroup

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

Method Details

MCUpdate() public method

public MCUpdate ( UpdateState update ) : void
update FSO.Common.Rendering.Framework.Model.UpdateState
return void

OpenEmail() public method

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
return void

PassEmail() public method

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
return void

PassMessage() public method

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
return void

RemoveMessageGroup() public method

Remove a UIMessageGroup from the Message UI.
public RemoveMessageGroup ( UIMessageGroup grp ) : void
grp UIMessageGroup
return void

ReorderIcons() public method

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

SendLetter() public method

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

SendMessage() public method

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

UIMessageController() public method

public UIMessageController ( ) : System
return System

Property Details

MessageWindows public_oe property

public List MessageWindows
return List

PendingEmails public_oe property

public List PendingEmails
return List