summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XChatVoiceStatusBehaviour.cs
blob: 6c9d59d928cf891e5901c3a661011890cece3203 (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
using System;
using System.Collections.Generic;
using UILib;
using XMainClient.UI.UICommon;

namespace XMainClient
{
	internal class XChatVoiceStatusBehaviour : DlgBehaviourBase
	{
		public static uint MAX_VOL_NUM = 7u;

		public List<IXUISprite> m_Volume = new List<IXUISprite>();

		private void Awake()
		{
			int num = 0;
			while ((long)num < (long)((ulong)XChatVoiceStatusBehaviour.MAX_VOL_NUM))
			{
				IXUISprite item = base.transform.Find("Bg/SpeakPanel/speakstatus/Info/P" + num.ToString()).GetComponent("XUISprite") as IXUISprite;
				this.m_Volume.Add(item);
				num++;
			}
		}
	}
}