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