Class PlayerDataImpl
java.lang.Object
sawfowl.regionguard.implementsapi.data.PlayerDataImpl
- All Implemented Interfaces:
org.spongepowered.api.data.persistence.DataSerializable,PlayerData
-
Nested Class Summary
Nested classes/interfaces inherited from interface sawfowl.regionguard.api.data.PlayerData
PlayerData.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()intGetting the volume of blocks claimed by the player and the number of regions created.Getting additional limits available to the player.setClaimed(ClaimedByPlayer claimed) setLimits(PlayerLimits limits) org.spongepowered.api.data.persistence.DataContainer
-
Constructor Details
-
PlayerDataImpl
public PlayerDataImpl()
-
-
Method Details
-
builder
-
getLimits
Description copied from interface:PlayerDataGetting additional limits available to the player.- Specified by:
getLimitsin interfacePlayerData
-
setLimits
- Specified by:
setLimitsin interfacePlayerData
-
getClaimed
Description copied from interface:PlayerDataGetting the volume of blocks claimed by the player and the number of regions created.- Specified by:
getClaimedin interfacePlayerData
-
setClaimed
- Specified by:
setClaimedin interfacePlayerData
-
contentVersion
public int contentVersion()- Specified by:
contentVersionin interfaceorg.spongepowered.api.data.persistence.DataSerializable
-
toContainer
public org.spongepowered.api.data.persistence.DataContainer toContainer()- Specified by:
toContainerin interfaceorg.spongepowered.api.data.persistence.DataSerializable
-