REDNODE / GAME API

FakeFeature

classscriptedClass

extends GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 5

NameTypeFlags
choicesarray<SFakeFeatureChoice>scriptedprivate
componentsarray<ref<IPlacedComponent>>scriptedprivate
interactionref<InteractionComponent>scriptedprotected
scaningComponentref<ScanningComponent>scriptedprivate
was_usedBoolscriptedprivate

Methods 14

private final func CreateChoice(choiceID: script_ref<String>, data: Int32) -> InteractionChoicescripted
private final func InitializeChoices()scripted
protected cb func OnDetach() -> Boolscripted
protected cb func OnEnabledFactChangeTrigerred(evt: ref<FactChangedEvent>) -> Boolscripted
protected cb func OnGameAttached() -> Boolscripted
protected cb func OnInteractionChoice(choiceEvent: ref<InteractionChoiceEvent>) -> Boolscripted
protected cb func OnItemTooltip(evt: ref<InteractionActivationEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
private final func RefreshChoices()scripted
private final func ResolveChoice(choiceID: Int32)scripted
private final func ResolveComponents(choiceID: Int32)scripted
private final func ResolveFact(factData: SFactOperationData)scripted
private final func UnInitializeChoices()scripted