ff14wed / deucalion

Injected Windows library for capturing decoded FFXIV packets
GNU General Public License v3.0
63 stars 6 forks source link

Refactor hooking code #18

Closed ff14wed closed 1 year ago

ff14wed commented 1 year ago

Previously the static detours were stored in Arc<OnceCell<>. However this is not necessary since they already have a static lifetime and are Send + Sync. Therefore we can reference them globally instead of what was previously done.