private static void Postfix(ui_MiniMap __instance) { if (!Main.on) { return; } Utils.ButtonHK(Traverse.Create(__instance).Field <CButton>("ShowMap").Value, HK_TYPE.WORLD_MAP); }
private static void Postfix(ui_MiniMap __instance) { if (!Main.on) { return; } Utils.ButtonHK(Traverse.Create(__instance).Field <CButton>("SearchNpc").Value, HK_TYPE.NAME_SCAN); }