Example #1
0
 public override void OnReleased()
 {
     base.OnReleased();
     if (!IsHooked())
     {
         return;
     }
     VehicleInfoHook.Revert();
     BuildingInfoHook.Revert();
 }
Example #2
0
 public override void OnReleased()
 {
     base.OnReleased();
     if (!IsHooked())
     {
         return;
     }
     BuildingInfoHook.OnPostInitialization -= OnPostBuildingInit;
     BuildingInfoHook.Revert();
 }
Example #3
0
 public override void OnReleased()
 {
     base.OnReleased();
     Instance.ToggleOptionPanelControls(false);
     if (!IsHooked())
     {
         return;
     }
     BuildingInfoHook.OnPostInitialization -= OnPostBuildingInit;
     BuildingInfoHook.Revert();
 }
Example #4
0
 public static void Revert()
 {
     BuildingInfoHook.Revert();
 }