30 using System.Threading;
31 using System.Collections;
32 using System.Collections.Generic;
33 using System.Runtime.Serialization;
35 using OpenSim.Framework;
36 using OpenSim.Region.CoreModules;
37 using OpenSim.Region.Framework.Scenes;
38 using OpenSim.Services.Interfaces;
39 using OpenSim.Region.Framework.Interfaces;
41 namespace OpenSim.
Region.ScriptEngine.Shared
51 SerializationInfo info,
52 StreamingContext context)
65 SerializationInfo info,
66 StreamingContext context)
79 SerializationInfo info,
80 StreamingContext context)
97 SerializationInfo info,
98 StreamingContext context)
105 public const int AGENT = 1;
106 public const int ACTIVE = 2;
107 public const int PASSIVE = 4;
108 public const int SCRIPTED = 8;
109 public const int OS_NPC = 0x01000000;
123 initializeSurfaceTouch();
124 Country = String.Empty;
153 private int touchFace;
154 public int TouchFace {
get {
return touchFace; } }
160 private void initializeSurfaceTouch()
180 initializeSurfaceTouch();
190 touchFace = value.FaceIndex;
201 if (presence == null)
204 Name = presence.Firstname +
" " + presence.Lastname;
205 UserAccount account = scene.UserAccountService.GetUserAccount(scene.RegionInfo.ScopeID, Key);
207 Country = account.UserCountry;
215 presence.Rotation.W);
240 if (presence.
Velocity != Vector3.Zero)
243 Group = presence.ControllingClient.ActiveGroupId;
248 part = part.ParentGroup.RootPart;
252 Group = part.GroupID;
254 Owner = part.OwnerID;
271 Quaternion wr = part.ParentGroup.GroupRotation;
285 EventName = eventName;
286 Params = eventParams;
LSL_Types.Vector3 Velocity
LSL_Types.Vector3 Position
IEntityInventory Inventory
This part's inventory
void Populate(Scene scene)
DetectParams[] DetectParams
bool ContainsScripts()
Returns true if this inventory contains any scripts
ScriptDeleteException(SerializationInfo info, StreamingContext context)
PresenceType
Indicate the type of ScenePresence.
Used to signal when the script is stopping in co-operation with the script engine (instead of through...
SelfDeleteException(SerializationInfo info, StreamingContext context)
EventAbortException(SerializationInfo info, StreamingContext context)
override Vector3 Velocity
Current velocity of the avatar.
PresenceType PresenceType
SceneObjectGroup ParentGroup
Holds all the data required to execute a scripting event.
ScriptCoopStopException()
LSL_Types.Vector3 OffsetPos
EventParams(string eventName, Object[] eventParams, DetectParams[] detectParams)
LSL_Types.Quaternion Rotation
ScriptCoopStopException(SerializationInfo info, StreamingContext context)