/**
  * Remove macro with specified index from specified player
  *
  * @param player Player
  * @param macroOrder Macro order index
  */
 public static void removeMacro(Player player, int macroOrder) {
   if (player.getMacroList().removeMacro(macroOrder)) {
     DAOManager.getDAO(PlayerMacrossesDAO.class).deleteMacro(player.getObjectId(), macroOrder);
   }
 }
 /**
  * Add macro for player
  *
  * @param player Player
  * @param macroOrder Macro order
  * @param macroXML Macro XML
  */
 public static void addMacro(Player player, int macroOrder, String macroXML) {
   if (player.getMacroList().addMacro(macroOrder, macroXML)) {
     DAOManager.getDAO(PlayerMacrossesDAO.class)
         .addMacro(player.getObjectId(), macroOrder, macroXML);
   }
 }