yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::agent::OverworldCache Struct Reference

Cached overworld data for efficient access. More...

#include <agent_context.h>

Public Member Functions

bool IsValid () const
 
void Invalidate ()
 

Public Attributes

int current_map_id = -1
 
std::vector< int > visited_maps
 
std::map< int, std::string > map_descriptions
 
std::chrono::system_clock::time_point last_updated
 

Detailed Description

Cached overworld data for efficient access.

Definition at line 72 of file agent_context.h.

Member Function Documentation

◆ IsValid()

bool yaze::cli::agent::OverworldCache::IsValid ( ) const
inline

Definition at line 78 of file agent_context.h.

References last_updated.

Referenced by yaze::cli::agent::AgentContext::GenerateSummary().

◆ Invalidate()

void yaze::cli::agent::OverworldCache::Invalidate ( )
inline

Member Data Documentation

◆ current_map_id

int yaze::cli::agent::OverworldCache::current_map_id = -1

Definition at line 73 of file agent_context.h.

Referenced by Invalidate().

◆ visited_maps

std::vector<int> yaze::cli::agent::OverworldCache::visited_maps

Definition at line 74 of file agent_context.h.

Referenced by Invalidate().

◆ map_descriptions

std::map<int, std::string> yaze::cli::agent::OverworldCache::map_descriptions

Definition at line 75 of file agent_context.h.

Referenced by Invalidate().

◆ last_updated

std::chrono::system_clock::time_point yaze::cli::agent::OverworldCache::last_updated

Definition at line 76 of file agent_context.h.

Referenced by IsValid().


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