Package de.justi.yagw2api.wrapper

Examples of de.justi.yagw2api.wrapper.IWVWObjective.claim()


        objectiveModel.capture(potentialNewOwner.orNull());
        // 1.2 synchronize claiming guild
        claimedByGuildDTO = objectiveDTO.getGuildDetails();
        if (claimedByGuildDTO.isPresent()) {
          final IGuild guild = MODEL_FACTORY.getOrCreateGuild(claimedByGuildDTO.get().getId(), claimedByGuildDTO.get().getName(), claimedByGuildDTO.get().getTag());
          objectiveModel.claim(guild);
        } else {
          objectiveModel.claim(null);
        }
      } else {
        LOGGER.error("Missing " + IWVWObjective.class.getSimpleName() + " for objectiveId=" + objectiveDTO.getId());
View Full Code Here


        claimedByGuildDTO = objectiveDTO.getGuildDetails();
        if (claimedByGuildDTO.isPresent()) {
          final IGuild guild = MODEL_FACTORY.getOrCreateGuild(claimedByGuildDTO.get().getId(), claimedByGuildDTO.get().getName(), claimedByGuildDTO.get().getTag());
          objectiveModel.claim(guild);
        } else {
          objectiveModel.claim(null);
        }
      } else {
        LOGGER.error("Missing " + IWVWObjective.class.getSimpleName() + " for objectiveId=" + objectiveDTO.getId());
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.