1#ifndef YAZE_APP_EMU_DEBUG_SEMANTIC_INTROSPECTION_H
2#define YAZE_APP_EMU_DEBUG_SEMANTIC_INTROSPECTION_H
8#include "absl/status/statusor.h"
Engine for extracting semantic game state from SNES memory.
std::string GetPlayerDirectionName(uint8_t direction)
absl::StatusOr< LocationContext > GetLocationContext()
Get the current location context.
std::string GetPlayerStateName(uint8_t state)
std::string GetDungeonRoomName(uint16_t room)
absl::StatusOr< GameModeState > GetGameModeState()
Get the current game mode state.
SemanticIntrospectionEngine(Memory *memory)
Construct a new Semantic Introspection Engine.
absl::StatusOr< std::string > GetStateAsJson()
Get the semantic state as JSON string.
absl::StatusOr< SemanticGameState > GetSemanticState()
Get the complete semantic game state.
absl::StatusOr< PlayerState > GetPlayerState()
Get only the player state.
absl::StatusOr< std::vector< SpriteState > > GetSpriteStates()
Get all active sprite states.
std::string GetGameModeName(uint8_t mode, uint8_t submodule)
std::string GetSpriteTypeName(uint8_t type)
std::string GetOverworldAreaName(uint8_t area)
std::string GetSpriteStateName(uint8_t state)
~SemanticIntrospectionEngine()=default
constexpr uint32_t kSpriteYHigh
constexpr uint32_t kSpriteType
constexpr uint32_t kGameMode
constexpr uint32_t kSpriteYLow
constexpr uint32_t kLinkDirection
constexpr uint32_t kLinkLayer
constexpr uint32_t kLinkHealth
constexpr uint32_t kSpriteXLow
constexpr uint32_t kOverworldArea
constexpr uint32_t kSpriteState
constexpr uint32_t kLinkYHigh
constexpr uint32_t kDungeonRoomHigh
constexpr uint32_t kDungeonRoomLow
constexpr uint32_t kLinkXHigh
constexpr uint32_t kFrameCounter
constexpr uint32_t kLinkState
constexpr uint32_t kIndoorFlag
constexpr uint32_t kLinkYLow
constexpr uint32_t kDungeonRoom
constexpr uint32_t kSubmodule
constexpr uint32_t kLinkXLow
constexpr uint32_t kSpriteXHigh
constexpr uint32_t kLinkMaxHealth
Frame timing information.
Semantic representation of the game mode.
Semantic representation of the current location.
Semantic representation of the player state.
std::string direction_name
Complete semantic game state.
std::vector< SpriteState > sprites
Semantic representation of a sprite entity.