Background for Skyrim SE

JIntMap


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
intfunctionobject()NativeGlobal

creates new container object. returns container's identifier (unique integer number).

intfunctiongetInt(intobject, intkey, intdefault=0)NativeGlobal

Returns the value associated with the @key. If not, returns @default value

floatfunctiongetFlt(intobject, intkey, floatdefault=0.0)NativeGlobal
stringfunctiongetStr(intobject, intkey, stringdefault="")NativeGlobal
intfunctiongetObj(intobject, intkey, intdefault=0)NativeGlobal
FormfunctiongetForm(intobject, intkey, Formdefault=NONE)NativeGlobal
voidfunctionsetInt(intobject, intkey, intvalue)NativeGlobal

Inserts @key: @value pair. Replaces existing pair with the same @key

voidfunctionsetFlt(intobject, intkey, floatvalue)NativeGlobal
voidfunctionsetStr(intobject, intkey, stringvalue)NativeGlobal
voidfunctionsetObj(intobject, intkey, intcontainer)NativeGlobal
voidfunctionsetForm(intobject, intkey, Formvalue)NativeGlobal
boolfunctionhasKey(intobject, intkey)NativeGlobal

Returns true, if the container has @key: value pair

intfunctionvalueType(intobject, intkey)NativeGlobal

Returns type of the value associated with the @key.
0 - no value, 1 - none, 2 - int, 3 - float, 4 - form, 5 - object, 6 - string

intfunctionallKeys(intobject)NativeGlobal

Returns a new array containing all keys

int[]functionallKeysPArray(intobject)NativeGlobal
intfunctionallValues(intobject)NativeGlobal

Returns a new array containing all values

boolfunctionremoveKey(intobject, intkey)NativeGlobal

Removes the pair from the container where the key equals to the @key

intfunctioncount(intobject)NativeGlobal

Returns count of pairs in the conainer

voidfunctionclear(intobject)NativeGlobal

Removes all pairs from the container

voidfunctionaddPairs(intobject, intsource, booloverrideDuplicates)NativeGlobal

Inserts key-value pairs from the source container

intfunctionnextKey(intobject, intpreviousKey=0, intendKey=0)NativeGlobal

[DEV SERVER] Loading description...

intfunctiongetNthKey(intobject, intkeyIndex)NativeGlobal

Retrieves N-th key. negative index accesses items from the end of container counting backwards.
Worst complexity is O(n/2)

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.