mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
@@ -5899,6 +5899,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return 0;
|
||||
}
|
||||
|
||||
public LSL_Vector osGetSitTargetPos()
|
||||
{
|
||||
return m_host.SitTargetPosition;
|
||||
}
|
||||
|
||||
public LSL_Rotation osGetSitTargetRot()
|
||||
{
|
||||
return m_host.SitTargetOrientation;
|
||||
}
|
||||
|
||||
public void osSetSitActiveRange(LSL_Float v)
|
||||
{
|
||||
float fv = (float)v.value;
|
||||
|
||||
@@ -1568,6 +1568,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osIsNotValidNumber(v);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public vector osGetSitTargetPos()
|
||||
{
|
||||
return m_OSSL_Functions.osGetSitTargetPos();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public rotation osGetSitTargetRot()
|
||||
{
|
||||
return m_OSSL_Functions.osGetSitTargetRot();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void osSetSitActiveRange(LSL_Float v)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
fc2639fd-5d16-66bf-d8ab-2e4d754c816d
|
||||
3c8d15ee-d2ba-11ee-ae64-406c8fbbb495
|
||||
<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer>
|
||||
<key>controls</key>
|
||||
<map>
|
||||
@@ -7583,6 +7583,16 @@ fc2639fd-5d16-66bf-d8ab-2e4d754c816d
|
||||
<key>return</key><string>float</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>osGetSitTargetPos</key>
|
||||
<map>
|
||||
<key>return</key><string>vector</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>osGetSitTargetRot</key>
|
||||
<map>
|
||||
<key>return</key><string>rotation</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>osGetSittingAvatarsCount</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
|
||||
Reference in New Issue
Block a user