summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XDramaOperateButton.cs
blob: b37f93de4037f76bc754b2dffe540c77184e5c5b (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
using System;
using UILib;

namespace XMainClient.UI
{
	internal class XDramaOperateButton : XDataBase
	{
		public string Name;

		public ButtonClickEventHandler ClickEvent;

		public float TargetTime;

		public string TimeNote;

		public bool StateEnable = true;

		public ulong RID;

		public override void Init()
		{
			base.Init();
			this.Name = null;
			this.ClickEvent = null;
			this.TargetTime = 0f;
			this.TimeNote = null;
			this.StateEnable = true;
		}

		public override void Recycle()
		{
			base.Recycle();
			XDataPool<XDramaOperateButton>.Recycle(this);
		}
	}
}