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