RedCore
Loading...
Searching...
No Matches
StaticInitEvent.h
Go to the documentation of this file.
1#pragma once
2
3#include <red/event_sys/EventBase.h>
4#include <red/event_sys/EventDelegator.h>
5#include <actor/ActorBase.h>
6
7namespace red {
8
9 /**
10 * @brief Event fired after static initializers have ran for the game. This is helpful when accessing .bss variables which are not initialized during mod init.
11 */
13 public:
15
16 public:
17 static void subscribe(EventDelegator<StaticInitEvent>::Listener& listener);
18 static void emit();
19
20 private:
21 [[nodiscard]]
22 static Delegator& getDelegator();
23 };
24
25}
Event fired after static initializers have ran for the game. This is helpful when accessing ....
Definition StaticInitEvent.h:12
static void subscribe(EventDelegator< StaticInitEvent >::Listener &listener)
static void emit()
Definition ActorDonutBlock.h:5