agl::utl::ResParameterList struct

Public types

class ListIterator
class ObjIterator

Constructors, destructors, conversion operators

operator bool() const explicit

Public functions

auto listBegin() const -> ListIterator
auto listEnd() const -> ListIterator
auto objBegin() const -> ObjIterator
auto objEnd() const -> ObjIterator
auto ptr() const -> ResParameterListData*
auto ptrBytes() const -> u8*
auto getParameterListNameHash() const -> u32
auto getResParameterListNum() const -> s32
auto getResParameterObjNum() const -> s32
auto getResParameterList(s32 index) const -> ResParameterList
Get a parameter list by index. The index must be valid.
auto getResParameterList(s32 index, u32 offset) const -> ResParameterList
auto getResParameterObj(s32 index) const -> ResParameterObj
Get a parameter object by index. The index must be valid.
auto getResParameterObj(s32 index, u32 offset) const -> ResParameterObj
auto searchListIndex(u32 list_hash) const -> s32
auto searchObjIndex(u32 obj_hash) const -> s32
void dump(s32, const sead::TreeMap<u32, const char*>* name_table) const

Public variables

ResParameterListData* mPtr

Function documentation

s32 agl::utl::ResParameterList::searchListIndex(u32 list_hash) const

Returns the index of the specified list, or -1 if not found.

s32 agl::utl::ResParameterList::searchObjIndex(u32 obj_hash) const

Returns the index of the specified object, or -1 if not found.