示例#1
0
def install():
    hook.register('after-handle_sid_chatevent', on_chatevent)
示例#2
0
def install():
    parse_settings()
    hook.register('after-handle_sid_chatevent', message_received)
示例#3
0
文件: core.py 项目: kaye64/gem
def content_init():
    Log.Info(LOG_TAG, "Registering API hooks..")
    hook.register(Hook.STARTUP, startup)
    hook.register(Hook.SHUTDOWN, shutdown)
    hook.register_exclusive(Hook.PLAYER_AUTHENTICATE, session.player_authenticate)
    hook.register_exclusive(Hook.PLAYER_LOAD, session.player_load_profile)
    hook.register(Hook.PLAYER_LOGIN, session.player_login)
    hook.register(Hook.PLAYER_LOGOUT, session.player_logout)
    hook.register(Hook.PLAYER_POSITION, player.player_position_update)
    hook.register(Hook.BUTTON_CLICK, interface.interface_button)
示例#4
0
文件: cinvite.py 项目: w3gh/ghost.py
def install():
    parse_settings()
    hook.register('after-handle_sid_chatevent', message_received)
    hook.register('after-handle_sid_claninvitation', claninvitation_feedback)
def install():
    parse_settings()
    hook.register('after-handle_sid_enterchat', spam_loop)
示例#6
0
def install():
	hook.register('after-handle_sid_chatevent', message_received)
示例#7
0
文件: cnotify.py 项目: w3gh/ghost.py
def install():
    parse_settings()
    hook.register('after-handle_sid_chatevent', message_received)
示例#8
0
def install():
    parse_settings()
    hook.register('after-handle_sid_chatevent', message_received)
    hook.register('after-handle_sid_claninvitation', claninvitation_feedback)
示例#9
0
def install():
    parse_settings()
    hook.register('after-handle_sid_clanmemberlist', got_clanlist)
    hook.register('after-handle_sid_claninfo', got_claninfo)
    hook.register('after-handle_sid_clanmemberstatuschange', clannie_statuschange)
    hook.register('after-handle_sid_clanmemberremoved', clannie_removed)
示例#10
0
文件: core.py 项目: kaye64/gem
def content_init():
    Log.Info(LOG_TAG, "Registering API hooks..")
    hook.register(Hook.STARTUP, startup)
    hook.register(Hook.SHUTDOWN, shutdown)
    hook.register_exclusive(Hook.PLAYER_AUTHENTICATE,
                            session.player_authenticate)
    hook.register_exclusive(Hook.PLAYER_LOAD, session.player_load_profile)
    hook.register(Hook.PLAYER_LOGIN, session.player_login)
    hook.register(Hook.PLAYER_LOGOUT, session.player_logout)
    hook.register(Hook.PLAYER_POSITION, player.player_position_update)
    hook.register(Hook.BUTTON_CLICK, interface.interface_button)
示例#11
0
def install():
	hook.register('after-handle_sid_chatevent', on_chatevent)
示例#12
0
def install():
    parse_settings()
    hook.register('after-handle_sid_enterchat', spam_loop)