skills working somewhat
This commit is contained in:
parent
a8c43ba7e2
commit
8a0e4bb481
22 changed files with 4227 additions and 161 deletions
|
|
@ -27,20 +27,22 @@ public struct ActiveSkillEntry
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Details of an active skill, reached by following ActiveSkillEntry.ActiveSkillPtr.
|
||||
/// From ExileCore2 GameOffsets.Objects.Components.ActiveSkillDetails.
|
||||
/// Details of an active skill. The shared_ptr in the ActiveSkills vector points
|
||||
/// 0x10 bytes into the object (past vtable + UseStage/CastType), so we read from
|
||||
/// ActiveSkillPtr - 0x10 and all offsets are relative to the true object base.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Pack = 1)]
|
||||
public struct ActiveSkillDetails
|
||||
{
|
||||
[FieldOffset(0x00)] public nint Vtable;
|
||||
[FieldOffset(0x08)] public int UseStage;
|
||||
[FieldOffset(0x0C)] public int CastType;
|
||||
[FieldOffset(0x10)] public uint UnknownIdAndEquipmentInfo;
|
||||
[FieldOffset(0x18)] public nint GrantedEffectsPerLevelDatRow;
|
||||
[FieldOffset(0x20)] public nint ActiveSkillsDatPtr;
|
||||
[FieldOffset(0x30)] public nint GrantedEffectStatSetsPerLevelDatRow;
|
||||
[FieldOffset(0x98)] public int TotalUses;
|
||||
[FieldOffset(0xA8)] public int TotalCooldownTimeInMs;
|
||||
[FieldOffset(0x20)] public uint UnknownIdAndEquipmentInfo;
|
||||
[FieldOffset(0x28)] public nint GrantedEffectsPerLevelDatRow;
|
||||
[FieldOffset(0x30)] public nint ActiveSkillsDatPtr;
|
||||
[FieldOffset(0x40)] public nint GrantedEffectStatSetsPerLevelDatRow;
|
||||
[FieldOffset(0xA8)] public int TotalUses;
|
||||
[FieldOffset(0xB8)] public int TotalCooldownTimeInMs;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue