@gwigz/slua-types 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/index.d.ts +393 -366
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -11,29 +11,25 @@ declare class Quaternion {
11
11
  readonly y: number
12
12
  readonly z: number
13
13
  readonly s: number
14
- add: LuaAdditionMethod<quaternion, quaternion>
15
- sub: LuaSubtractionMethod<quaternion, quaternion>
16
- mul: LuaMultiplicationMethod<quaternion, quaternion>
17
- div: LuaDivisionMethod<quaternion, quaternion>
18
- neg: LuaNegationMethod<quaternion>
14
+ add: LuaAdditionMethod<Quaternion, Quaternion>
15
+ sub: LuaSubtractionMethod<Quaternion, Quaternion>
16
+ mul: LuaMultiplicationMethod<Quaternion, Quaternion>
17
+ div: LuaDivisionMethod<Quaternion, Quaternion>
18
+ neg: LuaNegationMethod<Quaternion>
19
19
  }
20
20
 
21
- declare type quaternion = Quaternion
22
-
23
21
  /**
24
22
  * A 128‑bit unique identifier formatted as 36 hexadecimal characters (8‑4‑4‑4‑12), e.g. "A822FF2B-FF02-461D-B45D-DCD10A2DE0C2".
25
23
  * @customConstructor uuid.create
26
24
  */
27
25
  declare class UUID {
28
- constructor(value: string | undefined | buffer | uuid)
26
+ constructor(value: string | undefined | buffer | UUID)
29
27
  /** Returns true if the UUID is not the null UUID (all zeros) */
30
28
  readonly istruthy: boolean
31
29
  /** Returns the raw 16-byte binary string of the UUID, or nil if the UUID is not in a compressed state */
32
30
  readonly bytes: string
33
31
  }
34
32
 
35
- declare type uuid = UUID
36
-
37
33
  /**
38
34
  * A set of three float values. Used to represent colors (RGB), positions, directions, and velocities.
39
35
  * @customConstructor vector.create
@@ -44,25 +40,23 @@ declare class Vector {
44
40
  readonly y: number
45
41
  readonly z: number
46
42
  /** Native component-wise addition */
47
- add: LuaAdditionMethod<vector, vector>
43
+ add: LuaAdditionMethod<Vector, Vector>
48
44
  /** Native component-wise subtraction */
49
- sub: LuaSubtractionMethod<vector, vector>
45
+ sub: LuaSubtractionMethod<Vector, Vector>
50
46
  /** Unary negation */
51
- neg: LuaNegationMethod<vector>
47
+ neg: LuaNegationMethod<Vector>
52
48
  /** Multiplication: vector * vector / number -> vector (Scale), vector * quaternion -> vector (Rotation) */
53
- mul: LuaMultiplicationMethod<number, vector> &
54
- LuaMultiplicationMethod<vector, vector> &
55
- LuaMultiplicationMethod<quaternion, vector>
49
+ mul: LuaMultiplicationMethod<number, Vector> &
50
+ LuaMultiplicationMethod<Vector, Vector> &
51
+ LuaMultiplicationMethod<Quaternion, Vector>
56
52
  /** Division: vector / number -> vector (Scale), vector / quaternion -> vector (Rotation by inverse) */
57
- div: LuaDivisionMethod<number, vector> &
58
- LuaDivisionMethod<vector, vector> &
59
- LuaDivisionMethod<quaternion, vector>
53
+ div: LuaDivisionMethod<number, Vector> &
54
+ LuaDivisionMethod<Vector, Vector> &
55
+ LuaDivisionMethod<Quaternion, Vector>
60
56
  /** LSL-style modulo: vector % vector -> vector (Cross Product) */
61
- mod: LuaModuloMethod<vector, vector>
57
+ mod: LuaModuloMethod<Vector, Vector>
62
58
  }
63
59
 
64
- declare type vector = Vector
65
-
66
60
  /** Event detection class providing access to detected object/avatar information */
67
61
  declare interface DetectedEvent {
68
62
  readonly index: number
@@ -76,7 +70,7 @@ declare interface DetectedEvent {
76
70
  * Returns the grab offset of a user touching the object.
77
71
  * Returns <0.0, 0.0, 0.0> if Number is not a valid object.
78
72
  */
79
- getGrab(): vector
73
+ getGrab(): Vector
80
74
  /**
81
75
  * Returns TRUE if detected object or agent Number has the same user group active as this object.
82
76
  * It will return FALSE if the object or agent is in the group, but the group is not active.
@@ -86,7 +80,7 @@ declare interface DetectedEvent {
86
80
  * Returns the key of detected object or avatar number.
87
81
  * Returns NULL_KEY if Number is not a valid index.
88
82
  */
89
- getKey(): uuid
83
+ getKey(): UUID
90
84
  /**
91
85
  * Returns the link position of the triggered event for touches and collisions only.
92
86
  * 0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc.
@@ -102,49 +96,49 @@ declare interface DetectedEvent {
102
96
  * Returns the key of detected object's owner.
103
97
  * Returns invalid key if Number is not a valid index.
104
98
  */
105
- getOwner(): uuid
99
+ getOwner(): UUID
106
100
  /**
107
101
  * Returns the position of detected object or avatar number.
108
102
  * Returns <0.0, 0.0, 0.0> if Number is not a valid index.
109
103
  */
110
- getPos(): vector
104
+ getPos(): Vector
111
105
  /** Returns the key for the rezzer of the detected object. */
112
- getRezzer(): uuid
106
+ getRezzer(): UUID
113
107
  /**
114
108
  * Returns the rotation of detected object or avatar number.
115
109
  * Returns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.
116
110
  */
117
- getRot(): quaternion
111
+ getRot(): Quaternion
118
112
  /**
119
113
  * Returns the surface bi-normal for a triggered touch event.
120
114
  * Returns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered.
121
115
  */
122
- getTouchBinormal(): vector
116
+ getTouchBinormal(): Vector
123
117
  /** Returns the index of the face where the avatar clicked in a triggered touch event. */
124
118
  getTouchFace(): number
125
119
  /**
126
120
  * Returns the surface normal for a triggered touch event.
127
121
  * Returns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered.
128
122
  */
129
- getTouchNormal(): vector
123
+ getTouchNormal(): Vector
130
124
  /**
131
125
  * Returns the position, in region coordinates, where the object was touched in a triggered touch event.
132
126
  * Unless it is a HUD, in which case it returns the position relative to the attach point.
133
127
  */
134
- getTouchPos(): vector
128
+ getTouchPos(): Vector
135
129
  /**
136
130
  * Returns a vector that is the surface coordinates where the prim was touched.
137
131
  * The X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.
138
132
  * Each component is in the interval [0.0, 1.0].
139
133
  * TOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function).
140
134
  */
141
- getTouchST(): vector
135
+ getTouchST(): Vector
142
136
  /**
143
137
  * Returns a vector that is the texture coordinates for where the prim was touched.
144
138
  * The X and Y vector positions contain the U and V face coordinates respectively.
145
139
  * TOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).
146
140
  */
147
- getTouchUV(): vector
141
+ getTouchUV(): Vector
148
142
  /**
149
143
  * Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.
150
144
  * Returns 0 if number is not a valid index.
@@ -159,7 +153,7 @@ declare interface DetectedEvent {
159
153
  * Returns the velocity of the detected object Number.
160
154
  * Returns<0.0, 0.0, 0.0> if Number is not a valid offset.
161
155
  */
162
- getVel(): vector
156
+ getVel(): Vector
163
157
  }
164
158
 
165
159
  /** @noSelf */
@@ -167,13 +161,13 @@ declare interface LLEventMap {
167
161
  /** This event is triggered when a script comes within a defined angle of a target rotation. The range and rotation are set by a call to llRotTarget. */
168
162
  at_rot_target: (
169
163
  targetNumber: number,
170
- targetRotation: quaternion,
171
- currentRotation: quaternion,
164
+ targetRotation: Quaternion,
165
+ currentRotation: Quaternion,
172
166
  ) => void
173
167
  /** This event is triggered when the scripted object comes within a defined range of the target position, defined by the llTarget function call. */
174
- at_target: (targetNumber: number, targetPosition: vector, currentPosition: vector) => void
168
+ at_target: (targetNumber: number, targetPosition: Vector, currentPosition: Vector) => void
175
169
  /** This event is triggered whenever an object is attached or detached from an avatar. If it is attached, the key of the avatar it is attached to is passed in, otherwise NULL_KEY is. */
176
- attach: (avatarId: uuid) => void
170
+ attach: (avatarId: UUID) => void
177
171
  /** Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. */
178
172
  changed: (changed: number) => void
179
173
  /** This event is raised while another object, or avatar, is colliding with the object the script is attached to.The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* functions. */
@@ -183,9 +177,9 @@ declare interface LLEventMap {
183
177
  /** This event is raised when another object, or avatar, starts colliding with the object the script is attached to.The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* library functions. */
184
178
  collision_start: (detected: DetectedEvent[]) => void
185
179
  /** Once a script has the ability to grab control inputs from the avatar, this event will be used to pass the commands into the script.The levels and edges are bit-fields of control constants. */
186
- control: (avatarId: uuid, levels: number, edges: number) => void
180
+ control: (avatarId: UUID, levels: number, edges: number) => void
187
181
  /** This event is triggered when the requested data is returned to the script.Data may be requested by the llRequestAgentData, llRequestInventoryData, and llGetNotecardLine function calls, for example. */
188
- dataserver: (requestId: uuid, data: string) => void
182
+ dataserver: (requestId: UUID, data: string) => void
189
183
  /** This event is triggered when an email sent to this script arrives.The number remaining tells how many more emails are known to be still pending. */
190
184
  email: (
191
185
  time: string,
@@ -195,31 +189,31 @@ declare interface LLEventMap {
195
189
  numberRemaining: number,
196
190
  ) => void
197
191
  /** Triggered when an agent has approved an experience permissions request. */
198
- experience_permissions: (agentId: uuid) => void
192
+ experience_permissions: (agentId: UUID) => void
199
193
  /** Describes why the Experience permissions were denied for the agent. */
200
- experience_permissions_denied: (agentId: uuid, reason: number) => void
194
+ experience_permissions_denied: (agentId: UUID, reason: number) => void
201
195
  /** Triggered as damage is applied to an avatar or task, after all on_damage events have been processed. */
202
196
  final_damage: (detected: DetectedEvent[]) => void
203
197
  /** This event is raised when game controller input changes. */
204
- game_control: (id: uuid, buttons: number, axes: number[]) => void
198
+ game_control: (id: UUID, buttons: number, axes: number[]) => void
205
199
  /** Triggered when task receives an HTTP request. */
206
- http_request: (httpRequestId: uuid, httpMethod: string, body: string) => void
200
+ http_request: (httpRequestId: UUID, httpMethod: string, body: string) => void
207
201
  /** This event handler is invoked when an HTTP response is received for a pending llHTTPRequest request or if a pending request fails or times out. */
208
- http_response: (httpRequestId: uuid, status: number, metadata: list, body: string) => void
202
+ http_response: (httpRequestId: UUID, status: number, metadata: list, body: string) => void
209
203
  /** This event is raised when the object the script is attached to is colliding with the ground. */
210
- land_collision: (position: vector) => void
204
+ land_collision: (position: Vector) => void
211
205
  /** This event is raised when the object the script is attached to stops colliding with the ground. */
212
- land_collision_end: (position: vector) => void
206
+ land_collision_end: (position: Vector) => void
213
207
  /** This event is raised when the object the script is attached to begins to collide with the ground. */
214
- land_collision_start: (position: vector) => void
208
+ land_collision_start: (position: Vector) => void
215
209
  /** Triggered when object receives a link message via llMessageLinked function call. */
216
210
  link_message: (sendersLink: number, value: number, text: string, id: string) => void
217
211
  /** Triggered when a script modifies the linkset datastore. */
218
212
  linkset_data: (action: number, name: string, value: string) => void
219
213
  /** This event is raised whenever a chat message matching the constraints set in the llListen command is received. The name and ID of the speaker, as well as the message, are passed in as parameters.Channel 0 is the public chat channel that all avatars see as chat text. Channels 1 through 2,147,483,648 are private channels that are not sent to avatars but other scripts can listen on those channels. */
220
- listen: (channel: number, name: string, id: uuid, text: string) => void
214
+ listen: (channel: number, name: string, id: UUID, text: string) => void
221
215
  /** This event is triggered when a resident has given an amount of Linden dollars to the object. */
222
- money: (payer: uuid, amount: number) => void
216
+ money: (payer: UUID, amount: number) => void
223
217
  /** Triggered whenever an object with this script stops moving. */
224
218
  moving_end: () => void
225
219
  /** Triggered whenever an object with this script starts moving. */
@@ -231,7 +225,7 @@ declare interface LLEventMap {
231
225
  /** When a target is set via the llTarget library call, but the script is outside the specified range this event is raised. */
232
226
  not_at_target: () => void
233
227
  /** Triggered when an object rezzes another object from its inventory via the llRezObject, or similar, functions. The id is the globally unique key for the object rezzed. */
234
- object_rez: (rezzedObjectsId: uuid) => void
228
+ object_rez: (rezzedObjectsId: UUID) => void
235
229
  /** Triggered when an avatar or object receives damage. */
236
230
  on_damage: (detected: DetectedEvent[]) => void
237
231
  /** Triggered when an avatar reaches 0 health. */
@@ -246,8 +240,8 @@ declare interface LLEventMap {
246
240
  */
247
241
  remote_data: (
248
242
  eventType: number,
249
- channelId: uuid,
250
- messageId: uuid,
243
+ channelId: UUID,
244
+ messageId: UUID,
251
245
  sender: string,
252
246
  iData: number,
253
247
  sData: string,
@@ -268,12 +262,12 @@ declare interface LLEventMap {
268
262
  /** This event is raised when a user first touches the object the script is attached to. The number of touches is passed to the script in the parameter.Information on those objects may be gathered via the llDetected() library functions. */
269
263
  touch_start: (detected: DetectedEvent[]) => void
270
264
  /** Triggered by llTransferLindenDollars() function. */
271
- transaction_result: (requestId: uuid, success: number, message: string) => void
265
+ transaction_result: (requestId: UUID, success: number, message: string) => void
272
266
  }
273
267
 
274
268
  /** 'rotation' is an alias for 'quaternion' */
275
- declare type rotation = quaternion
276
- declare type list = (string | number | vector | uuid | quaternion | boolean)[]
269
+ declare type rotation = Quaternion
270
+ declare type list = (string | number | Vector | UUID | Quaternion | boolean)[]
277
271
  declare type LLDetectedEventName =
278
272
  | "collision"
279
273
  | "collision_end"
@@ -408,22 +402,22 @@ declare function dangerouslyexecuterequiredmodule(f: (this: void, ...args: any[]
408
402
  * Creates a new uuid from a string, buffer, or existing uuid. Returns nil if the string is not a valid UUID, or the the buffer is shorter than 16 bytes.
409
403
  * @noSelf
410
404
  */
411
- declare function touuid(val: string | undefined | buffer | uuid): uuid | undefined
405
+ declare function touuid(val: string | undefined | buffer | UUID): UUID | undefined
412
406
  /**
413
407
  * Converts a string to a vector, returns nil if invalid
414
408
  * @noSelf
415
409
  */
416
- declare function tovector(val: string | undefined | vector): vector | undefined
410
+ declare function tovector(val: string | undefined | Vector): Vector | undefined
417
411
  /**
418
412
  * Converts a string to a quaternion, returns nil if invalid
419
413
  * @noSelf
420
414
  */
421
- declare function toquaternion(val: string | undefined | quaternion): quaternion | undefined
415
+ declare function toquaternion(val: string | undefined | Quaternion): Quaternion | undefined
422
416
  /**
423
417
  * Converts a string to a rotation (quaternion), returns nil if invalid
424
418
  * @noSelf
425
419
  */
426
- declare function torotation(val: string | undefined | quaternion): quaternion | undefined
420
+ declare function torotation(val: string | undefined | Quaternion): Quaternion | undefined
427
421
  /**
428
422
  * Checks if the value is truthy; if not, raises an error with the optional message.
429
423
  * @noSelf
@@ -954,34 +948,34 @@ declare namespace os {
954
948
  /** @noSelf */
955
949
  declare namespace Quaternion {
956
950
  /** Creates a new quaternion with the given component values. */
957
- export function create(x: number, y: number, z: number, s: number): quaternion
951
+ export function create(x: number, y: number, z: number, s: number): Quaternion
958
952
 
959
953
  /** Computes the normalized version (unit quaternion) of the quaternion. */
960
- export function normalize(q: quaternion): quaternion
954
+ export function normalize(q: Quaternion): Quaternion
961
955
 
962
956
  /** Computes the magnitude of the quaternion. */
963
- export function magnitude(q: quaternion): number
957
+ export function magnitude(q: Quaternion): number
964
958
 
965
959
  /** Computes the dot product of two quaternions. */
966
- export function dot(a: quaternion, b: quaternion): number
960
+ export function dot(a: Quaternion, b: Quaternion): number
967
961
 
968
962
  /** Spherical linear interpolation from a to b using factor t. */
969
- export function slerp(a: quaternion, b: quaternion, t: number): quaternion
963
+ export function slerp(a: Quaternion, b: Quaternion, t: number): Quaternion
970
964
 
971
965
  /** Computes the conjugate of the quaternion. */
972
- export function conjugate(q: quaternion): quaternion
966
+ export function conjugate(q: Quaternion): Quaternion
973
967
 
974
968
  /** Computes the forward vector from the quaternion. */
975
- export function tofwd(q: quaternion): vector
969
+ export function tofwd(q: Quaternion): Vector
976
970
 
977
971
  /** Computes the left vector from the quaternion. */
978
- export function toleft(q: quaternion): vector
972
+ export function toleft(q: Quaternion): Vector
979
973
 
980
974
  /** Computes the up vector from the quaternion. */
981
- export function toup(q: quaternion): vector
975
+ export function toup(q: Quaternion): Vector
982
976
 
983
977
  /** Identity quaternion constant. */
984
- export const identity: quaternion
978
+ export const identity: Quaternion
985
979
  }
986
980
 
987
981
  /** String manipulation library. */
@@ -1118,7 +1112,7 @@ declare namespace table {
1118
1112
  export function clear(t: any[]): void
1119
1113
 
1120
1114
  /** Reduces the memory usage of the table to the minimum necessary. */
1121
- export function shrink<V>(t: V[], reorder?: boolean): V[]
1115
+ export function shrink<V>(t: V[], shrinkSparse?: boolean): V[]
1122
1116
 
1123
1117
  /** Freezes a table, making it read-only. */
1124
1118
  export function freeze<table>(t: table): table
@@ -1166,66 +1160,72 @@ declare namespace utf8 {
1166
1160
  /** @noSelf */
1167
1161
  declare namespace UUID {
1168
1162
  /** Creates a new uuid from a string, buffer, or existing uuid. Throws an error if the string is not a valid UUID, or the the buffer is shorter than 16 bytes. */
1169
- export function create(value: string | undefined | buffer | uuid): uuid
1163
+ export function create(value: string | undefined | buffer | UUID): UUID
1170
1164
  }
1171
1165
 
1172
1166
  /** Vector manipuluation library. */
1173
1167
  /** @noSelf */
1174
1168
  declare namespace Vector {
1175
1169
  /** Creates a new vector with the given component values. */
1176
- export function create(x: number, y: number, z?: number): vector
1170
+ export function create(x: number, y: number, z?: number): Vector
1177
1171
 
1178
1172
  /** Computes the magnitude of the vector. */
1179
- export function magnitude(v: vector): number
1173
+ export function magnitude(v: Vector): number
1180
1174
 
1181
1175
  /** Computes the normalized version (unit vector) of the vector. */
1182
- export function normalize(v: vector): vector
1176
+ export function normalize(v: Vector): Vector
1183
1177
 
1184
1178
  /** Computes the cross product of two vectors. */
1185
- export function cross(a: vector, b: vector): vector
1179
+ export function cross(a: Vector, b: Vector): Vector
1186
1180
 
1187
1181
  /** Computes the dot product of two vectors. */
1188
- export function dot(a: vector, b: vector): number
1182
+ export function dot(a: Vector, b: Vector): number
1189
1183
 
1190
1184
  /** Computes the angle between two vectors in radians. The axis, if specified, is used to determine the sign of the angle. */
1191
- export function angle(a: vector, b: vector, axis?: vector): number
1185
+ export function angle(a: Vector, b: Vector, axis?: Vector): number
1192
1186
 
1193
1187
  /** Applies math.floor to each component of the vector. */
1194
- export function floor(v: vector): vector
1188
+ export function floor(v: Vector): Vector
1195
1189
 
1196
1190
  /** Applies math.ceil to each component of the vector. */
1197
- export function ceil(v: vector): vector
1191
+ export function ceil(v: Vector): Vector
1198
1192
 
1199
1193
  /** Applies math.abs to each component of the vector. */
1200
- export function abs(v: vector): vector
1194
+ export function abs(v: Vector): Vector
1201
1195
 
1202
1196
  /** Applies math.sign to each component of the vector. */
1203
- export function sign(v: vector): vector
1197
+ export function sign(v: Vector): Vector
1204
1198
 
1205
1199
  /** Clamps each component of the vector between min and max values. */
1206
- export function clamp(v: vector, min: vector, max: vector): vector
1200
+ export function clamp(v: Vector, min: Vector, max: Vector): Vector
1207
1201
 
1208
1202
  /** Applies math.max to each component of the vectors. */
1209
- export function max(v: vector, ...args: vector[]): vector
1203
+ export function max(v: Vector, ...args: Vector[]): Vector
1210
1204
 
1211
1205
  /** Applies math.max to each component of the vectors. */
1212
- export function min(v: vector, ...args: vector[]): vector
1206
+ export function min(v: Vector, ...args: Vector[]): Vector
1213
1207
 
1214
1208
  /** Linearly interpolates between a and b using factor t. */
1215
- export function lerp(a: vector, b: vector, t: number): vector
1209
+ export function lerp(a: Vector, b: Vector, t: number): Vector
1216
1210
 
1217
1211
  /** Constant vector with all components set to 0. */
1218
- export const zero: vector
1212
+ export const zero: Vector
1219
1213
  /** Constant vector with all components set to 1. */
1220
- export const one: vector
1214
+ export const one: Vector
1221
1215
  }
1222
1216
 
1223
1217
  /** @noSelf */
1224
1218
  declare namespace ll {
1225
- /** Returns the absolute (positive) version of Value. */
1219
+ /**
1220
+ * Returns the absolute (positive) version of Value.
1221
+ * @deprecated Use 'math.abs' instead. Double precision; fastcall.
1222
+ */
1226
1223
  export function Abs(value: number): number
1227
1224
 
1228
- /** Returns the arc-cosine of Value, in radians. */
1225
+ /**
1226
+ * Returns the arc-cosine of Value, in radians.
1227
+ * @deprecated Use 'math.acos' instead. Double precision; fastcall.
1228
+ */
1229
1229
  export function Acos(value: number): number
1230
1230
 
1231
1231
  /**
@@ -1235,10 +1235,10 @@ declare namespace ll {
1235
1235
  * When values that small are used, it seems the function bans in approximately 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds).
1236
1236
  * Residents teleporting to a parcel where they are banned will be redirected to a neighbouring parcel.
1237
1237
  */
1238
- export function AddToLandBanList(id: uuid, hours: number): void
1238
+ export function AddToLandBanList(id: UUID, hours: number): void
1239
1239
 
1240
1240
  /** Add avatar ID to the land pass list, for a duration of Hours. */
1241
- export function AddToLandPassList(id: uuid, hours: number): void
1241
+ export function AddToLandPassList(id: UUID, hours: number): void
1242
1242
 
1243
1243
  /**
1244
1244
  * Changes the amount of damage to be delivered by this damage event.
@@ -1253,32 +1253,38 @@ declare namespace ll {
1253
1253
  export function AdjustSoundVolume(volume: number): void
1254
1254
 
1255
1255
  /** Returns TRUE if the agent is in the Experience and the Experience can run in the current location. */
1256
- export function AgentInExperience(agentId: uuid): number
1256
+ export function AgentInExperience(agentId: UUID): number
1257
1257
 
1258
1258
  /** If Flag == TRUE, users without object modify permissions can still drop inventory items into the object. */
1259
1259
  export function AllowInventoryDrop(flag: number): void
1260
1260
 
1261
1261
  /** Returns the angle, in radians, between rotations Rot1 and Rot2. */
1262
- export function AngleBetween(rot1: quaternion, rot2: quaternion): number
1262
+ export function AngleBetween(rot1: Quaternion, rot2: Quaternion): number
1263
1263
 
1264
1264
  /**
1265
1265
  * Applies impulse to the object.
1266
1266
  * If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.
1267
1267
  * This function only works on physical objects.
1268
1268
  */
1269
- export function ApplyImpulse(force: vector, local: number): void
1269
+ export function ApplyImpulse(force: Vector, local: number): void
1270
1270
 
1271
1271
  /**
1272
1272
  * Applies rotational impulse to the object.
1273
1273
  * If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.
1274
1274
  * This function only works on physical objects.
1275
1275
  */
1276
- export function ApplyRotationalImpulse(force: vector, local: number): void
1276
+ export function ApplyRotationalImpulse(force: Vector, local: number): void
1277
1277
 
1278
- /** Returns the arc-sine, in radians, of Value. */
1278
+ /**
1279
+ * Returns the arc-sine, in radians, of Value.
1280
+ * @deprecated Use 'math.asin' instead. Double precision; fastcall.
1281
+ */
1279
1282
  export function Asin(value: number): number
1280
1283
 
1281
- /** Returns the arc-tangent2 of y, x. */
1284
+ /**
1285
+ * Returns the arc-tangent2 of y, x.
1286
+ * @deprecated Use 'math.atan2' instead. Double precision; fastcall.
1287
+ */
1282
1288
  export function Atan2(y: number, x: number): number
1283
1289
 
1284
1290
  /**
@@ -1297,19 +1303,19 @@ declare namespace ll {
1297
1303
  * If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.
1298
1304
  * Returns a key that is the UUID of the user seated on the specified link's prim.
1299
1305
  */
1300
- export function AvatarOnLinkSitTarget(linkNumber: number): uuid
1306
+ export function AvatarOnLinkSitTarget(linkNumber: number): UUID
1301
1307
 
1302
1308
  /**
1303
1309
  * If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.
1304
1310
  * This only will detect avatars sitting on sit targets defined with llSitTarget.
1305
1311
  */
1306
- export function AvatarOnSitTarget(): uuid
1312
+ export function AvatarOnSitTarget(): UUID
1307
1313
 
1308
1314
  /** Returns the rotation represented by coordinate axes Forward, Left, and Up. */
1309
- export function Axes2Rot(forward: vector, left: vector, up: vector): quaternion
1315
+ export function Axes2Rot(forward: Vector, left: Vector, up: Vector): Quaternion
1310
1316
 
1311
1317
  /** Returns the rotation that is a generated Angle about Axis. */
1312
- export function AxisAngle2Rot(axis: vector, angle: number): quaternion
1318
+ export function AxisAngle2Rot(axis: Vector, angle: number): Quaternion
1313
1319
 
1314
1320
  /**
1315
1321
  * Returns an integer that is the Text, Base64 decoded as a big endian integer.
@@ -1345,9 +1351,12 @@ declare namespace ll {
1345
1351
  * Reports collision data for intersections with objects.
1346
1352
  * Return value: [UUID_1, {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.
1347
1353
  */
1348
- export function CastRay(start: vector, end: vector, options: list): list
1354
+ export function CastRay(start: Vector, end: Vector, options: list): list
1349
1355
 
1350
- /** Returns smallest integer value >= Value. */
1356
+ /**
1357
+ * Returns smallest integer value >= Value.
1358
+ * @deprecated Use 'math.ceil' instead. Double precision; fastcall.
1359
+ */
1351
1360
  export function Ceil(value: number): number
1352
1361
 
1353
1362
  /** Returns a single character string that is the representation of the unicode value. */
@@ -1360,10 +1369,10 @@ declare namespace ll {
1360
1369
  export function ClearCameraParams(): void
1361
1370
 
1362
1371
  /** @deprecated */
1363
- export function ClearExperience(agentId: uuid, experienceId: uuid): void
1372
+ export function ClearExperience(agentId: UUID, experienceId: UUID): void
1364
1373
 
1365
1374
  /** @deprecated */
1366
- export function ClearExperiencePermissions(agentId: uuid): void
1375
+ export function ClearExperiencePermissions(agentId: UUID): void
1367
1376
 
1368
1377
  /**
1369
1378
  * Clears (deletes) the media and all parameters from the given Face on the linked prim.
@@ -1381,16 +1390,16 @@ declare namespace ll {
1381
1390
  * This function is deprecated.
1382
1391
  * @deprecated
1383
1392
  */
1384
- export function CloseRemoteDataChannel(channelId: uuid): void
1393
+ export function CloseRemoteDataChannel(channelId: UUID): void
1385
1394
 
1386
1395
  /**
1387
1396
  * Returns the cloud density at the object's position + Offset.
1388
1397
  * @deprecated
1389
1398
  */
1390
- export function Cloud(offset: vector): number
1399
+ export function Cloud(offset: Vector): number
1391
1400
 
1392
1401
  /** Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter. */
1393
- export function CollisionFilter(objectName: string, objectId: uuid, accept: number): void
1402
+ export function CollisionFilter(objectName: string, objectId: UUID, accept: number): void
1394
1403
 
1395
1404
  /**
1396
1405
  * Suppress default collision sounds, replace default impact sounds with ImpactSound.
@@ -1408,7 +1417,10 @@ declare namespace ll {
1408
1417
  /** Returns hex-encoded Hash string of Message using digest Algorithm. */
1409
1418
  export function ComputeHash(message: string, algorithm: string): string
1410
1419
 
1411
- /** Returns the cosine of Theta (Theta in radians). */
1420
+ /**
1421
+ * Returns the cosine of Theta (Theta in radians).
1422
+ * @deprecated Use 'math.cos' instead. Double precision; fastcall.
1423
+ */
1412
1424
  export function Cos(theta: number): number
1413
1425
 
1414
1426
  /**
@@ -1419,19 +1431,19 @@ declare namespace ll {
1419
1431
  export function CreateCharacter(options: list): void
1420
1432
 
1421
1433
  /** Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function. */
1422
- export function CreateKeyValue(key: string, value: string): uuid
1434
+ export function CreateKeyValue(key: string, value: string): UUID
1423
1435
 
1424
1436
  /**
1425
1437
  * Attempt to link the object the script is in, to target.
1426
1438
  * Requires the PERMISSION_CHANGE_LINKS runtime permission.
1427
1439
  */
1428
- export function CreateLink(targetPrim: uuid, parent: number): void
1440
+ export function CreateLink(targetPrim: UUID, parent: number): void
1429
1441
 
1430
1442
  /** Generates a damage event on the targeted agent or task. */
1431
- export function Damage(target: uuid, damage: number, type: number): void
1443
+ export function Damage(target: UUID, damage: number, type: number): void
1432
1444
 
1433
1445
  /** Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available. */
1434
- export function DataSizeKeyValue(): uuid
1446
+ export function DataSizeKeyValue(): UUID
1435
1447
 
1436
1448
  /**
1437
1449
  * Convert link-set from AI/Physics character to Physics object.
@@ -1440,7 +1452,7 @@ declare namespace ll {
1440
1452
  export function DeleteCharacter(): void
1441
1453
 
1442
1454
  /** Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key. */
1443
- export function DeleteKeyValue(key: string): uuid
1455
+ export function DeleteKeyValue(key: string): UUID
1444
1456
 
1445
1457
  /**
1446
1458
  * Removes the slice from start to end and returns the remainder of the list.
@@ -1463,7 +1475,7 @@ declare namespace ll {
1463
1475
  export function DeleteSubString(source: string, start: number, end: number): string
1464
1476
 
1465
1477
  /** Derezzes an object previously rezzed by a script in this region. Returns TRUE on success or FALSE if the object could not be derezzed. */
1466
- export function DerezObject(id: uuid, flags: number): number
1478
+ export function DerezObject(id: UUID, flags: number): number
1467
1479
 
1468
1480
  /**
1469
1481
  * Remove the object containing the script from the avatar.
@@ -1482,7 +1494,7 @@ declare namespace ll {
1482
1494
  * Returns <0.0, 0.0, 0.0> if Number is not a valid object.
1483
1495
  * @indexArg number
1484
1496
  */
1485
- export function DetectedGrab(number: number): vector
1497
+ export function DetectedGrab(number: number): Vector
1486
1498
 
1487
1499
  /**
1488
1500
  * Returns TRUE if detected object or agent Number has the same user group active as this object.
@@ -1496,7 +1508,7 @@ declare namespace ll {
1496
1508
  * Returns NULL_KEY if Number is not a valid index.
1497
1509
  * @indexArg number
1498
1510
  */
1499
- export function DetectedKey(number: number): uuid
1511
+ export function DetectedKey(number: number): UUID
1500
1512
 
1501
1513
  /**
1502
1514
  * Returns the link position of the triggered event for touches and collisions only.
@@ -1518,34 +1530,34 @@ declare namespace ll {
1518
1530
  * Returns invalid key if Number is not a valid index.
1519
1531
  * @indexArg number
1520
1532
  */
1521
- export function DetectedOwner(number: number): uuid
1533
+ export function DetectedOwner(number: number): UUID
1522
1534
 
1523
1535
  /**
1524
1536
  * Returns the position of detected object or avatar number.
1525
1537
  * Returns <0.0, 0.0, 0.0> if Number is not a valid index.
1526
1538
  * @indexArg number
1527
1539
  */
1528
- export function DetectedPos(number: number): vector
1540
+ export function DetectedPos(number: number): Vector
1529
1541
 
1530
1542
  /**
1531
1543
  * Returns the key for the rezzer of the detected object.
1532
1544
  * @indexArg number
1533
1545
  */
1534
- export function DetectedRezzer(number: number): uuid
1546
+ export function DetectedRezzer(number: number): UUID
1535
1547
 
1536
1548
  /**
1537
1549
  * Returns the rotation of detected object or avatar number.
1538
1550
  * Returns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.
1539
1551
  * @indexArg number
1540
1552
  */
1541
- export function DetectedRot(number: number): quaternion
1553
+ export function DetectedRot(number: number): Quaternion
1542
1554
 
1543
1555
  /**
1544
1556
  * Returns the surface bi-normal for a triggered touch event.
1545
1557
  * Returns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered.
1546
1558
  * @indexArg index
1547
1559
  */
1548
- export function DetectedTouchBinormal(index: number): vector
1560
+ export function DetectedTouchBinormal(index: number): Vector
1549
1561
 
1550
1562
  /**
1551
1563
  * Returns the index of the face where the avatar clicked in a triggered touch event.
@@ -1558,14 +1570,14 @@ declare namespace ll {
1558
1570
  * Returns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered.
1559
1571
  * @indexArg index
1560
1572
  */
1561
- export function DetectedTouchNormal(index: number): vector
1573
+ export function DetectedTouchNormal(index: number): Vector
1562
1574
 
1563
1575
  /**
1564
1576
  * Returns the position, in region coordinates, where the object was touched in a triggered touch event.
1565
1577
  * Unless it is a HUD, in which case it returns the position relative to the attach point.
1566
1578
  * @indexArg index
1567
1579
  */
1568
- export function DetectedTouchPos(index: number): vector
1580
+ export function DetectedTouchPos(index: number): Vector
1569
1581
 
1570
1582
  /**
1571
1583
  * Returns a vector that is the surface coordinates where the prim was touched.
@@ -1574,7 +1586,7 @@ declare namespace ll {
1574
1586
  * TOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function).
1575
1587
  * @indexArg index
1576
1588
  */
1577
- export function DetectedTouchST(index: number): vector
1589
+ export function DetectedTouchST(index: number): Vector
1578
1590
 
1579
1591
  /**
1580
1592
  * Returns a vector that is the texture coordinates for where the prim was touched.
@@ -1582,7 +1594,7 @@ declare namespace ll {
1582
1594
  * TOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).
1583
1595
  * @indexArg index
1584
1596
  */
1585
- export function DetectedTouchUV(index: number): vector
1597
+ export function DetectedTouchUV(index: number): Vector
1586
1598
 
1587
1599
  /**
1588
1600
  * Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.
@@ -1601,7 +1613,7 @@ declare namespace ll {
1601
1613
  * Returns<0.0, 0.0, 0.0> if Number is not a valid offset.
1602
1614
  * @indexArg number
1603
1615
  */
1604
- export function DetectedVel(number: number): vector
1616
+ export function DetectedVel(number: number): Vector
1605
1617
 
1606
1618
  /**
1607
1619
  * Shows a dialog box on the avatar's screen with the message.
@@ -1616,7 +1628,7 @@ declare namespace ll {
1616
1628
  * llDialog(who, "This shows only an OK button.", [], -192);
1617
1629
  * llDialog(who, "This chats so you can 'hear' it.", ["Hooray"], 0);
1618
1630
  */
1619
- export function Dialog(avatarId: uuid, text: string, buttons: string[], channel: number): void
1631
+ export function Dialog(avatarId: UUID, text: string, buttons: string[], channel: number): void
1620
1632
 
1621
1633
  /** Delete the object which holds the script. */
1622
1634
  export function Die(): void
@@ -1631,13 +1643,13 @@ declare namespace ll {
1631
1643
  * Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).
1632
1644
  * Returns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator.
1633
1645
  */
1634
- export function EdgeOfWorld(position: vector, direction: vector): number
1646
+ export function EdgeOfWorld(position: Vector, direction: Vector): number
1635
1647
 
1636
1648
  /**
1637
1649
  * Ejects AvatarID from land that you own.
1638
1650
  * Ejects AvatarID from land that the object owner (group or resident) owns.
1639
1651
  */
1640
- export function EjectFromLand(avatarId: uuid): void
1652
+ export function EjectFromLand(avatarId: UUID): void
1641
1653
 
1642
1654
  /**
1643
1655
  * Sends email to Address with Subject and Message.
@@ -1656,13 +1668,13 @@ declare namespace ll {
1656
1668
  * Returns the rotation representation of the Euler angles.
1657
1669
  * Returns the rotation represented by the Euler Angle.
1658
1670
  */
1659
- export function Euler2Rot(vector: vector): quaternion
1671
+ export function Euler2Rot(vector: Vector): Quaternion
1660
1672
 
1661
1673
  /**
1662
1674
  * Evade a specified target.
1663
1675
  * Characters will (roughly) try to hide from their pursuers if there is a good hiding spot along their fleeing path. Hiding means no direct line of sight from the head of the character (centre of the top of its physics bounding box) to the head of its pursuer and no direct path between the two on the navigation-mesh.
1664
1676
  */
1665
- export function Evade(targetId: uuid, options: list): void
1677
+ export function Evade(targetId: UUID, options: list): void
1666
1678
 
1667
1679
  /**
1668
1680
  * Execute a character command.
@@ -1674,11 +1686,12 @@ declare namespace ll {
1674
1686
  /**
1675
1687
  * Returns the positive version of Value.
1676
1688
  * Returns the absolute value of Value.
1689
+ * @deprecated Use 'math.abs' instead. Double precision; fastcall.
1677
1690
  */
1678
1691
  export function Fabs(value: number): number
1679
1692
 
1680
1693
  /** Searches the text of a cached notecard for lines containing the given pattern and returns the number of matches found through a dataserver event. */
1681
- export function FindNotecardTextCount(notecardName: string, pattern: string, options: list): uuid
1694
+ export function FindNotecardTextCount(notecardName: string, pattern: string, options: list): UUID
1682
1695
 
1683
1696
  /**
1684
1697
  * Searches the text of a cached notecard for lines containing the given pattern. Returns a list of line numbers and column where a match is found. If the notecard is not inthe cache it returns a list containing a single entry of NAK. If no matches are found anempty list is returned.
@@ -1697,9 +1710,12 @@ declare namespace ll {
1697
1710
  * Flee from a point.
1698
1711
  * Directs a character (llCreateCharacter) to keep away from a defined position in the region or adjacent regions.
1699
1712
  */
1700
- export function FleeFrom(source: vector, distance: number, options: list): void
1713
+ export function FleeFrom(source: Vector, distance: number, options: list): void
1701
1714
 
1702
- /** Returns largest integer value <= Value. */
1715
+ /**
1716
+ * Returns largest integer value <= Value.
1717
+ * @deprecated Use 'math.floor' instead. Double precision; fastcall.
1718
+ */
1703
1719
  export function Floor(value: number): number
1704
1720
 
1705
1721
  /**
@@ -1720,38 +1736,38 @@ declare namespace ll {
1720
1736
  * As the UUID produced is versioned, it should never return a value of NULL_KEY.
1721
1737
  * The specific UUID version is an implementation detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be version 5 SHA-1 hash.
1722
1738
  */
1723
- export function GenerateKey(): uuid
1739
+ export function GenerateKey(): UUID
1724
1740
 
1725
1741
  /**
1726
1742
  * Returns the acceleration of the object relative to the region's axes.
1727
1743
  * Gets the acceleration of the object.
1728
1744
  */
1729
- export function GetAccel(): vector
1745
+ export function GetAccel(): Vector
1730
1746
 
1731
1747
  /**
1732
1748
  * Returns an integer bit-field containing the agent information about id.
1733
1749
  * Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING, AGENT_IN_AIR and/or AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT.
1734
1750
  * Returns information about the given agent ID as a bit-field of agent info constants.
1735
1751
  */
1736
- export function GetAgentInfo(avatarId: uuid): number
1752
+ export function GetAgentInfo(avatarId: UUID): number
1737
1753
 
1738
1754
  /**
1739
1755
  * Returns the language code of the preferred interface language of the avatar.
1740
1756
  * Returns a string that is the language code of the preferred interface language of the resident.
1741
1757
  */
1742
- export function GetAgentLanguage(avatarId: uuid): string
1758
+ export function GetAgentLanguage(avatarId: UUID): string
1743
1759
 
1744
1760
  /**
1745
1761
  * Requests a list of agents currently in the region, limited by the scope parameter.
1746
1762
  * Returns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for all agents in the region limited to the area(s) specified by scope
1747
1763
  */
1748
- export function GetAgentList(scope: number, options: list): uuid[]
1764
+ export function GetAgentList(scope: number, options: list): UUID[]
1749
1765
 
1750
1766
  /**
1751
1767
  * If the avatar is in the same region, returns the size of the bounding box of the requested avatar by id, otherwise returns ZERO_VECTOR.
1752
1768
  * If the agent is in the same region as the object, returns the size of the avatar.
1753
1769
  */
1754
- export function GetAgentSize(avatarId: uuid): vector
1770
+ export function GetAgentSize(avatarId: UUID): Vector
1755
1771
 
1756
1772
  /**
1757
1773
  * Returns the alpha value of Face.
@@ -1763,13 +1779,13 @@ declare namespace ll {
1763
1779
  * Returns the name of the currently playing locomotion animation for the avatar id.
1764
1780
  * Returns the currently playing animation for the specified avatar ID.
1765
1781
  */
1766
- export function GetAnimation(avatarId: uuid): string
1782
+ export function GetAnimation(avatarId: UUID): string
1767
1783
 
1768
1784
  /**
1769
1785
  * Returns a list of keys of playing animations for an avatar.
1770
1786
  * Returns a list of keys of all playing animations for the specified avatar ID.
1771
1787
  */
1772
- export function GetAnimationList(avatarId: uuid): uuid[]
1788
+ export function GetAnimationList(avatarId: UUID): UUID[]
1773
1789
 
1774
1790
  /**
1775
1791
  * Returns a string that is the name of the animation that is used for the specified animation state.
@@ -1781,13 +1797,13 @@ declare namespace ll {
1781
1797
  export function GetAttached(): number
1782
1798
 
1783
1799
  /** Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument */
1784
- export function GetAttachedList(id: uuid): uuid[]
1800
+ export function GetAttachedList(id: UUID): UUID[]
1785
1801
 
1786
1802
  /** Retrieves a list of attachments on an avatar. */
1787
- export function GetAttachedListFiltered(agentId: uuid, options: list): uuid[]
1803
+ export function GetAttachedListFiltered(agentId: UUID, options: list): UUID[]
1788
1804
 
1789
1805
  /** Returns the bounding box around the object (including any linked prims) relative to its root prim, as a list in the format [ (vector) min_corner, (vector) max_corner ]. */
1790
- export function GetBoundingBox(id: uuid): vector[]
1806
+ export function GetBoundingBox(id: UUID): Vector[]
1791
1807
 
1792
1808
  /** Returns the current camera aspect ratio (width / height) of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns zero. */
1793
1809
  export function GetCameraAspect(): number
@@ -1799,31 +1815,31 @@ declare namespace ll {
1799
1815
  * Returns the current camera position for the agent the task has permissions for.
1800
1816
  * Returns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_VECTOR.
1801
1817
  */
1802
- export function GetCameraPos(): vector
1818
+ export function GetCameraPos(): Vector
1803
1819
 
1804
1820
  /** Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION. */
1805
- export function GetCameraRot(): quaternion
1821
+ export function GetCameraRot(): Quaternion
1806
1822
 
1807
1823
  /** Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass). */
1808
- export function GetCenterOfMass(): vector
1824
+ export function GetCenterOfMass(): Vector
1809
1825
 
1810
1826
  /**
1811
1827
  * Get the closest navigable point to the point provided.
1812
1828
  * The function accepts a point in region-local space (like all the other path-finding methods) and returns either an empty list or a list containing a single vector which is the closest point on the navigation-mesh to the point provided.
1813
1829
  */
1814
- export function GetClosestNavPoint(point: vector, options: list): vector[]
1830
+ export function GetClosestNavPoint(point: Vector, options: list): Vector[]
1815
1831
 
1816
1832
  /**
1817
1833
  * Returns the color on Face.
1818
1834
  * Returns the color of Face as a vector of red, green, and blue values between 0 and 1. If face is ALL_SIDES the color returned is the mean average of each channel.
1819
1835
  */
1820
- export function GetColor(face: number): vector
1836
+ export function GetColor(face: number): Vector
1821
1837
 
1822
1838
  /**
1823
1839
  * Returns a key for the creator of the prim.
1824
1840
  * Returns the key of the object's original creator. Similar to llGetOwner.
1825
1841
  */
1826
- export function GetCreator(): uuid
1842
+ export function GetCreator(): UUID
1827
1843
 
1828
1844
  /**
1829
1845
  * Returns the current date in the UTC time zone in the format YYYY-MM-DD.
@@ -1838,7 +1854,7 @@ declare namespace ll {
1838
1854
  export function GetDayOffset(): number
1839
1855
 
1840
1856
  /** Returns the display name of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestDisplayName if the avatar may be absent from the region. */
1841
- export function GetDisplayName(avatarId: uuid): string
1857
+ export function GetDisplayName(avatarId: UUID): string
1842
1858
 
1843
1859
  /** Returns how much energy is in the object as a percentage of maximum. */
1844
1860
  export function GetEnergy(): number
@@ -1847,22 +1863,22 @@ declare namespace ll {
1847
1863
  export function GetEnv(dataRequest: string): string
1848
1864
 
1849
1865
  /** Returns a string with the requested data about the region. */
1850
- export function GetEnvironment(position: vector, envParams: number[]): list
1866
+ export function GetEnvironment(position: Vector, envParams: number[]): list
1851
1867
 
1852
1868
  /** Returns a list with the following Experience properties: [Experience Name, Owner ID, Group ID, Experience ID, State, State Message]. State is an integer corresponding to one of the constants XP_ERROR_... and State Message is the string returned by llGetExperienceErrorMessage for that integer. */
1853
- export function GetExperienceDetails(experienceId: uuid): list
1869
+ export function GetExperienceDetails(experienceId: UUID): list
1854
1870
 
1855
1871
  /** Returns a string describing the error code passed or the string corresponding with XP_ERROR_UNKNOWN_ERROR if the value is not a valid Experience error code. */
1856
1872
  export function GetExperienceErrorMessage(error: number): string
1857
1873
 
1858
1874
  /** @deprecated */
1859
- export function GetExperienceList(agentId: uuid): uuid[]
1875
+ export function GetExperienceList(agentId: UUID): UUID[]
1860
1876
 
1861
1877
  /**
1862
1878
  * Returns the force (if the script is physical).
1863
1879
  * Returns the current force if the script is physical.
1864
1880
  */
1865
- export function GetForce(): vector
1881
+ export function GetForce(): Vector
1866
1882
 
1867
1883
  /**
1868
1884
  * Returns the number of free bytes of memory the script can use.
@@ -1883,16 +1899,16 @@ declare namespace ll {
1883
1899
  export function GetGMTclock(): number
1884
1900
 
1885
1901
  /** Returns the vector that is the geometric center of the object relative to the root prim. */
1886
- export function GetGeometricCenter(): vector
1902
+ export function GetGeometricCenter(): Vector
1887
1903
 
1888
1904
  /**
1889
1905
  * Returns the value for header for request_id.
1890
1906
  * Returns a string that is the value of the Header for HTTPRequestID.
1891
1907
  */
1892
- export function GetHTTPHeader(httpRequestId: uuid, header: string): string
1908
+ export function GetHTTPHeader(httpRequestId: UUID, header: string): string
1893
1909
 
1894
1910
  /** Returns the current health of an avatar or object in the region. */
1895
- export function GetHealth(id: uuid): number
1911
+ export function GetHealth(id: UUID): number
1896
1912
 
1897
1913
  /** Returns the time at which the item was placed into this prim's inventory as a timestamp. */
1898
1914
  export function GetInventoryAcquireTime(inventoryItem: string): string
@@ -1901,7 +1917,7 @@ declare namespace ll {
1901
1917
  * Returns a key for the creator of the inventory item.
1902
1918
  * This function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'".
1903
1919
  */
1904
- export function GetInventoryCreator(inventoryItem: string): uuid
1920
+ export function GetInventoryCreator(inventoryItem: string): UUID
1905
1921
 
1906
1922
  /** Returns the item description of the item in inventory. If item is not found in inventory, the object says "No item named 'name'" to the debug channel and returns an empty string. */
1907
1923
  export function GetInventoryDesc(inventoryItem: string): string
@@ -1910,7 +1926,7 @@ declare namespace ll {
1910
1926
  * Returns the key that is the UUID of the inventory named.
1911
1927
  * Returns the key of the inventory named.
1912
1928
  */
1913
- export function GetInventoryKey(inventoryItem: string): uuid
1929
+ export function GetInventoryKey(inventoryItem: string): UUID
1914
1930
 
1915
1931
  /**
1916
1932
  * Returns the name of the inventory item of a given type, specified by index number.
@@ -1941,19 +1957,19 @@ declare namespace ll {
1941
1957
  * Returns the key of the prim the script is attached to.
1942
1958
  * Get the key for the object which has this script.
1943
1959
  */
1944
- export function GetKey(): uuid
1960
+ export function GetKey(): UUID
1945
1961
 
1946
1962
  /**
1947
1963
  * Returns the key of the land owner, returns NULL_KEY if public.
1948
1964
  * Returns the key of the land owner at Position, or NULL_KEY if public.
1949
1965
  */
1950
- export function GetLandOwnerAt(position: vector): uuid
1966
+ export function GetLandOwnerAt(position: Vector): UUID
1951
1967
 
1952
1968
  /**
1953
1969
  * Returns the key of the linked prim LinkNumber.
1954
1970
  * Returns the key of LinkNumber in the link set.
1955
1971
  */
1956
- export function GetLinkKey(linkNumber: number): uuid
1972
+ export function GetLinkKey(linkNumber: number): UUID
1957
1973
 
1958
1974
  /** Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face. */
1959
1975
  export function GetLinkMedia(linkNumber: number, face: number, parameters: number[]): list
@@ -2006,13 +2022,13 @@ declare namespace ll {
2006
2022
  * Returns the position relative to the root.
2007
2023
  * Returns the local position of a child object relative to the root.
2008
2024
  */
2009
- export function GetLocalPos(): vector
2025
+ export function GetLocalPos(): Vector
2010
2026
 
2011
2027
  /**
2012
2028
  * Returns the rotation local to the root.
2013
2029
  * Returns the local rotation of a child object relative to the root.
2014
2030
  */
2015
- export function GetLocalRot(): quaternion
2031
+ export function GetLocalRot(): Quaternion
2016
2032
 
2017
2033
  /**
2018
2034
  * Returns the mass of object that the script is attached to.
@@ -2036,10 +2052,10 @@ declare namespace ll {
2036
2052
  * Returns a normalized vector of the direction of the moon in the parcel.
2037
2053
  * Returns the moon's direction on the simulator in the parcel.
2038
2054
  */
2039
- export function GetMoonDirection(): vector
2055
+ export function GetMoonDirection(): Vector
2040
2056
 
2041
2057
  /** Returns the rotation applied to the moon in the parcel. */
2042
- export function GetMoonRotation(): quaternion
2058
+ export function GetMoonRotation(): Quaternion
2043
2059
 
2044
2060
  /**
2045
2061
  * Fetch the next queued email with that matches the given address and/or subject, via the email event.
@@ -2053,7 +2069,7 @@ declare namespace ll {
2053
2069
  * The key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.
2054
2070
  * @indexArg lineNumber
2055
2071
  */
2056
- export function GetNotecardLine(notecardName: string, lineNumber: number): uuid
2072
+ export function GetNotecardLine(notecardName: string, lineNumber: number): UUID
2057
2073
 
2058
2074
  /**
2059
2075
  * Returns LineNumber from NotecardName. The line index starts at zero in LSL, one in Lua.
@@ -2067,7 +2083,7 @@ declare namespace ll {
2067
2083
  * Returns the number of lines contained within a notecard via the dataserver event.
2068
2084
  * The key returned by this function is a query ID for identifying the dataserver reply.
2069
2085
  */
2070
- export function GetNumberOfNotecardLines(notecardName: string): uuid
2086
+ export function GetNumberOfNotecardLines(notecardName: string): UUID
2071
2087
 
2072
2088
  /**
2073
2089
  * Returns the number of prims in a link set the script is attached to.
@@ -2097,19 +2113,19 @@ declare namespace ll {
2097
2113
  * Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.
2098
2114
  * Parameters are specified by the OBJECT_* constants.
2099
2115
  */
2100
- export function GetObjectDetails(id: uuid, parameters: number[]): list
2116
+ export function GetObjectDetails(id: UUID, parameters: number[]): list
2101
2117
 
2102
2118
  /**
2103
2119
  * Returns the key of the linked prim link_no in a linkset.
2104
2120
  * Returns the key of link_no in the link set specified by id.
2105
2121
  */
2106
- export function GetObjectLinkKey(id: uuid, linkNo: number): uuid
2122
+ export function GetObjectLinkKey(id: UUID, linkNo: number): UUID
2107
2123
 
2108
2124
  /**
2109
2125
  * Returns the mass of the avatar or object in the region.
2110
2126
  * Gets the mass of the object or avatar corresponding to ID.
2111
2127
  */
2112
- export function GetObjectMass(id: uuid): number
2128
+ export function GetObjectMass(id: UUID): number
2113
2129
 
2114
2130
  /**
2115
2131
  * Returns the name of the prim which the script is attached to.
@@ -2124,44 +2140,44 @@ declare namespace ll {
2124
2140
  * Returns the total number of prims for an object in the region.
2125
2141
  * Returns the prim count for any object id in the same region.
2126
2142
  */
2127
- export function GetObjectPrimCount(objectId: uuid): number
2143
+ export function GetObjectPrimCount(objectId: UUID): number
2128
2144
 
2129
2145
  /**
2130
2146
  * Returns the rotation velocity in radians per second.
2131
2147
  * Returns a vector that is the rotation velocity of the object in radians per second.
2132
2148
  */
2133
- export function GetOmega(): vector
2149
+ export function GetOmega(): Vector
2134
2150
 
2135
2151
  /**
2136
2152
  * Returns the object owner's UUID.
2137
2153
  * Returns the key for the owner of the object.
2138
2154
  */
2139
- export function GetOwner(): uuid
2155
+ export function GetOwner(): UUID
2140
2156
 
2141
2157
  /**
2142
2158
  * Returns the owner of ObjectID.
2143
2159
  * Returns the key for the owner of object ObjectID.
2144
2160
  */
2145
- export function GetOwnerKey(objectId: uuid): uuid
2161
+ export function GetOwnerKey(objectId: UUID): UUID
2146
2162
 
2147
2163
  /**
2148
2164
  * Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.
2149
2165
  * Parameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.
2150
2166
  * Returns a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position.
2151
2167
  */
2152
- export function GetParcelDetails(position: vector, parcelDetails: number[]): list
2168
+ export function GetParcelDetails(position: Vector, parcelDetails: number[]): list
2153
2169
 
2154
2170
  /**
2155
2171
  * Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point Position.
2156
2172
  * Returns a bit-field specifying the parcel flags (PARCEL_FLAG_*) for the parcel at Position.
2157
2173
  */
2158
- export function GetParcelFlags(position: vector): number
2174
+ export function GetParcelFlags(position: Vector): number
2159
2175
 
2160
2176
  /**
2161
2177
  * Returns the maximum number of prims allowed on the parcel at Position for a given scope.
2162
2178
  * The scope may be set to an individual parcel or the combined resources of all parcels with the same ownership in the region.
2163
2179
  */
2164
- export function GetParcelMaxPrims(position: vector, simWide: number): number
2180
+ export function GetParcelMaxPrims(position: Vector, simWide: number): number
2165
2181
 
2166
2182
  /**
2167
2183
  * Gets the streaming audio URL for the parcel object is on.
@@ -2176,7 +2192,7 @@ declare namespace ll {
2176
2192
  * If SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.
2177
2193
  * If SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified
2178
2194
  */
2179
- export function GetParcelPrimCount(position: vector, category: number, simWide: number): number
2195
+ export function GetParcelPrimCount(position: Vector, category: number, simWide: number): number
2180
2196
 
2181
2197
  /**
2182
2198
  * Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.
@@ -2184,7 +2200,7 @@ declare namespace ll {
2184
2200
  * The list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.
2185
2201
  * The integers are the combined land impacts of the objects owned by the corresponding agents.
2186
2202
  */
2187
- export function GetParcelPrimOwners(position: vector): list
2203
+ export function GetParcelPrimOwners(position: Vector): list
2188
2204
 
2189
2205
  /** Returns an integer bitmask of the permissions that have been granted to the script. Individual permissions can be determined using a bit-wise "and" operation against the PERMISSION_* constants */
2190
2206
  export function GetPermissions(): number
@@ -2193,7 +2209,7 @@ declare namespace ll {
2193
2209
  * Returns the key of the avatar that last granted or declined permissions to the script.
2194
2210
  * Returns NULL_KEY if permissions were never granted or declined.
2195
2211
  */
2196
- export function GetPermissionsKey(): uuid
2212
+ export function GetPermissionsKey(): UUID
2197
2213
 
2198
2214
  /** Returns a list of the form [float gravity_multiplier, float restitution, float friction, float density]. */
2199
2215
  export function GetPhysicsMaterial(): number[]
@@ -2202,7 +2218,7 @@ declare namespace ll {
2202
2218
  * Returns the position of the task in region coordinates.
2203
2219
  * Returns the vector position of the task in region coordinates.
2204
2220
  */
2205
- export function GetPos(): vector
2221
+ export function GetPos(): Vector
2206
2222
 
2207
2223
  /** Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face. */
2208
2224
  export function GetPrimMediaParams(face: number, parameters: number[]): list
@@ -2223,7 +2239,7 @@ declare namespace ll {
2223
2239
  * Returns a vector, in meters, that is the global location of the south-west corner of the region which the object is in.
2224
2240
  * Returns the Region-Corner of the simulator containing the task. The region-corner is a vector (values in meters) representing distance from the first region.
2225
2241
  */
2226
- export function GetRegionCorner(): vector
2242
+ export function GetRegionCorner(): Vector
2227
2243
 
2228
2244
  /** Returns the number of seconds in a day in this region. */
2229
2245
  export function GetRegionDayLength(): number
@@ -2244,10 +2260,10 @@ declare namespace ll {
2244
2260
  * Returns a normalized vector of the direction of the moon in the region.
2245
2261
  * Returns the moon's direction on the simulator.
2246
2262
  */
2247
- export function GetRegionMoonDirection(): vector
2263
+ export function GetRegionMoonDirection(): Vector
2248
2264
 
2249
2265
  /** Returns the rotation applied to the moon in the region. */
2250
- export function GetRegionMoonRotation(): quaternion
2266
+ export function GetRegionMoonRotation(): Quaternion
2251
2267
 
2252
2268
  /** Returns the current region name. */
2253
2269
  export function GetRegionName(): string
@@ -2256,10 +2272,10 @@ declare namespace ll {
2256
2272
  * Returns a normalized vector of the direction of the sun in the region.
2257
2273
  * Returns the sun's direction on the simulator.
2258
2274
  */
2259
- export function GetRegionSunDirection(): vector
2275
+ export function GetRegionSunDirection(): Vector
2260
2276
 
2261
2277
  /** Returns the rotation applied to the sun in the region. */
2262
- export function GetRegionSunRotation(): quaternion
2278
+ export function GetRegionSunRotation(): Quaternion
2263
2279
 
2264
2280
  /**
2265
2281
  * Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation).
@@ -2280,19 +2296,19 @@ declare namespace ll {
2280
2296
  * Returns the position (in region coordinates) of the root prim of the object which the script is attached to.
2281
2297
  * This is used to allow a child prim to determine where the root is.
2282
2298
  */
2283
- export function GetRootPosition(): vector
2299
+ export function GetRootPosition(): Vector
2284
2300
 
2285
2301
  /**
2286
2302
  * Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.
2287
2303
  * Gets the global rotation of the root object of the object script is attached to.
2288
2304
  */
2289
- export function GetRootRotation(): quaternion
2305
+ export function GetRootRotation(): Quaternion
2290
2306
 
2291
2307
  /**
2292
2308
  * Returns the rotation relative to the region's axes.
2293
2309
  * Returns the rotation.
2294
2310
  */
2295
- export function GetRot(): quaternion
2311
+ export function GetRot(): Quaternion
2296
2312
 
2297
2313
  /**
2298
2314
  * Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.
@@ -2304,7 +2320,7 @@ declare namespace ll {
2304
2320
  * Returns the scale of the prim.
2305
2321
  * Returns a vector that is the scale (dimensions) of the prim.
2306
2322
  */
2307
- export function GetScale(): vector
2323
+ export function GetScale(): Vector
2308
2324
 
2309
2325
  /**
2310
2326
  * Returns the name of the script that this function is used in.
@@ -2339,7 +2355,7 @@ declare namespace ll {
2339
2355
  */
2340
2356
  export function GetStartString(): string
2341
2357
 
2342
- export function GetStaticPath(start: vector, end: vector, radius: number, parameters: list): list
2358
+ export function GetStaticPath(start: Vector, end: Vector, radius: number, parameters: list): list
2343
2359
 
2344
2360
  /** Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to. */
2345
2361
  export function GetStatus(statusFlag: number): number
@@ -2357,10 +2373,10 @@ declare namespace ll {
2357
2373
  * Returns a normalized vector of the direction of the sun in the parcel.
2358
2374
  * Returns the sun's direction on the simulator in the parcel.
2359
2375
  */
2360
- export function GetSunDirection(): vector
2376
+ export function GetSunDirection(): Vector
2361
2377
 
2362
2378
  /** Returns the rotation applied to the sun in the parcel. */
2363
- export function GetSunRotation(): quaternion
2379
+ export function GetSunRotation(): Quaternion
2364
2380
 
2365
2381
  /**
2366
2382
  * Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).
@@ -2369,7 +2385,7 @@ declare namespace ll {
2369
2385
  export function GetTexture(face: number): string
2370
2386
 
2371
2387
  /** Returns the texture offset of face in the x and y components of a vector. */
2372
- export function GetTextureOffset(face: number): vector
2388
+ export function GetTextureOffset(face: number): Vector
2373
2389
 
2374
2390
  /** Returns the texture rotation of side. */
2375
2391
  export function GetTextureRot(face: number): number
@@ -2378,7 +2394,7 @@ declare namespace ll {
2378
2394
  * Returns the texture scale of side in the x and y components of a vector.
2379
2395
  * Returns the texture scale of a side in the x and y components of a vector.
2380
2396
  */
2381
- export function GetTextureScale(face: number): vector
2397
+ export function GetTextureScale(face: number): Vector
2382
2398
 
2383
2399
  /** Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime. */
2384
2400
  export function GetTime(): number
@@ -2393,7 +2409,7 @@ declare namespace ll {
2393
2409
  * Returns the torque (if the script is physical).
2394
2410
  * Returns a vector that is the torque (if the script is physical).
2395
2411
  */
2396
- export function GetTorque(): vector
2412
+ export function GetTorque(): Vector
2397
2413
 
2398
2414
  /** Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock. */
2399
2415
  export function GetUnixTime(): number
@@ -2405,16 +2421,16 @@ declare namespace ll {
2405
2421
  export function GetUsedMemory(): number
2406
2422
 
2407
2423
  /** Returns the username of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestUsername if the avatar may be absent from the region. */
2408
- export function GetUsername(avatarId: uuid): string
2424
+ export function GetUsername(avatarId: UUID): string
2409
2425
 
2410
2426
  /**
2411
2427
  * Returns the velocity of the object.
2412
2428
  * Returns a vector that is the velocity of the object.
2413
2429
  */
2414
- export function GetVel(): vector
2430
+ export function GetVel(): Vector
2415
2431
 
2416
2432
  /** Returns a list of the current value for each requested visual parameter. */
2417
- export function GetVisualParams(id: uuid, parameters: (number | string)[]): (number | "")[]
2433
+ export function GetVisualParams(id: UUID, parameters: (number | string)[]): (number | "")[]
2418
2434
 
2419
2435
  /**
2420
2436
  * Returns the time in seconds since midnight California Pacific time (PST/PDT).
@@ -2424,7 +2440,7 @@ declare namespace ll {
2424
2440
 
2425
2441
  /** Give InventoryItems to the specified agent as a new folder of items, as permitted by the permissions system. The target must be an agent. */
2426
2442
  export function GiveAgentInventory(
2427
- agentId: uuid,
2443
+ agentId: UUID,
2428
2444
  folderName: string,
2429
2445
  inventoryItems: string[],
2430
2446
  options: list,
@@ -2434,14 +2450,14 @@ declare namespace ll {
2434
2450
  * Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.
2435
2451
  * TargetID may be any agent or an object in the same region.
2436
2452
  */
2437
- export function GiveInventory(targetId: uuid, inventoryItem: string): void
2453
+ export function GiveInventory(targetId: UUID, inventoryItem: string): void
2438
2454
 
2439
2455
  /**
2440
2456
  * Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.
2441
2457
  * TargetID may be any agent or an object in the same region. If TargetID is an object, the items are passed directly to the object inventory (no folder is created).
2442
2458
  */
2443
2459
  export function GiveInventoryList(
2444
- targetId: uuid,
2460
+ targetId: UUID,
2445
2461
  folderName: string,
2446
2462
  inventoryItems: string[],
2447
2463
  ): void
@@ -2450,28 +2466,28 @@ declare namespace ll {
2450
2466
  * Transfers Amount of L$ from script owner to AvatarID.
2451
2467
  * This call will silently fail if PERMISSION_DEBIT has not been granted.
2452
2468
  */
2453
- export function GiveMoney(avatarId: uuid, amount: number): number
2469
+ export function GiveMoney(avatarId: UUID, amount: number): number
2454
2470
 
2455
2471
  /** Rez directly off of a UUID if owner has god-bit set. */
2456
- export function GodLikeRezObject(inventoryItemId: uuid, position: vector): void
2472
+ export function GodLikeRezObject(inventoryItemId: UUID, position: Vector): void
2457
2473
 
2458
2474
  /**
2459
2475
  * Returns the ground height at the object position + offset.
2460
2476
  * Returns the ground height at the object's position + Offset.
2461
2477
  */
2462
- export function Ground(offset: vector): number
2478
+ export function Ground(offset: Vector): number
2463
2479
 
2464
2480
  /**
2465
2481
  * Returns the ground contour direction below the object position + Offset.
2466
2482
  * Returns the ground contour at the object's position + Offset.
2467
2483
  */
2468
- export function GroundContour(offset: vector): vector
2484
+ export function GroundContour(offset: Vector): Vector
2469
2485
 
2470
2486
  /**
2471
2487
  * Returns the ground normal below the object position + offset.
2472
2488
  * Returns the ground contour at the object's position + Offset.
2473
2489
  */
2474
- export function GroundNormal(offset: vector): vector
2490
+ export function GroundNormal(offset: Vector): Vector
2475
2491
 
2476
2492
  /**
2477
2493
  * Critically damps to height if within height * 0.5 of level (either above ground level or above the higher of land and water if water == TRUE).
@@ -2485,7 +2501,7 @@ declare namespace ll {
2485
2501
  * Returns the ground slope below the object position + Offset.
2486
2502
  * Returns the ground slope at the object position + Offset.
2487
2503
  */
2488
- export function GroundSlope(offset: vector): vector
2504
+ export function GroundSlope(offset: Vector): Vector
2489
2505
 
2490
2506
  /** Returns the base64-encoded hashed message authentication code (HMAC), of Message using PEM-formatted Key and digest Algorithm (md5, sha1, sha224, sha256, sha384, sha512). */
2491
2507
  export function HMAC(key: string, message: string, algorithm: string): string
@@ -2494,10 +2510,10 @@ declare namespace ll {
2494
2510
  * Sends an HTTP request to the specified URL with the Body of the request and Parameters.
2495
2511
  * Returns a key that is a handle identifying the HTTP request made.
2496
2512
  */
2497
- export function HTTPRequest(url: string, parameters: list, body: string): uuid
2513
+ export function HTTPRequest(url: string, parameters: list, body: string): UUID
2498
2514
 
2499
2515
  /** Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request event handler). Status and Body specify the status code and message to respond with. */
2500
- export function HTTPResponse(httpRequestId: uuid, status: number, body: string): void
2516
+ export function HTTPResponse(httpRequestId: UUID, status: number, body: string): void
2501
2517
 
2502
2518
  /** Calculates the 32bit hash value for the provided string. */
2503
2519
  export function Hash(value: string): number
@@ -2517,7 +2533,7 @@ declare namespace ll {
2517
2533
  * IMs Text to the user identified.
2518
2534
  * Send Text to the user as an instant message.
2519
2535
  */
2520
- export function InstantMessage(avatarId: uuid, text: string): void
2536
+ export function InstantMessage(avatarId: UUID, text: string): void
2521
2537
 
2522
2538
  /**
2523
2539
  * Returns a string that is a Base64 big endian encode of Value.
@@ -2526,7 +2542,7 @@ declare namespace ll {
2526
2542
  export function IntegerToBase64(value: number): string
2527
2543
 
2528
2544
  /** Returns TRUE if avatar ID is a friend of the script owner. */
2529
- export function IsFriend(agentId: uuid): number
2545
+ export function IsFriend(agentId: UUID): number
2530
2546
 
2531
2547
  /** Checks the face for a PBR render material. */
2532
2548
  export function IsLinkGLTFMaterial(link: number, face: number): number
@@ -2559,19 +2575,19 @@ declare namespace ll {
2559
2575
  * Returns the name of the prim or avatar specified by ID. The ID must be a valid rezzed prim or avatar key in the current simulator, otherwise an empty string is returned.
2560
2576
  * For avatars, the returned name is the legacy name
2561
2577
  */
2562
- export function Key2Name(id: uuid): string
2578
+ export function Key2Name(id: UUID): string
2563
2579
 
2564
2580
  /** Starts an asychronous transaction the request the number of keys in the data store. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will the the number of keys in the system. */
2565
- export function KeyCountKeyValue(): uuid
2581
+ export function KeyCountKeyValue(): UUID
2566
2582
 
2567
2583
  /**
2568
2584
  * Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended to use commas in key names if this function is used.
2569
2585
  * @indexArg first
2570
2586
  */
2571
- export function KeysKeyValue(first: number, count: number): uuid
2587
+ export function KeysKeyValue(first: number, count: number): UUID
2572
2588
 
2573
2589
  /** Converts a color from the linear colorspace to sRGB. */
2574
- export function Linear2sRGB(color: vector): vector
2590
+ export function Linear2sRGB(color: Vector): Vector
2575
2591
 
2576
2592
  /**
2577
2593
  * Adjusts the volume (0.0 - 1.0) of the currently playing sound attached to the link.
@@ -2607,7 +2623,7 @@ declare namespace ll {
2607
2623
  * Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.
2608
2624
  * Set the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.
2609
2625
  */
2610
- export function LinkSitTarget(linkNumber: number, offset: vector, rotation: quaternion): void
2626
+ export function LinkSitTarget(linkNumber: number, offset: Vector, rotation: Quaternion): void
2611
2627
 
2612
2628
  /** Stops playback of the currently attached sound on a link. */
2613
2629
  export function LinkStopSound(linkNumber: number): void
@@ -2691,7 +2707,7 @@ declare namespace ll {
2691
2707
  * @deprecated Use '[]' and 'touuid' instead.
2692
2708
  * @indexArg index
2693
2709
  */
2694
- export function List2Key(listVariable: list, index: number): uuid
2710
+ export function List2Key(listVariable: list, index: number): UUID
2695
2711
 
2696
2712
  /**
2697
2713
  * Returns a subset of entries from ListVariable, in a range specified by the Start and End indicies (inclusive).
@@ -2738,7 +2754,7 @@ declare namespace ll {
2738
2754
  * @deprecated Use '[]' instead.
2739
2755
  * @indexArg index
2740
2756
  */
2741
- export function List2Rot(listVariable: list, index: number): quaternion
2757
+ export function List2Rot(listVariable: list, index: number): Quaternion
2742
2758
 
2743
2759
  /**
2744
2760
  * Copies the string at Index in the list.
@@ -2754,7 +2770,7 @@ declare namespace ll {
2754
2770
  * @deprecated Use '[]' instead.
2755
2771
  * @indexArg index
2756
2772
  */
2757
- export function List2Vector(listVariable: list, index: number): vector
2773
+ export function List2Vector(listVariable: list, index: number): Vector
2758
2774
 
2759
2775
  /**
2760
2776
  * Returns the first index where Find appears in ListVariable. Returns -1 if not found.
@@ -2836,7 +2852,7 @@ declare namespace ll {
2836
2852
  export function Listen(
2837
2853
  channel: number,
2838
2854
  speakersName: string,
2839
- speakersId: uuid,
2855
+ speakersId: UUID,
2840
2856
  text: string,
2841
2857
  ): number
2842
2858
 
@@ -2853,17 +2869,19 @@ declare namespace ll {
2853
2869
  * Shows dialog to avatar AvatarID offering to load web page at URL. If user clicks yes, launches their web browser.
2854
2870
  * llLoadURL displays a dialogue box to the user, offering to load the specified web page using the default web browser.
2855
2871
  */
2856
- export function LoadURL(avatarId: uuid, text: string, url: string): void
2872
+ export function LoadURL(avatarId: UUID, text: string, url: string): void
2857
2873
 
2858
2874
  /**
2859
2875
  * Returns the natural logarithm of Value. Returns zero if Value <= 0.
2860
2876
  * Returns the base e (natural) logarithm of the specified Value.
2877
+ * @deprecated Use 'math.log' instead. It's a fastcall.
2861
2878
  */
2862
2879
  export function Log(value: number): number
2863
2880
 
2864
2881
  /**
2865
2882
  * Returns the base 10 logarithm of Value. Returns zero if Value <= 0.
2866
2883
  * Returns the base 10 (common) logarithm of the specified Value.
2884
+ * @deprecated Use 'math.log10' instead. It's a fastcall.
2867
2885
  */
2868
2886
  export function Log10(value: number): number
2869
2887
 
@@ -2872,7 +2890,7 @@ declare namespace ll {
2872
2890
  * Good Strength values are around half the mass of the object and good Damping values are less than 1/10th of the Strength.
2873
2891
  * Asymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at.
2874
2892
  */
2875
- export function LookAt(target: vector, strength: number, damping: number): void
2893
+ export function LookAt(target: Vector, strength: number, damping: number): void
2876
2894
 
2877
2895
  /**
2878
2896
  * Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).
@@ -2916,7 +2934,7 @@ declare namespace ll {
2916
2934
  lifetime: number,
2917
2935
  arc: number,
2918
2936
  texture: string,
2919
- offset: vector,
2937
+ offset: Vector,
2920
2938
  ): void
2921
2939
 
2922
2940
  /**
@@ -2931,7 +2949,7 @@ declare namespace ll {
2931
2949
  lifetime: number,
2932
2950
  arc: number,
2933
2951
  texture: string,
2934
- offset: vector,
2952
+ offset: Vector,
2935
2953
  ): void
2936
2954
 
2937
2955
  /**
@@ -2947,7 +2965,7 @@ declare namespace ll {
2947
2965
  arc: number,
2948
2966
  bounce: number,
2949
2967
  texture: string,
2950
- offset: vector,
2968
+ offset: Vector,
2951
2969
  bounceOffset: number,
2952
2970
  ): void
2953
2971
 
@@ -2963,7 +2981,7 @@ declare namespace ll {
2963
2981
  lifetime: number,
2964
2982
  arc: number,
2965
2983
  texture: string,
2966
- offset: vector,
2984
+ offset: Vector,
2967
2985
  ): void
2968
2986
 
2969
2987
  /**
@@ -2971,16 +2989,16 @@ declare namespace ll {
2971
2989
  * Returns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.
2972
2990
  * The object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.
2973
2991
  */
2974
- export function ManageEstateAccess(action: number, avatarId: uuid): number
2992
+ export function ManageEstateAccess(action: number, avatarId: UUID): number
2975
2993
 
2976
2994
  /** Displays an in world beacon and optionally opens world map for avatar who touched the object or is wearing the script, centered on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events. */
2977
- export function MapBeacon(regionName: string, position: vector, options: list): void
2995
+ export function MapBeacon(regionName: string, position: Vector, options: list): void
2978
2996
 
2979
2997
  /**
2980
2998
  * Opens world map for avatar who touched it or is wearing the script, centred on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events.
2981
2999
  * Direction currently has no effect.
2982
3000
  */
2983
- export function MapDestination(regionName: string, position: vector, direction: vector): void
3001
+ export function MapDestination(regionName: string, position: Vector, direction: Vector): void
2984
3002
 
2985
3003
  /**
2986
3004
  * Sends Number, Text, and ID to members of the link set identified by LinkNumber.
@@ -2989,8 +3007,8 @@ declare namespace ll {
2989
3007
  export function MessageLinked(
2990
3008
  linkNumber: number,
2991
3009
  number: number,
2992
- text: string | uuid,
2993
- id: string | uuid,
3010
+ text: string | UUID,
3011
+ id: string | UUID,
2994
3012
  ): void
2995
3013
 
2996
3014
  /** Set the minimum time between events being handled. */
@@ -3009,16 +3027,16 @@ declare namespace ll {
3009
3027
  * Critically damp to Target in Tau seconds (if the script is physical).
3010
3028
  * Critically damp to position target in tau-seconds if the script is physical. Good tau-values are greater than 0.2. A tau of 0.0 stops the critical damping.
3011
3029
  */
3012
- export function MoveToTarget(target: vector, tau: number): void
3030
+ export function MoveToTarget(target: Vector, tau: number): void
3013
3031
 
3014
3032
  /** Look up Agent ID for the named agent in the region. */
3015
- export function Name2Key(name: string): uuid
3033
+ export function Name2Key(name: string): UUID
3016
3034
 
3017
3035
  /**
3018
3036
  * Navigate to destination.
3019
3037
  * Directs an object to travel to a defined position in the region or adjacent regions.
3020
3038
  */
3021
- export function NavigateTo(location: vector, options: list): void
3039
+ export function NavigateTo(location: Vector, options: list): void
3022
3040
 
3023
3041
  /**
3024
3042
  * Sets the texture S and T offsets for the chosen Face.
@@ -3048,7 +3066,7 @@ declare namespace ll {
3048
3066
  * Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.
3049
3067
  * Returns TRUE if key ID is over land owned by the object owner, FALSE otherwise.
3050
3068
  */
3051
- export function OverMyLand(id: uuid): number
3069
+ export function OverMyLand(id: UUID): number
3052
3070
 
3053
3071
  /**
3054
3072
  * says Text to owner only (if owner is in region).
@@ -3104,7 +3122,7 @@ declare namespace ll {
3104
3122
  * Patrol a list of points.
3105
3123
  * Sets the points for a character (llCreateCharacter) to patrol along.
3106
3124
  */
3107
- export function PatrolPoints(points: vector[], options: list): void
3125
+ export function PatrolPoints(points: Vector[], options: list): void
3108
3126
 
3109
3127
  /**
3110
3128
  * Plays Sound once, at Volume (0.0 - 1.0) and attached to the object.
@@ -3122,11 +3140,12 @@ declare namespace ll {
3122
3140
  export function PlaySoundSlave(sound: string, volume: number): void
3123
3141
 
3124
3142
  /** @deprecated */
3125
- export function PointAt(point: vector): void
3143
+ export function PointAt(point: Vector): void
3126
3144
 
3127
3145
  /**
3128
3146
  * Returns the Value raised to the power Exponent, or returns 0 and triggers Math Error for imaginary results.
3129
3147
  * Returns the Value raised to the Exponent.
3148
+ * @deprecated Use '^' instead. It's a fastcall.
3130
3149
  */
3131
3150
  export function Pow(value: number, exponent: number): number
3132
3151
 
@@ -3140,21 +3159,21 @@ declare namespace ll {
3140
3159
  * Chase after a target.
3141
3160
  * Causes the character (llCharacter) to pursue the target defined by TargetID.
3142
3161
  */
3143
- export function Pursue(targetId: uuid, options: list): void
3162
+ export function Pursue(targetId: UUID, options: list): void
3144
3163
 
3145
3164
  /**
3146
3165
  * Applies Impulse and AngularImpulse to ObjectID.
3147
3166
  * Applies the supplied impulse and angular impulse to the object specified.
3148
3167
  */
3149
3168
  export function PushObject(
3150
- objectId: uuid,
3151
- impulse: vector,
3152
- angularImpulse: vector,
3169
+ objectId: UUID,
3170
+ impulse: Vector,
3171
+ angularImpulse: Vector,
3153
3172
  local: number,
3154
3173
  ): void
3155
3174
 
3156
3175
  /** Starts an asychronous transaction to retrieve the value associated with the key given. Will fail with XP_ERROR_KEY_NOT_FOUND if the key does not exist. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key. */
3157
- export function ReadKeyValue(key: string): uuid
3176
+ export function ReadKeyValue(key: string): UUID
3158
3177
 
3159
3178
  /**
3160
3179
  * Reloads the web page shown on the sides of the object.
@@ -3169,14 +3188,14 @@ declare namespace ll {
3169
3188
  * Says Text, on Channel, to avatar or object indicated by TargetID (if within region).
3170
3189
  * If TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar.
3171
3190
  */
3172
- export function RegionSayTo(targetId: uuid, channel: number, text: string): void
3191
+ export function RegionSayTo(targetId: UUID, channel: number, text: string): void
3173
3192
 
3174
3193
  /**
3175
3194
  * Return camera to agent.
3176
3195
  * Deprecated: Use llClearCameraParams instead.
3177
3196
  * @deprecated Use 'll.ClearCameraParams' instead.
3178
3197
  */
3179
- export function ReleaseCamera(avatarId: uuid): void
3198
+ export function ReleaseCamera(avatarId: UUID): void
3180
3199
 
3181
3200
  /**
3182
3201
  * Stop taking inputs.
@@ -3192,8 +3211,8 @@ declare namespace ll {
3192
3211
  * @deprecated
3193
3212
  */
3194
3213
  export function RemoteDataReply(
3195
- channelId: uuid,
3196
- messageId: uuid,
3214
+ channelId: UUID,
3215
+ messageId: UUID,
3197
3216
  sData: string,
3198
3217
  iData: number,
3199
3218
  ): void
@@ -3206,7 +3225,7 @@ declare namespace ll {
3206
3225
 
3207
3226
  /** @deprecated */
3208
3227
  export function RemoteLoadScript(
3209
- target: uuid,
3228
+ target: UUID,
3210
3229
  scriptName: string,
3211
3230
  unknown1: number,
3212
3231
  unknown2: number,
@@ -3214,7 +3233,7 @@ declare namespace ll {
3214
3233
 
3215
3234
  /** If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object. */
3216
3235
  export function RemoteLoadScriptPin(
3217
- objectId: uuid,
3236
+ objectId: UUID,
3218
3237
  scriptName: string,
3219
3238
  pin: number,
3220
3239
  running: number,
@@ -3225,13 +3244,13 @@ declare namespace ll {
3225
3244
  * Remove avatar from the land ban list.
3226
3245
  * Remove specified avatar from the land parcel ban list.
3227
3246
  */
3228
- export function RemoveFromLandBanList(avatarId: uuid): void
3247
+ export function RemoveFromLandBanList(avatarId: UUID): void
3229
3248
 
3230
3249
  /**
3231
3250
  * Remove avatar from the land pass list.
3232
3251
  * Remove specified avatar from the land parcel pass list.
3233
3252
  */
3234
- export function RemoveFromLandPassList(avatarId: uuid): void
3253
+ export function RemoveFromLandPassList(avatarId: UUID): void
3235
3254
 
3236
3255
  /**
3237
3256
  * Remove the named inventory item.
@@ -3247,14 +3266,14 @@ declare namespace ll {
3247
3266
 
3248
3267
  /** Replaces the entire environment for an agent. Must be used as part of an experience. */
3249
3268
  export function ReplaceAgentEnvironment(
3250
- agentId: uuid,
3269
+ agentId: UUID,
3251
3270
  transition: number,
3252
3271
  environment: string,
3253
3272
  ): number
3254
3273
 
3255
3274
  /** Replaces the environment for a parcel or region. */
3256
3275
  export function ReplaceEnvironment(
3257
- position: vector,
3276
+ position: Vector,
3258
3277
  environment: string,
3259
3278
  trackNo: number,
3260
3279
  dayLength: number,
@@ -3273,52 +3292,52 @@ declare namespace ll {
3273
3292
  * Requests data about AvatarID. When data is available the dataserver event will be raised.
3274
3293
  * This function requests data about an avatar. If and when the information is collected, the dataserver event is triggered with the key returned from this function passed in the requested parameter. See the agent data constants (DATA_*) for details about valid values of data and what each will return in the dataserver event.
3275
3294
  */
3276
- export function RequestAgentData(avatarId: uuid, data: number): uuid
3295
+ export function RequestAgentData(avatarId: UUID, data: number): UUID
3277
3296
 
3278
3297
  /**
3279
3298
  * Requests the display name of the agent. When the display name is available the dataserver event will be raised.
3280
3299
  * The avatar identified does not need to be in the same region or online at the time of the request.
3281
3300
  * Returns a key that is used to identify the dataserver event when it is raised.
3282
3301
  */
3283
- export function RequestDisplayName(avatarId: uuid): uuid
3302
+ export function RequestDisplayName(avatarId: UUID): UUID
3284
3303
 
3285
3304
  /** Ask the agent for permission to participate in an experience. This request is similar to llRequestPermissions with the following permissions: PERMISSION_TAKE_CONTROLS, PERMISSION_TRIGGER_ANIMATION, PERMISSION_ATTACH, PERMISSION_TRACK_CAMERA, PERMISSION_CONTROL_CAMERA and PERMISSION_TELEPORT. However, unlike llRequestPermissions the decision to allow or block the request is persistent and applies to all scripts using the experience grid wide. Subsequent calls to llRequestExperiencePermissions from scripts in the experience will receive the same response automatically with no user interaction. One of experience_permissions or experience_permissions_denied will be generated in response to this call. Outstanding permission requests will be lost if the script is derezzed, moved to another region or reset. */
3286
- export function RequestExperiencePermissions(agentId: uuid, unused: string): void
3305
+ export function RequestExperiencePermissions(agentId: UUID, unused: string): void
3287
3306
 
3288
3307
  /**
3289
3308
  * Requests data for the named InventoryItem.
3290
3309
  * When data is available, the dataserver event will be raised with the key returned from this function in the requested parameter.
3291
3310
  * The only request currently implemented is to request data from landmarks, where the data returned is in the form "<float, float, float>" which can be cast to a vector. This position is in region local coordinates.
3292
3311
  */
3293
- export function RequestInventoryData(inventoryItem: string): uuid
3312
+ export function RequestInventoryData(inventoryItem: string): UUID
3294
3313
 
3295
3314
  /**
3296
3315
  * Ask AvatarID to allow the script to perform certain actions, specified in the PermissionMask bitmask. PermissionMask should be one or more PERMISSION_* constants. Multiple permissions can be requested simultaneously by ORing the constants together. Many of the permissions requests can only go to object owner.
3297
3316
  * This call will not stop script execution. If the avatar grants the requested permissions, the run_time_permissions event will be called.
3298
3317
  */
3299
- export function RequestPermissions(avatarId: uuid, permissionMask: number): void
3318
+ export function RequestPermissions(avatarId: UUID, permissionMask: number): void
3300
3319
 
3301
3320
  /**
3302
3321
  * Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.
3303
3322
  * Returns a key that is the handle used for identifying the request in the http_request event.
3304
3323
  */
3305
- export function RequestSecureURL(): uuid
3324
+ export function RequestSecureURL(): UUID
3306
3325
 
3307
3326
  /**
3308
3327
  * Requests the specified Data about RegionName. When the specified data is available, the dataserver event is raised.
3309
3328
  * Data should use one of the DATA_SIM_* constants.
3310
3329
  * Returns a dataserver query ID and triggers the dataserver event when data is found.
3311
3330
  */
3312
- export function RequestSimulatorData(regionName: string, data: number): uuid
3331
+ export function RequestSimulatorData(regionName: string, data: number): UUID
3313
3332
 
3314
3333
  /**
3315
3334
  * Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.
3316
3335
  * Returns a key that is the handle used for identifying the result in the http_request event.
3317
3336
  */
3318
- export function RequestURL(): uuid
3337
+ export function RequestURL(): UUID
3319
3338
 
3320
3339
  /** Look up Agent ID for the named agent using a historical name. */
3321
- export function RequestUserKey(name: string): uuid
3340
+ export function RequestUserKey(name: string): UUID
3322
3341
 
3323
3342
  /**
3324
3343
  * Requests single-word user-name of an avatar. When data is available the dataserver event will be raised.
@@ -3326,7 +3345,7 @@ declare namespace ll {
3326
3345
  * The agent identified does not need to be in the same region or online at the time of the request.
3327
3346
  * Returns a key that is used to identify the dataserver event when it is raised.
3328
3347
  */
3329
- export function RequestUsername(avatarId: uuid): uuid
3348
+ export function RequestUsername(avatarId: UUID): UUID
3330
3349
 
3331
3350
  /**
3332
3351
  * Resets the animation of the specified animation state to the default value.
@@ -3351,13 +3370,13 @@ declare namespace ll {
3351
3370
  * Return objects using their UUIDs.
3352
3371
  * Requires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region owner.
3353
3372
  */
3354
- export function ReturnObjectsByID(objectIDs: uuid[]): number
3373
+ export function ReturnObjectsByID(objectIDs: UUID[]): number
3355
3374
 
3356
3375
  /**
3357
3376
  * Return objects based upon their owner and a scope of parcel, parcel owner, or region.
3358
3377
  * Requires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region owner.
3359
3378
  */
3360
- export function ReturnObjectsByOwner(id: uuid, scope: number): number
3379
+ export function ReturnObjectsByOwner(id: UUID, scope: number): number
3361
3380
 
3362
3381
  /**
3363
3382
  * Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.
@@ -3365,9 +3384,9 @@ declare namespace ll {
3365
3384
  */
3366
3385
  export function RezAtRoot(
3367
3386
  inventoryItem: string,
3368
- position: vector,
3369
- velocity: vector,
3370
- rotation: quaternion,
3387
+ position: Vector,
3388
+ velocity: Vector,
3389
+ rotation: Quaternion,
3371
3390
  startParameter: number,
3372
3391
  ): void
3373
3392
 
@@ -3378,69 +3397,69 @@ declare namespace ll {
3378
3397
  */
3379
3398
  export function RezObject(
3380
3399
  inventoryItem: string,
3381
- position: vector,
3382
- velocity: vector,
3383
- rotation: quaternion,
3400
+ position: Vector,
3401
+ velocity: Vector,
3402
+ rotation: Quaternion,
3384
3403
  startParameter: number,
3385
3404
  ): void
3386
3405
 
3387
3406
  /** Instantiate owner's InventoryItem with the given parameters. */
3388
- export function RezObjectWithParams(inventoryItem: string, params: list): uuid
3407
+ export function RezObjectWithParams(inventoryItem: string, params: list): UUID
3389
3408
 
3390
3409
  /**
3391
3410
  * Returns the rotation angle represented by Rotation.
3392
3411
  * Returns the angle represented by the Rotation.
3393
3412
  */
3394
- export function Rot2Angle(rotation: quaternion): number
3413
+ export function Rot2Angle(rotation: Quaternion): number
3395
3414
 
3396
3415
  /**
3397
3416
  * Returns the rotation axis represented by Rotation.
3398
3417
  * Returns the axis represented by the Rotation.
3399
3418
  */
3400
- export function Rot2Axis(rotation: quaternion): vector
3419
+ export function Rot2Axis(rotation: Quaternion): Vector
3401
3420
 
3402
3421
  /**
3403
3422
  * Returns the Euler representation (roll, pitch, yaw) of Rotation.
3404
3423
  * Returns the Euler Angle representation of the Rotation.
3405
3424
  */
3406
- export function Rot2Euler(rotation: quaternion): vector
3425
+ export function Rot2Euler(rotation: Quaternion): Vector
3407
3426
 
3408
3427
  /**
3409
3428
  * Returns the forward vector defined by Rotation.
3410
3429
  * Returns the forward axis represented by the Rotation.
3411
3430
  */
3412
- export function Rot2Fwd(rotation: quaternion): vector
3431
+ export function Rot2Fwd(rotation: Quaternion): Vector
3413
3432
 
3414
3433
  /**
3415
3434
  * Returns the left vector defined by Rotation.
3416
3435
  * Returns the left axis represented by the Rotation.
3417
3436
  */
3418
- export function Rot2Left(rotation: quaternion): vector
3437
+ export function Rot2Left(rotation: Quaternion): Vector
3419
3438
 
3420
3439
  /**
3421
3440
  * Returns the up vector defined by Rotation.
3422
3441
  * Returns the up axis represented by the Rotation.
3423
3442
  */
3424
- export function Rot2Up(rotation: quaternion): vector
3443
+ export function Rot2Up(rotation: Quaternion): Vector
3425
3444
 
3426
3445
  /**
3427
3446
  * Returns the rotation to rotate Vector1 to Vector2.
3428
3447
  * Returns the rotation needed to rotate Vector1 to Vector2.
3429
3448
  */
3430
- export function RotBetween(vector1: vector, vector2: vector): quaternion
3449
+ export function RotBetween(vector1: Vector, vector2: Vector): Quaternion
3431
3450
 
3432
3451
  /**
3433
3452
  * Cause object to rotate to Rotation, with a force function defined by Strength and Damping parameters. Good strength values are around half the mass of the object and good damping values are less than 1/10th of the strength.
3434
3453
  * Asymmetrical shapes require smaller damping.
3435
3454
  * A strength of 0.0 cancels the look at.
3436
3455
  */
3437
- export function RotLookAt(rotation: quaternion, strength: number, damping: number): void
3456
+ export function RotLookAt(rotation: Quaternion, strength: number, damping: number): void
3438
3457
 
3439
3458
  /**
3440
3459
  * Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.
3441
3460
  * The returned number is a handle that can be used in at_rot_target and llRotTargetRemove.
3442
3461
  */
3443
- export function RotTarget(rotation: quaternion, leeWay: number): number
3462
+ export function RotTarget(rotation: Quaternion, leeWay: number): number
3444
3463
 
3445
3464
  /**
3446
3465
  * Removes rotational target number.
@@ -3457,6 +3476,7 @@ declare namespace ll {
3457
3476
  /**
3458
3477
  * Returns Value rounded to the nearest integer.
3459
3478
  * Returns the Value rounded to the nearest integer.
3479
+ * @deprecated Use 'math.round' instead. It's a fastcall.
3460
3480
  */
3461
3481
  export function Round(value: number): number
3462
3482
 
@@ -3470,7 +3490,7 @@ declare namespace ll {
3470
3490
  * Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.
3471
3491
  * Returns TRUE if the object or agent identified is in the same simulator and has the same active group as this object. Otherwise, returns FALSE.
3472
3492
  */
3473
- export function SameGroup(id: uuid): number
3493
+ export function SameGroup(id: UUID): number
3474
3494
 
3475
3495
  /**
3476
3496
  * Says Text on Channel.
@@ -3498,7 +3518,7 @@ declare namespace ll {
3498
3518
  * Returns TRUE if Position is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.
3499
3519
  * Returns true if the position is over public land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.
3500
3520
  */
3501
- export function ScriptDanger(position: vector): number
3521
+ export function ScriptDanger(position: Vector): number
3502
3522
 
3503
3523
  /**
3504
3524
  * Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE.
@@ -3511,18 +3531,18 @@ declare namespace ll {
3511
3531
  * @deprecated
3512
3532
  */
3513
3533
  export function SendRemoteData(
3514
- channelId: uuid,
3534
+ channelId: UUID,
3515
3535
  destination: string,
3516
3536
  value: number,
3517
3537
  text: string,
3518
- ): uuid
3538
+ ): UUID
3519
3539
 
3520
3540
  /**
3521
3541
  * Performs a single scan for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.
3522
3542
  * Specifying a blank Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.
3523
3543
  * Results are returned in the sensor and no_sensor events.
3524
3544
  */
3525
- export function Sensor(name: string, id: uuid, type: number, range: number, arc: number): void
3545
+ export function Sensor(name: string, id: UUID, type: number, range: number, arc: number): void
3526
3546
 
3527
3547
  /**
3528
3548
  * removes sensor.
@@ -3537,7 +3557,7 @@ declare namespace ll {
3537
3557
  */
3538
3558
  export function SensorRepeat(
3539
3559
  name: string,
3540
- id: uuid,
3560
+ id: UUID,
3541
3561
  type: number,
3542
3562
  range: number,
3543
3563
  arc: number,
@@ -3545,10 +3565,10 @@ declare namespace ll {
3545
3565
  ): void
3546
3566
 
3547
3567
  /** Sets an agent's environmental values to the specified values. Must be used as part of an experience. */
3548
- export function SetAgentEnvironment(agentId: uuid, transition: number, settings: list): number
3568
+ export function SetAgentEnvironment(agentId: UUID, transition: number, settings: list): number
3549
3569
 
3550
3570
  /** Sets the avatar rotation to the given value. */
3551
- export function SetAgentRot(rot: quaternion, flags: number): void
3571
+ export function SetAgentRot(rot: Quaternion, flags: number): void
3552
3572
 
3553
3573
  /**
3554
3574
  * Sets the alpha (opacity) of Face.
@@ -3560,7 +3580,7 @@ declare namespace ll {
3560
3580
  * Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).
3561
3581
  * Has no effect on non-physical objects.
3562
3582
  */
3563
- export function SetAngularVelocity(angVel: vector, local: number): void
3583
+ export function SetAngularVelocity(angVel: Vector, local: number): void
3564
3584
 
3565
3585
  /**
3566
3586
  * Sets the animation (in object inventory) that will play for the given animation state.
@@ -3578,10 +3598,10 @@ declare namespace ll {
3578
3598
  * Sets the camera used in this object, at offset, if an avatar sits on it.
3579
3599
  * Sets the offset that an avatar's camera will be moved to if the avatar sits on the object.
3580
3600
  */
3581
- export function SetCameraAtOffset(offset: vector): void
3601
+ export function SetCameraAtOffset(offset: Vector): void
3582
3602
 
3583
3603
  /** Sets the camera eye offset used in this object if an avatar sits on it. */
3584
- export function SetCameraEyeOffset(offset: vector): void
3604
+ export function SetCameraEyeOffset(offset: Vector): void
3585
3605
 
3586
3606
  /**
3587
3607
  * Sets multiple camera parameters at once. List format is [ rule-1, data-1, rule-2, data-2 . . . rule-n, data-n ].
@@ -3596,13 +3616,13 @@ declare namespace ll {
3596
3616
  * Sets the color, for the face.
3597
3617
  * Sets the color of the side specified. If Face is ALL_SIDES, sets the color on all faces.
3598
3618
  */
3599
- export function SetColor(color: vector, face: number): void
3619
+ export function SetColor(color: Vector, face: number): void
3600
3620
 
3601
3621
  /**
3602
3622
  * Set the media type of an LSL HTTP server response to ContentType.
3603
3623
  * HTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants.
3604
3624
  */
3605
- export function SetContentType(httpRequestId: uuid, contentType: number): void
3625
+ export function SetContentType(httpRequestId: UUID, contentType: number): void
3606
3626
 
3607
3627
  /**
3608
3628
  * Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.
@@ -3611,22 +3631,22 @@ declare namespace ll {
3611
3631
  export function SetDamage(damage: number): void
3612
3632
 
3613
3633
  /** Returns a string with the requested data about the region. */
3614
- export function SetEnvironment(position: vector, envParams: list): number
3634
+ export function SetEnvironment(position: Vector, envParams: list): number
3615
3635
 
3616
3636
  /** @deprecated */
3617
- export function SetExperienceKey(experienceId: uuid): number
3637
+ export function SetExperienceKey(experienceId: UUID): number
3618
3638
 
3619
3639
  /**
3620
3640
  * Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
3621
3641
  * Only works on physical objects.
3622
3642
  */
3623
- export function SetForce(force: vector, local: number): void
3643
+ export function SetForce(force: Vector, local: number): void
3624
3644
 
3625
3645
  /**
3626
3646
  * Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
3627
3647
  * Only works on physical objects.
3628
3648
  */
3629
- export function SetForceAndTorque(force: vector, torque: vector, local: number): void
3649
+ export function SetForceAndTorque(force: Vector, torque: Vector, local: number): void
3630
3650
 
3631
3651
  /** Changes terrain texture properties in the region. */
3632
3652
  export function SetGroundTexture(changes: list): number
@@ -3658,13 +3678,13 @@ declare namespace ll {
3658
3678
  export function SetLinkAlpha(linkNumber: number, opacity: number, face: number): void
3659
3679
 
3660
3680
  /** Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim. */
3661
- export function SetLinkCamera(linkNumber: number, eyeOffset: vector, lookOffset: vector): void
3681
+ export function SetLinkCamera(linkNumber: number, eyeOffset: Vector, lookOffset: Vector): void
3662
3682
 
3663
3683
  /**
3664
3684
  * If a task exists in the link chain at LinkNumber, set the Face to color.
3665
3685
  * Sets the color of the linked child's side, specified by LinkNumber.
3666
3686
  */
3667
- export function SetLinkColor(linkNumber: number, color: vector, face: number): void
3687
+ export function SetLinkColor(linkNumber: number, color: Vector, face: number): void
3668
3688
 
3669
3689
  /** Sets or changes GLTF Overrides set on the selected faces. */
3670
3690
  export function SetLinkGLTFOverrides(link: number, face: number, options: list): void
@@ -3720,7 +3740,7 @@ declare namespace ll {
3720
3740
  ): void
3721
3741
 
3722
3742
  /** Sets the rotation of a child prim relative to the root prim. */
3723
- export function SetLocalRot(rotation: quaternion): void
3743
+ export function SetLocalRot(rotation: Quaternion): void
3724
3744
 
3725
3745
  /**
3726
3746
  * Sets the description of the prim to Description.
@@ -3772,7 +3792,7 @@ declare namespace ll {
3772
3792
  * If the script is in a child prim, Position is treated as root relative and the link-set is adjusted.
3773
3793
  * If the prim is the root prim, the entire object is moved (up to 10m) to Position in region coordinates.
3774
3794
  */
3775
- export function SetPos(position: vector): void
3795
+ export function SetPos(position: Vector): void
3776
3796
 
3777
3797
  /**
3778
3798
  * Sets the MediaParameters for a particular Face on the prim. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).
@@ -3798,7 +3818,7 @@ declare namespace ll {
3798
3818
  * Position may be any location within the region or up to 10m across a region border.
3799
3819
  * If the position is below ground, it will be set to the ground level at that x,y location.
3800
3820
  */
3801
- export function SetRegionPos(position: vector): number
3821
+ export function SetRegionPos(position: Vector): number
3802
3822
 
3803
3823
  /** If PIN is set to a non-zero number, the task will accept remote script loads via llRemoteLoadScriptPin() if it passes in the correct PIN. Othersise, llRemoteLoadScriptPin() is ignored. */
3804
3824
  export function SetRemoteScriptAccessPin(pin: number): void
@@ -3815,10 +3835,10 @@ declare namespace ll {
3815
3835
  * If the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.
3816
3836
  * If the prim is the root prim, the entire object is rotated to Rotation in the global reference frame.
3817
3837
  */
3818
- export function SetRot(rotation: quaternion): void
3838
+ export function SetRot(rotation: Quaternion): void
3819
3839
 
3820
3840
  /** Sets the prim's scale (size) to Scale. */
3821
- export function SetScale(scale: vector): void
3841
+ export function SetScale(scale: Vector): void
3822
3842
 
3823
3843
  /** Enable or disable the script Running state of Script in the prim. */
3824
3844
  export function SetScriptState(scriptName: string, running: number): void
@@ -3842,7 +3862,7 @@ declare namespace ll {
3842
3862
  export function SetStatus(status: number, value: number): void
3843
3863
 
3844
3864
  /** Causes Text to float above the prim, using the specified Color and Opacity. */
3845
- export function SetText(text: string, color: vector, opacity: number): void
3865
+ export function SetText(text: string, color: Vector, opacity: number): void
3846
3866
 
3847
3867
  /**
3848
3868
  * Applies Texture to Face of prim.
@@ -3873,7 +3893,7 @@ declare namespace ll {
3873
3893
  * Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
3874
3894
  * Only works on physical objects.
3875
3895
  */
3876
- export function SetTorque(torque: vector, local: number): void
3896
+ export function SetTorque(torque: Vector, local: number): void
3877
3897
 
3878
3898
  /** Displays Text in the viewer context menu that acts on a touch. */
3879
3899
  export function SetTouchText(text: string): void
@@ -3894,7 +3914,7 @@ declare namespace ll {
3894
3914
  * Sets a vehicle rotation parameter.
3895
3915
  * Valid parameters can be found in the wiki documentation.
3896
3916
  */
3897
- export function SetVehicleRotationParam(parameterName: number, parameterValue: quaternion): void
3917
+ export function SetVehicleRotationParam(parameterName: number, parameterValue: Quaternion): void
3898
3918
 
3899
3919
  /**
3900
3920
  * Activates the vehicle action on the object with vehicle preset Type.
@@ -3906,13 +3926,13 @@ declare namespace ll {
3906
3926
  * Sets a vehicle vector parameter.
3907
3927
  * Valid parameters can be found in the wiki documentation.
3908
3928
  */
3909
- export function SetVehicleVectorParam(parameterName: number, parameterValue: vector): void
3929
+ export function SetVehicleVectorParam(parameterName: number, parameterValue: Vector): void
3910
3930
 
3911
3931
  /**
3912
3932
  * If the object is physics-enabled, sets the object's linear velocity to Velocity.
3913
3933
  * If Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.
3914
3934
  */
3915
- export function SetVelocity(velocity: vector, local: number): void
3935
+ export function SetVelocity(velocity: Vector, local: number): void
3916
3936
 
3917
3937
  /**
3918
3938
  * Shouts Text on Channel.
@@ -3924,14 +3944,17 @@ declare namespace ll {
3924
3944
  /** Returns the base64-encoded RSA signature of Message using PEM-formatted PrivateKey and digest Algorithm (sha1, sha224, sha256, sha384, sha512). */
3925
3945
  export function SignRSA(privateKey: string, message: string, algorithm: string): string
3926
3946
 
3927
- /** Returns the sine of Theta (Theta in radians). */
3947
+ /**
3948
+ * Returns the sine of Theta (Theta in radians).
3949
+ * @deprecated Use 'math.sin' instead. It's a fastcall.
3950
+ */
3928
3951
  export function Sin(theta: number): number
3929
3952
 
3930
3953
  /** If agent identified by AvatarID is participating in the experience, sit them on the specified link's sit target. */
3931
- export function SitOnLink(avatarId: uuid, linkId: number): number
3954
+ export function SitOnLink(avatarId: UUID, linkId: number): number
3932
3955
 
3933
3956
  /** Set the sit location for this object. If offset == ZERO_VECTOR, clears the sit target. */
3934
- export function SitTarget(offset: vector, rotation: quaternion): void
3957
+ export function SitTarget(offset: Vector, rotation: Quaternion): void
3935
3958
 
3936
3959
  /** Put script to sleep for Time seconds. */
3937
3960
  export function Sleep(time: number): void
@@ -3953,6 +3976,7 @@ declare namespace ll {
3953
3976
  /**
3954
3977
  * Returns the square root of Value.
3955
3978
  * Triggers a math runtime error for imaginary results (if Value < 0.0).
3979
+ * @deprecated Use 'math.sqrt' instead. It's a fastcall.
3956
3980
  */
3957
3981
  export function Sqrt(value: number): number
3958
3982
 
@@ -4028,7 +4052,7 @@ declare namespace ll {
4028
4052
  * Deprecated: Use llSetCameraParams instead.
4029
4053
  * @deprecated Use 'll.SetCameraParams' instead.
4030
4054
  */
4031
- export function TakeCamera(avatarId: uuid): void
4055
+ export function TakeCamera(avatarId: UUID): void
4032
4056
 
4033
4057
  /**
4034
4058
  * Take controls from the agent the script has permissions for.
@@ -4037,20 +4061,23 @@ declare namespace ll {
4037
4061
  */
4038
4062
  export function TakeControls(controls: number, accept: number, passOn: number): void
4039
4063
 
4040
- /** Returns the tangent of Theta (Theta in radians). */
4064
+ /**
4065
+ * Returns the tangent of Theta (Theta in radians).
4066
+ * @deprecated Use 'math.tan' instead. It's a fastcall.
4067
+ */
4041
4068
  export function Tan(theta: number): number
4042
4069
 
4043
4070
  /**
4044
4071
  * This function is to have the script know when it has reached a position.
4045
4072
  * It registers a Position with a Range that triggers at_target and not_at_target events continuously until unregistered.
4046
4073
  */
4047
- export function Target(position: vector, range: number): number
4074
+ export function Target(position: Vector, range: number): number
4048
4075
 
4049
4076
  /**
4050
4077
  * Attempt to spin at SpinRate with strength Gain on Axis.
4051
4078
  * A spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.
4052
4079
  */
4053
- export function TargetOmega(axis: vector, spinRate: number, gain: number): void
4080
+ export function TargetOmega(axis: Vector, spinRate: number, gain: number): void
4054
4081
 
4055
4082
  /** Removes positional target Handle registered with llTarget. */
4056
4083
  export function TargetRemove(target: number): void
@@ -4064,10 +4091,10 @@ declare namespace ll {
4064
4091
  * This function can only teleport the owner of the object.
4065
4092
  */
4066
4093
  export function TeleportAgent(
4067
- avatarId: uuid,
4094
+ avatarId: UUID,
4068
4095
  landmarkName: string,
4069
- position: vector,
4070
- lookAtPoint: vector,
4096
+ position: Vector,
4097
+ lookAtPoint: Vector,
4071
4098
  ): void
4072
4099
 
4073
4100
  /**
@@ -4076,17 +4103,17 @@ declare namespace ll {
4076
4103
  * This function can only teleport the owner of the object.
4077
4104
  */
4078
4105
  export function TeleportAgentGlobalCoords(
4079
- avatarId: uuid,
4080
- globalPosition: vector,
4081
- regionPosition: vector,
4082
- lookAtPoint: vector,
4106
+ avatarId: UUID,
4107
+ globalPosition: Vector,
4108
+ regionPosition: Vector,
4109
+ lookAtPoint: Vector,
4083
4110
  ): void
4084
4111
 
4085
4112
  /** Teleport agent over the owner's land to agent's home location. */
4086
- export function TeleportAgentHome(avatarId: uuid): void
4113
+ export function TeleportAgentHome(avatarId: UUID): void
4087
4114
 
4088
4115
  /** Opens a dialog for the specified avatar with message Text, which contains a text box for input. Any text that is entered is said on the specified Channel (as if by the avatar) when the "OK" button is clicked. */
4089
- export function TextBox(avatarId: uuid, text: string, channel: number): void
4116
+ export function TextBox(avatarId: UUID, text: string, channel: number): void
4090
4117
 
4091
4118
  /** Returns a string that is Text with all lower-case characters. */
4092
4119
  export function ToLower(text: string): string
@@ -4098,10 +4125,10 @@ declare namespace ll {
4098
4125
  * Transfer Amount of linden dollars (L$) from script owner to AvatarID. Returns a key to a corresponding transaction_result event for the success of the transfer.
4099
4126
  * Attempts to send the amount of money to the specified avatar, and trigger a transaction_result event identified by the returned key. Requires the PERMISSION_DEBIT runtime permission.
4100
4127
  */
4101
- export function TransferLindenDollars(avatarId: uuid, amount: number): uuid
4128
+ export function TransferLindenDollars(avatarId: UUID, amount: number): UUID
4102
4129
 
4103
4130
  /** Transfers ownership of an object, or a copy of the object to a new agent. */
4104
- export function TransferOwnership(agentId: uuid, flags: number, params: list): number
4131
+ export function TransferOwnership(agentId: UUID, flags: number, params: list): number
4105
4132
 
4106
4133
  /**
4107
4134
  * Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object.
@@ -4113,10 +4140,10 @@ declare namespace ll {
4113
4140
  * Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object, limited to axis-aligned bounding box defined by vectors top-north-east (TNE) and bottom-south-west (BSW).
4114
4141
  * There is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function.
4115
4142
  */
4116
- export function TriggerSoundLimited(sound: string, volume: number, tne: vector, bsw: vector): void
4143
+ export function TriggerSoundLimited(sound: string, volume: number, tne: Vector, bsw: Vector): void
4117
4144
 
4118
4145
  /** If agent identified by AvatarID is sitting on the object the script is attached to or is over land owned by the object's owner, the agent is forced to stand up. */
4119
- export function UnSit(avatarId: uuid): void
4146
+ export function UnSit(avatarId: UUID): void
4120
4147
 
4121
4148
  /**
4122
4149
  * Returns the string that is the URL unescaped, replacing "%20" with spaces, etc., version of URL.
@@ -4133,16 +4160,16 @@ declare namespace ll {
4133
4160
  value: string,
4134
4161
  checked: number,
4135
4162
  originalValue: string,
4136
- ): uuid
4163
+ ): UUID
4137
4164
 
4138
4165
  /** Returns the distance between Location1 and Location2. */
4139
- export function VecDist(location1: vector, location2: vector): number
4166
+ export function VecDist(location1: Vector, location2: Vector): number
4140
4167
 
4141
4168
  /** Returns the magnitude of the vector. */
4142
- export function VecMag(vector: vector): number
4169
+ export function VecMag(vector: Vector): number
4143
4170
 
4144
4171
  /** Returns normalized vector. */
4145
- export function VecNorm(vector: vector): vector
4172
+ export function VecNorm(vector: Vector): Vector
4146
4173
 
4147
4174
  /** Returns TRUE if PublicKey, Message, and Algorithm produce the same base64-formatted Signature. */
4148
4175
  export function VerifyRSA(
@@ -4163,10 +4190,10 @@ declare namespace ll {
4163
4190
  * Wander within a specified volume.
4164
4191
  * Sets a character to wander about a central spot within a specified area.
4165
4192
  */
4166
- export function WanderWithin(origin: vector, area: vector, options: list): void
4193
+ export function WanderWithin(origin: Vector, area: Vector, options: list): void
4167
4194
 
4168
4195
  /** Returns the water height below the object position + Offset. */
4169
- export function Water(offset: vector): number
4196
+ export function Water(offset: Vector): number
4170
4197
 
4171
4198
  /**
4172
4199
  * Whispers Text on Channel.
@@ -4176,10 +4203,10 @@ declare namespace ll {
4176
4203
  export function Whisper(channel: number, text: string): void
4177
4204
 
4178
4205
  /** Returns the wind velocity at the object position + Offset. */
4179
- export function Wind(offset: vector): vector
4206
+ export function Wind(offset: Vector): Vector
4180
4207
 
4181
4208
  /** Returns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera. Requires the PERMISSION_TRACK_CAMERA runtime permission (else will return zero vector). */
4182
- export function WorldPosToHUD(worldPos: vector): vector
4209
+ export function WorldPosToHUD(worldPos: Vector): Vector
4183
4210
 
4184
4211
  /** Performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1. */
4185
4212
  export function XorBase64(text1: string, text2: string): string
@@ -4201,7 +4228,7 @@ declare namespace ll {
4201
4228
  export function XorBase64StringsCorrect(text1: string, text2: string): string
4202
4229
 
4203
4230
  /** Converts a color from the sRGB to the linear colorspace. */
4204
- export function sRGB2Linear(srgb: vector): vector
4231
+ export function sRGB2Linear(srgb: Vector): Vector
4205
4232
  }
4206
4233
 
4207
4234
  /** Objects in world that are running a script or currently physically moving. */
@@ -4465,7 +4492,7 @@ declare const COMBAT_CHANNEL: number
4465
4492
  * Messages from the region to the COMBAT_CHANNEL will all be from this ID.
4466
4493
  * Scripts may filter llListen calls on this ID to receive only system generated combat log messages.
4467
4494
  */
4468
- declare const COMBAT_LOG_ID: uuid
4495
+ declare const COMBAT_LOG_ID: UUID
4469
4496
  /** "application/atom+xml" */
4470
4497
  declare const CONTENT_TYPE_ATOM: number
4471
4498
  /** "application/x-www-form-urlencoded" */
@@ -4664,17 +4691,17 @@ declare const HTTP_PRAGMA_NO_CACHE: number
4664
4691
  declare const HTTP_USER_AGENT: number
4665
4692
  declare const HTTP_VERBOSE_THROTTLE: number
4666
4693
  declare const HTTP_VERIFY_CERT: number
4667
- declare const IMG_USE_BAKED_AUX1: uuid
4668
- declare const IMG_USE_BAKED_AUX2: uuid
4669
- declare const IMG_USE_BAKED_AUX3: uuid
4670
- declare const IMG_USE_BAKED_EYES: uuid
4671
- declare const IMG_USE_BAKED_HAIR: uuid
4672
- declare const IMG_USE_BAKED_HEAD: uuid
4673
- declare const IMG_USE_BAKED_LEFTARM: uuid
4674
- declare const IMG_USE_BAKED_LEFTLEG: uuid
4675
- declare const IMG_USE_BAKED_LOWER: uuid
4676
- declare const IMG_USE_BAKED_SKIRT: uuid
4677
- declare const IMG_USE_BAKED_UPPER: uuid
4694
+ declare const IMG_USE_BAKED_AUX1: UUID
4695
+ declare const IMG_USE_BAKED_AUX2: UUID
4696
+ declare const IMG_USE_BAKED_AUX3: UUID
4697
+ declare const IMG_USE_BAKED_EYES: UUID
4698
+ declare const IMG_USE_BAKED_HAIR: UUID
4699
+ declare const IMG_USE_BAKED_HEAD: UUID
4700
+ declare const IMG_USE_BAKED_LEFTARM: UUID
4701
+ declare const IMG_USE_BAKED_LEFTLEG: UUID
4702
+ declare const IMG_USE_BAKED_LOWER: UUID
4703
+ declare const IMG_USE_BAKED_SKIRT: UUID
4704
+ declare const IMG_USE_BAKED_UPPER: UUID
4678
4705
  declare const INVENTORY_ALL: number
4679
4706
  declare const INVENTORY_ANIMATION: number
4680
4707
  declare const INVENTORY_BODYPART: number
@@ -4807,7 +4834,7 @@ declare const MASK_OWNER: number
4807
4834
  /** Indicates a notecard read was attempted and the notecard was not yet cached on the server. */
4808
4835
  declare const NAK: string
4809
4836
  declare const NAVIGATE_TO_GOAL_REACHED_DIST: number
4810
- declare const NULL_KEY: uuid
4837
+ declare const NULL_KEY: UUID
4811
4838
  /**
4812
4839
  * Retrieves the account level of an avatar.
4813
4840
  * Returns 0 when the avatar has a basic account,
@@ -5778,14 +5805,14 @@ declare const TERRAIN_PBR_SCALE_1: number
5778
5805
  declare const TERRAIN_PBR_SCALE_2: number
5779
5806
  declare const TERRAIN_PBR_SCALE_3: number
5780
5807
  declare const TERRAIN_PBR_SCALE_4: number
5781
- declare const TEXTURE_BLANK: uuid
5782
- declare const TEXTURE_DEFAULT: uuid
5783
- declare const TEXTURE_MEDIA: uuid
5784
- declare const TEXTURE_PLYWOOD: uuid
5785
- declare const TEXTURE_TRANSPARENT: uuid
5808
+ declare const TEXTURE_BLANK: UUID
5809
+ declare const TEXTURE_DEFAULT: UUID
5810
+ declare const TEXTURE_MEDIA: UUID
5811
+ declare const TEXTURE_PLYWOOD: UUID
5812
+ declare const TEXTURE_TRANSPARENT: UUID
5786
5813
  declare const TOUCH_INVALID_FACE: number
5787
- declare const TOUCH_INVALID_TEXCOORD: vector
5788
- declare const TOUCH_INVALID_VECTOR: vector
5814
+ declare const TOUCH_INVALID_TEXCOORD: Vector
5815
+ declare const TOUCH_INVALID_VECTOR: Vector
5789
5816
  /** Direct teleporting is blocked on this parcel. */
5790
5817
  declare const TP_ROUTING_BLOCKED: number
5791
5818
  /** Teleports are unrestricted on this parcel. */
@@ -6013,5 +6040,5 @@ declare const XP_ERROR_STORE_DISABLED: number
6013
6040
  declare const XP_ERROR_THROTTLED: number
6014
6041
  /** Other unknown error. */
6015
6042
  declare const XP_ERROR_UNKNOWN_ERROR: number
6016
- declare const ZERO_ROTATION: quaternion
6017
- declare const ZERO_VECTOR: vector
6043
+ declare const ZERO_ROTATION: Quaternion
6044
+ declare const ZERO_VECTOR: Vector