public interface Caller
DataExtension
.
You can obtain an instance by registering an extension via ExtensionService.register(DataExtension)
.
Plan calls the methods in DataExtension based on CallEvents
defined by
Modifier and Type | Method and Description |
---|---|
void |
updatePlayerData(java.util.UUID playerUUID,
java.lang.String playerName)
Calls all player methods of the associated
DataExtension . |
void |
updateServerData()
Calls all server methods of the associated
DataExtension . |
void updatePlayerData(java.util.UUID playerUUID, java.lang.String playerName) throws java.lang.IllegalArgumentException
DataExtension
.
Player methods have UUID
or String
as a method parameter and a Provider annotation.
playerUUID
- UUID of the player.playerName
- Name of the player.java.lang.IllegalArgumentException
- If playerUUID or playerName is null.void updateServerData()
DataExtension
.
Server methods have no parameters or Group
method parameter and a Provider annotation.