summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XOrderData.cs
blob: 5cd86137cca6f202025b7eb4e2492d0c9336b15b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

namespace XMainClient
{
	internal struct XOrderData<T1, T2> : IComparable<XOrderData<T1, T2>> where T1 : IComparable
	{
		public T1 x;

		public T2 y;

		public int CompareTo(XOrderData<T1, T2> other)
		{
			return this.x.CompareTo(other.x);
		}
	}
}