DayZ
1.24
Loading...
Searching...
No Matches
ItemsCounter.c
Go to the documentation of this file.
1
// -----------------------------------------------------------
2
class
ItemsCounter
:
ScriptedWidgetEventHandler
3
{
4
bool
NumberOfItems
;
5
6
void
OnWidgetScriptInit
(
Widget
w
)
7
{
8
Widget
child
=
w
.GetChildren();
9
10
while
(
child
)
11
{
12
child
=
child
.GetSibling();
13
NumberOfItems
++;
14
}
15
}
16
};
ItemsCounter
Definition
ItemsCounter.c:3
ItemsCounter::OnWidgetScriptInit
void OnWidgetScriptInit(Widget w)
Definition
ItemsCounter.c:6
ItemsCounter::NumberOfItems
bool NumberOfItems
Definition
ItemsCounter.c:4
Param3
Definition
EntityAI.c:95
ScriptedWidgetEventHandler
map: item x vector(index, width, height)
Definition
EnWidgets.c:651
Widget
Definition
EnWidgets.c:190
scripts
3_Game
GUI
Spacers
ItemsCounter.c
Generated by
1.10.0