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

Class MaaCustomControllerCallbacks

source/binding/Python/maa/define.py:676–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674
675
676class MaaCustomControllerCallbacks(ctypes.Structure):
677 ConnectFunc = FUNCTYPE(
678 MaaBool,
679 ctypes.c_void_p,
680 )
681 ConnectedFunc = FUNCTYPE(
682 MaaBool,
683 ctypes.c_void_p,
684 )
685 RequestUuidFunc = FUNCTYPE(
686 MaaBool,
687 ctypes.c_void_p,
688 MaaStringBufferHandle,
689 )
690 GetFeaturesFunc = FUNCTYPE(
691 MaaControllerFeature,
692 ctypes.c_void_p,
693 )
694 StartAppFunc = FUNCTYPE(
695 MaaBool,
696 ctypes.c_char_p,
697 ctypes.c_void_p,
698 )
699 StopAppFunc = FUNCTYPE(
700 MaaBool,
701 ctypes.c_char_p,
702 ctypes.c_void_p,
703 )
704 ScreencapFunc = FUNCTYPE(
705 MaaBool,
706 ctypes.c_void_p,
707 MaaImageBufferHandle,
708 )
709 ClickFunc = FUNCTYPE(
710 MaaBool,
711 ctypes.c_int32,
712 ctypes.c_int32,
713 ctypes.c_void_p,
714 )
715 SwipeFunc = FUNCTYPE(
716 MaaBool,
717 ctypes.c_int32,
718 ctypes.c_int32,
719 ctypes.c_int32,
720 ctypes.c_int32,
721 ctypes.c_int32,
722 ctypes.c_void_p,
723 )
724 TouchDownFunc = FUNCTYPE(
725 MaaBool,
726 ctypes.c_int32,
727 ctypes.c_int32,
728 ctypes.c_int32,
729 ctypes.c_int32,
730 ctypes.c_void_p,
731 )
732 TouchMoveFunc = FUNCTYPE(
733 MaaBool,

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected