Class BeaconSupport
java.lang.Object
com.hypixel.hytale.server.npc.components.messaging.MessageSupport
com.hypixel.hytale.server.npc.components.messaging.BeaconSupport
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> private it.unimi.dsi.fastutil.objects.Object2IntMap<String> private NPCMessage[]Fields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<EntityStore, BeaconSupport> getMessageTextForIndex(int messageIndex) voidinitialise(it.unimi.dsi.fastutil.objects.Object2IntMap<String> messageIndices) peekMessage(int messageIndex) pollMessage(int messageIndex) voidpostMessage(String message, Ref<EntityStore> target, double age) Methods inherited from class com.hypixel.hytale.server.npc.components.messaging.MessageSupport
isMessageEnabled, isMessageQueuedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
messageSlots
-
messageIndices
-
indicesToMessages
-
-
Constructor Details
-
BeaconSupport
public BeaconSupport()
-
-
Method Details
-
getComponentType
-
postMessage
-
pollMessage
-
peekMessage
-
initialise
-
getMessageTextForIndex
-
getMessageSlots
- Specified by:
getMessageSlotsin classMessageSupport
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Specified by:
clonein classMessageSupport
-