diff options
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs index abad098..8efbf27 100644 --- a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs +++ b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | |||
@@ -118,7 +118,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
118 | 118 | ||
119 | remoteClient.SendKillObject(m_regionHandle, part.LocalId); | 119 | remoteClient.SendKillObject(m_regionHandle, part.LocalId); |
120 | remoteClient.AddMoney(1); | 120 | remoteClient.AddMoney(1); |
121 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero); | 121 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); |
122 | } | 122 | } |
123 | 123 | ||
124 | public override void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient) | 124 | public override void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient) |
@@ -129,7 +129,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
129 | m_scene.RemoveEntity(this); | 129 | m_scene.RemoveEntity(this); |
130 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); | 130 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); |
131 | remoteClient.AddMoney(50); | 131 | remoteClient.AddMoney(50); |
132 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero); | 132 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); |
133 | } | 133 | } |
134 | } | 134 | } |
135 | } | 135 | } |
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 1a8f808..3a64698 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | |||
@@ -296,12 +296,12 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
296 | } | 296 | } |
297 | 297 | ||
298 | public virtual void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, | 298 | public virtual void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, |
299 | LLUUID fromAgentID) | 299 | LLUUID fromAgentID, byte source, byte audible) |
300 | { | 300 | { |
301 | } | 301 | } |
302 | 302 | ||
303 | public virtual void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, | 303 | public virtual void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, |
304 | LLUUID fromAgentID) | 304 | LLUUID fromAgentID, byte source, byte audible) |
305 | { | 305 | { |
306 | } | 306 | } |
307 | 307 | ||