Beispiel #1
0
 public static void Prefix(DropshipLocation state)
 {
     if (state != DropshipLocation.NAVIGATION)
     {
         MapModesUI.TurnMapModeOff();
     }
 }
Beispiel #2
0
        public static bool Prefix(ref bool __result)
        {
            if (MapModesUI.CurrentMapMode == null)
            {
                return(true);
            }

            // the return value in __result is if the esc was handled
            MapModesUI.TurnMapModeOff();
            __result = true;
            return(false);
        }
Beispiel #3
0
 public static void Prefix()
 {
     MapModesUI.TurnMapModeOff();
 }