diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IWorldComm.cs (renamed from OpenSim/Region/Environment/Interfaces/IWorldComm.cs) | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IWorldComm.cs b/OpenSim/Region/Framework/Interfaces/IWorldComm.cs index 1a33450..24865db 100644 --- a/OpenSim/Region/Environment/Interfaces/IWorldComm.cs +++ b/OpenSim/Region/Framework/Interfaces/IWorldComm.cs | |||
@@ -28,21 +28,37 @@ | |||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
31 | using OpenSim.Region.Environment.Modules.Scripting.WorldComm; | 31 | // using OpenSim.Region.Environment.Modules.Scripting.WorldComm; |
32 | 32 | ||
33 | namespace OpenSim.Region.Environment.Interfaces | 33 | namespace OpenSim.Region.Framework.Interfaces |
34 | { | 34 | { |
35 | public interface IWorldCommListenerInfo | ||
36 | { | ||
37 | Object[] GetSerializationData(); | ||
38 | UUID GetItemID(); | ||
39 | UUID GetHostID(); | ||
40 | int GetChannel(); | ||
41 | uint GetLocalID(); | ||
42 | int GetHandle(); | ||
43 | string GetMessage(); | ||
44 | string GetName(); | ||
45 | bool IsActive(); | ||
46 | void Deactivate(); | ||
47 | void Activate(); | ||
48 | UUID GetID(); | ||
49 | } | ||
50 | |||
35 | public interface IWorldComm | 51 | public interface IWorldComm |
36 | { | 52 | { |
37 | int Listen(uint LocalID, UUID itemID, UUID hostID, int channel, string name, UUID id, string msg); | 53 | int Listen(uint LocalID, UUID itemID, UUID hostID, int channel, string name, UUID id, string msg); |
38 | void DeliverMessage(ChatTypeEnum type, int channel, string name, UUID id, string msg); | 54 | void DeliverMessage(ChatTypeEnum type, int channel, string name, UUID id, string msg); |
39 | bool HasMessages(); | 55 | bool HasMessages(); |
40 | ListenerInfo GetNextMessage(); | 56 | IWorldCommListenerInfo GetNextMessage(); |
41 | void ListenControl(UUID itemID, int handle, int active); | 57 | void ListenControl(UUID itemID, int handle, int active); |
42 | void ListenRemove(UUID itemID, int handle); | 58 | void ListenRemove(UUID itemID, int handle); |
43 | void DeleteListener(UUID itemID); | 59 | void DeleteListener(UUID itemID); |
44 | Object[] GetSerializationData(UUID itemID); | 60 | Object[] GetSerializationData(UUID itemID); |
45 | void CreateFromData(uint localID, UUID itemID, UUID hostID, | 61 | void CreateFromData(uint localID, UUID itemID, UUID hostID, |
46 | Object[] data); | 62 | Object[] data); |
47 | } | 63 | } |
48 | } | 64 | } |