File GameFrameworkEvent.c
FileList > engine > src > gameframework > GameFrameworkEvent.c
Go to the source code of this file
#include "GameFrameworkEvent.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "StringKeyHashMap.h"
#include "AssertLib.h"
#include "Log.h"
Classes
Public Static Attributes
Public Functions
Public Static Functions
Macros
Public Static Attributes Documentation
variable gEventMap
struct HashMap gEventMap;
Public Functions Documentation
function Ev_FireEvent
void Ev_FireEvent (
char * eventName,
void * eventArgs
)
function Ev_GetUserData
void * Ev_GetUserData (
struct GameFrameworkEventListener * pListener
)
function Ev_Init
void Ev_Init ()
function Ev_SubscribeEvent
struct GameFrameworkEventListener * Ev_SubscribeEvent (
char * eventName,
EventListenerFn listenerFn,
void * pUser
)
function Ev_UnsubscribeEvent
bool Ev_UnsubscribeEvent (
struct GameFrameworkEventListener * pListener
)
Public Static Functions Documentation
function AddListener
static struct GameFrameworkEventListener * AddListener (
struct GameFrameworkEvent * pEvent,
EventListenerFn listenerFn,
void * pUser,
char * eventName
)
Macro Definition Documentation
define EVENT_MAX_NAME_LEN
#define EVENT_MAX_NAME_LEN `64`
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/gameframework/GameFrameworkEvent.c