yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::core::StoryEventNode Struct Reference

A node in the Oracle story event graph. More...

#include <story_event_graph.h>

Public Attributes

std::string id
 
std::string name
 
std::vector< StoryFlagflags
 
std::vector< StoryLocationlocations
 
std::vector< std::string > scripts
 
std::vector< std::string > text_ids
 
std::vector< StoryPredicatecompleted_when
 
std::vector< std::string > dependencies
 
std::vector< std::string > unlocks
 
std::string evidence
 
std::string last_verified
 
std::string notes
 
float pos_x = 0.0f
 
float pos_y = 0.0f
 
StoryNodeStatus status = StoryNodeStatus::kLocked
 

Detailed Description

A node in the Oracle story event graph.

Each node represents a narrative event with:

  • Flags it sets/clears in SRAM
  • Locations/rooms where it occurs
  • Scripts/routines that trigger it
  • Text/message IDs associated with it
  • Dependencies (inbound edges) and unlocks (outbound edges)

Definition at line 84 of file story_event_graph.h.

Member Data Documentation

◆ id

std::string yaze::core::StoryEventNode::id

◆ name

std::string yaze::core::StoryEventNode::name

◆ flags

std::vector<StoryFlag> yaze::core::StoryEventNode::flags

◆ locations

std::vector<StoryLocation> yaze::core::StoryEventNode::locations

◆ scripts

std::vector<std::string> yaze::core::StoryEventNode::scripts

◆ text_ids

std::vector<std::string> yaze::core::StoryEventNode::text_ids

◆ completed_when

std::vector<StoryPredicate> yaze::core::StoryEventNode::completed_when

Definition at line 95 of file story_event_graph.h.

Referenced by yaze::core::StoryEventGraph::LoadFromString().

◆ dependencies

std::vector<std::string> yaze::core::StoryEventNode::dependencies

◆ unlocks

std::vector<std::string> yaze::core::StoryEventNode::unlocks

◆ evidence

std::string yaze::core::StoryEventNode::evidence

◆ last_verified

std::string yaze::core::StoryEventNode::last_verified

◆ notes

std::string yaze::core::StoryEventNode::notes

◆ pos_x

float yaze::core::StoryEventNode::pos_x = 0.0f

Definition at line 105 of file story_event_graph.h.

◆ pos_y

float yaze::core::StoryEventNode::pos_y = 0.0f

Definition at line 106 of file story_event_graph.h.

◆ status

StoryNodeStatus yaze::core::StoryEventNode::status = StoryNodeStatus::kLocked

Definition at line 109 of file story_event_graph.h.

Referenced by yaze::core::StoryEventNodeMatchesFilter().


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