Package com.booksaw.betterTeams.team
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 TypeMethodDescriptionget()voidload(TeamStorage section) Load the value stored in the config into this componentvoidsave(TeamStorage storage) Store the loaded value to the configuration sectionvoid
-
Method Details
-
get
T get()- Returns:
- The stored value
-
set
- Parameters:
value- Set what the currently stored value is
-
load
Load the value stored in the config into this component- Parameters:
section- The configuration section where all the team data is stored
-
save
Store the loaded value to the configuration section- Parameters:
storage- The storage class where all team storage takes place
-