Package de.justi.yagw2api.wrapper

Examples of de.justi.yagw2api.wrapper.IWVWObjectiveUnclaimedEvent


      LOGGER.info(this.getLocation().getLabel(YAGW2APIArenanet.INSTANCE.getCurrentLocale()) + " has been claimed by: " + guild.getName() + " | previous claimed by " + this.claimedByGuild);
      this.claimedByGuild = Optional.of(guild);
      this.getChannel().post(event);
    } else if ((guild == null) && this.claimedByGuild.isPresent()) {
      // unclaim (e.g. after capture)
      final IWVWObjectiveUnclaimedEvent event = WVW_MODEL_EVENTS_FACTORY.newObjectiveUnclaimedEvent(this, this.claimedByGuild);
      LOGGER.info(this.getLocation().getLabel(YAGW2APIArenanet.INSTANCE.getCurrentLocale()) + " has been unclaimed from " + this.claimedByGuild);
      this.claimedByGuild = Optional.absent();
      this.getChannel().post(event);
    } else {
      // no change
View Full Code Here

TOP

Related Classes of de.justi.yagw2api.wrapper.IWVWObjectiveUnclaimedEvent

Copyright © 2018 www.massapicom. 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.