BlackICE Scripting

class vehicle

ColorSelectorGameController

vehicle.ColorSelectorGameController

  • 140 properties
  • 112 functions

Extends game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable

Properties

PropertyTypeOffset
CursorRootContainerRefink.WidgetReference0x0 scripted
CursorRootOffsetPointink.WidgetReference0x18 scripted
colorPaletteRefink.WidgetReference0x30 scripted
stickerPaletteRefink.WidgetReference0x48 scripted
currentTemplateParentRefink.WidgetReference0x60 scripted
windowTitleink.TextWidgetReference0x78 scripted
classicBackgroundsink.WidgetReference[]0x90 scripted
mordredBackgroundsink.WidgetReference[]0xA0 scripted
colorWheelColorAink.WidgetReference0xB0 scripted
colorWheelColorBink.WidgetReference0xC8 scripted
colorWheelColorLightsink.WidgetReference0xE0 scripted
colorWheelColorLightsCircleink.WidgetReference0xF8 scripted
colorWheelColorLightsFixedCircleContainerink.WidgetReference0x110 scripted
colorWheelColorLightsFixedCircleink.WidgetReference0x128 scripted
colorPickerAvehicle.ColorSelectorPointerDef0x140 scripted
selectedColorPointerAvehicle.ColorSelectorPointerDef0x180 scripted
colorPickerBvehicle.ColorSelectorPointerDef0x1C0 scripted
selectedColorPointerBvehicle.ColorSelectorPointerDef0x200 scripted
colorPickerLightsvehicle.ColorSelectorPointerDef0x240 scripted
selectedColorPointerLightsvehicle.ColorSelectorPointerDef0x280 scripted
swapColorHintink.WidgetReference0x2C0 scripted
changeSliderHintink.WidgetReference0x2D8 scripted
twintoneApplyHintTextink.TextWidgetReference0x2F0 scripted
changeTabRightHintink.WidgetReference0x308 scripted
changeTabLeftHintink.WidgetReference0x320 scripted
mouseHitColor1Refink.WidgetReference0x338 scripted
mouseHitColor2Refink.WidgetReference0x350 scripted
mouseHitLightsRefink.WidgetReference0x368 scripted
vehiclePreviewColorAink.ImageWidgetReference0x380 scripted
vehiclePreviewColorBink.ImageWidgetReference0x398 scripted
vehiclePreviewLightsCarink.ImageWidgetReference0x3B0 scripted
vehiclePreviewLightsBikeink.ImageWidgetReference0x3C8 scripted
vehiclePreviewBackgroundink.ImageWidgetReference0x3E0 scripted
vehiclePreviewForegroundink.ImageWidgetReference0x3F8 scripted
vehiclePreviewGlowBackgroundink.ImageWidgetReference0x410 scripted
vehiclePreviewGlowAink.ImageWidgetReference0x428 scripted
vehiclePreviewGlowBink.ImageWidgetReference0x440 scripted
vehiclePreviewGlowLightsink.ImageWidgetReference0x458 scripted
vehiclePreviewScalingCanvasink.WidgetReference0x470 scripted
lightsPreviewBeamAink.ImageWidgetReference0x488 scripted
lightsPreviewBeamBink.ImageWidgetReference0x4A0 scripted
lightsPreviewBeamBikeink.ImageWidgetReference0x4B8 scripted
lightErrorMessageink.TextWidgetReference0x4D0 scripted
timeDilationProfilestring0x4E8 scripted
introAnimationCName0x508 scripted
cancelAnimationCName0x510 scripted
applyAnimationCName0x518 scripted
titleTextMainink.TextWidgetReference0x520 scripted
titleTextNumberink.TextWidgetReference0x538 scripted
colorHintsink.WidgetReference0x550 scripted
mouseHitSaturationBarink.WidgetReference0x568 scripted
saturationBarFillink.WidgetReference0x580 scripted
saturationPointerink.WidgetReference0x598 scripted
saturationBarHighlightink.ImageWidgetReference0x5B0 scripted
saturationBarHintink.WidgetReference0x5C8 scripted
brightnessBarHighlightink.ImageWidgetReference0x5E0 scripted
brightnessBarHintink.WidgetReference0x5F8 scripted
headlightsIconink.WidgetReference0x610 scripted
mouseHitBrightnessBarink.WidgetReference0x628 scripted
brightnessPointerink.WidgetReference0x640 scripted
modeChangeBackink.WidgetReference0x658 scripted
modeChangeNextink.WidgetReference0x670 scripted
applyContainerWidgetink.WidgetReference0x688 scripted
resetContainerWidgetink.WidgetReference0x6A0 scripted
vehicleUnknownPaneink.WidgetReference0x6B8 scripted
vehicleBrandIconink.ImageWidgetReference0x6D0 scripted
crackedCarGlitchMinimumIntervalfloat0x6E8 scripted
crackedCarGlitchMaximumIntervalfloat0x6EC scripted
vehicleNameTextink.TextWidgetReference0x6F0 scripted
templatePreviewLibraryRefink.WidgetLibraryReference0x708 scripted
uniqueColorPanelink.WidgetReference0x718 scripted
uniqueColorErrorPanelink.WidgetReference0x730 scripted
genericPatternsGridink.VirtualCompoundWidgetReference0x748 scripted
uniquePatternsGridink.VirtualCompoundWidgetReference0x760 scripted
saveProfileHintink.WidgetReference0x778 scripted
deleteProfileHintink.WidgetReference0x790 scripted
popupDataink.GameNotificationData?0x7A8 scripted
systemRequestsHandlerWeakHandle<ink.ISystemRequestsHandler>0x7B8 scripted
playerWeakHandle<PlayerPuppet>0x7C8 scripted
gameInstanceScriptGameInstance0x7D8 scripted
timeSystemgame.TimeSystem?0x7F0 scripted
vehicleWeakHandle<vehicle.BaseObject>0x800 scripted
animProxyink.anim.Proxy?0x810 scripted
fakeUpdateProxyink.anim.Proxy?0x820 scripted
sbBarsProxyink.anim.Proxy?0x830 scripted
LightsFocusProxyink.anim.Proxy?0x840 scripted
stickersPageWeakHandle<ink.Widget>0x850 scripted
isInMenuCallbackIDred.CallbackObject?0x860 scripted
activeModevehicle.ColorSelectorActiveMode0x870 scripted
previousModevehicle.ColorSelectorActiveMode0x874 scripted
activeInputModevehicle.ColorSelectorActiveInputMode0x878 scripted
currentAnglefloat0x87C scripted
colorADefinedbool0x880 scripted
colorBDefinedbool0x881 scripted
lightsDefinedbool0x882 scripted
targetColorAngleAfloat0x884 scripted
targetColorAngleBfloat0x888 scripted
targetColorAngleLightsfloat0x88C scripted
targetColorASaturationfloat0x890 scripted
targetColorBSaturationfloat0x894 scripted
targetColorABrightnessfloat0x898 scripted
targetColorBBrightnessfloat0x89C scripted
axisInputCacheVector20x8A0 scripted
inputEnabledbool0x8A8 scripted
sbBarsShownbool0x8A9 scripted
sbBarsLengthfloat0x8AC scripted
axisInputThresholdfloat0x8B0 scripted
saturationPointerPositionfloat0x8B4 scripted
brightnessPointerPositionfloat0x8B8 scripted
mouseInputEnabledbool0x8BC scripted
lightsEditingEnabledbool0x8BD scripted
hasCustomRimsbool0x8BE scripted
hasUniquePaintjobsbool0x8BF scripted
saturationSliderHoldedbool0x8C0 scripted
brightnessSliderHoldedbool0x8C1 scripted
ChromaSliderStepPadfloat0x8C4 scripted
ChromaSliderStepMousefloat0x8C8 scripted
sliderHoldGamepadbool0x8CC scripted
sliderHoldGamepadDampint0x8D0 scripted
sliderPadHoldAccelerationTreshholdint0x8D4 scripted
storedSelectedColorIDint0x8D8 scripted
cachedNewColorAColor0x8DC scripted
cachedNewColorBColor0x8E0 scripted
cachedNewColorLightsColor0x8E4 scripted
CloseReasonvehicle.ColorSelectorMenuCloseReason0x8E8 scripted
unsupportedVehiclebool0x8EC scripted
previewDataMissingbool0x8ED scripted
virtualGenericTemplateGridControllerWeakHandle<TwintoneTemplateGridController>0x8F0 scripted
virtualUniqueTemplateGridControllerWeakHandle<TwintoneTemplateGridController>0x900 scripted
genericGridInitializedbool0x910 scripted
uniqueGridInitializedbool0x911 scripted
currentTemplateVehicleVisualCustomizationTemplate0x918 scripted
toggledTemplateVehicleVisualCustomizationTemplate0x998 scripted
currentTemplatePreviewWeakHandle<ColorTemplatePreviewDisplayController>0xA18 scripted
activePanelvehicle.ColorSelectorActiveTab0xA28 scripted
activeSBBarvehicle.ColorSelectorSBBar0xA2C scripted
mainPanelAnimProxyink.anim.Proxy?0xA30 scripted
twintonePanelAnimProxyink.anim.Proxy?0xA40 scripted
carGlitchProxyink.anim.Proxy?0xA50 scripted
crackedAnimProxyink.anim.Proxy?0xA60 scripted

