aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples
diff options
context:
space:
mode:
authoralondria2008-02-02 22:53:01 +0000
committeralondria2008-02-02 22:53:01 +0000
commit742ed9537df1cb45a0c57e38e4c0c0735fc92eca (patch)
treeda78e2838e34139dfc4aa8f4fa5e118136781b16 /OpenSim/Region/Examples
parentAdded llParseString2List (and a few extra methods to LSL_Types.list). (diff)
downloadopensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.zip
opensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.tar.gz
opensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.tar.bz2
opensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.tar.xz
Implements LSL function llDialog().
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
index b5663de..6ae74e6 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
@@ -320,6 +320,10 @@ namespace SimpleApp
320 { 320 {
321 } 321 }
322 322
323 public virtual void SendDialog(string objectname, LLUUID objectID, LLUUID ownerID, string msg, LLUUID textureID, int ch, string[] buttonlabels)
324 {
325 }
326
323 public virtual void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, 327 public virtual void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID,
324 PrimitiveBaseShape primShape, LLVector3 pos, uint flags, 328 PrimitiveBaseShape primShape, LLVector3 pos, uint flags,
325 LLUUID objectID, LLUUID ownerID, string text, byte[] color, 329 LLUUID objectID, LLUUID ownerID, string text, byte[] color,