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

Request to navigate to a specific message ID. More...

#include <core_events.h>

Inheritance diagram for yaze::editor::JumpToMessageRequestEvent:
Collaboration diagram for yaze::editor::JumpToMessageRequestEvent:

Static Public Member Functions

static JumpToMessageRequestEvent Create (int message, size_t session=0)
 

Public Attributes

int message_id = -1
 
size_t session_id = 0
 

Additional Inherited Members

- Public Member Functions inherited from yaze::Event
virtual ~Event ()=default
 

Detailed Description

Request to navigate to a specific message ID.

Published by components that want to open the Message editor at a specific text/message ID (vanilla or expanded).

Definition at line 303 of file core_events.h.

Member Function Documentation

◆ Create()

static JumpToMessageRequestEvent yaze::editor::JumpToMessageRequestEvent::Create ( int message,
size_t session = 0 )
inlinestatic

Definition at line 307 of file core_events.h.

References message_id, and session_id.

Referenced by yaze::editor::StoryEventGraphPanel::PublishJumpToMessage().

Member Data Documentation

◆ message_id

int yaze::editor::JumpToMessageRequestEvent::message_id = -1

Definition at line 304 of file core_events.h.

Referenced by Create().

◆ session_id

size_t yaze::editor::JumpToMessageRequestEvent::session_id = 0

Definition at line 305 of file core_events.h.

Referenced by Create().


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