class game.ui
VehicleShopGameController
game.ui.VehicleShopGameController
- 22 properties
- 37 functions
Extends game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
homePage | ink.WidgetReference | 0x0 | scripted |
homePageMainText | ink.TextWidgetReference | 0x18 | scripted |
rightSidePanel | ink.WidgetReference | 0x30 | scripted |
headerImage | ink.WidgetReference | 0x48 | scripted |
offersCanvas | ink.WidgetReference | 0x60 | scripted |
detailsCanvas | ink.WidgetReference | 0x78 | scripted |
brandsListWidget | ink.CompoundWidgetReference | 0x90 | scripted |
offersGridWidget | ink.CompoundWidgetReference | 0xA8 | scripted |
headerText | ink.TextWidgetReference | 0xC0 | scripted |
scrollControllerWidget | ink.WidgetReference | 0xD8 | scripted |
playerBalanceText | ink.TextWidgetReference | 0xF0 | scripted |
playerBalanceAnimator | WeakHandle<MoneyLabelController> | 0x108 | scripted |
callback | VehicleShopPlayerBalanceCallback? | 0x118 | scripted |
inventoryListener | game.InventoryScriptListener? | 0x128 | scripted |
uiScriptableSystem | WeakHandle<UIScriptableSystem> | 0x138 | scripted |
brandButtons | WeakHandle<VehicleBrandFilterLogicController>[] | 0x148 | scripted |
offerButtons | WeakHandle<VehicleOfferLogicController>[] | 0x158 | scripted |
detailsController | WeakHandle<VehicleDetailsLogicController> | 0x168 | scripted |
currentBrandController | WeakHandle<VehicleBrandFilterLogicController> | 0x178 | scripted |
discount | float | 0x188 | scripted |
c_discountFactTDBID | TDBID | 0x18C | scripted |
c_discountValuesTDBID | TDBID | 0x194 | scripted |
Functions
void GetCarBrands(CName[] brands)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "GetCarBrands", (VehicleShopGameController_GetCarBrands x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_GetCarBrands( game.ui.VehicleShopGameController self, CName[] brands );void GetCarOffersByBrand(CName brand, WeakHandle<game.data.VehicleOffer_Record>[] offers)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "GetCarOffersByBrand", (VehicleShopGameController_GetCarOffersByBrand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_GetCarOffersByBrand( game.ui.VehicleShopGameController self, CName brand, WeakHandle<game.data.VehicleOffer_Record>[] offers );bool OnInitialize()RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnInitialize", (VehicleShopGameController_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnInitialize( game.ui.VehicleShopGameController self );bool OnUninitialize()RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnUninitialize", (VehicleShopGameController_OnUninitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnUninitialize( game.ui.VehicleShopGameController self );void UpdatePlayerBalance()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "UpdatePlayerBalance;", (VehicleShopGameController_UpdatePlayerBalance x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_UpdatePlayerBalance( game.ui.VehicleShopGameController self );void SetUpHomeScreen()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "SetUpHomeScreen;", (VehicleShopGameController_SetUpHomeScreen x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_SetUpHomeScreen( game.ui.VehicleShopGameController self );void SetUpBrands(CName[] brands)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "SetUpBrands;script_ref<array<CName>>", (VehicleShopGameController_SetUpBrands x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_SetUpBrands( game.ui.VehicleShopGameController self, CName[] brands );void SetUpOffers(WeakHandle<VehicleBrandFilterLogicController> brandController)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "SetUpOffers;VehicleBrandFilterLogicController", (VehicleShopGameController_SetUpOffers x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_SetUpOffers( game.ui.VehicleShopGameController self, WeakHandle<VehicleBrandFilterLogicController> brandController );void ClearBrands()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "ClearBrands;", (VehicleShopGameController_ClearBrands x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_ClearBrands( game.ui.VehicleShopGameController self );void ClearOffers()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "ClearOffers;", (VehicleShopGameController_ClearOffers x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_ClearOffers( game.ui.VehicleShopGameController self );bool DoesBrandHaveNewOffers(CName brand)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "DoesBrandHaveNewOffers;CName", (VehicleShopGameController_DoesBrandHaveNewOffers x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_DoesBrandHaveNewOffers( game.ui.VehicleShopGameController self, CName brand );void ShowBrandOffers(WeakHandle<VehicleBrandFilterLogicController> brandController)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "ShowBrandOffers;VehicleBrandFilterLogicController", (VehicleShopGameController_ShowBrandOffers x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_ShowBrandOffers( game.ui.VehicleShopGameController self, WeakHandle<VehicleBrandFilterLogicController> brandController );void OpenHomeScreen()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "OpenHomeScreen;", (VehicleShopGameController_OpenHomeScreen x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OpenHomeScreen( game.ui.VehicleShopGameController self );bool OnHeaderClick(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnHeaderClick", (VehicleShopGameController_OnHeaderClick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnHeaderClick( game.ui.VehicleShopGameController self, ink.PointerEvent? e );bool OnBrandClick(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnBrandClick", (VehicleShopGameController_OnBrandClick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnBrandClick( game.ui.VehicleShopGameController self, ink.PointerEvent? e );bool OnBrandHoverOver(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnBrandHoverOver", (VehicleShopGameController_OnBrandHoverOver x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnBrandHoverOver( game.ui.VehicleShopGameController self, ink.PointerEvent? e );bool OnBrandHoverOut(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnBrandHoverOut", (VehicleShopGameController_OnBrandHoverOut x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnBrandHoverOut( game.ui.VehicleShopGameController self, ink.PointerEvent? e );bool OnOfferClick(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnOfferClick", (VehicleShopGameController_OnOfferClick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnOfferClick( game.ui.VehicleShopGameController self, ink.PointerEvent? e );bool OnOfferHoverOver(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnOfferHoverOver", (VehicleShopGameController_OnOfferHoverOver x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnOfferHoverOver( game.ui.VehicleShopGameController self, ink.PointerEvent? e );bool OnOfferHoverOut(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnOfferHoverOut", (VehicleShopGameController_OnOfferHoverOut x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnOfferHoverOut( game.ui.VehicleShopGameController self, ink.PointerEvent? e );bool OnVehicleShopBackEventEvent(VehicleShopBackEvent evt)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnVehicleShopBackEventEvent", (VehicleShopGameController_OnVehicleShopBackEventEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnVehicleShopBackEventEvent( game.ui.VehicleShopGameController self, VehicleShopBackEvent? evt );bool OnVehicleShopPurchaseEventEvent(VehicleShopPurchaseEvent evt)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "OnVehicleShopPurchaseEventEvent", (VehicleShopGameController_OnVehicleShopPurchaseEventEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_OnVehicleShopPurchaseEventEvent( game.ui.VehicleShopGameController self, VehicleShopPurchaseEvent? evt );void SortBrands(CName[] sortedBrands)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "SortBrands;script_ref<array<CName>>", (VehicleShopGameController_SortBrands x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_SortBrands( game.ui.VehicleShopGameController self, CName[] sortedBrands );void SortOffersByState(WeakHandle<game.data.VehicleOffer_Record>[] sortedOffers)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "SortOffersByState;script_ref<array<VehicleOffer_Record>>", (VehicleShopGameController_SortOffersByState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_SortOffersByState( game.ui.VehicleShopGameController self, WeakHandle<game.data.VehicleOffer_Record>[] sortedOffers );int GetBrandWeight(CName brand)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "GetBrandWeight;CName", (VehicleShopGameController_GetBrandWeight x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_GetBrandWeight( game.ui.VehicleShopGameController self, CName brand );int GetOfferWeight(WeakHandle<game.data.VehicleOffer_Record> offer)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "GetOfferWeight;VehicleOffer_Record", (VehicleShopGameController_GetOfferWeight x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_GetOfferWeight( game.ui.VehicleShopGameController self, WeakHandle<game.data.VehicleOffer_Record> offer );int GetPlayerMoney()RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "GetPlayerMoney;", (VehicleShopGameController_GetPlayerMoney x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_GetPlayerMoney( game.ui.VehicleShopGameController self );bool RemovePlayerMoney(int amount)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "RemovePlayerMoney;Int32", (VehicleShopGameController_RemovePlayerMoney x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_RemovePlayerMoney( game.ui.VehicleShopGameController self, int amount );void UpdateDiscount()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "UpdateDiscount;", (VehicleShopGameController_UpdateDiscount x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_UpdateDiscount( game.ui.VehicleShopGameController self );void ResetDiscount()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "ResetDiscount;", (VehicleShopGameController_ResetDiscount x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_ResetDiscount( game.ui.VehicleShopGameController self );int GetDiscountedPrice(int price)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "GetDiscountedPrice;Int32", (VehicleShopGameController_GetDiscountedPrice x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_GetDiscountedPrice( game.ui.VehicleShopGameController self, int price );bool CheckFact(CName factName)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "CheckFact;CName", (VehicleShopGameController_CheckFact x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_CheckFact( game.ui.VehicleShopGameController self, CName factName );bool SetFact(CName factName, int factCount)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "SetFact;CNameInt32", (VehicleShopGameController_SetFact x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_SetFact( game.ui.VehicleShopGameController self, CName factName, int factCount );bool CheckVehicleNew(WeakHandle<game.data.VehicleOffer_Record> vehicleRecord)RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "CheckVehicleNew;VehicleOffer_Record", (VehicleShopGameController_CheckVehicleNew x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_CheckVehicleNew( game.ui.VehicleShopGameController self, WeakHandle<game.data.VehicleOffer_Record> vehicleRecord );void MarkNewCarViewed(CName carFact)RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "MarkNewCarViewed;CName", (VehicleShopGameController_MarkNewCarViewed x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_MarkNewCarViewed( game.ui.VehicleShopGameController self, CName carFact );ScriptGameInstance GetGame()RTTIre.Hooks.Place( "gameuiVehicleShopGameController", "GetGame;", (VehicleShopGameController_GetGame x) => { return re.Hooks.CallOriginal<re.msgpack.ScriptGameInstance>(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_GetGame( game.ui.VehicleShopGameController self );void ShowNotification()RTTIre.Hooks.PlaceVoid( "gameuiVehicleShopGameController", "ShowNotification;", (VehicleShopGameController_ShowNotification x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VehicleShopGameController_ShowNotification( game.ui.VehicleShopGameController self );