summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Guild/XGuildGrowthBuffBehavior.cs
blob: 3a915f6095c7d9d6914c46734c8812fab0d6fb7b (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XGuildGrowthBuffBehavior : DlgBehaviourBase
	{
		public IXUIButton CloseBtn;

		public IXUIButton HelpBtn;

		public IXUISprite m_DetailBuffIcon;

		public IXUILabel m_DetailBuffName;

		public IXUILabel m_DetailMaxLevel;

		public IXUILabel m_DetailCurrLevel;

		public IXUILabel m_DetailNextLevel;

		public IXUILabel m_DetailCurrKeepCost;

		public IXUISprite m_DetailCostArrow;

		public IXUILabel m_DetailNextKeepCost;

		public IXUILabel m_NextAttrText;

		public IXUILabelSymbol m_DetailCost;

		public IXUIButton LevelUpBtn;

		public IXUILabel LevelUpText;

		public Transform m_levelUpFx;

		public IXUIScrollView ScrollView;

		public XUIPool BuffItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		public IXUILabel m_PointLeft;

		public IXUISprite m_PointClick;

		private void Awake()
		{
			this.CloseBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.HelpBtn = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
			this.m_DetailBuffIcon = (base.transform.Find("Bg/Detail/Icon").GetComponent("XUISprite") as IXUISprite);
			this.m_DetailBuffName = (base.transform.Find("Bg/Detail/Name").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailMaxLevel = (base.transform.Find("Bg/Detail/MaxLevel/Num").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailCurrLevel = (base.transform.Find("Bg/Detail/CurrentLevel").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailNextLevel = (base.transform.Find("Bg/Detail/CurrentLevel/NextLevel").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailCurrKeepCost = (base.transform.Find("Bg/Detail/CurrentAttr").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailCostArrow = (base.transform.Find("Bg/Detail/CurrentAttr/P").GetComponent("XUISprite") as IXUISprite);
			this.m_DetailNextKeepCost = (base.transform.Find("Bg/Detail/CurrentAttr/NextAttr").GetComponent("XUILabel") as IXUILabel);
			this.m_NextAttrText = (base.transform.Find("Bg/Detail/NextText").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailCost = (base.transform.Find("Bg/Detail/Cost").GetComponent("XUILabelSymbol") as IXUILabelSymbol);
			this.LevelUpBtn = (base.transform.Find("Bg/Detail/Levelup").GetComponent("XUIButton") as IXUIButton);
			this.LevelUpText = (base.transform.Find("Bg/Detail/Levelup/Text").GetComponent("XUILabel") as IXUILabel);
			this.m_levelUpFx = base.transform.Find("Bg/SkillList/effect");
			this.m_levelUpFx.gameObject.SetActive(false);
			this.ScrollView = (base.transform.Find("Bg/SkillList").GetComponent("XUIScrollView") as IXUIScrollView);
			GameObject gameObject = base.transform.Find("Bg/SkillList/SkillTpl").gameObject;
			this.BuffItemPool.SetupPool(gameObject.transform.parent.gameObject, gameObject, 10u, false);
			this.m_PointLeft = (base.transform.Find("Bg/Point/value").GetComponent("XUILabel") as IXUILabel);
			this.m_PointClick = (base.transform.Find("Bg/Point/P").GetComponent("XUISprite") as IXUISprite);
		}
	}
}