gameuiVehicleShopGameController
classnative
extends inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable
Properties 22
| Name | Type | Flags |
|---|---|---|
brandButtons | array<wref<VehicleBrandFilterLogicController>> | scriptedprivate |
brandsListWidget | inkCompoundRef | scriptedprivate |
c_discountFactTDBID | TweakDBID | scriptedprivate |
c_discountValuesTDBID | TweakDBID | scriptedprivate |
callback | ref<VehicleShopPlayerBalanceCallback> | scriptedprivate |
currentBrandController | wref<VehicleBrandFilterLogicController> | scriptedprivate |
detailsCanvas | inkWidgetRef | scriptedprivate |
detailsController | wref<VehicleDetailsLogicController> | scriptedprivate |
discount | Float | scriptedprivate |
headerImage | inkWidgetRef | scriptedprivate |
headerText | inkTextRef | scriptedprivate |
homePage | inkWidgetRef | scriptedprivate |
homePageMainText | inkTextRef | scriptedprivate |
inventoryListener | ref<InventoryScriptListener> | scriptedprivate |
offerButtons | array<wref<VehicleOfferLogicController>> | scriptedprivate |
offersCanvas | inkWidgetRef | scriptedprivate |
offersGridWidget | inkCompoundRef | scriptedprivate |
playerBalanceAnimator | wref<MoneyLabelController> | scriptedprivate |
playerBalanceText | inkTextRef | scriptedprivate |
rightSidePanel | inkWidgetRef | scriptedprivate |
scrollControllerWidget | inkWidgetRef | scriptedprivate |
uiScriptableSystem | wref<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