MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / version

Method version

source/binding/Python/maa/library.py:182–190  ·  view source on GitHub ↗

获取 MaaFramework 版本 / Get MaaFramework version Returns: str: 版本字符串 / Version string

(cls)

Source from the content-addressed store, hash-verified

180
181 @classmethod
182 def version(cls) -> str:
183 """获取 MaaFramework 版本 / Get MaaFramework version
184
185 Returns:
186 str: 版本字符串 / Version string
187 """
188 cls._set_api_properties()
189
190 return cls.framework().MaaVersion().decode()
191
192 _api_properties_initialized: bool = False
193

Callers 6

pipeline_node_testFunction · 0.80
binding_test.pyFile · 0.80
agent_main_test.pyFile · 0.80

Calls 3

decodeMethod · 0.80
frameworkMethod · 0.80
_set_api_propertiesMethod · 0.45

Tested by 1

pipeline_node_testFunction · 0.64