Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
worldEditor.c
Go to the documentation of this file.
1
2
/*class EditorWindowWidget: RenderTargetWidget
3
{
4
}*/
5
6
class
WorldEditorIngame
7
{
8
proto native
bool
LoadWorld(
string
worldFilePath);
9
proto native
bool
SaveWorld();
10
11
proto native
void
SetMoveTool();
12
proto native
void
SetRotateTool();
13
proto native
void
SetScaleTool();
14
15
proto native
bool
Undo();
16
proto native
bool
Redo();
17
18
proto native
void
Update
(
float
tDelta);
19
proto native
void
Init
(notnull
RenderTargetWidget
mainWindow);
20
proto native
void
Cleanup
();
21
22
proto native
WorldEditorAPI
GetAPI();
23
}
24
25
class
ContainerIdPathEntry
: Managed
26
{
27
string
PropertyName
;
28
int
Index
;
29
30
void
ContainerIdPathEntry
(
string
propertyName,
int
index
= -1)
31
{
32
PropertyName
= propertyName;
33
Index
=
index
;
34
}
35
}
36
42
class
EditorEntityIterator
43
{
44
void
EditorEntityIterator(notnull
WorldEditorAPI
api)
45
{
46
m_pApi = api;
47
m_iCurrentIdx = 0;
48
m_iCount = m_pApi.GetEditorEntityCount();
49
}
50
52
IEntitySource
GetNext()
53
{
54
while
(m_iCurrentIdx < m_iCount && m_pApi.GetEditorEntity(m_iCurrentIdx).GetParent())
55
m_iCurrentIdx++;
56
57
if
(m_iCurrentIdx < m_iCount)
58
return
m_pApi.GetEditorEntity(m_iCurrentIdx++);
59
60
return
null;
61
}
62
63
int
GetCurrentIdx()
64
{
65
return
m_iCurrentIdx;
66
}
67
68
private
WorldEditorAPI
m_pApi;
69
private
int
m_iCurrentIdx;
70
private
int
m_iCount;
71
}
Init
override void Init()
Definition
CharacterCameraHandlerComponent.c:40
Index
int Index
Definition
worldEditor.c:28
ContainerIdPathEntry
void ContainerIdPathEntry(string propertyName, int index=-1)
Definition
worldEditor.c:30
PropertyName
class WorldEditorIngame PropertyName
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition
SCR_DestructionSynchronizationComponent.c:17
Cleanup
void Cleanup()
Cleanup component.
Definition
SCR_VONController.c:854
IEntitySource
Definition
IEntitySource.c:13
RenderTargetWidget
Definition
RenderTargetWidget.c:13
WorldEditorAPI
Definition
WorldEditorAPI.c:13
WorldEditorIngame
Definition
worldEditor.c:7
Update
@ Update
Definition
SndComponentCallbacks.c:14
scripts
Core
worldEditor.c
Generated by
1.17.0