public class InventoryEditManager extends AbstractInventoryEditManager
| Constructor and Description |
|---|
InventoryEditManager(TriggerReactorCore plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
continueEdit(IPlayer player) |
void |
discardEdit(IPlayer player) |
void |
onClose(org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Close e) |
void |
onQuit(org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect e) |
void |
reload()
Reload all triggers
|
void |
saveAll()
Save all triggers
|
void |
saveEdit(IPlayer player) |
void |
startEdit(IPlayer player,
InventoryTrigger trigger) |
replaceItems, stopEditdisable, getManagerspublic InventoryEditManager(TriggerReactorCore plugin)
public void startEdit(IPlayer player, InventoryTrigger trigger)
startEdit in class AbstractInventoryEditManagerpublic void continueEdit(IPlayer player)
continueEdit in class AbstractInventoryEditManagerpublic void discardEdit(IPlayer player)
discardEdit in class AbstractInventoryEditManagerpublic void saveEdit(IPlayer player)
saveEdit in class AbstractInventoryEditManagerpublic void onClose(org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Close e)
public void onQuit(org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect e)
public void reload()
Manager