add a bit more things to ScriptSyntax, change a few more incoerent lsl types in function arguments

This commit is contained in:
UbitUmarov
2018-11-10 21:00:04 +00:00
parent 90db067d2a
commit 9185d397df
5 changed files with 75 additions and 33 deletions

View File

@@ -151,7 +151,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
protected int m_sleepMsOnSetDamage = 5000;
protected int m_sleepMsOnTextBox = 1000;
protected int m_sleepMsOnAdjustSoundVolume = 100;
protected int m_sleepMsOnEjectFromLand = 5000;
protected int m_sleepMsOnEjectFromLand = 1000;
protected int m_sleepMsOnAddToLandPassList = 100;
protected int m_sleepMsOnDialog = 1000;
protected int m_sleepMsOnRemoteLoadScript = 3000;
@@ -4454,7 +4454,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
}
public void llCreateLink(string target, int parent)
public void llCreateLink(LSL_String target, LSL_Integer parent)
{
m_host.AddScriptLPS(1);
@@ -6923,7 +6923,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
}
public void llEjectFromLand(string pest)
public void llEjectFromLand(LSL_Key pest)
{
m_host.AddScriptLPS(1);
UUID agentID = new UUID();
@@ -7955,7 +7955,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
public void llAddToLandPassList(string avatar, double hours)
public void llAddToLandPassList(LSL_Key avatar, double hours)
{
m_host.AddScriptLPS(1);
UUID key;
@@ -8087,7 +8087,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
}
public void llDialog(string avatar, string message, LSL_List buttons, int chat_channel)
public void llDialog(LSL_Key avatar, LSL_String message, LSL_List buttons, int chat_channel)
{
IDialogModule dm = World.RequestModuleInterface<IDialogModule>();
@@ -13534,7 +13534,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
ScriptSleep(m_sleepMsOnMapDestination);
}
public void llAddToLandBanList(string avatar, double hours)
public void llAddToLandBanList(LSL_Key avatar, double hours)
{
m_host.AddScriptLPS(1);
UUID key;