Constructor MaaDbgController
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
MaaDbgController(string, LinkOption, CheckStatusOption)
Creates a MaaFramework.Binding.MaaDbgController instance that serves images from a directory.
public MaaDbgController(string readPath, LinkOption link = LinkOption.Start, CheckStatusOption check = CheckStatusOption.ThrowIfNotSucceeded)Parameters
readPathstring-
Path to a directory of images (or a single image file).
Images are loaded on connect and cycled through on each screencap request.
All input operations (click, swipe, etc.) are no-ops that return success.
linkLinkOption-
Executes MaaFramework.Binding.IMaaController.LinkStart if MaaFramework.Binding.LinkOption.Start; otherwise, not link.
checkCheckStatusOption-
Checks LinkStart().Wait() status if MaaFramework.Binding.CheckStatusOption.ThrowIfNotSucceeded; otherwise, not check.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaDbgControllerCreate(System.String).