JArray
- Found in:
- JContainers
Inheritance Tree
No indexed scripts extend this script.
Properties
Events
Functions
- Found in:
- JContainers
creates new container object. returns container's identifier (unique integer number).
- Found in:
- JContainers
Creates a new array of given size, filled with empty (None) items
- Found in:
- JContainers
Creates a new array that contains given values
objectWithBooleans converts booleans into integers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Creates a new array containing all the values from the source array in range [startIndex, endIndex)
- Found in:
- JContainers
Inserts the values from the source array into this array. If insertAtIndex is -1 (default behaviour) it appends to the end.
negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
- Found in:
- JContainers
Returns the item at the index of the array.
negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Copy all items to new native Papyrus array of dynamic size.
Items not matching the requested type will have default
values as the ones from the getInt/Flt/Str/Form functions.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns the index of the first found value/container that equals to given the value/container (default behaviour if searchStartIndex is 0).
If nothing was found it returns -1.
@searchStartIndex - index of the array where to start search
negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns the number of times given value was found in a JArray.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Replaces existing value at the @index of the array with the new @value.
negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Appends the @value/@container to the end of the array.
If @addToIndex >= 0 it inserts value at given index. negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns count of the items in the array
- Found in:
- JContainers
Removes all the items from the array
- Found in:
- JContainers
Erases the item at the index. negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
Erases [first, last] index range of the items. negative index accesses items from the end of container counting backwards.
For ex. with [1,-1] range it will erase everything except the first item
- Found in:
- JContainers
Erase all elements of given value. Returns the number of erased elements.
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
Returns type of the value at the @index. negative index accesses items from the end of container counting backwards.
0 - no value, 1 - none, 2 - int, 3 - float, 4 - form, 5 - object, 6 - string
- Found in:
- JContainers
Exchanges the items at @index1 and @index2. negative index accesses items from the end of container counting backwards.
- Found in:
- JContainers
Sorts the items into ascending order (none < int < float < form < object < string). Returns the array itself
- Found in:
- JContainers
Sorts the items, removes duplicates. Returns array itself. You can treat it as JSet now
- Found in:
- JContainers
Reverse the order of elements. Returns the array itself.
- Found in:
- JContainers
Writes the array's items into the @targetArray array starting at @destIndex
@writeAtIdx - [-1, 0] - writes all the items in reverse order
[0, -1] - writes all the items in straight order
[1, 3] - writes 3 items in straight order
- Found in:
- JContainers
- Found in:
- JContainers
- Found in:
- JContainers
