Uses of Class
com.palmergames.bukkit.towny.object.metadata.LongDataField
-
Uses of LongDataField in com.palmergames.bukkit.towny.utils
Modifier and TypeMethodDescriptionstatic void
MetaDataUtil.addNewMeta
(TownyObject townyObject, LongDataField ldf, boolean save) Adds a new LongDataField MetaData to a TownyObject, overriding any existing MetaData with the same key.static long
MetaDataUtil.getLong
(TownyObject townyObject, LongDataField ldf) Get a long from a TownyObject's metadata.static boolean
MetaDataUtil.hasMeta
(TownyObject townyObject, LongDataField ldf) Does the TownyObject have the LongDataField meta?static void
MetaDataUtil.setLong
(TownyObject townyObject, LongDataField ldf, long num, boolean save) Sets a LongDataField metadata on a TownyObject, creating the metadata if it doesn't exist.