OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api Class Reference
Inheritance diagram for OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api:
Collaboration graph
[legend]

Public Member Functions

void Initialize (IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item)
 Initialize the API More...
 
override Object InitializeLifetimeService ()
 
void CheckThreatLevel (ThreatLevel level, string function)
 
LSL_Integer osSetTerrainHeight (int x, int y, double val)
 
LSL_Integer osTerrainSetHeight (int x, int y, double val)
 
LSL_Float osGetTerrainHeight (int x, int y)
 
LSL_Float osTerrainGetHeight (int x, int y)
 
void osTerrainFlush ()
 
int osRegionRestart (double seconds)
 
void osRegionNotice (string msg)
 
void osSetRot (UUID target, Quaternion rotation)
 
string osSetDynamicTextureURL (string dynamicID, string contentType, string url, string extraParams, int timer)
 
string osSetDynamicTextureURLBlend (string dynamicID, string contentType, string url, string extraParams, int timer, int alpha)
 
string osSetDynamicTextureURLBlendFace (string dynamicID, string contentType, string url, string extraParams, bool blend, int disp, int timer, int alpha, int face)
 
string osSetDynamicTextureData (string dynamicID, string contentType, string data, string extraParams, int timer)
 
string osSetDynamicTextureDataBlend (string dynamicID, string contentType, string data, string extraParams, int timer, int alpha)
 
string osSetDynamicTextureDataBlendFace (string dynamicID, string contentType, string data, string extraParams, bool blend, int disp, int timer, int alpha, int face)
 
bool osConsoleCommand (string command)
 
void osSetPrimFloatOnWater (int floatYN)
 
void osTeleportAgent (string agent, string regionName, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat)
 
void osTeleportAgent (string agent, int regionX, int regionY, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat)
 
void osTeleportAgent (string agent, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat)
 
void osTeleportOwner (string regionName, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat)
 
void osTeleportOwner (LSL_Types.Vector3 position, LSL_Types.Vector3 lookat)
 
void osTeleportOwner (int regionX, int regionY, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat)
 
void osForceOtherSit (string avatar)
 
void osForceOtherSit (string avatar, string target)
 Overload method of osForceOtherSit(string avatar) to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client. More...
 
void ForceSit (string avatar, UUID targetID)
 
string osGetAgentIP (string agent)
 
LSL_List osGetAgents ()
 
void osAvatarPlayAnimation (string avatar, string animation)
 
void osAvatarStopAnimation (string avatar, string animation)
 
string osMovePen (string drawList, int x, int y)
 
string osDrawLine (string drawList, int startX, int startY, int endX, int endY)
 
string osDrawLine (string drawList, int endX, int endY)
 
string osDrawText (string drawList, string text)
 
string osDrawEllipse (string drawList, int width, int height)
 
string osDrawRectangle (string drawList, int width, int height)
 
string osDrawFilledRectangle (string drawList, int width, int height)
 
string osDrawFilledPolygon (string drawList, LSL_List x, LSL_List y)
 
string osDrawPolygon (string drawList, LSL_List x, LSL_List y)
 
string osSetFontSize (string drawList, int fontSize)
 
string osSetFontName (string drawList, string fontName)
 
string osSetPenSize (string drawList, int penSize)
 
string osSetPenColor (string drawList, string color)
 
string osSetPenColour (string drawList, string colour)
 
string osSetPenCap (string drawList, string direction, string type)
 
string osDrawImage (string drawList, int width, int height, string imageUrl)
 
LSL_Vector osGetDrawStringSize (string contentType, string text, string fontName, int fontSize)
 
void osSetStateEvents (int events)
 
void osSetRegionWaterHeight (double height)
 
void osSetRegionSunSettings (bool useEstateSun, bool sunFixed, double sunHour)
 Changes the Region Sun Settings, then Triggers a Sun Update More...
 
void osSetEstateSunSettings (bool sunFixed, double sunHour)
 Changes the Estate Sun Settings, then Triggers a Sun Update More...
 
double osGetCurrentSunHour ()
 Return the current Sun Hour 0...24, with 0 being roughly sun-rise More...
 
double osSunGetParam (string param)
 
double osGetSunParam (string param)
 
void osSunSetParam (string param, double value)
 
void osSetSunParam (string param, double value)
 
string osWindActiveModelPluginName ()
 
void osSetWindParam (string plugin, string param, LSL_Float value)
 
LSL_Float osGetWindParam (string plugin, string param)
 
void osParcelJoin (LSL_Vector pos1, LSL_Vector pos2)
 
void osParcelSubdivide (LSL_Vector pos1, LSL_Vector pos2)
 
void osParcelSetDetails (LSL_Vector pos, LSL_List rules)
 
void osSetParcelDetails (LSL_Vector pos, LSL_List rules)
 
double osList2Double (LSL_Types.list src, int index)
 
void osSetParcelMediaURL (string url)
 
