Class VelocityPlayerFallbackEvent


  • public class VelocityPlayerFallbackEvent
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      VelocityPlayerFallbackEvent​(com.velocitypowered.api.proxy.Player player, de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot fallback, java.lang.String fallbackName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.dytanic.cloudnet.driver.CloudNetDriver getDriver()  
      @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getFallback()  
      @Nullable java.lang.String getFallbackName()  
      @NotNull com.velocitypowered.api.proxy.Player getPlayer()  
      de.dytanic.cloudnet.wrapper.Wrapper getWrapper()  
      void setFallback​(@Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot fallback)  
      void setFallback​(@Nullable java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • VelocityPlayerFallbackEvent

        public VelocityPlayerFallbackEvent​(com.velocitypowered.api.proxy.Player player,
                                           de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot fallback,
                                           java.lang.String fallbackName)
    • Method Detail

      • getPlayer

        @NotNull
        public @NotNull com.velocitypowered.api.proxy.Player getPlayer()
      • getFallbackName

        @Nullable
        public @Nullable java.lang.String getFallbackName()
      • getFallback

        @Nullable
        public @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getFallback()
      • setFallback

        public void setFallback​(@Nullable
                                @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot fallback)
      • setFallback

        public void setFallback​(@Nullable
                                @Nullable java.lang.String name)
      • getDriver

        public final de.dytanic.cloudnet.driver.CloudNetDriver getDriver()
      • getWrapper

        public final de.dytanic.cloudnet.wrapper.Wrapper getWrapper()