yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::RoomLinkFactsCache Class Reference

#include <room_links.h>

Collaboration diagram for yaze::zelda3::RoomLinkFactsCache:

Public Member Functions

 RoomLinkFactsCache (Rom *rom)
 
 ~RoomLinkFactsCache ()
 
 RoomLinkFactsCache (const RoomLinkFactsCache &)=delete
 
RoomLinkFactsCache & operator= (const RoomLinkFactsCache &)=delete
 
const RoomLinkFacts * Get (int room_id)
 
RoomLinkFactsLookup AsLookup ()
 
const absl::Status & status () const
 

Private Attributes

Rom * rom_
 
std::unique_ptr< PitDamageTable > pit_table_
 
std::vector< std::optional< RoomLinkFacts > > facts_
 
absl::Status status_
 

Detailed Description

Definition at line 201 of file room_links.h.

Constructor & Destructor Documentation

◆ RoomLinkFactsCache() [1/2]

yaze::zelda3::RoomLinkFactsCache::RoomLinkFactsCache ( Rom * rom)
explicit

Definition at line 686 of file room_links.cc.

References yaze::Rom::is_loaded(), yaze::zelda3::PitDamageTable::LoadFromRom(), pit_table_, and rom_.

Here is the call graph for this function:

◆ ~RoomLinkFactsCache()

yaze::zelda3::RoomLinkFactsCache::~RoomLinkFactsCache ( )
default

◆ RoomLinkFactsCache() [2/2]

yaze::zelda3::RoomLinkFactsCache::RoomLinkFactsCache ( const RoomLinkFactsCache & )
delete

Member Function Documentation

◆ operator=()

RoomLinkFactsCache & yaze::zelda3::RoomLinkFactsCache::operator= ( const RoomLinkFactsCache & )
delete

◆ Get()

◆ AsLookup()

RoomLinkFactsLookup yaze::zelda3::RoomLinkFactsCache::AsLookup ( )

◆ status()

const absl::Status & yaze::zelda3::RoomLinkFactsCache::status ( ) const
inline

Member Data Documentation

◆ rom_

Rom* yaze::zelda3::RoomLinkFactsCache::rom_
private

Definition at line 216 of file room_links.h.

Referenced by Get(), and RoomLinkFactsCache().

◆ pit_table_

std::unique_ptr<PitDamageTable> yaze::zelda3::RoomLinkFactsCache::pit_table_
private

Definition at line 217 of file room_links.h.

Referenced by Get(), and RoomLinkFactsCache().

◆ facts_

std::vector<std::optional<RoomLinkFacts> > yaze::zelda3::RoomLinkFactsCache::facts_
private

Definition at line 218 of file room_links.h.

Referenced by Get().

◆ status_

absl::Status yaze::zelda3::RoomLinkFactsCache::status_
private

Definition at line 219 of file room_links.h.

Referenced by Get(), and status().


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