ui_properties.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:PyPlanet 作者: PyPlanet 项目源码 文件源码
def refresh_properties(self):
        if self._instance.game.game == 'tm':
            method = 'Trackmania.UI.GetProperties'
        else:
            method = 'Shootmania.UI.GetProperties'
        try:
            self._raw = await self._instance.gbx(method)
            self._properties = xd.parse(self._raw['raw_1'])
        except Exception as e:
            self._properties = dict()
            self._raw = None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号