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

Cached dungeon data for efficient access. More...

#include <agent_context.h>

Public Member Functions

bool IsValid () const
 
void Invalidate ()
 

Public Attributes

int current_room_id = -1
 
std::vector< int > visited_rooms
 
std::map< int, std::string > room_descriptions
 
std::chrono::system_clock::time_point last_updated
 

Detailed Description

Cached dungeon data for efficient access.

Definition at line 51 of file agent_context.h.

Member Function Documentation

◆ IsValid()

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

Definition at line 57 of file agent_context.h.

References last_updated.

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

◆ Invalidate()

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

Member Data Documentation

◆ current_room_id

int yaze::cli::agent::DungeonCache::current_room_id = -1

Definition at line 52 of file agent_context.h.

Referenced by Invalidate().

◆ visited_rooms

std::vector<int> yaze::cli::agent::DungeonCache::visited_rooms

Definition at line 53 of file agent_context.h.

Referenced by Invalidate().

◆ room_descriptions

std::map<int, std::string> yaze::cli::agent::DungeonCache::room_descriptions

Definition at line 54 of file agent_context.h.

Referenced by Invalidate().

◆ last_updated

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

Definition at line 55 of file agent_context.h.

Referenced by IsValid().


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