summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XNextDayRewardDocument.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XNextDayRewardDocument.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XNextDayRewardDocument.cs48
1 files changed, 48 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XNextDayRewardDocument.cs b/Client/Assets/Scripts/XMainClient/XNextDayRewardDocument.cs
new file mode 100644
index 00000000..713a70f0
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/XNextDayRewardDocument.cs
@@ -0,0 +1,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)
+ {
+ }
+ }
+}