Class PlayerboundDataBuffer
java.lang.Object
de.mrjulsen.dragnsounds.core.data.PlayerboundDataBuffer
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
getId()
int
getSize()
boolean
boolean
hasPlayerOrSound
(UUID player, long soundId) int
boolean
void
boolean
de.mrjulsen.mcdragonlib.data.StatusResult
-
Field Details
-
NO_LISTENERS
public static final int NO_LISTENERS- See Also:
-
NO_PLAYER_WITH_UUID
public static final int NO_PLAYER_WITH_UUID- See Also:
-
NO_SOUND_WITH_ID
public static final int NO_SOUND_WITH_ID- See Also:
-
NO_SOUND_AND_PLAYER
public static final int NO_SOUND_AND_PLAYER- See Also:
-
-
Constructor Details
-
PlayerboundDataBuffer
- Throws:
IOException
-
-
Method Details
-
getId
public long getId() -
hasPlayerOrSound
-
maxSize
-
read
-
register
-
remove
public de.mrjulsen.mcdragonlib.data.StatusResult remove(UUID player, long soundId, int returnReason) -
remove
-
hasListeners
public boolean hasListeners() -
getSize
public int getSize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-