C# Class WhiteCore.Modules.Chat.DialogModule

This dialog module has support for mute lists
Inheritance: INonSharedRegionModule, IDialogModule
Mostra file Open project: WhiteCoreSim/WhiteCore-Dev

Protected Properties

Property Type Description
m_enabled bool
m_muteListModule IMuteListModule
m_scene IScene

Public Methods

Method Description
AddRegion ( IScene scene ) : void
Close ( ) : void
Initialise ( IConfigSource config ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
SendAlertToUser ( IClientAPI client, string message ) : void

Sends an alert to user.

SendAlertToUser ( IClientAPI client, string message, bool modal ) : void

Sends an alert to user.

SendAlertToUser ( UUID agentID, string message ) : void

Sends an alert to user.

SendAlertToUser ( UUID agentID, string message, bool modal ) : void

Sends an alert to user.

SendAlertToUser ( string Name, string message, bool modal ) : void

Sends an alert to user.

SendDialogToUser ( UUID avatarID, string objectName, UUID objectID, UUID ownerID, string message, UUID textureID, int ch, string buttonlabels ) : void

Sends the dialog to user.

SendGeneralAlert ( string message ) : void

Sends a general alert.

SendNotificationToUsersInRegion ( UUID fromAvatarID, string fromAvatarName, string message ) : void

Sends a notification to users in region.

SendTextBoxToUser ( UUID avatarID, string message, int chatChannel, string name, UUID objectID, UUID ownerID ) : void

Sends a text box to user.

SendUrlToUser ( UUID avatarID, string objectName, UUID objectID, UUID ownerID, bool groupOwned, string message, string url ) : void

Sends a URL to user.

Protected Methods

Method Description
HandleAlertConsoleCommand ( IScene scene, string cmdparams ) : void

Handle an alert command from the console.

Method Details

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

HandleAlertConsoleCommand() protected method

Handle an alert command from the console.
protected HandleAlertConsoleCommand ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

Initialise() public method

public Initialise ( IConfigSource config ) : void
config IConfigSource
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

SendAlertToUser() public method

Sends an alert to user.
public SendAlertToUser ( IClientAPI client, string message ) : void
client IClientAPI Client.
message string Message.
return void

SendAlertToUser() public method

Sends an alert to user.
public SendAlertToUser ( IClientAPI client, string message, bool modal ) : void
client IClientAPI Client.
message string Message.
modal bool If set to true modal.
return void

SendAlertToUser() public method

Sends an alert to user.
public SendAlertToUser ( UUID agentID, string message ) : void
agentID UUID Agent identifier.
message string Message.
return void

SendAlertToUser() public method

Sends an alert to user.
public SendAlertToUser ( UUID agentID, string message, bool modal ) : void
agentID UUID Agent identifier.
message string Message.
modal bool If set to true modal.
return void

SendAlertToUser() public method

Sends an alert to user.
public SendAlertToUser ( string Name, string message, bool modal ) : void
Name string Name.
message string Message.
modal bool If set to true modal.
return void

SendDialogToUser() public method

Sends the dialog to user.
public SendDialogToUser ( UUID avatarID, string objectName, UUID objectID, UUID ownerID, string message, UUID textureID, int ch, string buttonlabels ) : void
avatarID UUID Avatar identifier.
objectName string Object name.
objectID UUID Object identifier.
ownerID UUID Owner identifier.
message string Message.
textureID UUID Texture identifier.
ch int Ch.
buttonlabels string Buttonlabels.
return void

SendGeneralAlert() public method

Sends a general alert.
public SendGeneralAlert ( string message ) : void
message string Message.
return void

SendNotificationToUsersInRegion() public method

Sends a notification to users in region.
public SendNotificationToUsersInRegion ( UUID fromAvatarID, string fromAvatarName, string message ) : void
fromAvatarID UUID From avatar identifier.
fromAvatarName string From avatar name.
message string Message.
return void

SendTextBoxToUser() public method

Sends a text box to user.
public SendTextBoxToUser ( UUID avatarID, string message, int chatChannel, string name, UUID objectID, UUID ownerID ) : void
avatarID UUID Avatar identifier.
message string Message.
chatChannel int Chat channel.
name string Name.
objectID UUID Object identifier.
ownerID UUID Owner identifier.
return void

SendUrlToUser() public method

Sends a URL to user.
public SendUrlToUser ( UUID avatarID, string objectName, UUID objectID, UUID ownerID, bool groupOwned, string message, string url ) : void
avatarID UUID Avatar identifier.
objectName string Object name.
objectID UUID Object identifier.
ownerID UUID Owner identifier.
groupOwned bool If set to true group owned.
message string Message.
url string URL.
return void

Property Details

m_enabled protected_oe property

protected bool m_enabled
return bool

m_muteListModule protected_oe property

protected IMuteListModule m_muteListModule
return IMuteListModule

m_scene protected_oe property

protected IScene m_scene
return IScene