class game.ui
WeaponRosterGameController
game.ui.WeaponRosterGameController
- 64 properties
- 31 functions
Extends game.ui.HUDGameController game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
rightWeaponName | ink.TextWidgetReference | 0x58 | scripted |
rightWeaponIcon | ink.ImageWidgetReference | 0x70 | scripted |
rightWeaponCurrentAmmo | ink.TextWidgetReference | 0x88 | scripted |
rightWeaponTotalAmmo | ink.TextWidgetReference | 0xA0 | scripted |
rightWeaponAmmoWrapper | ink.WidgetReference | 0xB8 | scripted |
leftWeaponName | ink.TextWidgetReference | 0xD0 | scripted |
leftWeaponIcon | ink.ImageWidgetReference | 0xE8 | scripted |
leftWeaponCurrentAmmo | ink.TextWidgetReference | 0x100 | scripted |
leftWeaponTotalAmmo | ink.TextWidgetReference | 0x118 | scripted |
widgetsToActivateWithLeftWeapon | ink.WidgetReference[] | 0x130 | scripted |
rightWeaponHolder | ink.WidgetReference | 0x140 | scripted |
leftWeaponHolder | ink.WidgetReference | 0x158 | scripted |
weaponIconsScaleWhenDualWielding | Vector2 | 0x170 | scripted |
weaponIconsTopMarginWhenSingleWielding | float | 0x178 | scripted |
weaponIconsTopMarginWhenDualWielding | float | 0x17C | scripted |
rightWeaponWrapper | ink.HorizontalPanelWidgetReference | 0x180 | scripted |
childMarginWhenSingleWielding | float | 0x198 | scripted |
childMarginWhenDualWielding | float | 0x19C | scripted |
onFootContainer | ink.WidgetReference | 0x1A0 | scripted |
weaponizedVehicleContainer | ink.WidgetReference | 0x1B8 | scripted |
weaponizedVehicleMissileLauncherContainer | ink.WidgetReference | 0x1D0 | scripted |
weaponizedVehicleMachinegunContainer | ink.WidgetReference | 0x1E8 | scripted |
machinegunAmmo | ink.TextWidgetReference | 0x200 | scripted |
machinegunReloadingProgressBar | ink.WidgetReference | 0x218 | scripted |
machinegunReloadingProgressBarFill | ink.WidgetReference | 0x230 | scripted |
missileLauncherAmmo | ink.TextWidgetReference | 0x248 | scripted |
missileLauncherReloadingProgressBar | ink.WidgetReference | 0x260 | scripted |
missileLauncherReloadingProgressBarFill | ink.WidgetReference | 0x278 | scripted |
smartLinkFirmwareOnline | ink.CompoundWidgetReference | 0x290 | scripted |
smartLinkFirmwareOffline | ink.CompoundWidgetReference | 0x2A8 | scripted |
uiEquipmentDataBlackboard | WeakHandle<game.IBlackboard> | 0x2C0 | scripted |
uiBlackboard | WeakHandle<game.IBlackboard> | 0x2D0 | scripted |
ammoHackedListenerId | red.CallbackObject? | 0x2E0 | scripted |
BBWeaponList | red.CallbackObject? | 0x2F0 | scripted |
BBAmmoLooted | red.CallbackObject? | 0x300 | scripted |
dataListenerId | red.CallbackObject? | 0x310 | scripted |
onMagazineAmmoCount | red.CallbackObject? | 0x320 | scripted |
remoteControlledVehicleDataCallback | red.CallbackObject? | 0x330 | scripted |
psmWeaponStateChangedCallback | red.CallbackObject? | 0x340 | scripted |
VisionStateBlackboardId | red.CallbackObject? | 0x350 | scripted |
weaponParamsListenerId | red.CallbackObject? | 0x360 | scripted |
weaponizedVehicleMachineGunAmmoChangedCallback | red.CallbackObject? | 0x370 | scripted |
weaponizedVehicleMissileLauncherChargesChangedCallback | red.CallbackObject? | 0x380 | scripted |
rightWeaponRecord | game.data.WeaponItem_Record? | 0x390 | scripted |
activeRightWeapon | game.SlotWeaponData | 0x3A0 | scripted |
leftWeaponRecord | game.data.WeaponItem_Record? | 0x3E8 | scripted |
activeLeftWeapon | game.SlotWeaponData | 0x3F8 | scripted |
player | WeakHandle<PlayerPuppet> | 0x440 | scripted |
PlayerMuppet | WeakHandle<game.Muppet> | 0x450 | scripted |
transitionAnimProxy | ink.anim.Proxy? | 0x460 | scripted |
outOfAmmoAnim | ink.anim.Proxy? | 0x470 | scripted |
folded | bool | 0x480 | scripted |
isLeftWeaponVisible | bool | 0x481 | scripted |
isUnholstered | bool | 0x482 | scripted |
inVehicle | bool | 0x483 | scripted |
inWeaponizedVehicle | bool | 0x484 | scripted |
InventoryManager | InventoryDataManagerV2? | 0x488 | scripted |
rightWeaponItemData | game.InventoryItemData | 0x498 | scripted |
leftWeaponItemData | game.InventoryItemData | 0x6F8 | scripted |
weaponizedVehiclePowerWeaponReloadTime | float | 0x958 | scripted |
weaponizedVehiclePowerWeaponReloadElapsedTime | float | 0x95C | scripted |
weaponizedVehicleMissileLauncherMaxCharges | uint | 0x960 | scripted |
weaponizedVehicleMissileLauncherRechargeTime | float | 0x964 | scripted |
weaponizedVehicleMissileLauncherRechargeElapsedTime | float | 0x968 | scripted |
Functions
bool OnInitialize()RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnInitialize", (WeaponRosterGameController_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnInitialize( game.ui.WeaponRosterGameController self );bool OnUninitialize()RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnUninitialize", (WeaponRosterGameController_OnUninitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnUninitialize( game.ui.WeaponRosterGameController self );bool OnPlayerAttach(game.Object playerPuppet)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnPlayerAttach", (WeaponRosterGameController_OnPlayerAttach x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnPlayerAttach( game.ui.WeaponRosterGameController self, game.Object? playerPuppet );bool OnPlayerDetach(game.Object playerPuppet)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnPlayerDetach", (WeaponRosterGameController_OnPlayerDetach x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnPlayerDetach( game.ui.WeaponRosterGameController self, game.Object? playerPuppet );bool OnMountingEvent(game.mounting.MountingEvent evt)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnMountingEvent", (WeaponRosterGameController_OnMountingEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnMountingEvent( game.ui.WeaponRosterGameController self, game.mounting.MountingEvent? evt );bool OnUnmountingEvent(game.mounting.UnmountingEvent evt)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnUnmountingEvent", (WeaponRosterGameController_OnUnmountingEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnUnmountingEvent( game.ui.WeaponRosterGameController self, game.mounting.UnmountingEvent? evt );bool OnUpdate(float dT)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnUpdate", (WeaponRosterGameController_OnUpdate x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnUpdate( game.ui.WeaponRosterGameController self, float dT );void RegisterBlackboards()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "RegisterBlackboards;", (WeaponRosterGameController_RegisterBlackboards x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_RegisterBlackboards( game.ui.WeaponRosterGameController self );void UnregisterBlackboards()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "UnregisterBlackboards;", (WeaponRosterGameController_UnregisterBlackboards x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_UnregisterBlackboards( game.ui.WeaponRosterGameController self );bool OnAmmoIndicatorHacked(bool value)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnAmmoIndicatorHacked", (WeaponRosterGameController_OnAmmoIndicatorHacked x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnAmmoIndicatorHacked( game.ui.WeaponRosterGameController self, bool value );bool OnPSMWeaponStateChanged(int value)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnPSMWeaponStateChanged", (WeaponRosterGameController_OnPSMWeaponStateChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnPSMWeaponStateChanged( game.ui.WeaponRosterGameController self, int value );bool OnPSMVisionStateChanged(int value)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnPSMVisionStateChanged", (WeaponRosterGameController_OnPSMVisionStateChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnPSMVisionStateChanged( game.ui.WeaponRosterGameController self, int value );int GetAllAmmoCount()RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "GetAllAmmoCount;", (WeaponRosterGameController_GetAllAmmoCount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_GetAllAmmoCount( game.ui.WeaponRosterGameController self );int GetLeftAmmoCount()RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "GetLeftAmmoCount;", (WeaponRosterGameController_GetLeftAmmoCount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_GetLeftAmmoCount( game.ui.WeaponRosterGameController self );bool OnAmmoLooted(bool value)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnAmmoLooted", (WeaponRosterGameController_OnAmmoLooted x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnAmmoLooted( game.ui.WeaponRosterGameController self, bool value );bool OnWeaponizedVehicleMachineGunAmmoChanged(uint value)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnWeaponizedVehicleMachineGunAmmoChanged", (WeaponRosterGameController_OnWeaponizedVehicleMachineGunAmmoChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnWeaponizedVehicleMachineGunAmmoChanged( game.ui.WeaponRosterGameController self, uint value );bool OnWeaponizedVehicleMissileLauncherChargesChanged(uint value)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "OnWeaponizedVehicleMissileLauncherChargesChanged", (WeaponRosterGameController_OnWeaponizedVehicleMissileLauncherChargesChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_OnWeaponizedVehicleMissileLauncherChargesChanged( game.ui.WeaponRosterGameController self, uint value );void Fold()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "Fold;", (WeaponRosterGameController_Fold x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_Fold( game.ui.WeaponRosterGameController self );void Unfold()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "Unfold;", (WeaponRosterGameController_Unfold x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_Unfold( game.ui.WeaponRosterGameController self );bool ShouldHideAmmoCount()RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "ShouldHideAmmoCount;", (WeaponRosterGameController_ShouldHideAmmoCount x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_ShouldHideAmmoCount( game.ui.WeaponRosterGameController self );void SetRosterSlotData()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "SetRosterSlotData;", (WeaponRosterGameController_SetRosterSlotData x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_SetRosterSlotData( game.ui.WeaponRosterGameController self );void UpdateVehicleRoster(game.mounting.MountingInfo mountingInfo)RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "UpdateVehicleRoster;MountingInfo", (WeaponRosterGameController_UpdateVehicleRoster x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_UpdateVehicleRoster( game.ui.WeaponRosterGameController self, game.mounting.MountingInfo mountingInfo );void UpdateWeaponizedVehicleMountedPowerWeaponProgressBarVisibility(game.PSMRangedWeaponStates state)RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "UpdateWeaponizedVehicleMountedPowerWeaponProgressBarVisibility;gamePSMRangedWeaponStates", (WeaponRosterGameController_UpdateWeaponizedVehicleMountedPowerWeaponProgressBarVisibility x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_UpdateWeaponizedVehicleMountedPowerWeaponProgressBarVisibility( game.ui.WeaponRosterGameController self, game.PSMRangedWeaponStates state );void ResetWeaponizedVehiclePowerWeaponProgressBar()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "ResetWeaponizedVehiclePowerWeaponProgressBar;", (WeaponRosterGameController_ResetWeaponizedVehiclePowerWeaponProgressBar x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_ResetWeaponizedVehiclePowerWeaponProgressBar( game.ui.WeaponRosterGameController self );void ResetWeaponizedVehicleMissileLauncherProgressBar()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "ResetWeaponizedVehicleMissileLauncherProgressBar;", (WeaponRosterGameController_ResetWeaponizedVehicleMissileLauncherProgressBar x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_ResetWeaponizedVehicleMissileLauncherProgressBar( game.ui.WeaponRosterGameController self );void ToggleLeftWeaponVisibility(bool visible, bool? isSetup)RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "ToggleLeftWeaponVisibility;BoolBool", (WeaponRosterGameController_ToggleLeftWeaponVisibility x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_ToggleLeftWeaponVisibility( game.ui.WeaponRosterGameController self, bool visible, bool? isSetup );void SetRosterSlotData_MP(bool isMelee)RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "SetRosterSlotData_MP;Bool", (WeaponRosterGameController_SetRosterSlotData_MP x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_SetRosterSlotData_MP( game.ui.WeaponRosterGameController self, bool isMelee );void LoadWeaponIcon(bool isLeftWeapon)RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "LoadWeaponIcon;Bool", (WeaponRosterGameController_LoadWeaponIcon x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_LoadWeaponIcon( game.ui.WeaponRosterGameController self, bool isLeftWeapon );CName GetItemTypeIcon()RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "GetItemTypeIcon;", (WeaponRosterGameController_GetItemTypeIcon x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_GetItemTypeIcon( game.ui.WeaponRosterGameController self );string GetAmmoText(int ammoCount, int textLength)RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "GetAmmoText;Int32Int32", (WeaponRosterGameController_GetAmmoText x) => { return re.Hooks.CallOriginal<re.msgpack.Str>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_GetAmmoText( game.ui.WeaponRosterGameController self, int ammoCount, int textLength );bool ShouldIgnoreSmartUI()RTTIre.Hooks.Place( "gameuiWeaponRosterGameController", "ShouldIgnoreSmartUI;", (WeaponRosterGameController_ShouldIgnoreSmartUI x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_ShouldIgnoreSmartUI( game.ui.WeaponRosterGameController self );