DIFF

class UniversalLightSource

UniversalLight Switchable_Base ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 1

void UniversalLight()

Members 8

Referenced by GetLight(), OnWork(), OnWorkStart()
Show 1 more, OnWorkStop()
static int REFLECTOR_ID = 1
Referenced by OnWorkStart(), and OnWorkStop()
static int GLASS_ID = 2
Referenced by OnWorkStart(), and OnWorkStop()
static string LIGHT_OFF_GLASS = "dz\\gear\\tools\\data\\flashlight_glass.rvmat"
Referenced by OnWorkStop()
static string LIGHT_OFF_REFLECTOR = "dz\\weapons\\attachments\\data\\m4_flashlight.rvmat"
Referenced by OnWorkStop()
static string LIGHT_ON_GLASS = "dz\\gear\\tools\\data\\flashlight_glass_on.rvmat"
Referenced by OnWorkStart()
static string LIGHT_ON_REFLECTOR = "dz\\weapons\\attachments\\data\\m4_flashlight_on.rvmat"
Referenced by OnWorkStart()
ref array<int> m_AttachmentSlotsCheck

Methods 9

override ScriptedLightBase GetLight()
References m_Light
override void SetActions()
override bool IsLightSource()
void InitAttachmentsSlotsToCheck(out array<int> AttSlots)

Enter att slot types to check on attach

Referenced by UniversalLight()