GearLoader 1.1.0
Mod loader for GGXXACPR
Loading...
Searching...
No Matches
BaseMod::CharDataApi Class Reference
Inheritance diagram for BaseMod::CharDataApi:
BaseMod::ApiWrapper< BaseMod_CharDataApi >

Public Member Functions

uint16_t * GetPushboxDimensionArray (PushboxDimensionArrayType type)
 Returns a pointer to the push box array specified by the type parameter.
int16_t * GetPushboxAirborneOffsetArray (ggxxacpr::GameVersion gameVer)
 Returns a pointer to the game's airborne pushbox offset array.
int16_t * GetThrowRangeArray (ThrowRangeArrayType type)
 Returns a pointer to the throw range array specified by the type parameter.
uint16_t * GetCommandGrabRangeArray ()
 Returns a pointer to the command throw range array.
Public Member Functions inherited from BaseMod::ApiWrapper< BaseMod_CharDataApi >
bool VersionError ()
bool IsValid ()
const BaseMod_CharDataApiGetCApi ()

Additional Inherited Members

Protected Attributes inherited from BaseMod::ApiWrapper< BaseMod_CharDataApi >
const BaseMod_CharDataApi_ref

Member Function Documentation

◆ GetCommandGrabRangeArray()

uint16_t * BaseMod::CharDataApi::GetCommandGrabRangeArray ( )
inline

Returns a pointer to the command throw range array.

This array is indexed with a command grab id.

294 {
295 return _ref->GetCommandGrabRangeArray();
296 }

◆ GetPushboxAirborneOffsetArray()

int16_t * BaseMod::CharDataApi::GetPushboxAirborneOffsetArray ( ggxxacpr::GameVersion gameVer)
inline

Returns a pointer to the game's airborne pushbox offset array.

These values are subtracted from the player's y position when calculating airborne pushbox collisions. There are different arrays for Accent Core vs Plus R. Each array is indexed with a ggxxacpr::EntityId value as returned by ggxxacpr::Player::id.

Parameters
gameVerWhich version of array to get
276 {
277 return _ref->GetPushboxAirborneOffsetArray(static_cast<int32_t>(gameVer));
278 }

◆ GetPushboxDimensionArray()

uint16_t * BaseMod::CharDataApi::GetPushboxDimensionArray ( PushboxDimensionArrayType type)
inline

Returns a pointer to the push box array specified by the type parameter.

These arrays are all indexed with an ggxxacpr::EntityId value as returned by ggxxacpr::Player::id.

Parameters
typeThe type of array to get
264 {
265 return _ref->GetPushboxDimensionArray(static_cast<int32_t>(type));
266 }

◆ GetThrowRangeArray()

int16_t * BaseMod::CharDataApi::GetThrowRangeArray ( ThrowRangeArrayType type)
inline

Returns a pointer to the throw range array specified by the type parameter.

These arrays are all indexed with an ggxxacpr::EntityId value as returned by ggxxacpr::Player::id.

Parameters
typeThe type of array to get
286 {
287 return _ref->GetThrowRangeArray(static_cast<int32_t>(type));
288 }

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