Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Protected Member Functions | List of all members
core::script::MapChangeContext Class Reference

Special context for map enter and exit scripts. More...

#include <MapChangeContext.hpp>

+ Inheritance diagram for core::script::MapChangeContext:

Public Member Functions

 MapChangeContext (system::Systems &systems, const std::string &prevMap, const std::string &newMap, std::uint16_t spawn)
 Construct a new Map ChangeContext. More...
 

Protected Member Functions

virtual void addCustomSymbols (bl::script::SymbolTable &table) const override
 

Detailed Description

Special context for map enter and exit scripts.

Definition at line 22 of file MapChangeContext.hpp.

Constructor & Destructor Documentation

◆ MapChangeContext()

core::script::MapChangeContext::MapChangeContext ( system::Systems systems,
const std::string &  prevMap,
const std::string &  newMap,
std::uint16_t  spawn 
)

Construct a new Map ChangeContext.

Parameters
systemsThe primary systems object
prevMapThe name of the previous map
newMapThe name of the new map
spawnThe spawn id of the player spawn

Definition at line 32 of file MapChangeContext.cpp.

Member Function Documentation

◆ addCustomSymbols()

void core::script::MapChangeContext::addCustomSymbols ( bl::script::SymbolTable &  table) const
overrideprotectedvirtual

Definition at line 39 of file MapChangeContext.cpp.


The documentation for this class was generated from the following files: