예제 #1
0
 private static bool Prefix(GlobalMapLocation __instance)
 {
     if (IsShiftPressed)
     {
         CustomGlobalMapLocations.CustomizeGlobalMapLocation(__instance);
     }
     // Don't pass the click through to the map if control or shift are pressed
     return(!(IsControlPressed || IsShiftPressed));
 }
예제 #2
0
 private static void Postfix(GlobalMapLocation __instance, bool isHover)
 {
     CustomGlobalMapLocations.PostHandleHoverchange(__instance, isHover);
 }