Class ResourcePackSendEvent

java.lang.Object
de.themoep.resourcepacksplugin.velocity.events.ResourcePackSendEvent
All Implemented Interfaces:
com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>, de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent

public class ResourcePackSendEvent extends Object implements de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent, com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
Created by Phoenix616 on 18.04.2015.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.velocitypowered.api.event.ResultedEvent

    com.velocitypowered.api.event.ResultedEvent.ComponentResult, com.velocitypowered.api.event.ResultedEvent.GenericResult, com.velocitypowered.api.event.ResultedEvent.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResourcePackSendEvent(UUID playerId, de.themoep.resourcepacksplugin.core.ResourcePack pack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.themoep.resourcepacksplugin.core.ResourcePack
     
     
    com.velocitypowered.api.event.ResultedEvent.GenericResult
     
    boolean
     
    void
    setCancelled(boolean cancelled)
     
    void
    setPack(de.themoep.resourcepacksplugin.core.ResourcePack pack)
     
    void
    setResult(com.velocitypowered.api.event.ResultedEvent.GenericResult result)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResourcePackSendEvent

      public ResourcePackSendEvent(UUID playerId, de.themoep.resourcepacksplugin.core.ResourcePack pack)
  • Method Details

    • getPlayerId

      public UUID getPlayerId()
      Specified by:
      getPlayerId in interface de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
    • getPack

      public de.themoep.resourcepacksplugin.core.ResourcePack getPack()
      Specified by:
      getPack in interface de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
    • setPack

      public void setPack(de.themoep.resourcepacksplugin.core.ResourcePack pack)
      Specified by:
      setPack in interface de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
    • getResult

      public com.velocitypowered.api.event.ResultedEvent.GenericResult getResult()
      Specified by:
      getResult in interface com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
    • setResult

      public void setResult(com.velocitypowered.api.event.ResultedEvent.GenericResult result)
      Specified by:
      setResult in interface com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>