REDNODE / GAME API

gameuiVehicleShopGameController

classnative

extends inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable

Properties 22

NameTypeFlags
brandButtonsarray<wref<VehicleBrandFilterLogicController>>scriptedprivate
brandsListWidgetinkCompoundRefscriptedprivate
c_discountFactTDBIDTweakDBIDscriptedprivate
c_discountValuesTDBIDTweakDBIDscriptedprivate
callbackref<VehicleShopPlayerBalanceCallback>scriptedprivate
currentBrandControllerwref<VehicleBrandFilterLogicController>scriptedprivate
detailsCanvasinkWidgetRefscriptedprivate
detailsControllerwref<VehicleDetailsLogicController>scriptedprivate
discountFloatscriptedprivate
headerImageinkWidgetRefscriptedprivate
headerTextinkTextRefscriptedprivate
homePageinkWidgetRefscriptedprivate
homePageMainTextinkTextRefscriptedprivate
inventoryListenerref<InventoryScriptListener>scriptedprivate
offerButtonsarray<wref<VehicleOfferLogicController>>scriptedprivate
offersCanvasinkWidgetRefscriptedprivate
offersGridWidgetinkCompoundRefscriptedprivate
playerBalanceAnimatorwref<MoneyLabelController>scriptedprivate
playerBalanceTextinkTextRefscriptedprivate
rightSidePanelinkWidgetRefscriptedprivate
scrollControllerWidgetinkWidgetRefscriptedprivate
uiScriptableSystemwref<UIScriptableSystem>scriptedprivate

Methods 38

public final func CheckFact(factName: CName) -> Boolscripted
public final func CheckVehicleNew(vehicleRecord: wref<VehicleOffer_Record>) -> Boolscripted
private final func ClearBrands()scripted
private final func ClearOffers()scripted
private final func DoesBrandHaveNewOffers(brand: CName) -> Boolscripted
private final func GetBrandWeight(brand: CName) -> Int32scripted
native func GetCarBrands(brands: script_ref<array<CName>>)
native func GetCarOffersByBrand(brand: CName, offers: script_ref<array<wref<VehicleOffer_Record>>>)
private final func GetDiscountedPrice(price: Int32) -> Int32scripted
protected final func GetGame() -> GameInstancescripted
private final func GetOfferWeight(offer: wref<VehicleOffer_Record>) -> Int32scripted
private final func GetPlayerMoney() -> Int32scripted
private final func MarkNewCarViewed(carFact: CName)scripted
protected cb func OnBrandClick(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnBrandHoverOut(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnBrandHoverOver(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnHeaderClick(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnOfferClick(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnOfferHoverOut(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnOfferHoverOver(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnUninitialize() -> Boolscripted
protected cb func OnVehicleShopBackEventEvent(evt: ref<VehicleShopBackEvent>) -> Boolscripted
protected cb func OnVehicleShopPurchaseEventEvent(evt: ref<VehicleShopPurchaseEvent>) -> Boolscripted
private final func OpenHomeScreen()scripted
private final func RemovePlayerMoney(amount: Int32) -> Boolscripted
private final func ResetDiscount()scripted
public final func SetFact(factName: CName, factCount: Int32) -> Boolscripted
private final func SetUpBrands(brands: script_ref<array<CName>>)scripted
private final func SetUpHomeScreen()scripted
private final func SetUpOffers(brandController: wref<VehicleBrandFilterLogicController>)scripted
private final func ShowBrandOffers(brandController: wref<VehicleBrandFilterLogicController>)scripted
private final func ShowNotification()scripted
private final func ShowOfferDetails(offerController: script_ref<wref<VehicleOfferLogicController>>)scripted
private final func SortBrands(sortedBrands: script_ref<array<CName>>)scripted
private final func SortOffersByState(sortedOffers: script_ref<array<wref<VehicleOffer_Record>>>)scripted
private final func UpdateDiscount()scripted
public final func UpdatePlayerBalance()scripted