using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; namespace XMainClient.UI { internal class GVGBattlePrepareBehaviour : DlgBehaviourBase { protected internal GameObject mBlueView; protected internal IXUISlider mBlueCourageBar; protected internal IXUISlider mRedCourageBar; protected internal GameObject BlueInspireTween = null; protected internal GameObject RedInspireTween = null; protected internal GameObject mUp; protected internal GameObject mDown; protected internal IXUISprite mUpSprite; protected internal IXUISprite mDownSprite; protected internal GameObject mUpTips; protected internal GameObject mDownTips; protected internal GameObject mGoPrepare = null; protected internal GameObject mGoBattle = null; protected internal GameObject mGoBg = null; protected internal IGVGBattleMember mBluePanel; protected internal GuildArenaInspireCD mInspireCD; protected internal GameObject mEncourageButton; protected internal GameObject mEncourageButtonBg; protected internal Transform mCombatInfo; protected internal GameObject mCombatScore; protected internal IXUILabel mLeftTime; protected internal IXUILabel mRoundLabel; protected internal GameObject mBlueCourage; protected internal GameObject mRedCourage; protected internal GuildArenaBattleDuelInfo mBattleDuelInfo; protected internal Transform mBattleSkillTransform; protected internal IXUISprite mLetmedieUpSpr; protected internal IXUISprite mLetmedieDownSpr; protected internal IXUISprite mEncourageSpr; protected internal IXUISprite mHelpSpr; protected internal IXUISprite mLeftCloseSpr; protected virtual void Awake() { this.mGoBg = base.transform.Find("Bg").gameObject; this.mGoPrepare = base.transform.Find("Prepare").gameObject; this.mGoBattle = base.transform.Find("Battle").gameObject; this.mCombatInfo = base.transform.Find("Battle/Info"); this.mCombatScore = base.transform.Find("Battle/Score").gameObject; this.mBlueView = base.transform.Find("Bg/LeftView").gameObject; this.mBlueCourage = base.transform.Find("Battle/Encourage/Blue").gameObject; this.mRedCourage = base.transform.Find("Battle/Encourage/Red").gameObject; this.mBlueCourageBar = (base.transform.Find("Battle/Encourage/Blue/Bar").GetComponent("XUISlider") as IXUISlider); this.mRedCourageBar = (base.transform.Find("Battle/Encourage/Red/Bar").GetComponent("XUISlider") as IXUISlider); this.mUp = base.transform.Find("Bg/LetmedieUp").gameObject; this.mUpSprite = (this.mUp.GetComponent("XUISprite") as IXUISprite); this.mDown = base.transform.Find("Bg/LetmedieDown").gameObject; this.mDownSprite = (this.mDown.GetComponent("XUISprite") as IXUISprite); this.BlueInspireTween = base.transform.Find("Battle/Encourage/Blue/Time").gameObject; this.RedInspireTween = base.transform.Find("Battle/Encourage/Red/Time").gameObject; this.mEncourageButton = base.transform.Find("Battle/GuildMember/Encourage").gameObject; this.mEncourageButtonBg = base.transform.Find("Battle/Encourage/Bg1").gameObject; this.mLeftTime = (base.transform.Find("LeftTime").GetComponent("XUILabel") as IXUILabel); this.mRoundLabel = (base.transform.Find("GuildAreanStage").GetComponent("XUILabel") as IXUILabel); this.mBattleSkillTransform = base.transform.Find("KillInfo"); this.mLetmedieUpSpr = (this.mGoBg.transform.Find("LetmedieUp").GetComponent("XUISprite") as IXUISprite); this.mLetmedieDownSpr = (this.mGoBg.transform.Find("LetmedieDown").GetComponent("XUISprite") as IXUISprite); this.mUpTips = base.transform.Find("Bg/LetmedieUpBg").gameObject; this.mDownTips = base.transform.Find("Bg/LetmedieDownBg").gameObject; this.mEncourageSpr = (base.transform.Find("Battle/GuildMember/Encourage").GetComponent("XUISprite") as IXUISprite); this.mHelpSpr = (base.transform.Find("Prepare/Help").GetComponent("XUISprite") as IXUISprite); this.mLeftCloseSpr = (this.mGoBg.transform.Find("LeftView/close").GetComponent("XUISprite") as IXUISprite); } } }