Interface TeamComponent<T>

All Known Implementing Classes:
AllyRequestComponent, AllySetComponent, AnchoredPlayerUUIDSetComponent, BanSetComponent, ChestClaimComponent, DoubleTeamComponent, EChestComponent, IntTeamComponent, LocationSetComponent, MemberSetComponent, MetaComponent, MoneyComponent, ScoreComponent, SetTeamComponent, TeamPlayerSetComponent, UuidSetComponent, WarpSetComponent

public interface TeamComponent<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
    void
    load(TeamStorage section)
    Load the value stored in the config into this component
    void
    save(TeamStorage storage)
    Store the loaded value to the configuration section
    void
    set(T value)
     
  • Method Details

    • get

      T get()
      Returns:
      The stored value
    • set

      void set(T value)
      Parameters:
      value - Set what the currently stored value is
    • load

      void load(TeamStorage section)
      Load the value stored in the config into this component
      Parameters:
      section - The configuration section where all the team data is stored
    • save

      void save(TeamStorage storage)
      Store the loaded value to the configuration section
      Parameters:
      storage - The storage class where all team storage takes place