summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XNPCFavorBehaviour.cs
blob: e984a64a88493d5c90bd08bed50474fae391e5a3 (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
49
50
51
52
53
54
55
56
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;

namespace XMainClient.UI
{
	internal class XNPCFavorBehaviour : DlgBehaviourBase
	{
		public Transform m_effect;

		public IXUIButton m_Help;

		public IXUIButton m_Close;

		public Transform m_handlersTra;

		public IXUILabel m_SendTimesLabel;

		public IXUIButton m_AddBtn;

		public IXUISprite m_PrivilegeSpr;

		public IXUISprite m_SendTimesBtn;

		public IXUICheckBox m_Tab0;

		public IXUICheckBox m_Tab1;

		public IXUICheckBox m_Tab2;

		public GameObject m_Tab0_Redpoint;

		public GameObject m_Tab1_Redpoint;

		public GameObject m_Tab2_Redpoint;

		private void Awake()
		{
			this.m_effect = base.transform.Find("Effect");
			this.m_Help = (base.transform.Find("Help").GetComponent("XUIButton") as IXUIButton);
			this.m_Close = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
			this.m_handlersTra = base.transform.Find("Handler");
			this.m_SendTimesLabel = (base.transform.Find("Time").GetComponent("XUILabel") as IXUILabel);
			this.m_AddBtn = (base.transform.Find("Time/Add").GetComponent("XUIButton") as IXUIButton);
			this.m_SendTimesBtn = (base.transform.Find("Time/tq/p").GetComponent("XUISprite") as IXUISprite);
			this.m_PrivilegeSpr = (base.transform.Find("Time/tq").GetComponent("XUISprite") as IXUISprite);
			this.m_Tab0 = (base.transform.Find("Tabs/TabTpl0/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_Tab1 = (base.transform.Find("Tabs/TabTpl1/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_Tab2 = (base.transform.Find("Tabs/TabTpl2/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_Tab0_Redpoint = base.transform.Find("Tabs/TabTpl0/Bg/RedPoint").gameObject;
			this.m_Tab1_Redpoint = base.transform.Find("Tabs/TabTpl1/Bg/RedPoint").gameObject;
			this.m_Tab2_Redpoint = base.transform.Find("Tabs/TabTpl2/Bg/RedPoint").gameObject;
		}
	}
}