better-genshin-impact/Fischless.GameCapture/CaptureModeExtensions.cs

10 lines
235 B
C#
Raw Normal View History

namespace Fischless.GameCapture;
2023-10-02 18:00:14 +08:00
public static class CaptureModeExtensions
{
public static CaptureModes ToCaptureMode(this string modeName)
{
return (CaptureModes)Enum.Parse(typeof(CaptureModes), modeName);
}
}