mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-01-23 16:01:21 +01:00
Get keys by compound.
This commit is contained in:
parent
38a1dc0d4d
commit
b048fc53da
@ -54,7 +54,7 @@ public class SongodaCore {
|
||||
/**
|
||||
* This has been added as of Rev 6
|
||||
*/
|
||||
private final static String coreVersion = "2.4.11";
|
||||
private final static String coreVersion = "2.4.12";
|
||||
|
||||
/**
|
||||
* This is specific to the website api
|
||||
|
@ -47,6 +47,8 @@ public interface NBTCompound {
|
||||
|
||||
Set<String> getKeys();
|
||||
|
||||
Set<String> getKeys(String tag);
|
||||
|
||||
byte[] serialize(String... exclusions);
|
||||
|
||||
void deSerialize(byte[] serialized);
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -142,6 +142,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -142,6 +142,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -142,6 +142,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
@ -141,6 +141,11 @@ public abstract class NBTCompoundImpl implements NBTCompound {
|
||||
return compound.c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getKeys(String tag) {
|
||||
return compound.getCompound(tag).c();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] serialize(String... exclusions) {
|
||||
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
|
Loading…
Reference in New Issue
Block a user