Interface SaveResponse

  • 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

      static SaveResponse saved(SpectatorInventory<?> inventory)
      internal api
    • notSaved

      static SaveResponse notSaved(SpectatorInventory<?> inventory)
      internal api