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.
This commit is contained in:
alondria
2008-02-02 22:53:01 +00:00
parent 0ea708c133
commit 742ed9537d
5 changed files with 62 additions and 2 deletions

View File

@@ -1727,6 +1727,14 @@ namespace OpenSim.Region.Environment.Scenes
}
}
public void SendDialogToUser(LLUUID avatarID, string objectName, LLUUID objectID, LLUUID ownerID,string message,LLUUID TextureID,int ch,string[] buttonlabels)
{
if (m_scenePresences.ContainsKey(avatarID))
{
m_scenePresences[avatarID].ControllingClient.SendDialog(objectName,objectID,ownerID,message,TextureID,ch,buttonlabels);
}
}
/// <summary>
///
/// </summary>