C# Class WhiteCore.Modules.Chat.DialogModule

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

Protected Properties

Свойство Type Description
m_enabled bool
m_muteListModule IMuteListModule
m_scene IScene

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
HandleAlertConsoleCommand ( IScene scene, string cmdparams ) : void

Handle an alert command from the console.

Method Details

AddRegion() public méthode

public AddRegion ( IScene scene ) : void
scene IScene
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

HandleAlertConsoleCommand() protected méthode

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

Initialise() public méthode

public Initialise ( IConfigSource config ) : void
config IConfigSource
Résultat void

RegionLoaded() public méthode

public RegionLoaded ( IScene scene ) : void
scene IScene
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( IScene scene ) : void
scene IScene
Résultat void

SendAlertToUser() public méthode

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

SendAlertToUser() public méthode

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.
Résultat void

SendAlertToUser() public méthode

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

SendAlertToUser() public méthode

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.
Résultat void

SendAlertToUser() public méthode

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.
Résultat void

SendDialogToUser() public méthode

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.
Résultat void

SendGeneralAlert() public méthode

Sends a general alert.
public SendGeneralAlert ( string message ) : void
message string Message.
Résultat void

SendNotificationToUsersInRegion() public méthode

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.
Résultat void

SendTextBoxToUser() public méthode

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.
Résultat void

SendUrlToUser() public méthode

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.
Résultat void

Property Details

m_enabled protected_oe property

protected bool m_enabled
Résultat bool

m_muteListModule protected_oe property

protected IMuteListModule m_muteListModule
Résultat IMuteListModule

m_scene protected_oe property

protected IScene m_scene
Résultat IScene