Class MetadataLoader
java.lang.Object
com.palmergames.bukkit.towny.object.metadata.MetadataLoader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deserializeMetadata
(TownyObject object, String serializedMetadata) static MetadataLoader
boolean
registerDeserializer
(String typeID, DataFieldDeserializer<?> deserializer) Register a deserializer for a specific custom CustomDataField class.void
-
Method Details
-
getInstance
-
registerDeserializer
Register a deserializer for a specific custom CustomDataField class.- Parameters:
typeID
- type id of the CustomDataField class to deserialize.deserializer
- actual deserializer for the class.- Returns:
- whether or not the deserializer was registered.
-
deserializeMetadata
-
scheduleDeserialization
public void scheduleDeserialization()
-