Trackmania ManiaScript Reference 2025.6.19.2137
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
Array< ElemType > Struct Template Reference

#include <doc.h>

Public Member Functions

ElemType operator[] (Integer Index)
 
ElemType operator[] (Ident Id)
 
ElemType operator[] (CNod Object)
 
ElemType get (Integer Index)
 
ElemType get (Integer Index, ElemType DefaultValue)
 
ElemType get (Ident Id)
 
ElemType get (Ident Id, ElemType DefaultValue)
 
Array< ElemType > sort ()
 
Array< ElemType > sortreverse ()
 
Void add (ElemType Elem)
 
Void addfirst (ElemType Elem)
 
Boolean remove (ElemType Elem)
 
Boolean exists (ElemType Elem)
 
Integer keyof (ElemType Elem)
 
Void clear ()
 
Boolean containsonly (Array< ElemType > Elem)
 
Boolean containsoneof (Array< ElemType > Elem)
 
Array< ElemType > slice (Integer Index)
 
Array< ElemType > slice (Integer Index, Integer Count)
 

Public Attributes

Integer count
 

Member Function Documentation

◆ add()

template<typename ElemType>
Void Array< ElemType >::add ( ElemType Elem)

◆ addfirst()

template<typename ElemType>
Void Array< ElemType >::addfirst ( ElemType Elem)

◆ clear()

template<typename ElemType>
Void Array< ElemType >::clear ( )

◆ containsoneof()

template<typename ElemType>
Boolean Array< ElemType >::containsoneof ( Array< ElemType > Elem)

◆ containsonly()

template<typename ElemType>
Boolean Array< ElemType >::containsonly ( Array< ElemType > Elem)

◆ exists()

template<typename ElemType>
Boolean Array< ElemType >::exists ( ElemType Elem)

◆ get() [1/4]

template<typename ElemType>
ElemType Array< ElemType >::get ( Ident Id)

◆ get() [2/4]

template<typename ElemType>
ElemType Array< ElemType >::get ( Ident Id,
ElemType DefaultValue )

◆ get() [3/4]

template<typename ElemType>
ElemType Array< ElemType >::get ( Integer Index)

◆ get() [4/4]

template<typename ElemType>
ElemType Array< ElemType >::get ( Integer Index,
ElemType DefaultValue )

◆ keyof()

template<typename ElemType>
Integer Array< ElemType >::keyof ( ElemType Elem)

◆ operator[]() [1/3]

template<typename ElemType>
ElemType Array< ElemType >::operator[] ( CNod Object)

◆ operator[]() [2/3]

template<typename ElemType>
ElemType Array< ElemType >::operator[] ( Ident Id)

◆ operator[]() [3/3]

template<typename ElemType>
ElemType Array< ElemType >::operator[] ( Integer Index)

◆ remove()

template<typename ElemType>
Boolean Array< ElemType >::remove ( ElemType Elem)

◆ slice() [1/2]

template<typename ElemType>
Array< ElemType > Array< ElemType >::slice ( Integer Index)

◆ slice() [2/2]

template<typename ElemType>
Array< ElemType > Array< ElemType >::slice ( Integer Index,
Integer Count )

◆ sort()

template<typename ElemType>
Array< ElemType > Array< ElemType >::sort ( )

◆ sortreverse()

template<typename ElemType>
Array< ElemType > Array< ElemType >::sortreverse ( )

Member Data Documentation

◆ count

template<typename ElemType>
Integer Array< ElemType >::count

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