Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BaseLightManagerComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
16 class BaseLightManagerComponent: GameComponent
17 {
19  proto external bool GetLightsEnabled();
21  proto external void SetLightsState(ELightType type, bool state = false, int side = -1);
23  proto external bool GetLightsState(ELightType type, int side = -1);
25  proto external BaseLightSlot FindLight(int lightID);
27  proto external int GetLights(out notnull array<BaseLightSlot> outLights);
29  proto external bool TrySetSurfaceFunctional(int surfaceID, bool functiona);
30 
31  // callbacks
32 
37  event protected void OnInit(IEntity owner);
43  event protected void OnFrame(IEntity owner, float timeSlice);
44 }
45 
GetLights
proto external int GetLights(out notnull array< BaseLightSlot > outLights)
Returns a list and count of all lights.
TrySetSurfaceFunctional
proto external bool TrySetSurfaceFunctional(int surfaceID, bool functiona)
Changes functional state of light surface and all linked lights for provided surface id,...
OnFrame
event protected void OnFrame(IEntity owner, float timeSlice)
GameComponentClass
Definition: GameComponentClass.c:7
BaseLightSlot
Definition: BaseLightSlot.c:7
BaseLightManagerComponentClass
Definition: BaseLightManagerComponent.c:12
FindLight
proto external BaseLightSlot FindLight(int lightID)
Searches for Light by ID.
OnInit
event protected void OnInit(IEntity owner)
Definition: SCR_CharacterCommandHandler_Tests.c:523
ELightType
ELightType
Definition: ELightType.c:7
SetLightsState
proto external void SetLightsState(ELightType type, bool state=false, int side=-1)
Sets the state flag for given type.
GetLightsState
proto external bool GetLightsState(ELightType type, int side=-1)
Gets the state flag for given type.
type
EDamageType type
Definition: SCR_DestructibleTreeV2.c:32
GetLightsEnabled
BaseLightManagerComponentClass GameComponentClass GetLightsEnabled()
Gets the enable flag (all lights)
GameComponent
Definition: GameComponent.c:12