Beispiel #1
0
def start_logic():
    Game.unsub(MSG_FRAME_START, start_logic)
    #gateway
    Game.gateway = GateWayMgr(Game.player_mgr)
    Game.app.register(Game.gateway)
    #游戏类
    Game.logic_game.start()
Beispiel #2
0
def start_room():
    Game.unsub(MSG_FRAME_START, start_room)
    Game.timer.start()
    Game.rpc_room_mgr.start()
    Game.rpc_dayly_pvp_mgr.start()
    Game.rpc_txdy_mgr.start()
    Game.rpc_globalData_mgr.start()
    Game.rpc_cross_rank_mgr.start()
    Game.rpc_level_contest_mgr.start()
    Game.rpc_grouppk_mgr.start()
Beispiel #3
0
def start_common():
    Game.unsub(MSG_FRAME_START, start_common)
    #gateway
    Game.gateway = GateWayMgr(Game.rpc_player_mgr)
    Game.app.register(Game.gateway)

    Game.timer.start()
    Game.rpc_player_mgr.start()
    Game.rpc_server_info.start()
    Game.rpc_friend_mgr.start()
    Game.rpc_mail_mgr.start()
    Game.rpc_exam_mgr.start()
    Game.rpc_qmboss_mgr.start()
    Game.rpc_ywboss_mgr.start()
    Game.rpc_ssjboss_mgr.start()
    Game.rpc_commonres_mgr.start()
    Game.rpc_dayly_pvp_mgr_common.start()
    Game.rpc_room_mgr_common.start()
    Game.rpc_guild_mgr.start()