Functions

  • bool OnInitialize() RTTI
  • void InitializeMQ058() RTTI
  • void UnlockSemimaruUniqueTemplate(TDBID tweakDBID) RTTI
  • bool OnIntroFinished(ink.anim.Proxy proxy) RTTI
  • bool OnUninitialize() RTTI
  • bool OnHoverOverColorWheel1(ink.PointerEvent evt) RTTI
  • bool OnHoverOverColorWheel2(ink.PointerEvent evt) RTTI
  • bool OnHoverOverColorWheelLights(ink.PointerEvent evt) RTTI
  • bool OnHoverOutColorWheel1(ink.PointerEvent evt) RTTI
  • bool OnHoverOutColorWheel2(ink.PointerEvent evt) RTTI
  • bool OnHoverOutColorWheelLights(ink.PointerEvent evt) RTTI
  • bool OnMouseInput(ink.PointerEvent e) RTTI
  • void SignalUICallBack() RTTI
  • bool OnFakeUpdate(ink.anim.Proxy proxy) RTTI
  • bool OnIsInMenuChanged(bool param) RTTI
  • bool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer) RTTI
  • void UpdateNavigationState() RTTI
  • vehicle.ColorSelectorActiveInputMode GetActiveInputMode() RTTI
  • bool OnHoverOverSaturationBar(ink.PointerEvent evt) RTTI
  • bool OnHoverOverBrightnessBar(ink.PointerEvent evt) RTTI
  • bool OnSaturationBarPressed(ink.PointerEvent evt) RTTI
  • bool OnBrightnessBarPressed(ink.PointerEvent evt) RTTI
  • void UpdateSliderFromScreenPosition(vehicle.ColorSelectorSBBar slider, Vector2 position) RTTI
  • bool OnGlobalAxisInput(ink.PointerEvent e) RTTI
  • bool OnGlobalPressInput(ink.PointerEvent e) RTTI
  • bool OnVehicleColorSelectionSliderHoldEvent(VehicleColorSelectionSliderHoldEvent evt) RTTI
  • bool OnGlobalInputReleased(ink.PointerEvent e) RTTI
  • void HandleClickReleased(ink.PointerEvent e) RTTI
  • void HandleNavigation(ink.PointerEvent e) RTTI
  • void MoveNavigation(ink.DiscreteNavigationDirection direction) RTTI
  • bool OnGlobalInputHold(ink.PointerEvent evt) RTTI
  • void SetNavigationEnabledInGrids(bool enabled) RTTI
  • bool GetNavigationEnabledInGrids() RTTI
  • bool Apply() RTTI
  • bool SwapColors() RTTI
  • void Cancel() RTTI
  • bool Reset() RTTI
  • void SetInputEnabled(bool enabled) RTTI
  • void Update() RTTI
  • bool OnFinalAnimationFinished(ink.anim.Proxy proxy) RTTI
  • void FinishMQ058IfNecessary() RTTI
  • void ProcessMouseInput(Vector2 mousePos) RTTI
  • void ProcessPointerMovement(float angle, vehicle.ColorSelectorPointerDef pointer) RTTI
  • void ProcessPointerClick(ink.PointerEvent e) RTTI
  • bool ShouldProcessMouseInputForActiveColorPicker(Vector2 mousePos) RTTI
  • Vector2 GetMouseLocationRelativeToActiveColorPicker(Vector2 mousePos) RTTI
  • void SetCursorVisibility(bool visible) RTTI
  • void ShowSBBars(bool val) RTTI
  • bool OnShowSBBarsAnimFinished(ink.anim.Proxy proxy) RTTI
  • void ProcessCurrentSliderChange(int change) RTTI
  • void ResetSliderControls() RTTI
  • void MoveCurrentSlider(int direction) RTTI
  • void UpdateSlidersPosition() RTTI
  • void SetSliderPosition(vehicle.ColorSelectorSBBar bar, float newPosition) RTTI
  • void SelectSBBar(vehicle.ColorSelectorSBBar bar) RTTI
  • void UpdateActiveSBBar() RTTI
  • void ReadSBBarsValues() RTTI
  • float GetSliderStepForControlDevice() RTTI
  • void UpdateSBBarsForActiveColor() RTTI
  • void UpdatePointerPosition(float colorAngle, vehicle.ColorSelectorPointerDef pointer, bool rotate) RTTI
  • void UpdatePointerVisiblity(vehicle.ColorSelectorPointerDef pointer, bool set) RTTI
  • vehicle.ColorSelectorPointerDef GetColorPickerForActiveColor() RTTI
  • void SwitchActiveMode(int? direction, vehicle.ColorSelectorActiveMode? switchTo) RTTI
  • vehicle.ColorSelectorActiveMode GetNextValidMode(vehicle.ColorSelectorActiveMode currentMode, int? direction) RTTI
  • void UpdateWidgetsForNewMode(vehicle.ColorSelectorActiveMode currentMode, vehicle.ColorSelectorActiveMode previousMode) RTTI
  • float CalculateNewColorAngle(float angle) RTTI
  • void UpdateColor(float colorAngle, vehicle.ColorSelectorActiveMode selectedMode) RTTI
  • float NormalizeAngle(float angle) RTTI
  • void UpdateTintedPartsForMode(vehicle.ColorSelectorActiveMode mode) RTTI
  • void UpdateCurrentTemplate(VehicleVisualCustomizationTemplate newTemplate) RTTI
  • void SendCustomizationToVehicle() RTTI
  • VehicleVisualCustomizationTemplate PackCurrentConfigurationToTemplate() RTTI
  • void ResetCustomizationToVehicle() RTTI
  • void ProcessPreviousCustomizationState() RTTI
  • void LoadTemplateData(VehicleVisualCustomizationTemplate template) RTTI
  • void UpdateControlsState() RTTI
  • void UpdateLightsPreviewWidgets(bool? reset) RTTI
  • void PlayLightsFocusAnimation(bool val) RTTI
  • bool VerifyVehicleValidity() RTTI
  • void UpdateVehicleManufacturer() RTTI
  • void UpdateVehiclePreview() RTTI
  • void SetClassicBackgroundVisibility(bool visible) RTTI
  • void SetMordredBackgroundVisibility(bool visible) RTTI
  • void StartCrackedAnimations() RTTI
  • bool OnCrackedAnimIntroEnd(ink.anim.Proxy proxy) RTTI
  • void PlayCarGlitchEffect() RTTI
  • bool OnCarGlitchFinish(ink.anim.Proxy proxy) RTTI
  • void UpdateTwintonePanel() RTTI
  • bool OnAllGenericElementsSpawned() RTTI
  • bool OnAllUniqueElementsSpawned() RTTI
  • void OnBothGridInitialized() RTTI
  • void UpdateNavigationOverride() RTTI
  • void UnitializeTwintone() RTTI
  • void SelectActivePanel(vehicle.ColorSelectorActiveTab nextPanel) RTTI
  • void SelectDefaultTemplateInGrids() RTTI
  • bool OnGenericTemplateToggled(WeakHandle<ink.Widget> widget) RTTI
  • bool OnUniqueTemplateToggled(WeakHandle<ink.Widget> widget) RTTI
  • bool OnGenericControllerSelected(WeakHandle<ink.Widget> widget) RTTI
  • bool OnUniqueControllerSelected(WeakHandle<ink.Widget> widget) RTTI
  • bool SaveProfile() RTTI
  • bool DeleteProfile() RTTI
  • bool CanDeleteProfile() RTTI
  • void PlayAnimation(CName animationName, ink.anim.PlaybackOptions? playbackOptions) RTTI
  • void PlayFailSound() RTTI
  • void SetTimeDilatation(bool enable) RTTI
  • void ProcessFakeUpdate(bool on) RTTI
  • void SetHeadlightsFixedColor(WeakHandle<game.data.Vehicle_Record> record) RTTI
  • void ProcessApplyHintVisiblity() RTTI
  • void ProcessResetHintVisiblity() RTTI
  • void ProccessSwapColorHintVisibility() RTTI
  • void ProcessSaveProfileHintVisibility() RTTI
  • void ProcessDeleteProfileHintVisibility() RTTI