mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
add os[Link]ParticleSystem with expire option. If expire true and system MaxAge > 0, the system will be be (lazy) removed from the prim after that MaxAge
This commit is contained in:
@@ -576,15 +576,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
vector osGetLinkStandTarget(LSL_Integer linkNumber);
|
||||
LSL_Integer osClearObjectAnimations();
|
||||
|
||||
LSL_Float osGetApparentTime();
|
||||
LSL_Float osGetApparentTime();
|
||||
LSL_String osGetApparentTimeString(LSL_Integer format24);
|
||||
LSL_Float osGetApparentRegionTime();
|
||||
LSL_Float osGetApparentRegionTime();
|
||||
LSL_String osGetApparentRegionTimeString(LSL_Integer format24);
|
||||
|
||||
LSL_Integer osReplaceAgentEnvironment(LSL_Key agentkey, LSL_Integer transition, LSL_String daycycle);
|
||||
LSL_Integer osReplaceParcelEnvironment(LSL_Integer transition, LSL_String daycycle);
|
||||
LSL_Integer osReplaceRegionEnvironment(LSL_Integer transition, LSL_String daycycle,
|
||||
LSL_Float daylen, LSL_Float dayoffset, LSL_Float altitude1, LSL_Float altitude2, LSL_Float altitude3);
|
||||
LSL_Float daylen, LSL_Float dayoffset, LSL_Float altitude1, LSL_Float altitude2, LSL_Float altitude3);
|
||||
LSL_Integer osResetEnvironment(LSL_Integer parcelOrRegion, LSL_Integer transition);
|
||||
|
||||
void osParticleSystem(LSL_List rules, LSL_Integer expire);
|
||||
void osLinkParticleSystem(LSL_Integer linknumber, LSL_List rules, LSL_Integer expire);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1533,5 +1533,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
{
|
||||
return m_OSSL_Functions.osResetEnvironment(parcelOrRegion, transition);
|
||||
}
|
||||
|
||||
public void osParticleSystem(LSL_List rules, LSL_Integer expire)
|
||||
{
|
||||
m_OSSL_Functions.osParticleSystem(rules, expire);
|
||||
}
|
||||
|
||||
public void osLinkParticleSystem(LSL_Integer linknumber, LSL_List rules, LSL_Integer expire)
|
||||
{
|
||||
m_OSSL_Functions.osLinkParticleSystem(linknumber, rules, expire);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user