‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
array_shared.gsc File Reference

Go to the source code of this file.

Functions

function _filter_undefined (val)
 
 for (i=a_keys.size - 1;i >=0;i--)
 
 foreach (key, val in array)
 
function remove_index (array, index, b_keep_keys)
 

Variables

return a_new
 
function filter array
 

Function Documentation

◆ _filter_undefined()

function _filter_undefined ( val  )

Definition at line 61 of file array_shared.gsc.

◆ for()

for ( = a_keys.size - 1; i >= 0; i--)

Definition at line 79 of file array_shared.gsc.

References array, and cleanup().

Referenced by disable(), and enable().

◆ foreach()

foreach ( key  ,
val in  array 
)

Definition at line 19 of file array_shared.gsc.

References a_new, IS_TRUE, and single_func().

◆ remove_index()

function remove_index ( array  ,
index  ,
b_keep_keys   
)

Description:
"Function Name: array::remove_index( <array>, <index>, [b_keep_keys] )"
"Summary: Removes a specified index from an array, returns a new array with the specified index removed." "Module: Array"
"Mandatory Argument(s): <array> : The array we will remove an index from."
"Mandatory Argument(s): <index> : The index we will remove from the array."
"Optional Argument(s): [b_keep_keys] : If true, retain existing keys. If false or undefined, existing keys of original array will be replaced by ints."
"Example:a_new = array::remove_index( array, 3 );"
"Single Player / Multi Player: both"

Definition at line 119 of file array_shared.gsc.

References a_new, array, and IS_TRUE.

Variable Documentation

◆ a_new

return a_new

Definition at line 50 of file array_shared.gsc.

Referenced by foreach(), and remove_index().

◆ array

function get_touching array
Initial value:
{
‪a_new = []

Description:

Definition at line 16 of file array_shared.gsc.

Referenced by for(), and remove_index().

‪a_new
‪return a_new
Definition: array_shared.gsc:50