@MightOccurAsync public interface NucleusMailEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
The message that was sent.
|
org.spongepowered.api.entity.living.player.User |
getRecipient()
The recipient of the mail.
|
Optional<org.spongepowered.api.entity.living.player.User> |
getSender()
The sender of the mail.
|
Optional<org.spongepowered.api.entity.living.player.User> getSender()
Optional.empty()
, this means it was some server process.org.spongepowered.api.entity.living.player.User getRecipient()
String getMessage()