SetMemoriesCapacityInteraction

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

Method firstRun.

Parameters:
@Nonnull final InteractionType type
@Nonnull final InteractionContext context
@Nonnull final CooldownHandler cooldownHandler

UpdateMemoriesFeatureStatus

public new UpdateMemoriesFeatureStatus (true)

Method UpdateMemoriesFeatureStatus.

Parameters:
true true

getWaitForDataFrom

public WaitForDataFrom getWaitForDataFrom ()

Method getWaitForDataFrom.

toString

public String toString ()

Method toString.

KeyedCodec

public new KeyedCodec ("Capacity", Codec.INTEGER)

Method KeyedCodec.

Parameters:
"Capacity" "Capacity"
Codec.INTEGER Codec.INTEGER