A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
System::MapdataAreaAccessor Class Reference

Description

Definition at line 103 of file MapdataArea.hh.

Inheritance diagram for System::MapdataAreaAccessor:

Public Member Functions

 MapdataAreaAccessor (const MapSectionHeader *header)
 
void init (const MapdataAreaBase::SData *start, u16 count)
 
void sort ()
 
MapdataAreaBasegetSorted (u16 i) const
 
- Public Member Functions inherited from System::MapdataAccessorBase< MapdataAreaBase, MapdataAreaBase::SData >
 MapdataAccessorBase (const MapSectionHeader *header)
 
 MapdataAccessorBase (const MapdataAccessorBase &)=delete
 
 MapdataAccessorBase (MapdataAccessorBase &&)=delete
 
MapdataAreaBaseget (u16 i) const
 
MapdataAreaBase::SDatagetData (u16 i) const
 
u16 size () const
 
void init (const MapdataAreaBase::SData *start, u16 count)
 

Private Attributes

std::span< MapdataAreaBase * > m_sortedEntries
 

Additional Inherited Members

- Protected Attributes inherited from System::MapdataAccessorBase< MapdataAreaBase, MapdataAreaBase::SData >
MapdataAreaBase ** m_entries
 
u16 m_entryCount
 
const MapSectionHeaderm_sectionHeader
 

Constructor & Destructor Documentation

◆ MapdataAreaAccessor()

System::MapdataAreaAccessor::MapdataAreaAccessor ( const MapSectionHeader * header)
0x80515E50

Definition at line 125 of file MapdataArea.cc.

◆ ~MapdataAreaAccessor()

System::MapdataAreaAccessor::~MapdataAreaAccessor ( )
override0x80518BDC

Definition at line 135 of file MapdataArea.cc.

Member Function Documentation

◆ getSorted()

MapdataAreaBase * System::MapdataAreaAccessor::getSorted ( u16 i) const
inlinenodiscard

Definition at line 111 of file MapdataArea.hh.

◆ init()

void System::MapdataAreaAccessor::init ( const MapdataAreaBase::SData * start,
u16 count )

Definition at line 139 of file MapdataArea.cc.

◆ sort()

void System::MapdataAreaAccessor::sort ( )
0x80515F8C

Definition at line 171 of file MapdataArea.cc.

Member Data Documentation

◆ m_sortedEntries

std::span<MapdataAreaBase *> System::MapdataAreaAccessor::m_sortedEntries
private

Definition at line 117 of file MapdataArea.hh.