private void DisposeDataHooks() { WeaponReloadHook?.Dispose(); CharacterBaseCreateHook?.Dispose(); EnableDrawHook?.Dispose(); CharacterBaseDestructorHook?.Dispose(); LoadTimelineResourcesHook?.Dispose(); CharacterBaseLoadAnimationHook?.Dispose(); LoadSomeAvfxHook?.Dispose(); LoadSomePapHook?.Dispose(); }
private void DisableDataHooks() { Penumbra.CollectionManager.CollectionChanged -= CheckCollections; WeaponReloadHook?.Disable(); CharacterBaseCreateHook?.Disable(); EnableDrawHook?.Disable(); CharacterBaseDestructorHook?.Disable(); LoadTimelineResourcesHook?.Disable(); CharacterBaseLoadAnimationHook?.Disable(); LoadSomeAvfxHook?.Disable(); LoadSomePapHook?.Disable(); }