public final class PlayerCustomImageUploadEvent extends PlayerEvent
PlayerCustomImageUploadRequestEvent event
will be called first.PlayerCustomImageUploadRequestEvent| Constructor and Description |
|---|
PlayerCustomImageUploadEvent(Player player,
CustomImage image,
int totalbytes) |
| Modifier and Type | Method and Description |
|---|---|
CustomImage |
getImage()
Gets the custom image that was just uploaded by the player.
|
int |
getTotalBytes()
Gets the total amount of bytes (image data) that were uploaded by the client.
|
getPlayerpublic PlayerCustomImageUploadEvent(Player player, CustomImage image, int totalbytes)
public CustomImage getImage()
public int getTotalBytes()