mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-25 01:49:18 +01:00
feat: use Lumina for client state resolvers
This commit is contained in:
parent
7de63374ea
commit
db474652ee
13 changed files with 58 additions and 30 deletions
|
|
@ -61,8 +61,7 @@ namespace Dalamud.Game.ClientState
|
|||
/// <param name="dalamud">Dalamud instance</param>
|
||||
/// /// <param name="startInfo">StartInfo of the current Dalamud launch</param>
|
||||
/// <param name="scanner">Sig scanner</param>
|
||||
/// <param name="targetModule">Game process module</param>
|
||||
public ClientState(Dalamud dalamud, DalamudStartInfo startInfo, SigScanner scanner, ProcessModule targetModule) {
|
||||
public ClientState(Dalamud dalamud, DalamudStartInfo startInfo, SigScanner scanner) {
|
||||
Address = new ClientStateAddressResolver();
|
||||
Address.Setup(scanner);
|
||||
|
||||
|
|
@ -70,7 +69,7 @@ namespace Dalamud.Game.ClientState
|
|||
|
||||
this.ClientLanguage = startInfo.Language;
|
||||
|
||||
this.Actors = new ActorTable(Address);
|
||||
this.Actors = new ActorTable(dalamud, Address);
|
||||
|
||||
this.JobGauges = new JobGauges(Address);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue