Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_LightSlot Class Reference
Inheritance diagram for SCR_LightSlot:
BaseLightSlot

Protected Member Functions

ScriptInvoker GetOnLightStateChanged ()
override void OnLightStateChanged (bool newState)
override void OnInit (IEntity owner)
void PlaySound (bool newState)

Protected Attributes

string m_sLightOnEventName
string m_sLightOffEventName
bool m_bIsActive
SoundComponent m_SoundComponent
ref ScriptInvoker m_OnLightStateChanged

Detailed Description

Definition at line 1 of file SCR_LightSlot.c.

Member Function Documentation

◆ GetOnLightStateChanged()

ScriptInvoker SCR_LightSlot::GetOnLightStateChanged ( )
inlineprotected

Get event called when the light is turned on or off.

Returns
Script invoker (bool)

Definition at line 17 of file SCR_LightSlot.c.

◆ OnInit()

override void SCR_LightSlot::OnInit ( IEntity owner)
inlineprotected

Definition at line 37 of file SCR_LightSlot.c.

◆ OnLightStateChanged()

override void SCR_LightSlot::OnLightStateChanged ( bool newState)
inlineprotected

Definition at line 26 of file SCR_LightSlot.c.

◆ PlaySound()

void SCR_LightSlot::PlaySound ( bool newState)
inlineprotected
Parameters
newState

Definition at line 48 of file SCR_LightSlot.c.

Member Data Documentation

◆ m_bIsActive

bool SCR_LightSlot::m_bIsActive
protected

Definition at line 9 of file SCR_LightSlot.c.

◆ m_OnLightStateChanged

ref ScriptInvoker SCR_LightSlot::m_OnLightStateChanged
protected

Definition at line 12 of file SCR_LightSlot.c.

◆ m_sLightOffEventName

string SCR_LightSlot::m_sLightOffEventName
protected

Definition at line 7 of file SCR_LightSlot.c.

◆ m_sLightOnEventName

string SCR_LightSlot::m_sLightOnEventName
protected

Definition at line 4 of file SCR_LightSlot.c.

◆ m_SoundComponent

SoundComponent SCR_LightSlot::m_SoundComponent
protected

Definition at line 10 of file SCR_LightSlot.c.


The documentation for this class was generated from the following file: