TwintoneDescriptionGameController class
TwintoneDescriptionGameController
Inheritance
Base: BaseChunkGameController
Derived
None.
Properties
| Property | Type | |
|---|---|---|
cursorRootContainerRef | ink.WidgetReference | scripted |
paintjobInterface | ink.WidgetReference | scripted |
restrictedPaintjobInterface | ink.WidgetReference | scripted |
videoHeaderRef | ink.VideoWidgetReference | scripted |
videoGroupRef | ink.WidgetReference | scripted |
defaultVideoLoop | red.ResourceReferenceScriptToken | scripted |
thanksVideo | red.ResourceReferenceScriptToken | scripted |
vehicleManufacturer | ink.ImageWidgetReference | scripted |
applicableGroupRef | ink.WidgetReference | scripted |
buyButtonText | ink.TextWidgetReference | scripted |
applicableModelNamesText | ink.TextWidgetReference | scripted |
templateTypeText | ink.TextWidgetReference | scripted |
priceText | ink.TextWidgetReference | scripted |
profileNotAvailableText | ink.TextWidgetReference | scripted |
colorTemplatePreviewContainer | ink.WidgetReference | scripted |
c_progressBarDuration | uint | scripted |
c_progressBarUpdateRate | uint | scripted |
colorTemplatePreview | WeakHandle<ColorTemplatePreviewDisplayController> | scripted |
vehicleCustomizationChangedCallbackID | red.CallbackObject? | scripted |
vehicleManufacturerCallbackID | red.CallbackObject? | scripted |
playerMountedCallbackID | red.CallbackObject? | scripted |
scannerModeChangedCallbackID | red.CallbackObject? | scripted |
activeTabChangedCallbackID | red.CallbackObject? | scripted |
progressBarDelayID | game.DelayID | scripted |
scannedVehicleTemplate | VehicleVisualCustomizationTemplate | scripted |
scannedModelName | CName | scripted |
cachedVehicleTemplate | VehicleVisualCustomizationTemplate | scripted |
cachedModelName | CName | scripted |
isScanInProgress | bool | scripted |
blackboardUI | WeakHandle<game.IBlackboard> | scripted |
game | ScriptGameInstance | scripted |
playerVVCComponent | vehicle.VisualCustomizationComponent? | scripted |
progressBarUpdateProxy | ink.anim.Proxy? | scripted |
progressBarCounter | float | scripted |
buyAnimationProxy | ink.anim.Proxy? | scripted |
twintoneVisible | bool | scripted |
scanAvailable | bool | scripted |
applyAvailable | bool | scripted |
applyAfterSave | bool | scripted |
endAnimationCancelled | bool | scripted |
Functions
bool OnInitialize()overrideRTTIbool OnUninitialize()RTTIbool OnScannerModeChanged(string val)RTTIbool OnActiveTabChanged(string val)RTTIvoid OnTwintoneVisibleChanged(bool visible)RTTIbool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIbool OnVehicleCustomizationChanged(string value)RTTIvoid CancelScanningFinishAnimation()RTTIbool OnVehicleManufacturerChanged(string value)RTTIvoid SetupBuyButtonState(bool twintoneAvailable, bool? uniqueTemplate)RTTIvoid SaveTwintoneProfile(bool applyAfterSave)RTTIvoid ApplyTwintoneProfile()RTTIvoid OpenOverridePopUp()RTTIbool OnOverridePopUpClosed(OnTwintoneOverrideClosedEvent evt)RTTIvoid StartTwintoneScan()RTTIvoid StartProgressBar()RTTIvoid StopProgressBar(bool? keepBarWidgetAlive)RTTIvoid PlayButtonAnimationStart()RTTIvoid ShowNotEnoughMoneyWarning()RTTIbool OnUpdateProgressBar(ink.anim.Proxy proxy)RTTIbool OnProgressBarDone(ink.anim.Proxy proxy)RTTIvoid FinishScanningAndSave()RTTIbool OnVideoFinished(WeakHandle<ink.VideoWidget> videoWidget)RTTIvoid PlayButtonAnimationEnd()RTTIgame.IBlackboard? GetProgressBarBlackboard()RTTIgame.IBlackboard? GetUIGameDataBlackboard()RTTIgame.IBlackboard? GetUIScannerBlackboard()RTTIint GetScanningPrice(VehicleVisualCustomizationType type)RTTIint GetPlayerMoney()RTTIbool RemovePlayerMoney(int amount)RTTIbool OnPlayerMountedChanged(bool mounted)RTTIvoid RefreshTwintoneAvailability()RTTIvoid SetSaveAvailable(bool available)RTTIvoid UpdateApplyAvailable()RTTIvoid SendCustomizationToVehicle(VehicleVisualCustomizationTemplate template)RTTIstring GetApplicableModelsForTemplate(VehicleVisualCustomizationTemplate template)RTTI