class game.ui
WeaponRosterGameController
game.ui.WeaponRosterGameController
- 46 properties
- 28 functions
Extends game.ui.HUDGameController game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
weaponName | ink.TextWidgetReference | 0x58 | scripted |
weaponIcon | ink.ImageWidgetReference | 0x70 | scripted |
weaponCurrentAmmo | ink.TextWidgetReference | 0x88 | scripted |
weaponTotalAmmo | ink.TextWidgetReference | 0xA0 | scripted |
weaponAmmoWrapper | ink.WidgetReference | 0xB8 | scripted |
onFootContainer | ink.WidgetReference | 0xD0 | scripted |
weaponizedVehicleContainer | ink.WidgetReference | 0xE8 | scripted |
weaponizedVehicleMissileLauncherContainer | ink.WidgetReference | 0x100 | scripted |
weaponizedVehicleMachinegunContainer | ink.WidgetReference | 0x118 | scripted |
machinegunAmmo | ink.TextWidgetReference | 0x130 | scripted |
machinegunReloadingProgressBar | ink.WidgetReference | 0x148 | scripted |
machinegunReloadingProgressBarFill | ink.WidgetReference | 0x160 | scripted |
missileLauncherAmmo | ink.TextWidgetReference | 0x178 | scripted |
missileLauncherReloadingProgressBar | ink.WidgetReference | 0x190 | scripted |
missileLauncherReloadingProgressBarFill | ink.WidgetReference | 0x1A8 | scripted |
smartLinkFirmwareOnline | ink.CompoundWidgetReference | 0x1C0 | scripted |
smartLinkFirmwareOffline | ink.CompoundWidgetReference | 0x1D8 | scripted |
uiEquipmentDataBlackboard | WeakHandle<game.IBlackboard> | 0x1F0 | scripted |
ammoHackedListenerId | red.CallbackObject? | 0x200 | scripted |
BBWeaponList | red.CallbackObject? | 0x210 | scripted |
BBAmmoLooted | red.CallbackObject? | 0x220 | scripted |
dataListenerId | red.CallbackObject? | 0x230 | scripted |
onMagazineAmmoCount | red.CallbackObject? | 0x240 | scripted |
remoteControlledVehicleDataCallback | red.CallbackObject? | 0x250 | scripted |
psmWeaponStateChangedCallback | red.CallbackObject? | 0x260 | scripted |
VisionStateBlackboardId | red.CallbackObject? | 0x270 | scripted |
weaponParamsListenerId | red.CallbackObject? | 0x280 | scripted |
weaponizedVehicleMachineGunAmmoChangedCallback | red.CallbackObject? | 0x290 | scripted |
weaponizedVehicleMissileLauncherChargesChangedCallback | red.CallbackObject? | 0x2A0 | scripted |
weaponRecord | game.data.WeaponItem_Record? | 0x2B0 | scripted |
activeWeapon | game.SlotWeaponData | 0x2C0 | scripted |
player | WeakHandle<PlayerPuppet> | 0x308 | scripted |
PlayerMuppet | WeakHandle<game.Muppet> | 0x318 | scripted |
transitionAnimProxy | ink.anim.Proxy? | 0x328 | scripted |
outOfAmmoAnim | ink.anim.Proxy? | 0x338 | scripted |
folded | bool | 0x348 | scripted |
isUnholstered | bool | 0x349 | scripted |
inVehicle | bool | 0x34A | scripted |
inWeaponizedVehicle | bool | 0x34B | scripted |
InventoryManager | InventoryDataManagerV2? | 0x350 | scripted |
weaponItemData | game.InventoryItemData | 0x360 | scripted |
weaponizedVehiclePowerWeaponReloadTime | float | 0x5C0 | scripted |
weaponizedVehiclePowerWeaponReloadElapsedTime | float | 0x5C4 | scripted |
weaponizedVehicleMissileLauncherMaxCharges | uint | 0x5C8 | scripted |
weaponizedVehicleMissileLauncherRechargeTime | float | 0x5CC | scripted |
weaponizedVehicleMissileLauncherRechargeElapsedTime | float | 0x5D0 | 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 );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 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()RTTIre.Hooks.PlaceVoid( "gameuiWeaponRosterGameController", "LoadWeaponIcon;", (WeaponRosterGameController_LoadWeaponIcon x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WeaponRosterGameController_LoadWeaponIcon( game.ui.WeaponRosterGameController self );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 );