summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/GVGBattlePrepareBehaviour.cs
blob: fa59385d4313ea4e3d4ac6de4a6d83f065b9bab1 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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);
		}
	}
}