void osSetParcelSIPAddress (string SIPAddress)
 
string osGetScriptEngineName ()
 
LSL_Integer osCheckODE ()
 
string osGetPhysicsEngineType ()
 
string osGetSimulatorVersion ()
 
Object osParseJSONNew (string JSON)
 
Hashtable osParseJSON (string JSON)
 
void osMessageObject (LSL_Key objectUUID, string message)
 Send a message to to object identified by the given UUID More...
 
void osMakeNotecard (string notecardName, LSL_Types.list contents)
 Write a notecard directly to the prim's inventory. More...
 
string osGetNotecardLine (string name, int line)
 Directly get an entire notecard at once. More...
 
string osGetNotecard (string name)
 Get an entire notecard at once. More...
 
int osGetNumberOfNotecardLines (string name)
 Get the number of lines in the given notecard. More...
 
string osAvatarName2Key (string firstname, string lastname)
 
string osKey2Name (string id)
 
string osGetGridNick ()
 Get the nickname of this grid, as set in the [GridInfo] config section. More...
 
string osGetGridName ()
 
string osGetGridLoginURI ()
 
string osGetGridHomeURI ()
 
string osGetGridGatekeeperURI ()
 
string osGetGridCustom (string key)
 
string osGetAvatarHomeURI (string uuid)
 
LSL_String osFormatString (string str, LSL_List strings)
 
LSL_List osMatchString (string src, string pattern, int start)
 
LSL_String osReplaceString (string src, string pattern, string replace, int count, int start)
 
string osLoadedCreationDate ()
 
string osLoadedCreationTime ()
 
string osLoadedCreationID ()
 
LSL_List osGetLinkPrimitiveParams (int linknumber, LSL_List rules)
 Get the primitive parameters of a linked prim. More...
 
void osForceCreateLink (string target, int parent)
 Identical to llCreateLink() but does not require permission from the owner. More...
 
void osForceBreakLink (int linknum)
 Identical to llBreakLink() but does not require permission from the owner. More...
 
void osForceBreakAllLinks ()
 Identical to llBreakAllLinks() but does not require permission from the owner. More...
 
LSL_Integer osIsNpc (LSL_Key npc)
 Check if the given key is an npc More...
 
LSL_Key osNpcCreate (string firstname, string lastname, LSL_Vector position, string notecard)
 
LSL_Key osNpcCreate (string firstname, string lastname, LSL_Vector position, string notecard, int options)
 
LSL_Key osNpcSaveAppearance (LSL_Key npc, string notecard)
 Save the current appearance of the NPC permanently to the named notecard. More...
 
void osNpcLoadAppearance (LSL_Key npc, string notecard)
 
LSL_Key osNpcGetOwner (LSL_Key npc)
 Get the owner of the NPC More...
 
LSL_Vector osNpcGetPos (LSL_Key npc)
 
void osNpcMoveTo (LSL_Key npc, LSL_Vector pos)
 
void osNpcMoveToTarget (LSL_Key npc, LSL_Vector target, int options)
 
LSL_Rotation osNpcGetRot (LSL_Key npc)
 
void osNpcSetRot (LSL_Key npc, LSL_Rotation rotation)
 
void osNpcStopMoveToTarget (LSL_Key npc)
 
void osNpcSay (LSL_Key npc, string message)
 
void osNpcSay (LSL_Key npc, int channel, string message)
 
void osNpcShout (LSL_Key npc, int channel, string message)
 
void osNpcSit (LSL_Key npc, LSL_Key target, int options)
 
void osNpcStand (LSL_Key npc)
 
void osNpcRemove (LSL_Key npc)
 
void osNpcPlayAnimation (LSL_Key npc, string animation)
 
void osNpcStopAnimation (LSL_Key npc, string animation)
 
void osNpcWhisper (LSL_Key npc, int channel, string message)
 
void osNpcTouch (LSL_Key npcLSL_Key, LSL_Key object_key, LSL_Integer link_num)
 
LSL_Key osOwnerSaveAppearance (string notecard)
 Save the current appearance of the script owner permanently to the named notecard. More...
 
LSL_Key osAgentSaveAppearance (LSL_Key avatarId, string notecard)
 
LSL_String osGetGender (LSL_Key rawAvatarId)
 Get the gender as specified in avatar appearance for a given avatar key More...
 
LSL_Key osGetMapTexture ()
 Get current region's map texture UUID More...
 
LSL_Key osGetRegionMapTexture (string regionName)
 Get a region's map texture UUID by region UUID or name. More...
 
LSL_List osGetRegionStats ()
 
LSL_Vector osGetRegionSize ()
 
int osGetSimulatorMemory ()
 
void osSetSpeed (string UUID, LSL_Float SpeedModifier)
 
void osKickAvatar (string FirstName, string SurName, string alert)
 
LSL_Float osGetHealth (string avatar)
 
void osCauseDamage (string avatar, double damage)
 
