Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
gamelibentities.c
Go to the documentation of this file.
1
//Generic entities from GameLib (script side of c++ classes)
2
3
#ifdef COMPONENT_SYSTEM
4
class
GenericEntity
extends
IEntity
5
{
6
//native method implemented on c++ side
7
proto native
void
Show
(
bool
show);
8
13
proto native GenericComponent FindComponent(
typename
typeName);
14
22
proto native
void
InsertComponent(GenericComponent
component
);
23
30
proto native
void
RemoveComponent(GenericComponent
component
);
31
39
proto native
void
DeleteComponent(GenericComponent
component
);
40
41
#ifdef WORKBENCH
45
void
_WB_AfterWorldUpdate(
float
timeSlice) {};
46
#endif
47
}
48
49
class
GenericWorldEntity
extends
GenericEntity
50
{
51
}
52
53
class
GenericTerrainEntity
extends
GenericEntity
54
{
55
}
56
57
class
LightEntity
extends
GenericEntity
58
{
63
proto native external
void
SetDiffuseColor(
int
color);
64
proto native external
int
GetDiffuseColor();
65
66
proto native external
void
SetRadius
(
float
radius);
67
proto native external
float
GetRadius
();
68
73
proto native external
void
SetConeAngle(
float
angle);
78
proto native external
float
GetConeAngle();
79
80
proto native external
void
SetCastShadow(
bool
enable);
81
proto native external
bool
IsCastShadow(
bool
enable);
82
}
83
84
class
GenericWorldLightEntity
extends
GenericEntity
85
{
86
}
87
88
class
GenericWorldFogEntity
extends
GenericEntity
89
{
90
}
91
92
class
BasicEntity
extends
GenericEntity
93
{
94
}
95
96
class
WorldEntityClass
97
{
98
}
99
100
class
WorldEntity
extends
GenericWorldEntity
101
{
102
}
103
104
class
ModelEntity
extends
BasicEntity
105
{
106
}
107
108
enum
CharacterMovement
109
{
110
MOVEMENTTYPE_IDLE,
111
MOVEMENTTYPE_WALK,
112
MOVEMENTTYPE_RUN,
113
MOVEMENTTYPE_SPRINT
114
};
115
116
enum
CharacterStance
117
{
118
STANCE_ERECT,
119
STANCE_CROUCH,
120
STANCE_PRONE,
121
STANCE_ERECT_RAISED,
122
STANCE_CROUCH_RAISED,
123
STANCE_PRONE_RAISED
124
};
125
126
class
CharacterEntity
extends
BasicEntity
127
{
128
proto native
void
Teleport(vector transform[4]);
129
proto native CharacterMovement GetCurrentMovement();
130
proto native CharacterStance GetCurrentStance();
131
}
132
133
class
BasicCamera
extends
BasicEntity
134
{
135
}
136
137
class
VRHandEntity
extends
GenericEntity
138
{
139
}
140
141
#endif
IEntity
Internal ancestor of all Entity implementations.
Definition
enentity.c:165
Show
void Show()
Definition
dayzgame.c:163
component
class BoxCollidingParams component
ComponentInfo for BoxCollidingResult.
GetRadius
float GetRadius()
Definition
radialmenu.c:372
SetRadius
void SetRadius(float radius)
Definition
woodbase.c:295
Games
Dayz
scripts
2_gamelib
entities
gamelibentities.c
Generated by
1.17.0