def init_game_data(): db_Manager.openDB() playerDataManager.initData() rankManager.initData() ConstTableManager.loadConstTable() log = logging.getLogger("taptitan") server_init_ok = "server init ok: server id:%s port:%s"%(playerDataManager.server_id,serverConfigManager.getPort()) logging.info(server_init_ok) print(server_init_ok)
def get(self): ConstTableManager.loadConstTable() print('config table reload!!') self.write('config table reload!!')