Project Alice
Loading...
Searching...
No Matches
parsers::effect_building_context Struct Reference

#include <effect_parsing.hpp>

Collaboration diagram for parsers::effect_building_context:

Public Member Functions

 effect_building_context (scenario_building_context &outer_context, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot)
 
void add_float_to_payload (float f)
 
void add_int32_t_to_payload (int32_t i)
 

Public Attributes

scenario_building_contextouter_context
 
std::vector< uint16_t > compiled_effect
 
size_t limit_position = 0
 
bool effect_is_for_event = false
 
trigger::slot_contents main_slot = trigger::slot_contents::empty
 
trigger::slot_contents this_slot = trigger::slot_contents::empty
 
trigger::slot_contents from_slot = trigger::slot_contents::empty
 

Detailed Description

Definition at line 14 of file effect_parsing.hpp.

Constructor & Destructor Documentation

◆ effect_building_context()

parsers::effect_building_context::effect_building_context ( scenario_building_context outer_context,
trigger::slot_contents  main_slot,
trigger::slot_contents  this_slot,
trigger::slot_contents  from_slot 
)
inline

Definition at line 24 of file effect_parsing.hpp.

Member Function Documentation

◆ add_float_to_payload()

void parsers::effect_building_context::add_float_to_payload ( float  f)
inline

Definition at line 28 of file effect_parsing.hpp.

Here is the caller graph for this function:

◆ add_int32_t_to_payload()

void parsers::effect_building_context::add_int32_t_to_payload ( int32_t  i)
inline

Definition at line 42 of file effect_parsing.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ compiled_effect

std::vector<uint16_t> parsers::effect_building_context::compiled_effect

Definition at line 16 of file effect_parsing.hpp.

◆ effect_is_for_event

bool parsers::effect_building_context::effect_is_for_event = false

Definition at line 18 of file effect_parsing.hpp.

◆ from_slot

trigger::slot_contents parsers::effect_building_context::from_slot = trigger::slot_contents::empty

Definition at line 22 of file effect_parsing.hpp.

◆ limit_position

size_t parsers::effect_building_context::limit_position = 0

Definition at line 17 of file effect_parsing.hpp.

◆ main_slot

trigger::slot_contents parsers::effect_building_context::main_slot = trigger::slot_contents::empty

Definition at line 20 of file effect_parsing.hpp.

◆ outer_context

scenario_building_context& parsers::effect_building_context::outer_context

Definition at line 15 of file effect_parsing.hpp.

◆ this_slot

trigger::slot_contents parsers::effect_building_context::this_slot = trigger::slot_contents::empty

Definition at line 21 of file effect_parsing.hpp.


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