Class ProxyVersion

java.lang.Object
com.velocitypowered.api.util.ProxyVersion

public final class ProxyVersion extends Object
Provides a version object for the proxy.
  • Constructor Details

    • ProxyVersion

      public ProxyVersion(String name, String vendor, String version)
      Creates a new ProxyVersion instance.
      Parameters:
      name - the name for the proxy implementation
      vendor - the vendor for the proxy implementation
      version - the version for the proxy implementation
  • Method Details

    • getName

      public String getName()
      Gets the name of the proxy implementation.
      Returns:
      the name of the proxy
    • getVendor

      public String getVendor()
      Gets the vendor of the proxy implementation.
      Returns:
      the vendor of the proxy
    • getVersion

      public String getVersion()
      Gets the version of the proxy implementation.
      Returns:
      the version of the proxy
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object