summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIComboBox.cs
blob: 12b4924d2578e5027a6be104854695f5fcafae6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using UnityEngine;

namespace UILib
{
	public interface IXUIComboBox : IXUIObject
	{
		void ModuleInit();

		void AddItem(string text, int value);

		GameObject GetItem(int value);

		void ClearItems();

		bool SelectItem(int value, bool withCallback);

		void RegisterSpriteClickEventHandler(ComboboxClickEventHandler eventHandler);

		void ResetState();
	}
}