liblcf
LSD_Reader::ChunkSaveEventExecFrame Struct Reference

#include <lsd_chunks.h>

+ Collaboration diagram for LSD_Reader::ChunkSaveEventExecFrame:

Public Types

enum  Index {
  commands_size = 0x01,
  commands = 0x02,
  current_command = 0x0B,
  event_id = 0x0C,
  triggered_by_decision_key = 0x0D,
  subcommand_path_size = 0x15,
  subcommand_path = 0x16
}
 

Detailed Description

Definition at line 641 of file lsd_chunks.h.

Member Enumeration Documentation

◆ Index

Enumerator
commands_size 

int

commands 

event command list

current_command 

int

event_id 

0 if it's common event or in other map

triggered_by_decision_key 

Event was triggered by the Action Key

subcommand_path_size 

size of the 0x16 vector - indention level

subcommand_path 

byte For each indention level in the script; an ID is stored there which corresponds to the branch to take in case a command allows multiple branches. For example; the Show Choice command would write the result of the choice (for example 2 for the third item) into the current indention level's entry in this array; and the script processor would later look for the Case subcommand with the corresponding ID; if any; and jump to that one (if none found; it would jump to the End Case subcommand). Once the jump is executed; the ID is set to 255 (probably a protection mechanism even though there should normally not be multiple subcommands with the same ID).

Definition at line 642 of file lsd_chunks.h.


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