summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Guild/XGuildSkillBehaviour.cs
blob: f5dc95b8c3c8b4e9b09f0e6b931eaebed85bf696 (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
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XGuildSkillBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_Close;

		public IXUILabel m_GuildPoint;

		public IXUISprite m_DetailSkillIcon;

		public IXUILabel m_DetailSkillName;

		public IXUILabel m_DetailCurrLevel;

		public IXUILabel m_DetailNextLevel;

		public IXUILabel m_DetailCurrAttr;

		public IXUILabel m_DetailNextAttr;

		public IXUILabel m_DetailMaxLevelLabel;

		public IXUILabel m_DetailMaxLevel;

		public IXUIButton m_DetailUpMaxLevel;

		public IXUILabel m_DetailTip;

		public IXUILabelSymbol m_DetailCost;

		public IXUILabelSymbol m_DetailCostRed;

		public IXUIButton m_LevelUp;

		public IXUILabel m_LevelUpLabel;

		public Transform m_RedPoint;

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

		public IXUIScrollView m_SkillScroll;

		private void Awake()
		{
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_GuildPoint = (base.transform.Find("Bg/Point/value").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailSkillIcon = (base.transform.Find("Bg/Detail/Icon").GetComponent("XUISprite") as IXUISprite);
			this.m_DetailSkillName = (base.transform.Find("Bg/Detail/Name").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_DetailCurrAttr = (base.transform.Find("Bg/Detail/CurrentAttr").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailNextAttr = (base.transform.Find("Bg/Detail/CurrentAttr/NextAttr").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailMaxLevel = (base.transform.Find("Bg/Detail/MaxLevel/NextAttr").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailMaxLevelLabel = (base.transform.Find("Bg/Detail/MaxLevel").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailUpMaxLevel = (base.transform.Find("Bg/Detail/MaxLevel/Study").GetComponent("XUIButton") as IXUIButton);
			this.m_RedPoint = base.transform.Find("Bg/Detail/MaxLevel/Study/RedPoint");
			this.m_DetailTip = (base.transform.Find("Bg/Detail/Tip").GetComponent("XUILabel") as IXUILabel);
			this.m_DetailCost = (base.transform.Find("Bg/Detail/Cost").GetComponent("XUILabelSymbol") as IXUILabelSymbol);
			this.m_DetailCostRed = (base.transform.Find("Bg/Detail/CostRed").GetComponent("XUILabelSymbol") as IXUILabelSymbol);
			this.m_LevelUp = (base.transform.Find("Bg/Detail/Levelup").GetComponent("XUIButton") as IXUIButton);
			this.m_LevelUpLabel = (base.transform.Find("Bg/Detail/Levelup/Text").GetComponent("XUILabel") as IXUILabel);
			Transform transform = base.transform.Find("Bg/SkillList/SkillTpl");
			this.m_SkillPool.SetupPool(transform.parent.gameObject, transform.gameObject, 10u, false);
			this.m_SkillScroll = (base.transform.Find("Bg/SkillList").GetComponent("XUIScrollView") as IXUIScrollView);
		}
	}
}