NetAutoGUI/Location.cs

(完整代码) 390B

using System.Numerics;

namespace NetAutoGUI
{
	public record Location(int X, int Y)
	{
		public void Deconstruct(out int x, out int y)
		{
			x = X;
			y = Y;
		}

		public static implicit operator Vector2(Location loc)
		{
			return new Vector2(loc.X, loc.Y);
		}

		public static implicit operator Location(Vector2 vec2)
		{
			return new Location((int)vec2.X, (int)vec2.Y);
		}
	}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。