abstract class CommonAsset implements NetworkSerializable
Class CommonAsset. Provides commonasset functionality for the Hytale server.
java.lang.Object > CommonAsset
Field Summary
cached
final
Asset
cached
Field cached.
packet
final
Asset
packet
Field packet.
asset
final
CommonAsset
asset
Field asset.
Method Detail
CommonAsset
public
public
CommonAsset
(@Nonnull final String name, @Nullable final byte[] bytes)
Method CommonAsset.
- Parameters:
@Nonnull final Stringname@Nullable final byte[]bytes
getName
public
String
getName
()
Method getName.
getHash
public
String
getHash
()
Method getHash.
getBlob
public
CompletableFuture
getBlob
()
Method getBlob.
equals
public
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.
hash
static
String
hash
(final byte[] bytes)
Method hash.
- Parameters:
final byte[]bytes