summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIWrapContent.cs
blob: 80514d5bde139891473c7778195f961b05bb63a8 (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
using System;
using System.Collections.Generic;
using UnityEngine;

namespace UILib
{
	public interface IXUIWrapContent : IXUIObject
	{
		bool enableBounds { get; set; }

		Vector2 itemSize { get; set; }

		int widthDimension { get; set; }

		int heightDimensionMax { get; }

		int maxItemCount { get; }

		void SetContentCount(int num, bool fadeIn = false);

		void SetOffset(int offset);

		void RegisterItemUpdateEventHandler(WrapItemUpdateEventHandler eventHandler);

		void RegisterItemInitEventHandler(WrapItemInitEventHandler eventHandler);

		void InitContent();

		void RefreshAllVisibleContents();

		void GetActiveList(List<GameObject> ret);
	}
}