Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
toggleselections.c
Go to the documentation of this file.
2 {
3  protected string m_ToggleOff;
4  protected string m_ToggleOn;
5  int m_OpeningBit;
6  //ref protected array<string> m_ToggleOffLinkedAnimations;
7  //ref protected array<string> m_ToggleOnLinkedAnimations;
8 
9  void ToggleAnimations( string toggle_off, string toggle_on, int mask, array<string> linked_anims_off = null, array<string> linked_anims_on = null )
10  {
11  m_ToggleOff = toggle_off;
12  m_ToggleOn = toggle_on;
13  m_OpeningBit = mask;
14  //m_ToggleOffLinkedAnimations = linked_anims_off;
15  //m_ToggleOnLinkedAnimations = linked_anims_on;
16  }
17 
18  string GetToggleOff()
19  {
20  return m_ToggleOff;
21  }
22 
23  string GetToggleOn()
24  {
25  return m_ToggleOn;
26  }
27 
28  int GetOpeningBit()
29  {
30  return m_OpeningBit;
31  }
32 
33  /*array<string> GetLinkedOff()
34  {
35  return m_ToggleOffLinkedAnimations;
36  }
37 
38  array<string> GetLinkedOn()
39  {
40  return m_ToggleOnLinkedAnimations;
41  }*/
42 }
array< string >
ToggleAnimations
Definition: toggleselections.c:1