RedCore
Loading...
Searching...
No Matches
red::StaticInitEvent Class Reference

Event fired after static initializers have ran for the game. This is helpful when accessing .bss variables which are not initialized during mod init. More...

#include <StaticInitEvent.h>

Inherits red::EventBase< StaticInitEvent >.

Public Types

using Listener = EventBase<StaticInitEvent>::BasicListener
Public Types inherited from red::EventBase< StaticInitEvent >
using Delegator
using ListenerFunc

Static Public Member Functions

static void subscribe (EventDelegator< StaticInitEvent >::Listener &listener)
static void emit ()

Additional Inherited Members

Public Member Functions inherited from red::EventBase< StaticInitEvent >
void consume ()
bool isConsumed () const

Detailed Description

Event fired after static initializers have ran for the game. This is helpful when accessing .bss variables which are not initialized during mod init.

Member Typedef Documentation

◆ Listener

Member Function Documentation

◆ subscribe()

void red::StaticInitEvent::subscribe ( EventDelegator< StaticInitEvent >::Listener & listener)
static

◆ emit()

void red::StaticInitEvent::emit ( )
static