Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
itemscounter.c
Go to the documentation of this file.
1 // -----------------------------------------------------------
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:2
Widget
Definition: enwidgets.c:189
ScriptedWidgetEventHandler
map: item x vector(index, width, height)
Definition: enwidgets.c:650