コード例 #1
0
ファイル: Main.cs プロジェクト: v1ld/pfk-custom-map-markers
 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
ファイル: Main.cs プロジェクト: v1ld/pfk-custom-map-markers
 private static void Postfix(GlobalMapLocation __instance, bool isHover)
 {
     CustomGlobalMapLocations.PostHandleHoverchange(__instance, isHover);
 }