Interface SaveResponse
public interface SaveResponse
Result of saving a SpectatorInventory using
InvseeAPI.saveInventory(MainSpectatorInventory)
or InvseeAPI.saveEnderChest(EnderSpectatorInventory).-
Method Summary
Modifier and TypeMethodDescriptionGet the spectator inventory to be saved.booleanisSaved()Get whether the spectator inventory was saved successfully.static SaveResponsenotSaved(SpectatorInventory<?> inventory) internal apistatic SaveResponsesaved(SpectatorInventory<?> inventory) internal api
-
Method Details
-
isSaved
boolean isSaved()Get whether the spectator inventory was saved successfully.- Returns:
- true if successful, otherwise false
-
getInventory
SpectatorInventory<?> getInventory()Get the spectator inventory to be saved.- Returns:
- the spectator inventory
-
saved
internal api -
notSaved
internal api
-