Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_ExternalPaginationUIComponent.c
Go to the documentation of this file.
1
class
SCR_ExternalPaginationUIComponent
:
SCR_BasePaginationUIComponent
2
{
3
protected
int
m_iEntryCount
;
4
protected
ref
ScriptInvoker
m_OnShowEntries
=
new
ScriptInvoker
();
5
6
//------------------------------------------------------------------------------------------------
7
void
SetPageIndex
(
int
index
)
8
{
9
m_iCurrentPage
=
index
;
10
}
11
12
//------------------------------------------------------------------------------------------------
13
void
SetEntryCount
(
int
count)
14
{
15
m_iEntryCount
= count;
16
}
17
18
//------------------------------------------------------------------------------------------------
19
ScriptInvoker
GetOnShowEntries
()
20
{
21
return
m_OnShowEntries
;
22
}
23
24
//------------------------------------------------------------------------------------------------
25
override
protected
void
ShowEntries
(
Widget
contentWidget,
int
indexStart,
int
indexEnd)
26
{
27
m_OnShowEntries
.Invoke(contentWidget, indexStart, indexEnd);
28
}
29
30
//------------------------------------------------------------------------------------------------
31
override
protected
int
GetEntryCount
()
32
{
33
return
m_iEntryCount
;
34
}
35
36
//------------------------------------------------------------------------------------------------
37
override
void
HandlerAttached
(
Widget
w)
38
{
39
super.HandlerAttached(w);
40
}
41
};
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition
SCR_DestructionSynchronizationComponent.c:17
SCR_BasePaginationUIComponent
Definition
SCR_BasePaginationUIComponent.c:2
SCR_BasePaginationUIComponent::m_iCurrentPage
int m_iCurrentPage
Definition
SCR_BasePaginationUIComponent.c:72
SCR_ExternalPaginationUIComponent
Definition
SCR_ExternalPaginationUIComponent.c:2
SCR_ExternalPaginationUIComponent::GetEntryCount
int GetEntryCount()
Definition
SCR_ExternalPaginationUIComponent.c:31
SCR_ExternalPaginationUIComponent::ShowEntries
void ShowEntries(Widget contentWidget, int indexStart, int indexEnd)
Definition
SCR_ExternalPaginationUIComponent.c:25
SCR_ExternalPaginationUIComponent::GetOnShowEntries
ScriptInvoker GetOnShowEntries()
Definition
SCR_ExternalPaginationUIComponent.c:19
SCR_ExternalPaginationUIComponent::SetPageIndex
void SetPageIndex(int index)
Definition
SCR_ExternalPaginationUIComponent.c:7
SCR_ExternalPaginationUIComponent::SetEntryCount
void SetEntryCount(int count)
Definition
SCR_ExternalPaginationUIComponent.c:13
SCR_ExternalPaginationUIComponent::m_iEntryCount
int m_iEntryCount
Definition
SCR_ExternalPaginationUIComponent.c:3
SCR_ExternalPaginationUIComponent::HandlerAttached
override void HandlerAttached(Widget w)
Definition
SCR_ExternalPaginationUIComponent.c:37
SCR_ExternalPaginationUIComponent::m_OnShowEntries
ref ScriptInvoker m_OnShowEntries
Definition
SCR_ExternalPaginationUIComponent.c:4
Widget
Definition
Widget.c:13
ScriptInvoker
ScriptInvokerBase< func > ScriptInvoker
Definition
tools.c:134
scripts
Game
UI
Components
SCR_ExternalPaginationUIComponent.c
Generated by
1.17.0