Example #1
0
 public void UnregisterAcquireHook(AcquireEvent methodObject)
 {
     if (LockAcquireEvents.Contains(methodObject))
     {
         LockAcquireEvents.Remove(methodObject);
     }
 }
Example #2
0
 public override void OnDisabled()
 {
     base.OnDisabled();
     ServerLocks.Clear();
     LockAcquireEvents.Clear();
     LockReleaseEvents.Clear();
 }
Example #3
0
 protected override void OnDisabled()
 {
     base.OnDisabled();
     LockStore.ClearAllLocks();
     LockAcquireEvents.Clear();
     LockReleaseEvents.Clear();
 }
Example #4
0
 protected override void OnDisabled()
 {
     base.OnDisabled();
     LockStore.ClearAllLocks();
     LockAcquireEvents.Clear();
     LockReleaseEvents.Clear();
     GameEvents.onGameSceneLoadRequested.Remove(LockEvents.OnSceneRequested);
 }
Example #5
0
 public void RegisterAcquireHook(AcquireEvent methodObject)
 {
     LockAcquireEvents.Add(methodObject);
 }