public class BeaconSupport extendsMessageSupportimplementsComponent
Class BeaconSupport. Provides beaconsupport functionality for the Hytale server.
java.lang.Object > MessageSupport > BeaconSupport
Field Summary
messageSlots
private
NPCMessage[]
messageSlots
Field messageSlots.
messageIndices
private
Object2IntMap
messageIndices
Field messageIndices.
indicesToMessages
private
Int2ObjectMap
indicesToMessages
Field indicesToMessages.
slot
final
int
slot
Field slot.
beacon
final
NPCMessage
beacon
Field beacon.
messages
final
NPCMessage[]
messages
Field messages.
beaconSupport
final
BeaconSupport
beaconSupport
Field beaconSupport.
Method Detail
getComponentType
public
BeaconSupport>
getComponentType
()
Method getComponentType.
pollMessage
Method pollMessage.
- Parameters:
final intmessageIndex
peekMessage
Method peekMessage.
- Parameters:
final intmessageIndex
initialise
public
void
initialise
(@Nonnull final Object2IntMap messageIndices)
Method initialise.
- Parameters:
@Nonnull final Object2IntMapmessageIndices
getMessageTextForIndex
public
String
getMessageTextForIndex
(final int messageIndex)
Method getMessageTextForIndex.
- Parameters:
final intmessageIndex
getMessageSlots
public
NPCMessage[]
getMessageSlots
()
Method getMessageSlots.