MemoriesPage

public class MemoriesPage extends InteractiveCustomUIPage

Class MemoriesPage. Provides memoriespage functionality for the Hytale server.

java.lang.Object > InteractiveCustomUIPage > MemoriesPage

Field Summary

currentCategory

private String currentCategory

Field currentCategory.

selectedMemory

private Memory selectedMemory

Field selectedMemory.

recordMemoriesParticlesPosition

private Vector3d recordMemoriesParticlesPosition

Field recordMemoriesParticlesPosition.

memoriesPlugin

final MemoriesPlugin memoriesPlugin

Field memoriesPlugin.

recordedMemories

final Set recordedMemories

Field recordedMemories.

gameplayConfig

final GameplayConfig gameplayConfig

Field gameplayConfig.

playerMemories

final PlayerMemories playerMemories

Field playerMemories.

category

final String category

Field category.

memoriesInCategory

final Set memoriesInCategory

Field memoriesInCategory.

selector

final String selector

Field selector.

isCategoryComplete

final boolean isCategoryComplete

Field isCategoryComplete.

newMemories

final Set newMemories

Field newMemories.

memoriesSet

final Set memoriesSet

Field memoriesSet.

memories

final ObjectArrayList memories

Field memories.

recordedMemories2

final Set recordedMemories2

Field recordedMemories2.

memory3

final Memory memory3

Field memory3.

selector2

final String selector2

Field selector2.

isDiscovered

final boolean isDiscovered

Field isDiscovered.

isSelected

final boolean isSelected

Field isSelected.

buttonSelector

final String buttonSelector

Field buttonSelector.

iconPath

final String iconPath

Field iconPath.

memoriesConfig

final MemoriesGameplayConfig memoriesConfig

Field memoriesConfig.

memoriesAmountPerLevel

final int[] memoriesAmountPerLevel

Field memoriesAmountPerLevel.

recordedMemoriesCount

final int recordedMemoriesCount

Field recordedMemoriesCount.

PROGRESS_BAR_PADDING

final int PROGRESS_BAR_PADDING

Field PROGRESS_BAR_PADDING.

PROGRESS_BAR_WIDTH

final int PROGRESS_BAR_WIDTH

Field PROGRESS_BAR_WIDTH.

CHEST_POSITION_AREA

final int CHEST_POSITION_AREA

Field CHEST_POSITION_AREA.

memoryAmount

final int memoryAmount

Field memoryAmount.

hasReachedLevel

final boolean hasReachedLevel

Field hasReachedLevel.

anchor

final Anchor anchor

Field anchor.

left

final int left

Field left.

rewardsMessage

final Message rewardsMessage

Field rewardsMessage.

memoriesUnlockedMessage

final Message memoriesUnlockedMessage

Field memoriesUnlockedMessage.

activeTooltipMessage

final Message activeTooltipMessage

Field activeTooltipMessage.

memoriesToUnlockMessage

final Message memoriesToUnlockMessage

Field memoriesToUnlockMessage.

disabledTooltipMessage

final Message disabledTooltipMessage

Field disabledTooltipMessage.

player

final Player player

Field player.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

memoriesGameplayConfig

final MemoriesGameplayConfig memoriesGameplayConfig

Field memoriesGameplayConfig.

results

final ObjectList> results

Field results.

commandBuilder

final UICommandBuilder commandBuilder

Field commandBuilder.

previousIndex

final int previousIndex

Field previousIndex.

newIndex

final int newIndex

Field newIndex.

locationNameKey

final Message locationNameKey

Field locationNameKey.

capturedTimestamp

final long capturedTimestamp

Field capturedTimestamp.

timeString

final String timeString

Field timeString.

memoryLocationTimeText

final Message memoryLocationTimeText

Field memoryLocationTimeText.

action

public PageAction action

Field action.

memoryId

public String memoryId

Field memoryId.

Method Detail

MemoriesPage

public public MemoriesPage (@Nonnull final PlayerRef playerRef, final BlockPosition blockPosition)

Method MemoriesPage.

Parameters:
@Nonnull final PlayerRef playerRef
final BlockPosition blockPosition

build

public void build (@Nonnull final Ref ref, @Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder, @Nonnull final Store store)

Method build.

Parameters:
@Nonnull final Ref ref
@Nonnull final UICommandBuilder commandBuilder
@Nonnull final UIEventBuilder eventBuilder
@Nonnull final Store store

EventData

public new EventData ()

Method EventData.

buildChestMarkers

static void buildChestMarkers (@Nonnull final UICommandBuilder commandBuilder, @Nonnull final GameplayConfig gameplayConfig, final int totalMemories)

Method buildChestMarkers.

Parameters:
@Nonnull final UICommandBuilder commandBuilder
@Nonnull final GameplayConfig gameplayConfig
final int totalMemories

handleDataEvent

public void handleDataEvent (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final PageEventData data)

Method handleDataEvent.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final PageEventData data

updateMemoryButtonSelection

static void updateMemoryButtonSelection (@Nonnull final UICommandBuilder commandBuilder, final int index, @Nonnull final Memory memory, final boolean isSelected)

Method updateMemoryButtonSelection.

Parameters:
@Nonnull final UICommandBuilder commandBuilder
final int index
@Nonnull final Memory memory
final boolean isSelected

updateMemoryDetailsPanel

static void updateMemoryDetailsPanel (@Nonnull final UICommandBuilder commandBuilder, @Nonnull final Memory memory)

Method updateMemoryDetailsPanel.

Parameters:
@Nonnull final UICommandBuilder commandBuilder
@Nonnull final Memory memory