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

Method empty

source/binding/Python/maa/buffer.py:62–68  ·  view source on GitHub ↗

判断缓冲区是否为空 / Check if buffer is empty Returns: bool: 是否为空 / Whether empty

(self)

Source from the content-addressed store, hash-verified

60
61 @property
62 def empty(self) -> bool:
63 """判断缓冲区是否为空 / Check if buffer is empty
64
65 Returns:
66 bool: 是否为空 / Whether empty
67 """
68 return bool(Library.framework().MaaStringBufferIsEmpty(self._handle))
69
70 def clear(self) -> bool:
71 """清空缓冲区 / Clear buffer

Callers

nothing calls this directly

Calls 1

frameworkMethod · 0.80

Tested by

no test coverage detected