Interface AssetCodec<K,T extends JsonAsset<K>>
- All Superinterfaces:
Codec<T>,InheritCodec<T>,RawJsonCodec<T>,RawJsonInheritCodec<T>,SchemaConvertable<T>,ValidatableCodec<T>
- All Known Implementing Classes:
AssetBuilderCodec,AssetCodecMapCodec
-
Field Summary
Fields inherited from interface com.hypixel.hytale.codec.Codec
BASE64_PATTERN, BOOLEAN, BSON_DOCUMENT, BYTE, BYTE_ARRAY, DOUBLE, DOUBLE_ARRAY, DURATION, DURATION_SECONDS, FLOAT, FLOAT_ARRAY, INSTANT, INT_ARRAY, INTEGER, LOG_LEVEL, LONG, LONG_ARRAY, PATH, SHORT, STRING, STRING_ARRAY, UUID_BINARY, UUID_STRING -
Method Summary
Modifier and TypeMethodDescriptiondecodeAndInheritJsonAsset(RawJsonReader var1, T var2, AssetExtraInfo<K> var3) decodeJsonAsset(RawJsonReader var1, AssetExtraInfo<K> var2) Methods inherited from interface com.hypixel.hytale.codec.Codec
decode, decode, decodeJson, encode, encodeMethods inherited from interface com.hypixel.hytale.codec.InheritCodec
decodeAndInherit, decodeAndInheritMethods inherited from interface com.hypixel.hytale.codec.RawJsonCodec
decodeJsonMethods inherited from interface com.hypixel.hytale.codec.RawJsonInheritCodec
decodeAndInheritJson, decodeAndInheritJsonMethods inherited from interface com.hypixel.hytale.codec.schema.SchemaConvertable
toSchema, toSchemaMethods inherited from interface com.hypixel.hytale.codec.validation.ValidatableCodec
validate, validateDefaults
-
Method Details
-
getKeyCodec
KeyedCodec<K> getKeyCodec() -
getParentCodec
KeyedCodec<K> getParentCodec() -
getData
-
decodeJsonAsset
- Throws:
IOException
-
decodeAndInheritJsonAsset
- Throws:
IOException
-