mirror of
https://github.com/babalae/better-genshin-impact
synced 2025-01-09 04:19:47 +08:00
10 lines
244 B
C#
10 lines
244 B
C#
namespace Vision.WindowCapture;
|
|
|
|
public static class CaptureModeExtensions
|
|
{
|
|
public static CaptureModeEnum ToCaptureMode(this string modeName)
|
|
{
|
|
return (CaptureModeEnum) Enum.Parse(typeof(CaptureModeEnum), modeName);
|
|
}
|
|
}
|