|
|
CharDataApi | CharacterData |
| | API for accessing static character data.
|
◆ GameDataApi() [1/2]
| BaseMod::GameDataApi::GameDataApi |
( |
| ) |
|
|
inline |
301 :
302 ApiWrapper(),
CharDataApi CharacterData
API for accessing static character data.
Definition baseMod.hpp:311
◆ GameDataApi() [2/2]
304 :
305 ApiWrapper(ref),
const struct BaseMod_CharDataApi * CharacterData
API for accessing static character data.
Definition baseMod_c.h:275
◆ GetCamera()
Gets camera data.
337 {
338 return _ref->GetCamera();
339 }
◆ GetD3D9Device()
| void * BaseMod::GameDataApi::GetD3D9Device |
( |
| ) |
|
|
inline |
Returns the D3D9 device pointer.
Include d3d9.h and cast to IDirect3DDevice9 to use. This is a borrowed pointer. Do not call Release().
366{ return _ref->GetD3D9Device(); }
◆ GetGameModeFeatureFlags()
| ggxxacpr::GameModeFeatureFlags BaseMod::GameDataApi::GetGameModeFeatureFlags |
( |
| ) |
|
|
inline |
Returns the current game mode feature flags.
352{ return static_cast<ggxxacpr::GameModeFeatureFlags>(_ref->GetGameModeFeatureFlags()); }
◆ GetGameVersion()
| ggxxacpr::GameVersion BaseMod::GameDataApi::GetGameVersion |
( |
| ) |
|
|
inline |
Gets the current game version.
AC or AC+R as selected from the "Main Menu > help & options > Game Settings > "Version" setting.
372{ return static_cast<ggxxacpr::GameVersion>(_ref->GetGameVersion()); }
◆ GetGlobalThrowFlags()
| uint32_t BaseMod::GameDataApi::GetGlobalThrowFlags |
( |
| ) |
|
|
inline |
Gets raw throw detection info.
391{ return _ref->GetGlobalThrowFlags(); }
◆ GetJobMode()
| ggxxacpr::JobMode BaseMod::GameDataApi::GetJobMode |
( |
| ) |
|
|
inline |
Returns the current job mode, see enum GGXXACPR_JobMode. This variable determines what scene the game is set to such as "TitleScreen", "Battle", "MissionMenu".
348{ return static_cast<ggxxacpr::JobMode>(_ref->GetJobMode()); }
◆ GetLocaleState()
Gets a pointer to the game's locale state. see GGXXACPR_LocaleState.
407{ return _ref->GetLocaleState(); }
◆ GetMainMenuSelection()
| ggxxacpr::MenuItem BaseMod::GameDataApi::GetMainMenuSelection |
( |
| ) |
|
|
inline |
Returns the item selected from the main menu.
This value defaults to MAIN_MENU_ITEM_ARCADE and is set when selecting an option on the main menu.
359{ return static_cast<ggxxacpr::MenuItem>(_ref->GetMainMenuSelection()); }
◆ GetPauseDisplayState()
| int32_t BaseMod::GameDataApi::GetPauseDisplayState |
( |
| ) |
|
|
inline |
Returns the pause display state.
The pause menu should be drawn if this function returns a non-zero value.
403{ return *_ref->GetPauseDisplayState(); }
◆ GetPauseState()
| int32_t BaseMod::GameDataApi::GetPauseState |
( |
| ) |
|
|
inline |
Returns the pause state.
The game is paused if this value is non zero. In training mode, this variable transitions from 0 to 1 to 2 when pausing.
397{ return *_ref->GetPauseState(); }
◆ GetPlayer()
Gets player data.
Player entities are not initialized until the first time the battle screen loads. Invalid ggxxacpr::Player views may be returned by this function. Check their validity with ggxxacpr::Player::IsValid().
- Parameters
-
| playerIndex | 0 for P1, 1 for P2 |
- Returns
- A view on the player data.
323 {
324 return _ref->GetPlayer(playerIndex);
325 }
◆ GetPlayerInputStructArr()
Gets a pointer to the player input struct array. See GGXXACPR_PlayerInput.
The array returned is size 2, first entry is player 1's input and second is player 2's.
- Returns
- A pointer to the player input struct array.
333{ return _ref->GetPlayerInputStructArr(); }
◆ GetRootEntity()
Returns a pointer to the root entity.
This entity is the root node of the entity linked list. Iterate through it using ggxxacpr::Entity::next and ggxxacpr::Entity::prev.
387{ return ggxxacpr::Entity(_ref->GetRootEntity()); }
◆ GetViewHeight()
| uint32_t BaseMod::GameDataApi::GetViewHeight |
( |
| ) |
|
|
inline |
Returns the current view height.
380{ return _ref->GetViewHeight(); }
◆ GetViewWidth()
| uint32_t BaseMod::GameDataApi::GetViewWidth |
( |
| ) |
|
|
inline |
Returns the current view width.
376{ return _ref->GetViewWidth(); }
◆ IsInGame()
| bool BaseMod::GameDataApi::IsInGame |
( |
| ) |
|
|
inline |
returns a non-zero value if the game is on the battle screen.
343{ return _ref->IsInGame() > 0; }
The documentation for this class was generated from the following file: