(self)
| 139 | raise RuntimeError("Failed to create string list buffer.") |
| 140 | |
| 141 | def __del__(self): |
| 142 | if self._handle and self._own: |
| 143 | Library.framework().MaaStringListBufferDestroy(self._handle) |
| 144 | |
| 145 | def get(self) -> list[str]: |
| 146 | """获取字符串列表 / Get string list |