获取 MaaFramework 版本 / Get MaaFramework version Returns: str: 版本字符串 / Version string
(cls)
| 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 |