java.lang.Object
tfagaming.projects.minecraft.homestead.models.War

public final class War extends Object
  • Constructor Details

  • Method Details

    • setAutoUpdate

      public void setAutoUpdate(boolean autoUpdate)
      Toggle Auto-Update for caching. If true, any call for setters will automatically update the cache. Otherwise, only the instance of the class will be updated.
      Parameters:
      autoUpdate - Auto-Update toggle
    • getUniqueId

      public long getUniqueId()
    • getName

      @NotNull public @NotNull String getName()
    • setName

      public void setName(@NotNull @NotNull String name)
    • getDisplayName

      @NotNull public @NotNull String getDisplayName()
    • setDisplayName

      public void setDisplayName(@Nullable @Nullable String displayName)
    • getDescription

      @Nullable public @Nullable String getDescription()
    • setDescription

      public void setDescription(@Nullable @Nullable String description)
    • getRegionIds

      public List<Long> getRegionIds()
    • setRegionIds

      public void setRegionIds(List<Long> regionIds)
    • getRegions

      public List<Region> getRegions()
    • addRegionId

      public void addRegionId(long regionId)
    • removeRegionId

      public void removeRegionId(long regionId)
    • getPrize

      public double getPrize()
    • setPrize

      public void setPrize(double prize)
    • getStartedAt

      public long getStartedAt()
    • setStartedAt

      public void setStartedAt(long startedAt)
    • getWinner

      @Nullable public @Nullable Region getWinner()