Class LegacyFlexibleStorage
java.lang.Object
com.github.retrooper.packetevents.protocol.world.chunk.storage.BaseStorage
com.github.retrooper.packetevents.protocol.world.chunk.storage.LegacyFlexibleStorage
-
Constructor Summary
ConstructorDescriptionLegacyFlexibleStorage
(int bitsPerEntry, int size) LegacyFlexibleStorage
(int bitsPerEntry, long[] data) -
Method Summary
-
Constructor Details
-
LegacyFlexibleStorage
public LegacyFlexibleStorage(int bitsPerEntry, int size) -
LegacyFlexibleStorage
public LegacyFlexibleStorage(int bitsPerEntry, long[] data)
-
-
Method Details
-
get
public int get(int index) - Specified by:
get
in classBaseStorage
-
set
public void set(int index, int value) - Specified by:
set
in classBaseStorage
-
getData
public long[] getData()- Specified by:
getData
in classBaseStorage
-
getBitsPerEntry
public int getBitsPerEntry()- Specified by:
getBitsPerEntry
in classBaseStorage
-
getSize
public int getSize() -
getMaxEntryValue
public long getMaxEntryValue()
-