Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Utility::LoadCharacterEvent Class Reference

Class for load character event. More...

#include <load_character_event.h>

Inheritance diagram for Utility::LoadCharacterEvent:
Events::Event

Public Member Functions

 LoadCharacterEvent (const std::string name)
 Constructs a LoadCharacterEvent. More...
 
std::string getName () const noexcept
 Gets the name. More...
 
- Public Member Functions inherited from Events::Event
 Event (const EventType &type)
 Event constructor. More...
 
EventType getEventType () const
 Gets the event type. More...
 

Static Public Member Functions

static std::shared_ptr
< LoadCharacterEvent
create (const std::string name)
 Factory function. More...
 

Detailed Description

Class for load character event.

Constructor & Destructor Documentation

Utility::LoadCharacterEvent::LoadCharacterEvent ( const std::string  name)
inline

Constructs a LoadCharacterEvent.

Parameters
[in]nameThe name

Member Function Documentation

static std::shared_ptr<LoadCharacterEvent> Utility::LoadCharacterEvent::create ( const std::string  name)
inlinestatic

Factory function.

Parameters
[in]nameThe name
Returns
Newly constructed LoadCharacterEvent

Referenced by generated::getLoadCharacterEventModule(), and Utility::DebugParser::parseCommand().

std::string Utility::LoadCharacterEvent::getName ( ) const
inlinenoexcept

Gets the name.

Returns
The name.

Referenced by generated::getLoadCharacterEventModule().


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