Files
CHOMPStation2/code/__defines/callbacks.dm
Leshana df21594485 Ports callback datum from TG
* A callback datum system was created, a common framework that handles all of the nuts and bolts so anyone can implement callbacks easily without worrying about how to invoke procs.
* Adapted from tgstation/tgstation#22476 by MrStonedOne
2018-02-03 20:54:40 -05:00

5 lines
128 B
Plaintext

#define GLOBAL_PROC "some_magic_bullshit"
#define CALLBACK new /datum/callback
#define INVOKE_ASYNC world.ImmediateInvokeAsync