Skip to content

Commit

Permalink
暂且用着。Atmo佬给的sig。
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowZWR committed Nov 12, 2024
1 parent fd2eb69 commit 2d883ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Glamourer/Interop/ScalingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public ScalingService(IGameInteropProvider interop)
interop.InitializeFromAttributes(this);
_setupMountHook =
interop.HookFromAddress<SetupMount>((nint)MountContainer.MemberFunctionPointers.SetupMount, SetupMountDetour);
_setupOrnamentHook = interop.HookFromAddress<SetupOrnament>((nint)Ornament.MemberFunctionPointers.SetupOrnament, SetupOrnamentDetour);
_setupOrnamentHook = interop.HookFromSignature<SetupOrnament>(Sigs.GlamourerOrnamentSig, SetupOrnamentDetour); // 从在Penumbra.GameData中Signatures.cs临时添加的签名获取
_calculateHeightHook =
interop.HookFromAddress<CalculateHeight>((nint)Character.MemberFunctionPointers.CalculateHeight, CalculateHeightDetour);

Expand Down

0 comments on commit 2d883ea

Please sign in to comment.