DIFF

class SpotlightSource

Spotlight ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 1

Constants 17

static const string SEL_REFLECTOR_COMP_U = "reflector"
static const string SEL_CORD_FOLDED_U = "cord_folded"
static const string SEL_CORD_PLUGGED_U = "cord_plugged"
static const string SEL_CORD_PLUGGED_F = "spotlight_folded_cord_plugged"
static const string SEL_CORD_FOLDED_F = "spotlight_folded_cord_folded"
static const string SEL_INVENTORY = "inventory"
Referenced by UpdateAllSelections()
static const string SEL_PLACING = "placing"
Referenced by UpdateAllSelections()
static const string SEL_GLASS_F = "glass_folded"
Referenced by UpdateAllSelections()
static const string SEL_GLASS_U = "glass_unfolded"
Referenced by UpdateAllSelections()
static const string SEL_REFLECTOR_F = "reflector_folded"
Referenced by UpdateAllSelections()
static const string SEL_REFLECTOR_U = "reflector_unfolded"
Referenced by UpdateAllSelections()
static const int ID_GLASS_UNFOLDED = 3
Referenced by UpdateAllSelections()
static const int ID_REFLECTOR_UNFOLDED = 4
Referenced by UpdateAllSelections()
static const int ID_GLASS_FOLDED = 5
Referenced by UpdateAllSelections()
static const int ID_REFLECTOR_FOLDED = 6
Referenced by UpdateAllSelections()
const string SOUND_TURN_ON = "spotlight_turn_on_SoundSet"
Referenced by SoundTurnOn()
const string SOUND_TURN_OFF = "spotlight_turn_off_SoundSet"
Referenced by SoundTurnOff()

Members 12

private bool m_IsFolded
Referenced by Fold(), GetViewIndex(), IsFolded()
Show 2 more, OnStoreSave(), and Unfold()
private bool m_EvaluateDeployment
Referenced by OnItemLocationChanged(), OnSwitchOff(), OnWorkStart()
Show 1 more, OnWorkStop()
static vector m_LightLocalPosition
static vector m_LightLocalOrientation = "0 0 0"
static string LIGHT_OFF_GLASS = "dz\\gear\\camping\\Data\\spotlight_glass.rvmat"
Referenced by UpdateAllSelections()
static string LIGHT_OFF_REFLECTOR = "dz\\gear\\camping\\Data\\spotlight.rvmat"
Referenced by UpdateAllSelections()
static string LIGHT_ON_GLASS = "dz\\gear\\camping\\Data\\spotlight_glass_on.rvmat"
Referenced by UpdateAllSelections()
static string LIGHT_ON_REFLECTOR = "dz\\gear\\camping\\Data\\spotlight_glass_on.rvmat"
Referenced by UpdateAllSelections()
protected EffectSound m_SoundTurnOn
Referenced by SoundTurnOn()
protected EffectSound m_SoundTurnOff
Referenced by SoundTurnOff()
protected ref EffectSound m_DeployLoopSound

DEPRECATED

Methods 30

override bool IsElectricAppliance()
override void EOnInit(IEntity other, int extra)
override void OnSwitchOn()
override void OnSwitchOff()
override void OnWorkStop()
override void OnIsPlugged(EntityAI source_device)
override void OnIsUnplugged(EntityAI last_energy_source)
override void OnStoreSave(ParamsWriteContext ctx)
override bool OnStoreLoad(ParamsReadContext ctx, int version)
References Fold(), ItemBase.OnStoreLoad(), Serializer.Read()
Show 1 more, Unfold()
override bool CanPutIntoHands(EntityAI parent)
protected void SoundTurnOn()
Referenced by OnSwitchOn()
protected void SoundTurnOff()
Referenced by OnSwitchOff()
override void OnPlacementComplete(Man player, vector position = "0 0 0", vector orientation = "0 0 0")
override void OnPlacementCancelled(Man player)
override bool IsDeployable()
override string GetDeploySoundset()
override string GetLoopDeploySoundset()
override int GetViewIndex()
override void SetActions()
void PlayDeployLoopSound()

DEPRECATED

void StopDeployLoopSound()

DEPRECATED