Class PlayerboundDataBuffer

java.lang.Object
de.mrjulsen.dragnsounds.core.data.PlayerboundDataBuffer
All Implemented Interfaces:
AutoCloseable

public class PlayerboundDataBuffer extends Object implements AutoCloseable
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public long getId()
    • hasPlayerOrSound

      public boolean hasPlayerOrSound(UUID player, long soundId)
    • maxSize

      public int maxSize(UUID player, long soundId, int targetLength)
    • read

      public boolean read(UUID player, long soundId, byte[] data)
    • register

      public void register(UUID player, long soundId)
    • remove

      public de.mrjulsen.mcdragonlib.data.StatusResult remove(UUID player, long soundId, int returnReason)
    • remove

      public boolean remove(UUID player)
    • hasListeners

      public boolean hasListeners()
    • getSize

      public int getSize()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable