summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XNextDayRewardDocument.cs
blob: 713a70f0fcf907ef53749fa9e6d756bd32101c10 (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
41
42
43
44
45
46
47
48
using System;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XNextDayRewardDocument : XDocComponent
	{
		public override uint ID
		{
			get
			{
				return XNextDayRewardDocument.uuID;
			}
		}

		public int Status { get; set; }

		public int LeftTime { get; set; }

		public bool HallShow { get; set; }

		public new static readonly uint uuID = XSingleton<XCommon>.singleton.XHash("NextDayRewardDocument");

		public void SendGetReward()
		{
			RpcC2G_GetNextDayReward rpc = new RpcC2G_GetNextDayReward();
			XSingleton<XClientNetwork>.singleton.Send(rpc);
		}

		public void QueryStatus()
		{
			PtcC2G_NextDayRewardReport proto = new PtcC2G_NextDayRewardReport();
			XSingleton<XClientNetwork>.singleton.Send(proto);
		}

		public void RefreshStatus(uint status, uint leftTime)
		{
		}

		protected override void OnReconnected(XReconnectedEventArgs arg)
		{
		}

		public void LuaShow(bool show)
		{
		}
	}
}