Package appeng.api.networking.events
Class GridPowerStorageStateChanged
java.lang.Object
appeng.api.networking.events.GridEvent
appeng.api.networking.events.GridPowerStorageStateChanged
informs the network, that a
IAEPowerStorage
block that had either run, out of power, or was full, is no
longer in that state.
failure to post this event when your IAEPowerStorage
changes state will result in your block not charging, or
not-discharging.
you do not need to send this event when your node is added / removed from the grid.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGridPowerStorageStateChanged
(IAEPowerStorage storage, GridPowerStorageStateChanged.PowerEventType type) -
Method Summary
-
Field Details
-
storage
-
type
-
-
Constructor Details
-
GridPowerStorageStateChanged
public GridPowerStorageStateChanged(IAEPowerStorage storage, GridPowerStorageStateChanged.PowerEventType type)
-