Enum ControllerOption
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
Option keys for controller instance options. See MaaControllerSetOption().
public enum ControllerOption
Fields
Invalid = 0
Recording = 5
-
Dump all screenshots and actions
Recording will evaluate to true if any of this or
MaaGlobalOptionEnum::MaaGlobalOption_Recording is true.
value: bool, eg: true; val_size: sizeof(bool)
ScreenshotTargetLongSide = 1
-
Only one of long and short side can be set, and the other is automatically scaled according to the aspect ratio.
value: int, eg: 1280; val_size: sizeof(int)
ScreenshotTargetShortSide = 2
-
Only one of long and short side can be set, and the other is automatically scaled according to the aspect ratio.
value: int, eg: 720; val_size: sizeof(int)
ScreenshotUseRawSize = 3
-
Screenshot use raw size without scaling. Please note that this option may cause incorrect coordinates on user devices with different resolutions if scaling is not performed.
value: bool, eg: true; val_size: sizeof(bool)