Uses of Class
net.risingworld.api.events.player.ui.PlayerFileUploadEvent
Packages that use PlayerFileUploadEvent
-
Uses of PlayerFileUploadEvent in net.risingworld.api.events.player.ui
Method parameters in net.risingworld.api.events.player.ui with type arguments of type PlayerFileUploadEventModifier and TypeMethodDescriptionvoidPlayerSelectFileEvent.requestFileUpload(String targetDirectory, long maxBytes, Callback<PlayerFileUploadEvent> callback) Uploads the selected file into the provided directory on the server. -
Uses of PlayerFileUploadEvent in net.risingworld.api.objects
Method parameters in net.risingworld.api.objects with type arguments of type PlayerFileUploadEventModifier and TypeMethodDescriptionvoidClientFile.upload(String targetDirectory, long maxBytes, Callback<PlayerFileUploadEvent> callback) Uploads this file from the player's computer into the provided directory on the server.voidClientFile.upload(String targetDirectory, String targetName, boolean overwrite, long maxBytes, Callback<PlayerFileUploadEvent> callback) Uploads this file from the player's computer into the provided directory on the server.
Once the upload is finished (or failed), the callback is invoked and aPlayerFileUploadEventis triggered (both receive the same event object).