mirror of
https://gitlab.com/Scribble/gdlenhanced.git
synced 2026-08-17 14:23:04 -04:00
20 lines
428 B
C++
20 lines
428 B
C++
|
|
#pragma once
|
|
|
|
class GameEventManager
|
|
{
|
|
public:
|
|
GameEventManager();
|
|
~GameEventManager();
|
|
|
|
void Initialize();
|
|
|
|
std::string NormalizeEventName(const char *eventName);
|
|
void StartEvent(const char *eventName);
|
|
void StopEvent(const char *eventName);
|
|
bool IsEventStarted(const char *eventName);
|
|
|
|
GameEventDef* GetEvent(const char *eventName);
|
|
|
|
PackableHashTableWithJson<std::string, GameEventDef, std::string> _gameEvents;
|
|
};
|