cPy.cList module#
- class cList_int[source]#
Bases:
object- Move(from_idx: int, to_idx: int) bool[source]#
- Moves an element within the list from one index to another.
- uGet(Index: int, defvalue: int) int[source]#
- Unlimited get - get value at index Index, if beyoud range - return defvalue
- uSet(Index: int, value: int, defvalue: int)[source]#
- Unlimited set - set value at index Index, if beyoud range - add correcsponding count of defvalue-s
- Add(Value: int, Count: int = 1) int[source]#
- Adds “Count” elements to the end of the list.
- Returns:
The index of the first added element.
- Return type:
int
- ExpandTo(Index: int, _1: int) int[source]#
- Ensures list is large enough for Index, then sets the value.
- class cList_float[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_double[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_DWORD[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_char[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_cVec2[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_cVec3[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_cVec4[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_cMat3[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_cMat4[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_tri_DWORD[source]#
Bases:
objectArray class. See
cList_intfor full documentation.
- class cList_cStr[source]#
Bases:
objectArray class. See
cList_intfor full documentation.