mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
add llGetLinkSitFlags and dummy llSetLinkSitFlags
This commit is contained in:
@@ -1075,5 +1075,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public const int REZ_LOCK_AXES = 11;
|
||||
public const int REZ_DAMAGE_TYPE = 12;
|
||||
public const int REZ_PARAM_STRING = 13;
|
||||
|
||||
public const int SIT_FLAG_SIT_TARGET = 0x01;
|
||||
public const int SIT_FLAG_ALLOW_UNSIT = 0x02; // unsupported always true
|
||||
public const int SIT_FLAG_SCRIPTED_ONLY = 0x04; // unsupported always false
|
||||
public const int SIT_FLAG_NO_COLLIDE = 0x10; // unsupported always true
|
||||
public const int SIT_FLAG_NO_DAMAGE = 0x20; // unsupported always true
|
||||
public const int SIT_FLAG_OPENSIMFORCED = SIT_FLAG_ALLOW_UNSIT | SIT_FLAG_NO_COLLIDE | SIT_FLAG_NO_DAMAGE;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2822,9 +2822,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public LSL_String llGetStartString()
|
||||
public LSL_Integer llGetLinkSitFlags(LSL_Integer linknum)
|
||||
{
|
||||
return m_LSL_Functions.llGetStartString();
|
||||
return m_LSL_Functions.llGetLinkSitFlags(linknum);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void llSetLinkSitFlags(LSL_Integer linknum, LSL_Integer flags)
|
||||
{
|
||||
m_LSL_Functions.llSetLinkSitFlags(linknum, flags);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user