mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Resolve merge commits, stage 1
This commit is contained in:
@@ -594,7 +594,28 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public const int STATS_ACTIVE_SCRIPTS = 19;
|
||||
public const int STATS_SCRIPT_LPS = 20;
|
||||
|
||||
// Constants for osNpc* functions
|
||||
public const int OS_NPC_FLY = 0;
|
||||
public const int OS_NPC_NO_FLY = 1;
|
||||
public const int OS_NPC_LAND_AT_TARGET = 2;
|
||||
|
||||
public const string URL_REQUEST_GRANTED = "URL_REQUEST_GRANTED";
|
||||
public const string URL_REQUEST_DENIED = "URL_REQUEST_DENIED";
|
||||
|
||||
public static readonly LSLInteger RC_REJECT_TYPES = 2;
|
||||
public static readonly LSLInteger RC_DATA_FLAGS = 4;
|
||||
public static readonly LSLInteger RC_MAX_HITS = 8;
|
||||
public static readonly LSLInteger RC_DETECT_PHANTOM = 16;
|
||||
|
||||
public static readonly LSLInteger RC_REJECT_AGENTS = 2;
|
||||
public static readonly LSLInteger RC_REJECT_PHYSICAL = 4;
|
||||
public static readonly LSLInteger RC_REJECT_NONPHYSICAL = 8;
|
||||
public static readonly LSLInteger RC_REJECT_LAND = 16;
|
||||
|
||||
public static readonly LSLInteger RC_GET_NORMAL = 2;
|
||||
public static readonly LSLInteger RC_GET_ROOT_KEY = 4;
|
||||
public static readonly LSLInteger RC_GET_LINK_NUM = 8;
|
||||
|
||||
public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1206,6 +1206,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
m_LSL_Functions.llRegionSay(channelID, text);
|
||||
}
|
||||
|
||||
public void llRegionSayTo(string key, int channelID, string text)
|
||||
{
|
||||
m_LSL_Functions.llRegionSayTo(key, channelID, text);
|
||||
}
|
||||
|
||||
public void llReleaseCamera(string avatar)
|
||||
{
|
||||
m_LSL_Functions.llReleaseCamera(avatar);
|
||||
|
||||
@@ -483,11 +483,46 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom);
|
||||
}
|
||||
|
||||
public key osNpcSaveAppearance(key npc, string notecard)
|
||||
{
|
||||
return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard);
|
||||
}
|
||||
|
||||
public void osNpcLoadAppearance(key npc, string notecard)
|
||||
{
|
||||
m_OSSL_Functions.osNpcLoadAppearance(npc, notecard);
|
||||
}
|
||||
|
||||
public vector osNpcGetPos(LSL_Key npc)
|
||||
{
|
||||
return m_OSSL_Functions.osNpcGetPos(npc);
|
||||
}
|
||||
|
||||
public void osNpcMoveTo(key npc, vector position)
|
||||
{
|
||||
m_OSSL_Functions.osNpcMoveTo(npc, position);
|
||||
}
|
||||
|
||||
public void osNpcMoveToTarget(key npc, vector target, int options)
|
||||
{
|
||||
m_OSSL_Functions.osNpcMoveToTarget(npc, target, options);
|
||||
}
|
||||
|
||||
public rotation osNpcGetRot(key npc)
|
||||
{
|
||||
return m_OSSL_Functions.osNpcGetRot(npc);
|
||||
}
|
||||
|
||||
public void osNpcSetRot(key npc, rotation rot)
|
||||
{
|
||||
m_OSSL_Functions.osNpcSetRot(npc, rot);
|
||||
}
|
||||
|
||||
public void osNpcStopMoveToTarget(LSL_Key npc)
|
||||
{
|
||||
m_OSSL_Functions.osNpcStopMoveToTarget(npc);
|
||||
}
|
||||
|
||||
public void osNpcSay(key npc, string message)
|
||||
{
|
||||
m_OSSL_Functions.osNpcSay(npc, message);
|
||||
@@ -498,6 +533,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
m_OSSL_Functions.osNpcRemove(npc);
|
||||
}
|
||||
|
||||
public LSL_Key osOwnerSaveAppearance(string notecard)
|
||||
{
|
||||
return m_OSSL_Functions.osOwnerSaveAppearance(notecard);
|
||||
}
|
||||
|
||||
public LSL_Key osAgentSaveAppearance(LSL_Key agentId, string notecard)
|
||||
{
|
||||
return m_OSSL_Functions.osAgentSaveAppearance(agentId, notecard);
|
||||
}
|
||||
|
||||
public OSSLPrim Prim;
|
||||
|
||||
[Serializable]
|
||||
|
||||
Reference in New Issue
Block a user