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

Method clear

source/binding/Python/maa/buffer.py:70–76  ·  view source on GitHub ↗

清空缓冲区 / Clear buffer Returns: bool: 是否成功 / Whether successful

(self)

Source from the content-addressed store, hash-verified

68 return bool(Library.framework().MaaStringBufferIsEmpty(self._handle))
69
70 def clear(self) -> bool:
71 """清空缓冲区 / Clear buffer
72
73 Returns:
74 bool: 是否成功 / Whether successful
75 """
76 return bool(Library.framework().MaaStringBufferClear(self._handle))
77
78 _api_properties_initialized: bool = False
79

Callers

nothing calls this directly

Calls 1

frameworkMethod · 0.80

Tested by

no test coverage detected