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

Method empty

source/binding/Python/maa/buffer.py:336–342  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

334
335 @property
336 def empty(self) -> bool:
337 """判断缓冲区是否为空 / Check if buffer is empty
338
339 Returns:
340 bool: 是否为空 / Whether empty
341 """
342 return bool(Library.framework().MaaImageBufferIsEmpty(self._handle))
343
344 def clear(self) -> bool:
345 """清空缓冲区 / Clear buffer

Callers 15

screencapMethod · 0.45
screencapMethod · 0.45
openMethod · 0.45
parseMethod · 0.45
screencapMethod · 0.45
dbus_create_sessionMethod · 0.45
dbus_select_sourcesMethod · 0.45
dbus_start_streamMethod · 0.45
process_frameMethod · 0.45
AgentClientMethod · 0.45
create_socketMethod · 0.45
create_tcp_socketMethod · 0.45

Calls 1

frameworkMethod · 0.80

Tested by 1

mainFunction · 0.36