FakeFeature
classscriptedClass
extends GameObject › GameEntity › Entity › IScriptable › ISerializable
Properties 5
| Name | Type | Flags |
|---|---|---|
choices | array<SFakeFeatureChoice> | scriptedprivate |
components | array<ref<IPlacedComponent>> | scriptedprivate |
interaction | ref<InteractionComponent> | scriptedprotected |
scaningComponent | ref<ScanningComponent> | scriptedprivate |
was_used | Bool | scriptedprivate |
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