Exemplo n.º 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));
 }
Exemplo n.º 2
0
 private static void Postfix(GlobalMapLocation __instance, bool isHover)
 {
     CustomGlobalMapLocations.PostHandleHoverchange(__instance, isHover);
 }