diff options
author | MW | 2007-07-19 10:44:19 +0000 |
---|---|---|
committer | MW | 2007-07-19 10:44:19 +0000 |
commit | 0b6e332e16cd7df588d3502318a722706d78928c (patch) | |
tree | 7e806ab6b6a4f316d5928443a0006a434ef3c451 /OpenSim/Framework | |
parent | * Fixing sandbox mode crash caused by removal of LocalStorage during cleanup ... (diff) | |
download | opensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.zip opensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.tar.gz opensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.tar.bz2 opensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.tar.xz |
Added some Alert methods to Scene , and a console command handler. So from the console to send alerts use : alert general <message> , for a instance wide message , or use alert firstname secondname <message> to send a alert to one user. (TODO: add region wide messages).
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IClientAPI.cs | 3 | ||||
-rw-r--r-- | OpenSim/Framework/General/NullClientAPI.cs | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Framework/General/Interfaces/IClientAPI.cs b/OpenSim/Framework/General/Interfaces/IClientAPI.cs index abde0ab..808a857 100644 --- a/OpenSim/Framework/General/Interfaces/IClientAPI.cs +++ b/OpenSim/Framework/General/Interfaces/IClientAPI.cs | |||
@@ -190,6 +190,7 @@ namespace OpenSim.Framework.Interfaces | |||
190 | void SendInventoryItemDetails(LLUUID ownerID, LLUUID folderID, InventoryItemBase item); | 190 | void SendInventoryItemDetails(LLUUID ownerID, LLUUID folderID, InventoryItemBase item); |
191 | void SendNameReply(LLUUID profileId, string firstname, string lastname); | 191 | void SendNameReply(LLUUID profileId, string firstname, string lastname); |
192 | 192 | ||
193 | 193 | void SendAlertMessage(string message); | |
194 | void SendAgentAlertMessage(string message, bool modal); | ||
194 | } | 195 | } |
195 | } | 196 | } |
diff --git a/OpenSim/Framework/General/NullClientAPI.cs b/OpenSim/Framework/General/NullClientAPI.cs index f753d05..cfba228 100644 --- a/OpenSim/Framework/General/NullClientAPI.cs +++ b/OpenSim/Framework/General/NullClientAPI.cs | |||
@@ -125,5 +125,8 @@ namespace OpenSim.Framework | |||
125 | public virtual void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List<InventoryItemBase> items){} | 125 | public virtual void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List<InventoryItemBase> items){} |
126 | public virtual void SendInventoryItemDetails(LLUUID ownerID, LLUUID folderID, InventoryItemBase item){} | 126 | public virtual void SendInventoryItemDetails(LLUUID ownerID, LLUUID folderID, InventoryItemBase item){} |
127 | public virtual void SendNameReply(LLUUID profileId, string firstname, string lastname){} | 127 | public virtual void SendNameReply(LLUUID profileId, string firstname, string lastname){} |
128 | } | 128 | |
129 | public void SendAlertMessage(string message) { } | ||
130 | public void SendAgentAlertMessage(string message, bool modal) { } | ||
131 | } | ||
129 | } | 132 | } |