void osCauseHealing (string avatar, double healing)
 
LSL_List osGetPrimitiveParams (LSL_Key prim, LSL_List rules)
 
void osSetPrimitiveParams (LSL_Key prim, LSL_List rules)
 
void osSetProjectionParams (bool projection, LSL_Key texture, double fov, double focus, double amb)
 Set parameters for light projection in host prim More...
 
void osSetProjectionParams (LSL_Key prim, bool projection, LSL_Key texture, double fov, double focus, double amb)
 Set parameters for light projection with uuid of target prim More...
 
LSL_List osGetAvatarList ()
 Like osGetAgents but returns enough info for a radar More...
 
LSL_String osUnixTimeToTimestamp (long time)
 Convert a unix time to a llGetTimestamp() like string More...
 
LSL_String osGetInventoryDesc (string item)
 Get the description from an inventory item More...
 
LSL_Integer osInviteToGroup (LSL_Key agentId)
 Invite user to the group this object is set to More...
 
LSL_Integer osEjectFromGroup (LSL_Key agentId)
 Eject user from the group this object is set to More...
 
void osSetTerrainTexture (int level, LSL_Key texture)
 Sets terrain estate texture More...
 
void osSetTerrainTextureHeight (int corner, double low, double high)
 Sets terrain heights of estate More...
 
void osForceAttachToAvatar (int attachmentPoint)
 Attach the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH More...
 
void osForceAttachToAvatarFromInventory (string itemName, int attachmentPoint)
 Attach an inventory item in the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH More...
 
void osForceAttachToOtherAvatarFromInventory (string rawAvatarId, string itemName, int attachmentPoint)
 Attach an inventory item in the object containing this script to any avatar in the region without asking for PERMISSION_ATTACH More...
 
void ForceAttachToAvatarFromInventory (UUID avatarId, string itemName, int attachmentPoint)
 
void osForceDetachFromAvatar ()
 Detach the object containing this script from the avatar it is attached to without checking for PERMISSION_ATTACH More...
 
LSL_List osGetNumberOfAttachments (LSL_Key avatar, LSL_List attachmentPoints)
 Returns a strided list of the specified attachment points and the number of attachments on those points. More...
 
void osMessageAttachments (LSL_Key avatar, string message, LSL_List attachmentPoints, int options)
 Sends a specified message to the specified avatar's attachments on the specified attachment points. More...
 
LSL_Integer osIsUUID (string thing)
 Checks if thing is a UUID. More...
 
LSL_Float osMin (double a, double b)
 Wraps to Math.Min() More...
 
LSL_Float osMax (double a, double b)
 Wraps to Math.max() More...
 
LSL_Key osGetRezzingObject ()
 Get the key of the object that rezzed this object. More...
 
void osSetContentType (LSL_Key id, string type)
 Sets the response type for an HTTP request/response More...
 
void osDropAttachment ()
 Attempts to drop an attachment to the ground More...
 
void osForceDropAttachment ()
 Attempts to drop an attachment to the ground while bypassing the script permissions More...
 
void osDropAttachmentAt (LSL_Vector pos, LSL_Rotation rot)
 Attempts to drop an attachment at the specified coordinates. More...
 
void osForceDropAttachmentAt (LSL_Vector pos, LSL_Rotation rot)
 Attempts to drop an attachment at the specified coordinates while bypassing the script permissions More...
 
LSL_Integer osListenRegex (int channelID, string name, string ID, string msg, int regexBitfield)
 Identical to llListen except for a bitfield which indicates which string parameters should be parsed as regex patterns. More...
 
LSL_Integer osRegexIsMatch (string input, string pattern)
 Wraps to bool Regex.IsMatch(string input, string pattern) More...
 
LSL_String osRequestURL (LSL_List options)
 
LSL_String osRequestSecureURL (LSL_List options)
 

Public Attributes

const string GridInfoServiceConfigSectionName = "GridInfoService"
 

Protected Member Functions

void ScriptSleep (int delay)
 
TaskInventoryItem SaveNotecard (string name, string description, string data, bool forceSameName)
 Save a notecard to prim inventory. More...
 
string LoadNotecard (string notecardNameOrUuid)
 Load the notecard data found at the given prim inventory item name or asset uuid. More...
 
UUID CacheNotecard (string notecardNameOrUuid)
 Cache a notecard's contents. More...
 
UUID SearchTaskInventoryForAssetId (string name)
 
LSL_Key SaveAppearanceToNotecard (ScenePresence sp, string notecard)
 
LSL_Key SaveAppearanceToNotecard (UUID avatarId, string notecard)
 
LSL_Key SaveAppearanceToNotecard (LSL_Key rawAvatarId, string notecard)
 
bool ShoutErrorOnLackingOwnerPerms (int perms, string errorPrefix)
 
void DropAttachment (bool checkPerms)
 
void DropAttachmentAt (bool checkPerms, LSL_Vector pos, LSL_Rotation rot)
 

