Skip to content

Commit

Permalink
Add PlayerManager and Update NPC Count Multiplier
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon-T committed Sep 15, 2024
1 parent 1bfacd5 commit 2b81fb3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Internal/Hooks.simba
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,8 @@ VarbitDefinition_StartBit: THook = ['hl', 'am', 'I', -1870632745]
VarbitDefinition_EndBit: THook = ['hl', 'ax', 'I', -833963677];

{GameInstance: dd}
GameInstance_PlayerCount: THook = ['dd', 'aa', 'I', 1];
GameInstance_Players: THook = ['dd', 'ad', '[Ldi;', 1];
GameInstance_PlayerIndices: THook = ['dd', 'ai', '[I', 1];
GameInstance_NPCCount: THook = ['dd', 'ap', 'I', 1];
GameInstance_NPCCount: THook = ['dd', 'ap', 'I', -514517369];
GameInstance_NPCs: THook = ['dd', 'ah', '[Lea;', 1];
GameInstance_NPCIndices: THook = ['dd', 'ab', '[I', 1];
GameInstance_TileHeights: THook = ['dd', 'ar', '[[[I', 1];
Expand All @@ -469,6 +467,10 @@ GameInstance_GroundItems: THook = ['dd', 'ao', '[[[Lpk;', 1];
GameInstance_Projectiles: THook = ['dd', 'ay', 'Lpk;', 1];
GameInstance_GraphicsObjects: THook = ['dd', 'aj', 'Lpk;', 1];

{PlayerUpdateManager: eh}
PlayerUpdateManager_PlayerCount: THook = ['eh', 'at', 'I', -396152079];
PlayerUpdateManager_PlayerIndices: THook = ['eh', 'au', '[I', 1];

{Menu: vl}
Menu_Count: THook = ['vl', 'ae', 'I', 2098117423];
Menu_Actions: THook = ['vl', 'au', '[Ljava/lang/String;', 1];
Expand All @@ -482,6 +484,7 @@ Menu_Height: THook = ['vl', 'az', 'I', 1044396085];
Client_Revision: THook = ['client', '225', 'I', 1];
Client_Client: THook = ['ae', 'be', 'Lclient;', 1];
Client_GameInstance: THook = ['gs', 'jj', 'Ldd;', 1];
Client_PlayerUpdateManager: THook = ['client', 'jl', 'Leh;', 1];
Client_LocalPlayer: THook = ['qm', 'mm', 'Ldi;', 1];
Client_PlayerIndex: THook = ['client', 'mf', 'I', -797776089];
Client_LoopCycle: THook = ['client', 'do', 'I', 1472813913];
Expand Down

0 comments on commit 2b81fb3

Please sign in to comment.