Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
array< Class T > Class Reference

Protected Member Functions

void AddElement (int index, Widget parent, Input input)
void AddSubgroup (int sort_index, Widget parent, Input input)
void Apply ()
void CancelEnteringAlternateKeybind ()
void CancelEnteringKeybind ()
void ClearAlternativeKeybind (int key_index)
void ClearKeybind (int key_index)
void CreateSubgroups (Widget parent, Input input)
string GetLayoutName ()
bool IsChanged ()
 is anything changed?
bool IsEnteringKeyBind ()
void KeybindingsContainer (int index, Input input, Widget parent, KeybindingsMenu menu)
void OnSelectKBPreset (int index)
void ReloadElements ()
void Reset (bool forced=false)
void StartEnteringAlternateKeybind (int key_index)
void StartEnteringKeybind (int key_index)
void SwitchSubgroup (int index)
void Update (float timeslice)

Protected Attributes

int m_CurrentSettingAlternateKeyIndex
int m_CurrentSettingKeyIndex
ref map< int, ref ElementArray > m_KeyWidgetElements
KeybindingsMenu m_Menu
Widget m_Root
ScrollWidget m_Scroll
ref array< Widgetm_Subgroups
const int NO_SORTING

Private Member Functions

void ~ParticleProperties ()
 dtor
proto native void Clear ()
 Destroyes all elements of the array and sets the Count to 0.
proto int Copy (notnull array< T > from)
 Copes contents of from array to this array.
proto native int Count ()
 O(1) complexity.
void Debug ()
 Print all elements in array.
int DifferentAtPosition (array< T > pOtherArray)
 Returns an index where 2 arrays start to differ from each other.
proto int Find (T value)
 Tries to find the first occurance of given value in the array.
proto T Get (int n)
GetRandomElement ()
 Returns a random element of array.
int GetRandomIndex ()
 Returns a random index of array.
string GetTest ()
string GetTestEx ()
proto int Init (T init[])
proto int Insert (T value)
 Inserts element at the end of array.
void InsertAll (notnull array< T > from)
 Inserts all elements from array.
void InsertArray (array< T > other)
proto int InsertAt (T value, int index)
 Inserts element at certain position and moves all elements behind this position by one.
void Invert ()
bool IsValidIndex (int index)
int MoveIndex (int curr_index, int move_number)
 Returns a index in array moved by specific number.
void ParticleProperties (vector localPos, int flags, Object parent=null, vector localOri=vector.Zero, Class owner=null)
 Constructor (ctor).
proto native void Remove (int index)
 Removes element from array.
void RemoveItem (T value)
void RemoveItemUnOrdered (T value)
proto native void RemoveOrdered (int index)
 Removes element from array, but retain all elements ordered.
proto native void Reserve (int newSize)
 Resizes the array to given size internally.
proto native void Resize (int newSize)
 Resizes the array to given size.
TFResult Run (float dt)
proto void Set (int n, T value)
 Sets n-th element to given value.
void ShuffleArray ()
proto native void Sort (bool reverse=false)
 Sorts elements of array, depends on underlaying type.
proto native void Swap (notnull array< T > other)
 Swaps the contents of this and other arrays.
void SwapItems (int item1_index, int item2_index)
void TFCaller (Class instance, string test, TFResult result)
Data access

Methods to retrieve the data in script

proto Object GetParent ()
proto Class GetOwner ()
proto vector GetLocalPos ()
proto vector GetLocalOri ()
proto int GetPPFlags ()
proto bool IsPlayOnCreation ()
proto bool IsForceWorldRotation ()
proto bool IsKeepParentOnEnd ()

Private Attributes

ref ComponentInfoArray componentInfo
 Either the first component found or all of them depending on "fullComponentInfo".
int geomLevel
 What geometry was the object found in (will either be primaryType or secondaryType).
int hierLevel
 How deep in the proxy hierarchy are we.
Class m_Instance
ref TFResult m_Result
string m_Test
Object obj
 Object inside of box.
Object parent
 Parent of proxy object.
ref ProxyInfoArray proxyInfo
 Either the first proxy found or all of them depending on "fullComponentInfo".

Detailed Description

Definition at line 374 of file enscript.c.

Constructor & Destructor Documentation

◆ ~ParticleProperties()

void ~ParticleProperties ( )
inlineprivate

dtor

Definition at line 83 of file particlesource.c.

Member Function Documentation

◆ AddElement()

void AddElement ( int index,
Widget parent,
Input input )
inlineprotected

Definition at line 100 of file keybindingscontainer.c.

◆ AddSubgroup()

void AddSubgroup ( int sort_index,
Widget parent,
Input input )
inlineprotected

Definition at line 55 of file keybindingscontainer.c.

◆ Apply()

void Apply ( )
inlineprotected

Definition at line 182 of file keybindingscontainer.c.

◆ CancelEnteringAlternateKeybind()

void CancelEnteringAlternateKeybind ( )
inlineprotected

Definition at line 154 of file keybindingscontainer.c.

◆ CancelEnteringKeybind()

void CancelEnteringKeybind ( )
inlineprotected

Definition at line 135 of file keybindingscontainer.c.

◆ ClearAlternativeKeybind()

void ClearAlternativeKeybind ( int key_index)
inlineprotected

Definition at line 123 of file keybindingscontainer.c.

◆ ClearKeybind()

void ClearKeybind ( int key_index)
inlineprotected

Definition at line 118 of file keybindingscontainer.c.

◆ CreateSubgroups()

void CreateSubgroups ( Widget parent,
Input input )
inlineprotected

Definition at line 80 of file keybindingscontainer.c.

◆ GetLayoutName()

string GetLayoutName ( )
inlineprotected

Definition at line 31 of file keybindingscontainer.c.

◆ GetLocalOri()

proto vector GetLocalOri ( )
private

◆ GetLocalPos()

proto vector GetLocalPos ( )
private

◆ GetOwner()

proto Class GetOwner ( )
private

◆ GetParent()

proto Object GetParent ( )
private

◆ GetPPFlags()

proto int GetPPFlags ( )
private

◆ GetTest()

string GetTest ( )
inlineprivate

Definition at line 70 of file testframework.c.

◆ GetTestEx()

string GetTestEx ( )
inlineprivate

Definition at line 75 of file testframework.c.

◆ IsChanged()

bool IsChanged ( )
inlineprotected

is anything changed?

Definition at line 167 of file keybindingscontainer.c.

◆ IsEnteringKeyBind()

bool IsEnteringKeyBind ( )
inlineprotected

Definition at line 113 of file keybindingscontainer.c.

◆ IsForceWorldRotation()

proto bool IsForceWorldRotation ( )
private

◆ IsKeepParentOnEnd()

proto bool IsKeepParentOnEnd ( )
private

◆ IsPlayOnCreation()

proto bool IsPlayOnCreation ( )
private

◆ KeybindingsContainer()

void KeybindingsContainer ( int index,
Input input,
Widget parent,
KeybindingsMenu menu )
inlineprotected

Definition at line 15 of file keybindingscontainer.c.

◆ OnSelectKBPreset()

void OnSelectKBPreset ( int index)
inlineprotected

Definition at line 36 of file keybindingscontainer.c.

◆ ParticleProperties()

void ParticleProperties ( vector localPos,
int flags,
Object parent = null,
vector localOri = vector.Zero,
Class owner = null )
inlineprivate

Constructor (ctor).

Parameters
localPosvector Local position of particle, if no parent this is world position
flagsint See ParticlePropertiesFlags
parentObject The parent that the ParticleSource will be added to as a child
localOrivector Local orientation of particle, if no parent this is world orientation
ownerClass The owning instance for this particle, as long as it exists, this particle will not be reused (unless flagged) Important when for example virtual is enabled since if the particle owner has been deleted, the virtual should not be converted Only fill in owner if necessary, for example when the owner is reusing the same particle after storing it

Definition at line 78 of file particlesource.c.

◆ ReloadElements()

void ReloadElements ( )
inlineprotected

Definition at line 44 of file keybindingscontainer.c.

◆ Reset()

void Reset ( bool forced = false)
inlineprotected

Definition at line 236 of file keybindingscontainer.c.

◆ Run()

TFResult Run ( float dt)
inlineprivate

Definition at line 58 of file testframework.c.

◆ StartEnteringAlternateKeybind()

void StartEnteringAlternateKeybind ( int key_index)
inlineprotected

Definition at line 147 of file keybindingscontainer.c.

◆ StartEnteringKeybind()

void StartEnteringKeybind ( int key_index)
inlineprotected

Definition at line 128 of file keybindingscontainer.c.

◆ SwitchSubgroup()

void SwitchSubgroup ( int index)
inlineprotected

Definition at line 295 of file keybindingscontainer.c.

◆ TFCaller()

void TFCaller ( Class instance,
string test,
TFResult result )
inlineprivate

Definition at line 51 of file testframework.c.

◆ Update()

void Update ( float timeslice)
inlineprotected

Definition at line 250 of file keybindingscontainer.c.

Field Documentation

◆ componentInfo

ref ComponentInfoArray componentInfo
private

Either the first component found or all of them depending on "fullComponentInfo".

Definition at line 35 of file isboxcollidinggeometryproxyclasses.c.

◆ geomLevel

int geomLevel
private

What geometry was the object found in (will either be primaryType or secondaryType).

Definition at line 33 of file isboxcollidinggeometryproxyclasses.c.

◆ hierLevel

int hierLevel
private

How deep in the proxy hierarchy are we.

Definition at line 32 of file isboxcollidinggeometryproxyclasses.c.

◆ m_CurrentSettingAlternateKeyIndex

int m_CurrentSettingAlternateKeyIndex
protected

Definition at line 11 of file keybindingscontainer.c.

◆ m_CurrentSettingKeyIndex

int m_CurrentSettingKeyIndex
protected

Definition at line 10 of file keybindingscontainer.c.

◆ m_Instance

Class m_Instance
private

Definition at line 47 of file testframework.c.

◆ m_KeyWidgetElements

ref map<int, ref ElementArray> m_KeyWidgetElements
protected

Definition at line 9 of file keybindingscontainer.c.

◆ m_Menu

KeybindingsMenu m_Menu
protected

Definition at line 6 of file keybindingscontainer.c.

◆ m_Result

ref TFResult m_Result
private

Definition at line 49 of file testframework.c.

◆ m_Root

Widget m_Root
protected

Definition at line 5 of file keybindingscontainer.c.

◆ m_Scroll

ScrollWidget m_Scroll
protected

Definition at line 7 of file keybindingscontainer.c.

◆ m_Subgroups

ref array<Widget> m_Subgroups
protected

Definition at line 13 of file keybindingscontainer.c.

◆ m_Test

string m_Test
private

Definition at line 48 of file testframework.c.

◆ NO_SORTING

const int NO_SORTING
protected

Definition at line 4 of file keybindingscontainer.c.

◆ obj

Object obj
private

Object inside of box.

Definition at line 29 of file isboxcollidinggeometryproxyclasses.c.

◆ parent

Object parent
private

Parent of proxy object.

Definition at line 30 of file isboxcollidinggeometryproxyclasses.c.

◆ proxyInfo

ref ProxyInfoArray proxyInfo
private

Either the first proxy found or all of them depending on "fullComponentInfo".

Definition at line 36 of file isboxcollidinggeometryproxyclasses.c.


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