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.boolean
isSaved()
Get whether the spectator inventory was saved successfully.static SaveResponse
notSaved
(SpectatorInventory<?> inventory) internal apistatic SaveResponse
saved
(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
-