summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/StageRankInfo.cs
blob: 7f70c964eac262aaa955306ca1d5fa4cb1c76809 (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
34
35
36
37
38
39
40
using System;

namespace XMainClient
{
	internal class StageRankInfo
	{
		public int Rank
		{
			get
			{
				switch (this._rank)
				{
				case 0:
					return 0;
				case 1:
				case 2:
				case 4:
					return 1;
				case 7:
					return 3;
				}
				return 2;
			}
		}

		public int RankValue
		{
			get
			{
				return this._rank;
			}
			set
			{
				this._rank = value;
			}
		}

		private int _rank;
	}
}