From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/Guild/XGuildDragonBehaviour.cs | 84 ++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/Guild/XGuildDragonBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/Guild/XGuildDragonBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/Guild/XGuildDragonBehaviour.cs b/Client/Assets/Scripts/XMainClient/Guild/XGuildDragonBehaviour.cs new file mode 100644 index 00000000..f82ff583 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/Guild/XGuildDragonBehaviour.cs @@ -0,0 +1,84 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class XGuildDragonBehaviour : DlgBehaviourBase + { + public IXUIButton m_BtnClose; + + public IXUIButton m_BtnRank; + + public IXUIButton m_BtnGoBattle; + + public IXUIButton m_BtnSubscribe; + + public IXUIButton m_BtnCancelSubscribe; + + public IXUILabel m_LeftTime; + + public IXUILabel m_OpenTime; + + public IXUILabel m_LeftTimeHint; + + public IXUILabel m_BossName; + + public IXUILabel m_Condition; + + public IXUILabel m_ConditionTitle; + + public IXUIWrapContent m_WrapContent; + + public IXUIScrollView m_ScrollView; + + public GameObject m_RankPanel; + + public IXUILabel m_RankPanel_EmptyRank; + + public IXUIButton m_BtnReward; + + public GameObject m_RewardPanel; + + public GameObject rankInfo; + + public GameObject outofRange; + + public IXUISprite m_PrivilegeIcon; + + public IXUILabel m_PrivilegeName; + + public IXUISprite m_Privilege; + + private void Awake() + { + this.m_BtnClose = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_BtnRank = (base.transform.Find("Bg/Frame/DamageRank").GetComponent("XUIButton") as IXUIButton); + this.m_BtnGoBattle = (base.transform.Find("Bg/Frame/GoBattle").GetComponent("XUIButton") as IXUIButton); + Transform transform = base.transform.Find("Bg/GuildRankPanel/ScrollView"); + this.m_ScrollView = (transform.GetComponent("XUIScrollView") as IXUIScrollView); + transform = transform.Find("WrapContent"); + this.m_WrapContent = (transform.GetComponent("XUIWrapContent") as IXUIWrapContent); + this.m_RankPanel = base.transform.Find("Bg/GuildRankPanel").gameObject; + this.m_RankPanel_EmptyRank = (base.transform.Find("Bg/GuildRankPanel/EmptyRank").GetComponent("XUILabel") as IXUILabel); + this.m_LeftTime = (base.transform.Find("Bg/Frame/LeftTime/Value").GetComponent("XUILabel") as IXUILabel); + this.m_OpenTime = (base.transform.Find("Bg/Frame/LeftTime/sk").GetComponent("XUILabel") as IXUILabel); + this.m_LeftTimeHint = (base.transform.Find("Bg/Frame/LeftTime/Over").GetComponent("XUILabel") as IXUILabel); + this.m_BossName = (base.transform.Find("Bg/Frame/LeftTime/12").GetComponent("XUILabel") as IXUILabel); + this.m_Condition = (base.transform.Find("Bg/Frame/LeftTime/shanghai/shanghai").GetComponent("XUILabel") as IXUILabel); + this.m_ConditionTitle = (base.transform.Find("Bg/Frame/LeftTime/shanghai").GetComponent("XUILabel") as IXUILabel); + this.m_RewardPanel = base.transform.Find("Bg/Frame/RewardDlg").gameObject; + this.m_BtnReward = (base.transform.Find("Bg/Frame/Youxiguize").GetComponent("XUIButton") as IXUIButton); + this.m_BtnSubscribe = (base.transform.Find("Bg/Frame/Subscribe").GetComponent("XUIButton") as IXUIButton); + this.m_BtnCancelSubscribe = (base.transform.Find("Bg/Frame/UnSubscribe").GetComponent("XUIButton") as IXUIButton); + this.rankInfo = base.transform.Find("Bg/GuildRankPanel/RankTpl").gameObject; + this.rankInfo.SetActive(false); + this.outofRange = base.transform.Find("Bg/GuildRankPanel/OutOfRange").gameObject; + this.outofRange.SetActive(false); + this.m_PrivilegeIcon = (base.transform.Find("Bg/tq").GetComponent("XUISprite") as IXUISprite); + this.m_PrivilegeName = (base.transform.Find("Bg/tq/t").GetComponent("XUILabel") as IXUILabel); + this.m_Privilege = (base.transform.Find("Bg/tq/p").GetComponent("XUISprite") as IXUISprite); + } + } +} -- cgit v1.1-26-g67d0