Class ResourcePackStatusEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
de.themoep.resourcepacksplugin.bungee.events.ResourcePackStatusEvent
- All Implemented Interfaces:
IResourcePackStatusEvent
public class ResourcePackStatusEvent
extends net.md_5.bungee.api.plugin.Event
implements IResourcePackStatusEvent
Created by Phoenix616 on 18.06.2015.
-
Constructor Summary
ConstructorDescriptionResourcePackStatusEvent
(net.md_5.bungee.api.connection.ProxiedPlayer player, ResourcePackStatus status) Deprecated.ResourcePackStatusEvent
(net.md_5.bungee.api.connection.ProxiedPlayer player, ResourcePackStatus status, de.themoep.resourcepacksplugin.core.ResourcePack pack) -
Method Summary
Modifier and TypeMethodDescriptionde.themoep.resourcepacksplugin.core.ResourcePack
getPack()
Get the pack that the cdlient replied tofinal net.md_5.bungee.api.connection.ProxiedPlayer
final UUID
Get the id of the player for which this event was calledfinal ResourcePackStatus
Get the statusMethods inherited from class net.md_5.bungee.api.plugin.Event
postCall
-
Constructor Details
-
ResourcePackStatusEvent
@Deprecated public ResourcePackStatusEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, ResourcePackStatus status) Deprecated. -
ResourcePackStatusEvent
public ResourcePackStatusEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, ResourcePackStatus status, de.themoep.resourcepacksplugin.core.ResourcePack pack)
-
-
Method Details
-
getPlayer
public final net.md_5.bungee.api.connection.ProxiedPlayer getPlayer() -
getPlayerId
Description copied from interface:IResourcePackStatusEvent
Get the id of the player for which this event was called- Specified by:
getPlayerId
in interfaceIResourcePackStatusEvent
- Returns:
- The UUID of the player
-
getStatus
Description copied from interface:IResourcePackStatusEvent
Get the status- Specified by:
getStatus
in interfaceIResourcePackStatusEvent
- Returns:
- The the status of the event
-
getPack
public de.themoep.resourcepacksplugin.core.ResourcePack getPack()Description copied from interface:IResourcePackStatusEvent
Get the pack that the cdlient replied to- Specified by:
getPack
in interfaceIResourcePackStatusEvent
- Returns:
- The pack that the client replied to
-