DayZ
1.29
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
PluginCameraTools.c
См. документацию.
1
class
PluginCameraTools
extends
PluginBase
2
{
3
protected
static
PluginCameraTools
m_Instance
;
4
protected
static
bool
m_IsOpen
;
5
6
override
void
OnInit
()
7
{
8
m_Instance
=
this
;
9
}
10
11
static
PluginCameraTools
GetInstance
()
12
{
13
return
m_Instance
;
14
}
15
16
//===========================================
17
// ToggleCameraTools
18
//===========================================
19
void
ToggleCameraTools
()
20
{
21
if
( !
m_IsOpen
)
22
{
23
g_Game
.GetUIManager().EnterScriptedMenu(
MENU_CAMERA_TOOLS
, null );
24
}
25
else
26
{
27
g_Game
.GetUIManager().Back();
28
}
29
m_IsOpen
= !
m_IsOpen
;
30
}
31
32
//===========================================
33
// CursorHide
34
//===========================================
35
void
CursorHide
()
36
{
37
if
(
g_Game
.GetUIManager().GetMenu() )
38
g_Game
.GetUIManager().GetMenu().OnHide();
39
}
40
41
//===========================================
42
// CursorShow
43
//===========================================
44
void
CursorShow
()
45
{
46
if
(
g_Game
.GetUIManager().GetMenu() )
47
g_Game
.GetUIManager().GetMenu().OnShow();
48
}
49
50
void
Save
()
51
{
52
if
(
g_Game
.GetUIManager().GetMenu() )
53
g_Game
.GetUIManager().GetMenu().OnKeyPress( null, 0, 0,
KeyCode
.KC_S );
54
}
55
56
void
PlayPause
()
57
{
58
if
(
g_Game
.GetUIManager().GetMenu() )
59
g_Game
.GetUIManager().GetMenu().OnKeyPress( null, 0, 0,
KeyCode
.KC_P );
60
}
61
62
void
AddKeyframe
()
63
{
64
if
(
g_Game
.GetUIManager().GetMenu() )
65
g_Game
.GetUIManager().GetMenu().OnKeyPress( null, 0, 0,
KeyCode
.KC_Q );
66
}
67
68
void
DeleteKeyframe
()
69
{
70
if
(
g_Game
.GetUIManager().GetMenu() )
71
g_Game
.GetUIManager().GetMenu().OnKeyPress( null, 0, 0,
KeyCode
.KC_E );
72
}
73
}
g_Game
DayZGame g_Game
Определения
DayZGame.c:3942
PluginBase::PlayPause
void PlayPause()
Определения
PluginCameraTools.c:56
PluginBase::m_IsOpen
static bool m_IsOpen
Определения
PluginCameraTools.c:4
PluginBase::Save
void Save()
Определения
PluginCameraTools.c:50
PluginBase::OnInit
override void OnInit()
Определения
PluginCameraTools.c:6
PluginBase::GetInstance
static PluginCameraTools GetInstance()
Определения
PluginCameraTools.c:11
PluginBase::CursorHide
void CursorHide()
Определения
PluginCameraTools.c:35
PluginBase::CursorShow
void CursorShow()
Определения
PluginCameraTools.c:44
PluginBase::AddKeyframe
void AddKeyframe()
Определения
PluginCameraTools.c:62
PluginBase::ToggleCameraTools
void ToggleCameraTools()
Определения
PluginCameraTools.c:19
PluginBase::m_Instance
static PluginCameraTools m_Instance
Определения
PluginCameraTools.c:3
PluginBase::DeleteKeyframe
void DeleteKeyframe()
Определения
PluginCameraTools.c:68
PluginBase
Plugin interface for controlling of agent pool system.
Определения
PluginBase.c:2
KeyCode
KeyCode
Определения
EnSystem.c:157
MENU_CAMERA_TOOLS
const int MENU_CAMERA_TOOLS
Определения
3_Game/DayZ/constants.c:201
Ishodniki
scripts
4_World
DayZ
Plugins
PluginBase
PluginCameraTools.c
Создано системой
1.13.2