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

namespace XMainClient.UI
{
	internal class AuctionPurchaseBehaviour : DlgBehaviourBase
	{
		public GameObject m_ItemTpl;

		public IXUILabel m_SinglePrice;

		public IXUILabel m_HavCoin;

		public IXUILabel m_TotalPrice;

		public AuctionNumberOperate m_CurCountOperate;

		public IXUIButton m_Ok;

		public IXUIButton m_maskSprite;

		private void Awake()
		{
			this.m_ItemTpl = base.transform.Find("Bg/ItemTpl").gameObject;
			this.m_SinglePrice = (base.transform.Find("Bg/Price/Label").GetComponent("XUILabel") as IXUILabel);
			this.m_HavCoin = (base.transform.Find("Bg/Have/Label").GetComponent("XUILabel") as IXUILabel);
			this.m_TotalPrice = (base.transform.Find("Bg/TotalPrice/Label").GetComponent("XUILabel") as IXUILabel);
			this.m_CurCountOperate = new AuctionNumberOperate(base.transform.Find("Bg/Free").gameObject, new Vector3(-94f, 104f, 0f));
			this.m_Ok = (base.transform.Find("Bg/Ok").GetComponent("XUIButton") as IXUIButton);
			this.m_maskSprite = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
		}
	}
}