Created basic GLOBAL_HANDLER for the Global Script API.

This commit is contained in:
Andrew Bastien 2019-04-09 23:42:46 -04:00
parent cd5e38fe14
commit 857c6d53f2
3 changed files with 67 additions and 1 deletions

View file

@ -109,6 +109,7 @@ TASK_HANDLER = None
TICKER_HANDLER = None
MONITOR_HANDLER = None
CHANNEL_HANDLER = None
GLOBAL_HANDLER = None
def _create_version():
@ -152,7 +153,7 @@ def _init():
global search_object, search_script, search_account, search_channel, search_help, search_tag, search_message
global create_object, create_script, create_account, create_channel, create_message, create_help_entry
global settings, lockfuncs, logger, utils, gametime, ansi, spawn, managers
global contrib, TICKER_HANDLER, MONITOR_HANDLER, SESSION_HANDLER, CHANNEL_HANDLER, TASK_HANDLER
global contrib, TICKER_HANDLER, MONITOR_HANDLER, SESSION_HANDLER, CHANNEL_HANDLER, TASK_HANDLER, GLOBAL_HANDLER
global EvMenu, EvTable, EvForm, EvMore, EvEditor
global ANSIString
@ -213,6 +214,7 @@ def _init():
from .server.sessionhandler import SESSION_HANDLER
from .comms.channelhandler import CHANNEL_HANDLER
from .scripts.monitorhandler import MONITOR_HANDLER
from .scripts.globalhandler import GLOBAL_HANDLER
# initialize the doc string
global __doc__