public class SetMemoriesCapacityInteraction extends SimpleInstantInteraction
Class SetMemoriesCapacityInteraction. Provides setmemoriescapacityinteraction functionality for the Hytale server.
java.lang.Object > SimpleInstantInteraction > SetMemoriesCapacityInteraction
Field Summary
capacity
private
int
capacity
Field capacity.
ref
final
Ref
ref
Field ref.
commandBuffer
final
CommandBuffer
commandBuffer
Field commandBuffer.
memoriesComponent
final
PlayerMemories
memoriesComponent
Field memoriesComponent.
previousCapacity
final
int
previousCapacity
Field previousCapacity.
playerRefComponent
final
PlayerRef
playerRefComponent
Field playerRefComponent.
playerConnection
final
PacketHandler
playerConnection
Field playerConnection.
Method Detail
firstRun
protected
void
firstRun
(@Nonnull final InteractionType type, @Nonnull final InteractionContext context, @Nonnull final CooldownHandler cooldownHandler)
Method firstRun.
- Parameters:
@Nonnull final InteractionTypetype@Nonnull final InteractionContextcontext@Nonnull final CooldownHandlercooldownHandler
UpdateMemoriesFeatureStatus
public
new
UpdateMemoriesFeatureStatus
(true)
Method UpdateMemoriesFeatureStatus.
- Parameters:
truetrue
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("Capacity", Codec.INTEGER)
Method KeyedCodec.
- Parameters:
"Capacity""Capacity"Codec.INTEGERCodec.INTEGER