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
评论列表
文章目录