REDNODE / GAME API

InspectionComponent

classscriptedClass

extends ScriptableComponent › GameComponent › IComponent › IScriptable › ISerializable

Properties 15

NameTypeFlags
activeClueStringscriptedprivate
animFeatureref<AnimFeature_Inspection>scriptedprivate
cumulatedObjRotationXFloatscriptedprivate
cumulatedObjRotationYFloatscriptedprivate
isPlayerInspectingBoolscriptedprivate
isScanAvailableBoolscriptedprivate
lastInspectedObjIDEntityIDscriptedprivate
listenerref<IScriptable>scriptedprivate
maxObjOffsetFloatscriptedprivate
minObjOffsetFloatscriptedprivate
objectScannedBoolscriptedprivate
scanningInProgressBoolscriptedprivate
slotStringscriptedpublic
timeToScanFloatscriptedprivate
zoomSpeedFloatscriptedprivate

Methods 31

private final func CleanupInspectSlot(wasLooted: Bool)scripted
private final func DisplayScanningUI(show: Bool)scripted
private final func EmptyInspectSlot()scripted
private final func ExitInspect()scripted
public final const func GetIsPlayerInspecting() -> Boolscripted
public final const func GetLastInspectedObjectID() -> EntityIDscripted
private final func LootInspectItem()scripted
protected cb func OnAction(action: ListenerAction, consumer: ListenerActionConsumer) -> Boolscripted
protected cb func OnInspectionEvent(evt: ref<InspectionEvent>) -> Boolscripted
protected cb func OnInspectTrigger(evt: ref<InspectionTriggerEvent>) -> Boolscripted
protected cb func OnPreScanEvent(evt: ref<ScanEvent>) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
private final func OnUpdate(deltaTime: Float)scripted
private final func PlaceItemInInspectSlot(itemTDBIDString: script_ref<String>, offset: Float)scripted
private final func ProcessZoom(val: Float)scripted
private final func RememberInspectedObjID(id: EntityID)scripted
private final func RemoveInspectedItem()scripted
private final func ResetAnimFeature()scripted
private final func ResetScanningState()scripted
private final func RotateInInspection(deltaX: Float, deltaY: Float)scripted
private final func RotateInInspectionByMouse(deltaX: Float, deltaY: Float)scripted
private final func ScanInspectableItem()scripted
private final func SetInputListening(enabled: Bool)scripted
private final func SetInspectionStage(stage: Int32)scripted
private final func SetIsPlayerInspecting(enabled: Bool)scripted
private final func SetLastInspectedObjectID(newID: EntityID)scripted
private final func SetObjectOffsets(offset: Float, adsOffset: Float)scripted
private final func SetTimeToScan(timeVal: Float)scripted
private final func ToggleExitInspect()scripted
private final func ToggleInspection(enabled: Bool)scripted
private final func ToggleInspectObject(show: Bool)scripted