mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Mantis 6015 new LSL function llGetAgentList.
Details in the lsl wiki
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
e5dbb652d5
commit
61e99bcdcb
@@ -501,6 +501,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public const int OBJECT_STREAMING_COST = 15;
|
||||
public const int OBJECT_PHYSICS_COST = 16;
|
||||
|
||||
// for llGetAgentList
|
||||
public const int AGENT_LIST_PARCEL = 1;
|
||||
public const int AGENT_LIST_PARCEL_OWNER = 2;
|
||||
public const int AGENT_LIST_REGION = 4;
|
||||
|
||||
// Can not be public const?
|
||||
public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
|
||||
public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0);
|
||||
|
||||
@@ -389,6 +389,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_LSL_Functions.llGetAgentLanguage(id);
|
||||
}
|
||||
|
||||
public LSL_List llGetAgentList(LSL_Integer scope, LSL_List options)
|
||||
{
|
||||
return m_LSL_Functions.llGetAgentList(scope, options);
|
||||
}
|
||||
|
||||
public LSL_Vector llGetAgentSize(string id)
|
||||
{
|
||||
return m_LSL_Functions.llGetAgentSize(id);
|
||||
|
||||
Reference in New Issue
Block a user