DayZ 1.24
Loading...
Searching...
No Matches
Dispatcher.c
Go to the documentation of this file.
1typedef int CallID;
2
12
17
19
21{
22 if (g_Dispatcher == NULL)
23 {
24 //Print("[Dispatcher.h]=>GetDispatcher(): g_Dispatcher is NULL!!");
25 return NULL;
26 }
27
28 return g_Dispatcher;
29}
30
35
37{
39 if (dis)
40 return dis.CallMethod(call_id, params);
41
42 return NULL;
43}
Dispatcher GetDispatcher()
Definition Dispatcher.c:20
const CallID CALL_ID_SCR_CNSL_GETSELECTEDITEM
Definition Dispatcher.c:11
const CallID CALL_ID_SCR_CNSL_SET_SQF_WATCHER_RESULT
Definition Dispatcher.c:8
const CallID CALL_ID_SCR_CNSL_HISTORY_NEXT
Definition Dispatcher.c:5
class Dispatcher g_Dispatcher
int CallID
Definition Dispatcher.c:1
const CallID CALL_ID_SCENE_EDITOR_COMMAND
Definition Dispatcher.c:9
const CallID CALL_ID_SEND_LOG
Definition Dispatcher.c:3
const CallID CALL_ID_SCR_CNSL_HISTORY_BACK
Definition Dispatcher.c:4
const CallID CALL_ID_SCR_CNSL_ADD_PRINT
Definition Dispatcher.c:6
const CallID CALL_ID_HIDE_INVENTORY
Definition Dispatcher.c:10
Param CallMethod(CallID call_id, Param params)
Definition Dispatcher.c:36
void SetDispatcher(Dispatcher dispatcher)
Definition Dispatcher.c:31
const CallID CALL_ID_SCR_CNSL_GET_SQF_WATCHER
Definition Dispatcher.c:7
Param CallMethod(CallID call_id, Param params)
Definition Dispatcher.c:15
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Definition param.c:12