Module Mod
API for interacting with the actual modding subset of the game.
Functions
addCallback (self, callback, func, playertype) | Add a callback. |
Functions
- addCallback (self, callback, func, playertype)
-
Add a callback.
Parameters:
- self The Mod object to be modified.
- callback The type of the callback, preferably from ModCallbacks.
- func The function that is supposed to be called.
- playertype The type of the player the callback should affect, unknown if required or not.
Returns:
-
UNKNOWN, suspected nil