Protected Attributes

IUrlModule m_UrlModule = null
 

Properties

Scene World [get]
 

Detailed Description

Definition at line 129 of file OSSL_Api.cs.

Member Function Documentation

UUID OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.CacheNotecard ( string  notecardNameOrUuid)
inlineprotected

Cache a notecard's contents.

Parameters
notecardNameOrUuid
Returns
The asset id of the notecard, which is used for retrieving the cached data. UUID.Zero if no asset could be found.

Definition at line 1949 of file OSSL_Api.cs.

Here is the call graph for this function:

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.CheckThreatLevel ( ThreatLevel  level,
string  function 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.DropAttachment ( bool  checkPerms)
inlineprotected

Definition at line 4011 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.DropAttachmentAt ( bool  checkPerms,
LSL_Vector  pos,
LSL_Rotation  rot 
)
inlineprotected

Definition at line 4027 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.ForceAttachToAvatarFromInventory ( UUID  avatarId,
string  itemName,
int  attachmentPoint 
)
inline

Definition at line 3701 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.ForceSit ( string  avatar,
UUID  targetID 
)
inline

Definition at line 924 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.Initialize ( IScriptEngine  scriptEngine,
SceneObjectPart  host,
TaskInventoryItem  item 
)
inline

Initialize the API

Each API has an identifier, which is used to load the proper runtime assembly at load time.

Parameters
scriptEngine/param>
Parameters
host/param>
Parameters
item/param>
Parameters
coopSleepHandle/param>

Implements OpenSim.Region.ScriptEngine.Interfaces.IScriptApi.

Definition at line 147 of file OSSL_Api.cs.

override Object OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.InitializeLifetimeService ( )
inline

Definition at line 200 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.LoadNotecard ( string  notecardNameOrUuid)
inlineprotected

Load the notecard data found at the given prim inventory item name or asset uuid.

Parameters
notecardNameOrUuid
Returns
The text loaded. Null if no notecard was found.

Definition at line 1918 of file OSSL_Api.cs.

LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osAgentSaveAppearance ( LSL_Key  avatarId,
string  notecard 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osAvatarName2Key ( string  firstname,
string  lastname 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osAvatarPlayAnimation ( string  avatar,
string  animation 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osAvatarStopAnimation ( string  avatar,
string  animation 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osCauseDamage ( string  avatar,
double  damage 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osCauseHealing ( string  avatar,
double  healing 
)
inline
LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osCheckODE ( )
inline
bool OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osConsoleCommand ( string  command)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawEllipse ( string  drawList,
int  width,
int  height 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawFilledPolygon ( string  drawList,
LSL_List  x,
LSL_List  y 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawFilledRectangle ( string  drawList,
int  width,
int  height 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawImage ( string  drawList,
int  width,
int  height,
string  imageUrl 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawLine ( string  drawList,
int  startX,
int  startY,
int  endX,
int  endY 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawLine ( string  drawList,
int  endX,
int  endY 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawPolygon ( string  drawList,
LSL_List  x,
LSL_List  y 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawRectangle ( string  drawList,
int  width,
int  height 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDrawText ( string  drawList,
string  text 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDropAttachment ( )
inline

Attempts to drop an attachment to the ground

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 4043 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osDropAttachmentAt ( LSL_Vector  pos,
LSL_Rotation  rot 
)
inline

Attempts to drop an attachment at the specified coordinates.

Parameters
pos
rot

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 4059 of file OSSL_Api.cs.

LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osEjectFromGroup ( LSL_Key  agentId)
inline

Eject user from the group this object is set to

Parameters
agentId
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3582 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceAttachToAvatar ( int  attachment)
inline

Attach the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH

Parameters
attachmentThe attachment point. For example, ATTACH_CHEST

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3668 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceAttachToAvatarFromInventory ( string  itemName,
int  attachment 
)
inline

Attach an inventory item in the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH

Nothing happens if the owner is not in the region.

Parameters
itemNameTha name of the item. If this is not found then a warning is said to the owner
attachmentThe attachment point. For example, ATTACH_CHEST

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3678 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceAttachToOtherAvatarFromInventory ( string  rawAvatarId,
string  itemName,
int  attachmentPoint 
)
inline

Attach an inventory item in the object containing this script to any avatar in the region without asking for PERMISSION_ATTACH

Nothing happens if the avatar is not in the region.

Parameters
rawAvatarIdThe UUID of the avatar to which to attach. Nothing happens if this is not a UUID
Parameters
itemNameThe name of the item. If this is not found then a warning is said to the owner
attachmentThe attachment point. For example, ATTACH_CHEST

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3687 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceBreakAllLinks ( )
inline

Identical to llBreakAllLinks() but does not require permission from the owner.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2557 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceBreakLink ( int  linknum)
inline

Identical to llBreakLink() but does not require permission from the owner.

Parameters
linknum

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2547 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceCreateLink ( string  target,
int  parent 
)
inline

Identical to llCreateLink() but does not require permission from the owner.

Parameters
target
parent

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2537 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceDetachFromAvatar ( )
inline

Detach the object containing this script from the avatar it is attached to without checking for PERMISSION_ATTACH

Nothing happens if the object is not attached.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3748 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceDropAttachment ( )
inline

Attempts to drop an attachment to the ground while bypassing the script permissions

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 4051 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceDropAttachmentAt ( LSL_Vector  pos,
LSL_Rotation  rot 
)
inline

Attempts to drop an attachment at the specified coordinates while bypassing the script permissions

Parameters
pos
rot

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 4067 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceOtherSit ( string  avatar)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceOtherSit ( string  avatar,
string  target 
)
inline

Overload method of osForceOtherSit(string avatar) to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client.

Parameters
avatar
target

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 913 of file OSSL_Api.cs.

LSL_String OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osFormatString ( string  str,
LSL_List  strings 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAgentIP ( string  agent)
inline
LSL_List OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAgents ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAvatarHomeURI ( string  uuid)
inline
LSL_List OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetAvatarList ( )
inline

Like osGetAgents but returns enough info for a radar

Returns
Strided list of the UUID, position and name of each avatar in the region

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3482 of file OSSL_Api.cs.

double OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetCurrentSunHour ( )
inline

Return the current Sun Hour 0...24, with 0 being roughly sun-rise

Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 1335 of file OSSL_Api.cs.

LSL_Vector OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetDrawStringSize ( string  contentType,
string  text,
string  fontName,
int  fontSize 
)
inline
LSL_String OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetGender ( LSL_Key  rawAvatarId)
inline

Get the gender as specified in avatar appearance for a given avatar key

Parameters
rawAvatarId
Returns
"male" or "female" or "unknown"

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3191 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetGridCustom ( string  key)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetGridGatekeeperURI ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetGridHomeURI ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetGridLoginURI ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetGridName ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetGridNick ( )
inline

Get the nickname of this grid, as set in the [GridInfo] config section.

Threat level is Moderate because intentional abuse, for instance scripts that are written to be malicious only on one grid, for instance in a HG scenario, are a distinct possibility.

Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2255 of file OSSL_Api.cs.

LSL_Float OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetHealth ( string  avatar)
inline
LSL_String OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetInventoryDesc ( string  item)
inline

Get the description from an inventory item

Parameters
inventoryName
Returns
Item description

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3524 of file OSSL_Api.cs.

LSL_List OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetLinkPrimitiveParams ( int  linknumber,
LSL_List  rules 
)
inline

Get the primitive parameters of a linked prim.

Threat level is 'Low' because certain users could possibly be tricked into dropping an unverified script into one of their own objects, which could then gather the physical construction details of the object and transmit it to an unscrupulous third party, thus permitting unauthorized duplication of the object's form.

Parameters
linknumber
rules
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2509 of file OSSL_Api.cs.

LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetMapTexture ( )
inline

Get current region's map texture UUID

Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3235 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetNotecard ( string  name)
inline

Get an entire notecard at once.

Instead of using the LSL Dataserver event to pull notecard data line by line, this will simply read the entire notecard and return its data as a string.

Warning - due to the synchronous method this function uses to fetch assets, its use may be dangerous and unreliable while running in grid mode.

Parameters
nameName of the notecard or its asset id
Returns
Notecard text

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2047 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetNotecardLine ( string  name,
int  line 
)
inline

Directly get an entire notecard at once.

Instead of using the LSL Dataserver event to pull notecard data this will simply read the entire notecard and return its data as a string.

Warning - due to the synchronous method this function uses to fetch assets, its use may be dangerous and unreliable while running in grid mode.

Parameters
nameName of the notecard or its asset id
lineThe line number to read. The first line is line 0
Returns
Notecard line

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2019 of file OSSL_Api.cs.

LSL_List OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetNumberOfAttachments ( LSL_Key  avatar,
LSL_List  attachmentPoints 
)
inline

Returns a strided list of the specified attachment points and the number of attachments on those points.

Parameters
avataravatar UUID
attachmentPointslist of ATTACH_* constants
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3758 of file OSSL_Api.cs.

int OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetNumberOfNotecardLines ( string  name)
inline

Get the number of lines in the given notecard.

Instead of using the LSL Dataserver event to pull notecard data, this will simply read the number of note card lines and return this data as an integer.

Warning - due to the synchronous method this function uses to fetch assets, its use may be dangerous and unreliable while running in grid mode.

Parameters
nameName of the notecard or its asset id
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2077 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetPhysicsEngineType ( )
inline
LSL_List OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetPrimitiveParams ( LSL_Key  prim,
LSL_List  rules 
)
inline
LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetRegionMapTexture ( string  regionName)
inline

Get a region's map texture UUID by region UUID or name.

Parameters
regionName
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3248 of file OSSL_Api.cs.

LSL_Vector OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetRegionSize ( )
inline
LSL_List OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetRegionStats ( )
inline

Return information regarding various simulator statistics (sim fps, physics fps, time dilation, total number of prims, total number of active scripts, script lps, various timing data, packets in/out, etc. Basically much the information that's shown in the client's Statistics Bar (Ctrl-Shift-1)

Returns
List of floats

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3279 of file OSSL_Api.cs.

LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetRezzingObject ( )
inline

Get the key of the object that rezzed this object.

Returns
Rezzing object key or NULL_KEY if rezzed by agent or otherwise unknown.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3969 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetScriptEngineName ( )
inline
int OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetSimulatorMemory ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetSimulatorVersion ( )
inline
double OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetSunParam ( string  param)
inline
LSL_Float OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetTerrainHeight ( int  x,
int  y 
)
inline
LSL_Float OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osGetWindParam ( string  plugin,
string  param 
)
inline
LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osInviteToGroup ( LSL_Key  agentId)
inline

Invite user to the group this object is set to

Parameters
agentId
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3547 of file OSSL_Api.cs.

Here is the call graph for this function:

LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osIsNpc ( LSL_Key  npc)
inline

Check if the given key is an npc

Parameters
npc
Returns
TRUE if the key belongs to an npc in the scene. FALSE otherwise.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2567 of file OSSL_Api.cs.

LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osIsUUID ( string  thing)
inline

Checks if thing is a UUID.

Parameters
thing
Returns
1 if thing is a valid UUID, 0 otherwise

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3932 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osKey2Name ( string  id)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osKickAvatar ( string  FirstName,
string  SurName,
string  alert 
)
inline
double OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osList2Double ( LSL_Types.list  src,
int  index 
)
inline
LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osListenRegex ( int  channelID,
string  name,
string  ID,
string  msg,
int  regexBitfield 
)
inline

Identical to llListen except for a bitfield which indicates which string parameters should be parsed as regex patterns.

Parameters
channelID
name
ID
msg
regexBitfieldOS_LISTEN_REGEX_NAME OS_LISTEN_REGEX_MESSAGE
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 4075 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osLoadedCreationDate ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osLoadedCreationID ( )
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osLoadedCreationTime ( )
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMakeNotecard ( string  notecardName,
LSL_Types.list  contents 
)
inline

Write a notecard directly to the prim's inventory.

This needs ThreatLevel high. It is an excellent griefer tool, In a loop, it can cause asset bloat and DOS levels of asset writes.

Parameters
notecardNameThe name of the notecard to write.
contentsThe contents of the notecard.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 1834 of file OSSL_Api.cs.

LSL_List OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMatchString ( string  src,
string  pattern,
int  start 
)
inline
LSL_Float OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMax ( double  a,
double  b 
)
inline

Wraps to Math.max()

Parameters
a
b
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3961 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMessageAttachments ( LSL_Key  avatar,
string  message,
LSL_List  attachmentPoints,
int  flags 
)
inline

Sends a specified message to the specified avatar's attachments on the specified attachment points.

Behaves as osMessageObject(), without the sending script needing to know the attachment keys in advance.

Parameters
avataravatar UUID
messagemessage string
attachmentPointslist of ATTACH_* constants, or -1 for all attachments. If -1 is specified and OS_ATTACH_MSG_INVERT_POINTS is present in flags, no action is taken.
flagsflags further constraining the attachments to deliver the message to.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3794 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMessageObject ( LSL_Key  objectUUID,
string  message 
)
inline

Send a message to to object identified by the given UUID

A script in the object must implement the dataserver function the dataserver function is passed the ID of the calling function and a string message

Parameters
objectUUID
message

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 1792 of file OSSL_Api.cs.

LSL_Float OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMin ( double  a,
double  b 
)
inline

Wraps to Math.Min()

Parameters
a
b
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3947 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osMovePen ( string  drawList,
int  x,
int  y 
)
inline
LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcCreate ( string  firstname,
string  lastname,
LSL_Vector  position,
string  notecard 
)
inline
LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcCreate ( string  firstname,
string  lastname,
LSL_Vector  position,
string  notecard,
int  options 
)
inline
LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcGetOwner ( LSL_Key  npc)
inline

Get the owner of the NPC

Parameters
npc
Returns
The owner of the NPC for an owned NPC. The NPC's agent id for an unowned NPC. UUID.Zero if the key is not an npc.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2791 of file OSSL_Api.cs.

LSL_Vector OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcGetPos ( LSL_Key  npc)
inline
LSL_Rotation OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcGetRot ( LSL_Key  npc)
inline

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2881 of file OSSL_Api.cs.

Here is the call graph for this function:

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcLoadAppearance ( LSL_Key  npc,
string  notecard 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcMoveTo ( LSL_Key  npc,
LSL_Vector  pos 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcMoveToTarget ( LSL_Key  npc,
LSL_Vector  target,
int  options 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcPlayAnimation ( LSL_Key  npc,
string  animation 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcRemove ( LSL_Key  npc)
inline

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3017 of file OSSL_Api.cs.

Here is the call graph for this function:

LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcSaveAppearance ( LSL_Key  npc,
string  notecard 
)
inline

Save the current appearance of the NPC permanently to the named notecard.

Parameters
avatar
notecardThe name of the notecard to which to save the appearance.
Returns
The asset ID of the notecard saved.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 2737 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcSay ( LSL_Key  npc,
string  message 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcSay ( LSL_Key  npc,
int  channel,
string  message 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcSetRot ( LSL_Key  npc,
LSL_Rotation  rotation 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcShout ( LSL_Key  npc,
int  channel,
string  message 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcSit ( LSL_Key  npc,
LSL_Key  target,
int  options 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcStand ( LSL_Key  npc)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcStopAnimation ( LSL_Key  npc,
string  animation 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcStopMoveToTarget ( LSL_Key  npc)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcTouch ( LSL_Key  npcLSL_Key,
LSL_Key  object_key,
LSL_Integer  link_num 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osNpcWhisper ( LSL_Key  npc,
int  channel,
string  message 
)
inline
LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osOwnerSaveAppearance ( string  notecard)
inline

Save the current appearance of the script owner permanently to the named notecard.

Parameters
notecardThe name of the notecard to which to save the appearance.
Returns
The asset ID of the notecard saved.

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3130 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osParcelJoin ( LSL_Vector  pos1,
LSL_Vector  pos2 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osParcelSetDetails ( LSL_Vector  pos,
LSL_List  rules 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osParcelSubdivide ( LSL_Vector  pos1,
LSL_Vector  pos2 
)
inline
Hashtable OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osParseJSON ( string  JSON)
inline
Object OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osParseJSONNew ( string  JSON)
inline
LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osRegexIsMatch ( string  input,
string  pattern 
)
inline

Wraps to bool Regex.IsMatch(string input, string pattern)

Parameters
inputstring to test for match
regexstring to use as pattern
Returns
boolean

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 4123 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osRegionNotice ( string  msg)
inline
int OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osRegionRestart ( double  seconds)
inline
LSL_String OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osReplaceString ( string  src,
string  pattern,
string  replace,
int  count,
int  start 
)
inline
LSL_String OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osRequestSecureURL ( LSL_List  options)
inline
LSL_String OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osRequestURL ( LSL_List  options)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetContentType ( LSL_Key  id,
string  type 
)
inline

Sets the response type for an HTTP request/response

Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3981 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetDynamicTextureData ( string  dynamicID,
string  contentType,
string  data,
string  extraParams,
int  timer 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetDynamicTextureDataBlend ( string  dynamicID,
string  contentType,
string  data,
string  extraParams,
int  timer,
int  alpha 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetDynamicTextureDataBlendFace ( string  dynamicID,
string  contentType,
string  data,
string  extraParams,
bool  blend,
int  disp,
int  timer,
int  alpha,
int  face 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetDynamicTextureURL ( string  dynamicID,
string  contentType,
string  url,
string  extraParams,
int  timer 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetDynamicTextureURLBlend ( string  dynamicID,
string  contentType,
string  url,
string  extraParams,
int  timer,
int  alpha 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetDynamicTextureURLBlendFace ( string  dynamicID,
string  contentType,
string  url,
string  extraParams,
bool  blend,
int  disp,
int  timer,
int  alpha,
int  face 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetEstateSunSettings ( bool  sunFixed,
double  sunHour 
)
inline

Changes the Estate Sun Settings, then Triggers a Sun Update

Parameters
sunFixedTrue to keep the sun stationary, false to use global time
sunHourThe "Sun Hour" that is desired, 0...24, with 0 just after SunRise

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 1311 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetFontName ( string  drawList,
string  fontName 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetFontSize ( string  drawList,
int  fontSize 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetParcelDetails ( LSL_Vector  pos,
LSL_List  rules 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetParcelMediaURL ( string  url)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetParcelSIPAddress ( string  SIPAddress)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetPenCap ( string  drawList,
string  direction,
string  type 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetPenColor ( string  drawList,
string  color 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetPenColour ( string  drawList,
string  colour 
)
inline
string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetPenSize ( string  drawList,
int  penSize 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetPrimFloatOnWater ( int  floatYN)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetPrimitiveParams ( LSL_Key  prim,
LSL_List  rules 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetProjectionParams ( bool  projection,
LSL_Key  texture,
double  fov,
double  focus,
double  amb 
)
inline

Set parameters for light projection in host prim

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3441 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetProjectionParams ( LSL_Key  prim,
bool  projection,
LSL_Key  texture,
double  fov,
double  focus,
double  amb 
)
inline

Set parameters for light projection with uuid of target prim

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3451 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetRegionSunSettings ( bool  useEstateSun,
bool  sunFixed,
double  sunHour 
)
inline

Changes the Region Sun Settings, then Triggers a Sun Update

Parameters
useEstateSunTrue to use Estate Sun instead of Region Sun
sunFixedTrue to keep the sun stationary
sunHourThe "Sun Hour" that is desired, 0...24, with 0 just after SunRise

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 1286 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetRegionWaterHeight ( double  height)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetRot ( UUID  target,
Quaternion  rotation 
)
inline

Definition at line 567 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetSpeed ( string  UUID,
LSL_Float  SpeedModifier 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetStateEvents ( int  events)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetSunParam ( string  param,
double  value 
)
inline
LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetTerrainHeight ( int  x,
int  y,
double  val 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetTerrainTexture ( int  level,
LSL_Key  texture 
)
inline

Sets terrain estate texture

Parameters
level
texture
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3617 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetTerrainTextureHeight ( int  corner,
double  low,
double  high 
)
inline

Sets terrain heights of estate

Parameters
corner
low
high
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3647 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetWindParam ( string  plugin,
string  param,
LSL_Float  value 
)
inline
double OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSunGetParam ( string  param)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSunSetParam ( string  param,
double  value 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTeleportAgent ( string  agent,
string  regionName,
LSL_Types.Vector3  position,
LSL_Types.Vector3  lookat 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTeleportAgent ( string  agent,
int  regionX,
int  regionY,
LSL_Types.Vector3  position,
LSL_Types.Vector3  lookat 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTeleportAgent ( string  agent,
LSL_Types.Vector3  position,
LSL_Types.Vector3  lookat 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTeleportOwner ( string  regionName,
LSL_Types.Vector3  position,
LSL_Types.Vector3  lookat 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTeleportOwner ( LSL_Types.Vector3  position,
LSL_Types.Vector3  lookat 
)
inline
void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTeleportOwner ( int  regionX,
int  regionY,
LSL_Types.Vector3  position,
LSL_Types.Vector3  lookat 
)
inline

summary> Allows a script IN the target prim to force an avatar to sit on it using normal methods as if called by the client. Silent fail if agent (or target if overloaded) not found. Does work if passed key (or keys if overloaded).

Parameters
avatar

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 884 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTerrainFlush ( )
inline
LSL_Float OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTerrainGetHeight ( int  x,
int  y 
)
inline
LSL_Integer OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osTerrainSetHeight ( int  x,
int  y,
double  val 
)
inline
LSL_String OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osUnixTimeToTimestamp ( long  time)
inline

Convert a unix time to a llGetTimestamp() like string

Parameters
unixTime
Returns

Implements OpenSim.Region.ScriptEngine.Shared.Api.Interfaces.IOSSL_Api.

Definition at line 3506 of file OSSL_Api.cs.

string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osWindActiveModelPluginName ( )
inline
LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.SaveAppearanceToNotecard ( ScenePresence  sp,
string  notecard 
)
inlineprotected

Definition at line 3146 of file OSSL_Api.cs.

LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.SaveAppearanceToNotecard ( UUID  avatarId,
string  notecard 
)
inlineprotected

Definition at line 3167 of file OSSL_Api.cs.

LSL_Key OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.SaveAppearanceToNotecard ( LSL_Key  rawAvatarId,
string  notecard 
)
inlineprotected

Definition at line 3177 of file OSSL_Api.cs.

TaskInventoryItem OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.SaveNotecard ( string  name,
string  description,
string  data,
bool  forceSameName 
)
inlineprotected

Save a notecard to prim inventory.

Parameters
name
descriptionDescription of notecard
notecardData
forceSameNameIf true, then if an item exists with the same name, it is replaced. If false, then a new item is created witha slightly different name (e.g. name 1)
Returns
Prim inventory item created.

Definition at line 1858 of file OSSL_Api.cs.

void OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.ScriptSleep ( int  delay)
inlineprotected

Definition at line 438 of file OSSL_Api.cs.

UUID OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.SearchTaskInventoryForAssetId ( string  name)
inlineprotected

Definition at line 1991 of file OSSL_Api.cs.

bool OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.ShoutErrorOnLackingOwnerPerms ( int  perms,
string  errorPrefix 
)
inlineprotected

Shout an error if the object owner did not grant the script the specified permissions.

Parameters
perms
Returns
boolean indicating whether an error was shouted.

Definition at line 3993 of file OSSL_Api.cs.

Member Data Documentation

const string OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.GridInfoServiceConfigSectionName = "GridInfoService"

Definition at line 133 of file OSSL_Api.cs.

IUrlModule OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.m_UrlModule = null
protected

Definition at line 145 of file OSSL_Api.cs.

Property Documentation

Scene OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.World
get

Definition at line 214 of file OSSL_Api.cs.


The documentation for this class was generated from the following file: