summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/ActivityHelpReward.cs
blob: 81d24535936f26b051b01660638c597aed1f4a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using XUtliPoolLib;

namespace XMainClient
{
	public class ActivityHelpReward
	{
		public int index;

		public SuperActivityTask.RowData tableData;

		public uint state;

		public int sort;

		public uint progress;

		public static int Compare(ActivityHelpReward x, ActivityHelpReward y)
		{
			bool flag = x.sort != y.sort;
			int result;
			if (flag)
			{
				result = y.sort - x.sort;
			}
			else
			{
				result = x.index - y.index;
			}
			return result;
		}
	}
}