RawAsset

public class RawAsset

Class RawAsset. Provides rawasset functionality for the Hytale server.

java.lang.Object > RawAsset

Field Summary

inheritTags

final boolean inheritTags

Field inheritTags.

Method Detail

RawAsset

public public RawAsset (final K key, final Path path)

Method RawAsset.

Parameters:
final K key
final Path path

getKey

public K getKey ()

Method getKey.

isParentKeyResolved

public boolean isParentKeyResolved ()

Method isParentKeyResolved.

getParentKey

public K getParentKey ()

Method getParentKey.

getPath

public Path getPath ()

Method getPath.

getParentPath

public Path getParentPath ()

Method getParentPath.

getLineOffset

public int getLineOffset ()

Method getLineOffset.

getBuffer

public char[] getBuffer ()

Method getBuffer.

getContainedAssetMode

public ContainedAssetCodec.Mode getContainedAssetMode ()

Method getContainedAssetMode.

toRawJsonReader

public RawJsonReader toRawJsonReader (@Nonnull final Supplier bufferSupplier)

Method toRawJsonReader.

Parameters:
@Nonnull final Supplier bufferSupplier

makeData

public AssetExtraInfo.Data makeData (final Class> aClass, final K key, final K parentKey)

Method makeData.

Parameters:
final Class> aClass
final K key
final K parentKey

withResolveKeys

public RawAsset withResolveKeys (final K key, final K parentKey)

Method withResolveKeys.

Parameters:
final K key
final K parentKey

toString

public String toString ()

Method toString.