Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::script::EventField Struct Reference

A field of an event sent to scripts. More...

#include <aegis2d/script/events.hpp>

Public Attributes

std::string_view name
 Its name in the event's table.
 
double value = 0.0
 Its value; a whole number (such as an entity's id) reaches Lua as an integer.
 

Detailed Description

A field of an event sent to scripts.

Member Data Documentation

◆ name

std::string_view aegis2d::script::EventField::name

Its name in the event's table.

◆ value

double aegis2d::script::EventField::value = 0.0

Its value; a whole number (such as an entity's id) reaches Lua as an integer.


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