Interface OpenResponse<SIV extends SpectatorInventoryView<?>>


public interface OpenResponse<SIV extends SpectatorInventoryView<?>>

Much like SpectateResponse, this class represents the result of opening a SpectatorInventory.

An OpenResponse can either be open or closed. If it is open, then getOpenInventory() will return a SpectatorInventoryView normally. If the OpenResponse is closed, then getReason() will tell you the reason why the SpectatorInventory could not be opened.

See Also: