NetGameEvent.
More...
#include <event.h>
◆ NetGameEvent()
clan::NetGameEvent::NetGameEvent |
( |
const std::string & | name, |
|
|
std::vector< NetGameEventValue > | arg = {} ) |
◆ add_argument()
Adds an argument into this event.
- Parameters
-
value | The argument to store inside this event. |
◆ get_argument()
Retrieves an argument in this event.
- Parameters
-
index | Index number of the argument to retrieve. |
- Returns
- A NetGameEventValue object containing the argument value.
◆ get_argument_count()
unsigned int clan::NetGameEvent::get_argument_count |
( |
| ) |
const |
- Returns
- The number of arguments stored in this event.
◆ get_name()
std::string clan::NetGameEvent::get_name |
( |
| ) |
const |
|
inline |
◆ to_string()
std::string clan::NetGameEvent::to_string |
( |
| ) |
const |
- Returns
- A string representation of this event, including all of its arguments.
The documentation for this class was generated from the following file: