Fired when the map should be switched to something else.
More...
#include <Maps.hpp>
Fired when the map should be switched to something else.
Definition at line 79 of file Maps.hpp.
◆ SwitchMapTriggered()
core::event::SwitchMapTriggered::SwitchMapTriggered |
( |
const std::string & |
newMap, |
|
|
int |
spawn |
|
) |
| |
|
inline |
Construct a new Switch Map Triggered event.
- Parameters
-
newMap | The file of the new map |
spawn | The spawn to spawn the player at |
Definition at line 86 of file Maps.hpp.
◆ newMap
const std::string core::event::SwitchMapTriggered::newMap |
The new map to switch to.
Definition at line 91 of file Maps.hpp.
◆ spawn
const int core::event::SwitchMapTriggered::spawn |
The spawn to start the player at.
Definition at line 94 of file Maps.hpp.
The documentation for this struct was generated from the following file: