Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- getVersion()
- getLegacyVersion()
- getKeysSize()
- getCodecStore()
- pushKey(String)
- pushIntKey(int)
- pushKey(String, RawJsonReader)
- pushIntKey(int, RawJsonReader)
- popKey()
- ignoreUnusedKey(String)
- popIgnoredUnusedKey()
- getIgnoredUnusedSize()
- consumeIgnoredUnknownKey(RawJsonReader)
- consumeIgnoredUnknownKey(String)
- readUnknownKey(RawJsonReader)
- addUnknownKey(String)
- peekKey()
- peekKey(char)
- peekLine()
- peekColumn()
- getUnknownKeys()
- getValidationResults()
- getMetadata()
- appendDetailsTo(StringBuilder)
- toString()
Class ExtraInfo
java.lang.Object
com.hypixel.hytale.codec.ExtraInfo
- Direct Known Subclasses:
BlockMigrationExtraInfo, CollectingExtraInfo, EmptyExtraInfo, VersionedExtraInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ThreadLocal<ExtraInfo> static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUnknownKey(String key) voidbooleanbooleanintintintDeprecated.This exists so that the migration from global versions to per a builder codec versions works smoothly.Deprecated.intvoidignoreUnusedKey(String key) intpeekKey()peekKey(char separator) intpeekLine()voidvoidpopKey()voidpushIntKey(int key) voidpushIntKey(int key, RawJsonReader reader) voidvoidpushKey(String key, RawJsonReader reader) voidreadUnknownKey(RawJsonReader reader) toString()
-
Field Details
-
THREAD_LOCAL
-
GENERATED_ID_PREFIX
- See Also:
-
UNSET_VERSION
public static final int UNSET_VERSION- See Also:
-
-
Constructor Details
-
ExtraInfo
public ExtraInfo() -
ExtraInfo
Deprecated. -
ExtraInfo
@Deprecated public ExtraInfo(int version, @Nonnull Function<ExtraInfo, ValidationResults> validationResultsSupplier) Deprecated.
-
-
Method Details
-
getVersion
public int getVersion() -
getLegacyVersion
Deprecated.This exists so that the migration from global versions to per a builder codec versions works smoothly.Used to fetch the root version passed into extra info at creation. -
getKeysSize
public int getKeysSize() -
getCodecStore
-
pushKey
-
pushIntKey
public void pushIntKey(int key) -
pushKey
-
pushIntKey
-
popKey
public void popKey() -
ignoreUnusedKey
-
popIgnoredUnusedKey
public void popIgnoredUnusedKey() -
getIgnoredUnusedSize
public int getIgnoredUnusedSize() -
consumeIgnoredUnknownKey
- Throws:
IOException
-
consumeIgnoredUnknownKey
-
readUnknownKey
- Throws:
IOException
-
addUnknownKey
-
peekKey
-
peekKey
-
peekLine
public int peekLine() -
peekColumn
public int peekColumn() -
getUnknownKeys
-
getValidationResults
-
getMetadata
Deprecated. -
appendDetailsTo
-
toString
-