feat: update bungee type file
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
73db4a9169
commit
53e4f6c658
14
packages/types/dist/typings/bungee/index.d.ts
vendored
14
packages/types/dist/typings/bungee/index.d.ts
vendored
@ -118,6 +118,8 @@
|
||||
/// <reference path="./net.md_5.bungee.command.ConsoleCommandSender.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.command.PlayerCommand.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.compress.CompressFactory.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.compress.PacketCompressor.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.compress.PacketDecompressor.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.conf.Configuration.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.conf.YamlConfig.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.config.Configuration.d.ts" />
|
||||
@ -143,6 +145,8 @@
|
||||
/// <reference path="./net.md_5.bungee.forge.IForgeClientPacketHandler.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.forge.IForgeServerPacketHandler.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.http.HttpClient.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.http.HttpHandler.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.http.HttpInitializer.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.jni.NativeCode.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.jni.NativeCodeException.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.jni.cipher.BungeeCipher.d.ts" />
|
||||
@ -164,17 +168,24 @@
|
||||
/// <reference path="./net.md_5.bungee.netty.ChannelWrapper.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.netty.HandlerBoss.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.netty.PacketHandler.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.netty.PipelineUtils.Base.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.netty.PipelineUtils.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.netty.cipher.CipherDecoder.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.netty.cipher.CipherEncoder.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.AbstractPacketHandler.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.BadPacketException.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.DefinedPacket.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.KickStringWriter.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.LegacyDecoder.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.MinecraftDecoder.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.MinecraftEncoder.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.OverflowPacketException.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.PacketWrapper.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.Protocol.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.ProtocolConstants.Direction.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.ProtocolConstants.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.Varint21FrameDecoder.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.Varint21LengthFieldPrepender.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.packet.BossBar.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.packet.Chat.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.packet.ClientSettings.d.ts" />
|
||||
@ -214,6 +225,7 @@
|
||||
/// <reference path="./net.md_5.bungee.protocol.packet.Title.Action.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.packet.Title.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.protocol.packet.ViewDistance.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.query.QueryHandler.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.query.RemoteQuery.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.scheduler.BungeeScheduler.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.scheduler.BungeeTask.d.ts" />
|
||||
@ -221,5 +233,7 @@
|
||||
/// <reference path="./net.md_5.bungee.tab.TabList.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.util.BoundedArrayList.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.util.BufUtil.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.util.CaseInsensitiveMap.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.util.CaseInsensitiveSet.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.util.ChatComponentTransformer.d.ts" />
|
||||
/// <reference path="./net.md_5.bungee.util.QuietException.d.ts" />
|
||||
|
@ -8,7 +8,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public isRunning: boolean;
|
||||
// @ts-ignore
|
||||
public config: any /*net.md_5.bungee.conf.Configuration*/;
|
||||
public config: net.md_5.bungee.conf.Configuration;
|
||||
// @ts-ignore
|
||||
public eventLoops: EventLoopGroup;
|
||||
// @ts-ignore
|
||||
@ -16,7 +16,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public gson: any /*Gson*/;
|
||||
// @ts-ignore
|
||||
public static getInstance(): any /*net.md_5.bungee.BungeeCord*/;
|
||||
public static getInstance(): net.md_5.bungee.BungeeCord;
|
||||
/**
|
||||
* Start this proxy instance by loading the configuration, plugins and
|
||||
* starting the connect thread.
|
||||
@ -51,7 +51,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public getPlayer(name: string): ProxiedPlayer;
|
||||
// @ts-ignore
|
||||
public getPlayerByOfflineUUID(name: java.util.UUID): any /*net.md_5.bungee.UserConnection*/;
|
||||
public getPlayerByOfflineUUID(name: java.util.UUID): net.md_5.bungee.UserConnection;
|
||||
// @ts-ignore
|
||||
public getPlayer(uuid: java.util.UUID): ProxiedPlayer;
|
||||
// @ts-ignore
|
||||
@ -79,9 +79,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public broadcast(message: BaseComponent): void;
|
||||
// @ts-ignore
|
||||
public addConnection(con: any /*net.md_5.bungee.UserConnection*/): void;
|
||||
public addConnection(con: net.md_5.bungee.UserConnection): void;
|
||||
// @ts-ignore
|
||||
public removeConnection(con: any /*net.md_5.bungee.UserConnection*/): void;
|
||||
public removeConnection(con: net.md_5.bungee.UserConnection): void;
|
||||
// @ts-ignore
|
||||
public getDisabledCommands(): java.util.Collection;
|
||||
// @ts-ignore
|
||||
|
@ -8,9 +8,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public exception(t: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
public connected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public connected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public disconnected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public disconnected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public handle(packet: PacketWrapper): void;
|
||||
// @ts-ignore
|
||||
|
@ -7,11 +7,11 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public getServer(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
public getServer(player: net.md_5.bungee.api.connection.ProxiedPlayer): net.md_5.bungee.api.config.ServerInfo;
|
||||
// @ts-ignore
|
||||
public static getForcedHost(con: any /*net.md_5.bungee.api.connection.PendingConnection*/): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
public static getForcedHost(con: net.md_5.bungee.api.connection.PendingConnection): net.md_5.bungee.api.config.ServerInfo;
|
||||
// @ts-ignore
|
||||
protected abstract getStoredServer(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
protected abstract getStoredServer(player: net.md_5.bungee.api.connection.ProxiedPlayer): net.md_5.bungee.api.config.ServerInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,49 +5,49 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ChatColor extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static BLACK: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static BLACK: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static DARK_BLUE: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static DARK_BLUE: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static DARK_GREEN: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static DARK_GREEN: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static DARK_AQUA: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static DARK_AQUA: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static DARK_RED: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static DARK_RED: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static DARK_PURPLE: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static DARK_PURPLE: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static GOLD: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static GOLD: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static GRAY: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static GRAY: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static DARK_GRAY: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static DARK_GRAY: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static BLUE: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static BLUE: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static GREEN: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static GREEN: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static AQUA: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static AQUA: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static RED: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static RED: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static LIGHT_PURPLE: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static LIGHT_PURPLE: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static YELLOW: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static YELLOW: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static WHITE: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static WHITE: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static MAGIC: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static MAGIC: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static BOLD: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static BOLD: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static STRIKETHROUGH: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static STRIKETHROUGH: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static UNDERLINE: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static UNDERLINE: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static ITALIC: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static ITALIC: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static RESET: any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static RESET: net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public static COLOR_CHAR: string;
|
||||
// @ts-ignore
|
||||
@ -55,9 +55,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public static STRIP_COLOR_PATTERN: java.util.regex.Pattern;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.ChatColor[]*/;
|
||||
public static values(): net.md_5.bungee.api.ChatColor[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
/**
|
||||
@ -71,7 +71,7 @@ declare namespace net {
|
||||
* Get the colour represented by the specified code.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static getByChar(code: string): any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public static getByChar(code: string): net.md_5.bungee.api.ChatColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,15 +5,15 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ChatMessageType extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static CHAT: any /*net.md_5.bungee.api.ChatMessageType*/;
|
||||
public static CHAT: net.md_5.bungee.api.ChatMessageType;
|
||||
// @ts-ignore
|
||||
public static SYSTEM: any /*net.md_5.bungee.api.ChatMessageType*/;
|
||||
public static SYSTEM: net.md_5.bungee.api.ChatMessageType;
|
||||
// @ts-ignore
|
||||
public static ACTION_BAR: any /*net.md_5.bungee.api.ChatMessageType*/;
|
||||
public static ACTION_BAR: net.md_5.bungee.api.ChatMessageType;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.ChatMessageType[]*/;
|
||||
public static values(): net.md_5.bungee.api.ChatMessageType[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.ChatMessageType*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.ChatMessageType;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -12,12 +12,12 @@ declare namespace net {
|
||||
* Creates a favicon from an image.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static create(image: java.awt.image.BufferedImage): any /*net.md_5.bungee.api.Favicon*/;
|
||||
public static create(image: java.awt.image.BufferedImage): net.md_5.bungee.api.Favicon;
|
||||
/**
|
||||
* Creates a Favicon from an encoded PNG.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static create(encodedString: string): any /*net.md_5.bungee.api.Favicon*/;
|
||||
public static create(encodedString: string): net.md_5.bungee.api.Favicon;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ declare namespace net {
|
||||
* The favicon used for the server ping list.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getFaviconObject(): any /*net.md_5.bungee.api.Favicon*/;
|
||||
getFaviconObject(): net.md_5.bungee.api.Favicon;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ declare namespace net {
|
||||
* application.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static setInstance(instance: any /*net.md_5.bungee.api.ProxyServer*/): void;
|
||||
public static setInstance(instance: net.md_5.bungee.api.ProxyServer): void;
|
||||
/**
|
||||
* Gets the name of the currently running proxy software.
|
||||
*/
|
||||
@ -42,7 +42,7 @@ declare namespace net {
|
||||
* Gets a connected player via their unique username.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getPlayer(name: string): any /*net.md_5.bungee.api.connection.ProxiedPlayer*/;
|
||||
public abstract getPlayer(name: string): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
/**
|
||||
* Return all servers registered to this proxy, keyed by name. Unlike the
|
||||
* methods in {@link ConfigurationAdapter#getServers()}, this will not
|
||||
@ -54,35 +54,35 @@ declare namespace net {
|
||||
* Gets the server info of a server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getServerInfo(name: string): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
public abstract getServerInfo(name: string): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Get the {@link PluginManager} associated with loading plugins and
|
||||
* dispatching events. It is recommended that implementations use the
|
||||
* provided PluginManager class.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getPluginManager(): any /*net.md_5.bungee.api.plugin.PluginManager*/;
|
||||
public abstract getPluginManager(): net.md_5.bungee.api.plugin.PluginManager;
|
||||
/**
|
||||
* Returns the currently in use configuration adapter.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getConfigurationAdapter(): any /*net.md_5.bungee.api.config.ConfigurationAdapter*/;
|
||||
public abstract getConfigurationAdapter(): net.md_5.bungee.api.config.ConfigurationAdapter;
|
||||
/**
|
||||
* Set the configuration adapter to be used. Must be called from
|
||||
* {@link Plugin#onLoad()}.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract setConfigurationAdapter(adapter: any /*net.md_5.bungee.api.config.ConfigurationAdapter*/): void;
|
||||
public abstract setConfigurationAdapter(adapter: net.md_5.bungee.api.config.ConfigurationAdapter): void;
|
||||
/**
|
||||
* Get the currently in use reconnect handler.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getReconnectHandler(): any /*net.md_5.bungee.api.ReconnectHandler*/;
|
||||
public abstract getReconnectHandler(): net.md_5.bungee.api.ReconnectHandler;
|
||||
/**
|
||||
* Sets the reconnect handler to be used for subsequent connections.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract setReconnectHandler(handler: any /*net.md_5.bungee.api.ReconnectHandler*/): void;
|
||||
public abstract setReconnectHandler(handler: net.md_5.bungee.api.ReconnectHandler): void;
|
||||
/**
|
||||
* Gracefully mark this instance for shutdown.
|
||||
*/
|
||||
@ -119,14 +119,14 @@ declare namespace net {
|
||||
* instance.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract constructServerInfo(name: string, address: java.net.InetSocketAddress, motd: string, restricted: boolean): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
public abstract constructServerInfo(name: string, address: java.net.InetSocketAddress, motd: string, restricted: boolean): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Returns the console overlord for this proxy. Being the console, this
|
||||
* command server cannot have permissions or groups, and will be able to
|
||||
* execute anything.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getConsole(): any /*net.md_5.bungee.api.CommandSender*/;
|
||||
public abstract getConsole(): net.md_5.bungee.api.CommandSender;
|
||||
/**
|
||||
* Return the folder used to load plugins from.
|
||||
*/
|
||||
@ -136,7 +136,7 @@ declare namespace net {
|
||||
* Get the scheduler instance for this proxy.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getScheduler(): any /*net.md_5.bungee.api.scheduler.TaskScheduler*/;
|
||||
public abstract getScheduler(): net.md_5.bungee.api.scheduler.TaskScheduler;
|
||||
/**
|
||||
* Get the current number of connected users. The default implementation is
|
||||
* more efficient than {@link #getPlayers()} as it does not take a lock or
|
||||
@ -158,7 +158,7 @@ declare namespace net {
|
||||
* Gets BungeeCord's core config.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract getConfig(): any /*net.md_5.bungee.api.ProxyConfig*/;
|
||||
public abstract getConfig(): net.md_5.bungee.api.ProxyConfig;
|
||||
/**
|
||||
* Attempts to match any players with the given name, and returns a list of
|
||||
* all possible matches.
|
||||
@ -174,7 +174,7 @@ declare namespace net {
|
||||
* affected by a previous one.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract createTitle(): any /*net.md_5.bungee.api.Title*/;
|
||||
public abstract createTitle(): net.md_5.bungee.api.Title;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,13 @@ declare namespace net {
|
||||
* Gets the initial server name for a connecting player.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getServer(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
getServer(player: net.md_5.bungee.api.connection.ProxiedPlayer): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Save the server of this player before they disconnect so it can be
|
||||
* retrieved later.
|
||||
*/
|
||||
// @ts-ignore
|
||||
setServer(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/): void;
|
||||
setServer(player: net.md_5.bungee.api.connection.ProxiedPlayer): void;
|
||||
/**
|
||||
* Save all pending reconnect locations. Whilst not used for database
|
||||
* connections, this method will be called at a predefined interval to allow
|
||||
|
@ -6,19 +6,19 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Result extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static EVENT_CANCEL: any /*net.md_5.bungee.api.ServerConnectRequest.Result*/;
|
||||
public static EVENT_CANCEL: net.md_5.bungee.api.ServerConnectRequest.Result;
|
||||
// @ts-ignore
|
||||
public static ALREADY_CONNECTED: any /*net.md_5.bungee.api.ServerConnectRequest.Result*/;
|
||||
public static ALREADY_CONNECTED: net.md_5.bungee.api.ServerConnectRequest.Result;
|
||||
// @ts-ignore
|
||||
public static ALREADY_CONNECTING: any /*net.md_5.bungee.api.ServerConnectRequest.Result*/;
|
||||
public static ALREADY_CONNECTING: net.md_5.bungee.api.ServerConnectRequest.Result;
|
||||
// @ts-ignore
|
||||
public static SUCCESS: any /*net.md_5.bungee.api.ServerConnectRequest.Result*/;
|
||||
public static SUCCESS: net.md_5.bungee.api.ServerConnectRequest.Result;
|
||||
// @ts-ignore
|
||||
public static FAIL: any /*net.md_5.bungee.api.ServerConnectRequest.Result*/;
|
||||
public static FAIL: net.md_5.bungee.api.ServerConnectRequest.Result;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.ServerConnectRequest.Result[]*/;
|
||||
public static values(): net.md_5.bungee.api.ServerConnectRequest.Result[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.ServerConnectRequest.Result*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.ServerConnectRequest.Result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,17 +5,17 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerPing extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor(version: any /*net.md_5.bungee.api.ServerPing.Protocol*/, players: any /*net.md_5.bungee.api.ServerPing.Players*/, description: string, favicon: string)
|
||||
constructor(version: net.md_5.bungee.api.ServerPing.Protocol, players: net.md_5.bungee.api.ServerPing.Players, description: string, favicon: string)
|
||||
// @ts-ignore
|
||||
constructor(version: any /*net.md_5.bungee.api.ServerPing.Protocol*/, players: any /*net.md_5.bungee.api.ServerPing.Players*/, description: string, favicon: any /*net.md_5.bungee.api.Favicon*/)
|
||||
constructor(version: net.md_5.bungee.api.ServerPing.Protocol, players: net.md_5.bungee.api.ServerPing.Players, description: string, favicon: net.md_5.bungee.api.Favicon)
|
||||
// @ts-ignore
|
||||
public getFavicon(): string;
|
||||
// @ts-ignore
|
||||
public getFaviconObject(): any /*net.md_5.bungee.api.Favicon*/;
|
||||
public getFaviconObject(): net.md_5.bungee.api.Favicon;
|
||||
// @ts-ignore
|
||||
public setFavicon(favicon: string): void;
|
||||
// @ts-ignore
|
||||
public setFavicon(favicon: any /*net.md_5.bungee.api.Favicon*/): void;
|
||||
public setFavicon(favicon: net.md_5.bungee.api.Favicon): void;
|
||||
// @ts-ignore
|
||||
public setDescription(description: string): void;
|
||||
// @ts-ignore
|
||||
|
@ -8,22 +8,22 @@ declare namespace net {
|
||||
* Set the title to send to the player.
|
||||
*/
|
||||
// @ts-ignore
|
||||
title(text: BaseComponent): any /*net.md_5.bungee.api.Title*/;
|
||||
title(text: BaseComponent): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Set the title to send to the player.
|
||||
*/
|
||||
// @ts-ignore
|
||||
title(text: BaseComponent): any /*net.md_5.bungee.api.Title*/;
|
||||
title(text: BaseComponent): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Set the subtitle to send to the player.
|
||||
*/
|
||||
// @ts-ignore
|
||||
subTitle(text: BaseComponent): any /*net.md_5.bungee.api.Title*/;
|
||||
subTitle(text: BaseComponent): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Set the subtitle to send to the player.
|
||||
*/
|
||||
// @ts-ignore
|
||||
subTitle(text: BaseComponent): any /*net.md_5.bungee.api.Title*/;
|
||||
subTitle(text: BaseComponent): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Set the duration in ticks of the fade in effect of the title. Once this
|
||||
* period of time is over the title will stay for the amount of time
|
||||
@ -31,7 +31,7 @@ declare namespace net {
|
||||
* Minecraft version is 20 (1 second).
|
||||
*/
|
||||
// @ts-ignore
|
||||
fadeIn(ticks: number): any /*net.md_5.bungee.api.Title*/;
|
||||
fadeIn(ticks: number): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Set the duration in ticks how long the title should stay on the screen.
|
||||
* Once this period of time is over the title will fade out using the
|
||||
@ -39,31 +39,31 @@ declare namespace net {
|
||||
* official Minecraft version is 60 (3 seconds).
|
||||
*/
|
||||
// @ts-ignore
|
||||
stay(ticks: number): any /*net.md_5.bungee.api.Title*/;
|
||||
stay(ticks: number): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Set the duration in ticks of the fade out effect of the title. The
|
||||
* default value for the official Minecraft version is 20 (1 second).
|
||||
*/
|
||||
// @ts-ignore
|
||||
fadeOut(ticks: number): any /*net.md_5.bungee.api.Title*/;
|
||||
fadeOut(ticks: number): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Remove the currently displayed title from the player's screen. This will
|
||||
* keep the currently used display times and will only remove the title.
|
||||
*/
|
||||
// @ts-ignore
|
||||
clear(): any /*net.md_5.bungee.api.Title*/;
|
||||
clear(): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Remove the currently displayed title from the player's screen and set the
|
||||
* configuration back to the default values.
|
||||
*/
|
||||
// @ts-ignore
|
||||
reset(): any /*net.md_5.bungee.api.Title*/;
|
||||
reset(): net.md_5.bungee.api.Title;
|
||||
/**
|
||||
* Send this title configuration to the specified player. This is the same
|
||||
* as calling {@link ProxiedPlayer#sendTitle(Title)}.
|
||||
*/
|
||||
// @ts-ignore
|
||||
send(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/): any /*net.md_5.bungee.api.Title*/;
|
||||
send(player: net.md_5.bungee.api.connection.ProxiedPlayer): net.md_5.bungee.api.Title;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,56 +10,56 @@ declare namespace net {
|
||||
* formatting will be replaced.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public copyFormatting(component: any /*net.md_5.bungee.api.chat.BaseComponent*/): void;
|
||||
public copyFormatting(component: net.md_5.bungee.api.chat.BaseComponent): void;
|
||||
/**
|
||||
* Copies the events and formatting of a BaseComponent.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public copyFormatting(component: any /*net.md_5.bungee.api.chat.BaseComponent*/, replace: boolean): void;
|
||||
public copyFormatting(component: net.md_5.bungee.api.chat.BaseComponent, replace: boolean): void;
|
||||
/**
|
||||
* Copies the specified formatting of a BaseComponent.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public copyFormatting(component: any /*net.md_5.bungee.api.chat.BaseComponent*/, retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/, replace: boolean): void;
|
||||
public copyFormatting(component: net.md_5.bungee.api.chat.BaseComponent, retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention, replace: boolean): void;
|
||||
/**
|
||||
* Retains only the specified formatting.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public retain(retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/): void;
|
||||
public retain(retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention): void;
|
||||
/**
|
||||
* Clones the BaseComponent and returns the clone.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract duplicate(): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public abstract duplicate(): net.md_5.bungee.api.chat.BaseComponent;
|
||||
/**
|
||||
* Clones the BaseComponent without formatting and returns the clone.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public duplicateWithoutFormatting(): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public duplicateWithoutFormatting(): net.md_5.bungee.api.chat.BaseComponent;
|
||||
/**
|
||||
* Converts the components to a string that uses the old formatting codes
|
||||
* ({@link net.md_5.bungee.api.ChatColor#COLOR_CHAR}
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static toLegacyText(components: any /*net.md_5.bungee.api.chat.BaseComponent*/): string;
|
||||
public static toLegacyText(components: net.md_5.bungee.api.chat.BaseComponent): string;
|
||||
/**
|
||||
* Converts the components into a string without any formatting
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static toPlainText(components: any /*net.md_5.bungee.api.chat.BaseComponent*/): string;
|
||||
public static toPlainText(components: net.md_5.bungee.api.chat.BaseComponent): string;
|
||||
/**
|
||||
* Returns the color of this component. This uses the parent's color if this
|
||||
* component doesn't have one. {@link net.md_5.bungee.api.ChatColor#WHITE}
|
||||
* is returned if no color is found.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getColor(): any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public getColor(): net.md_5.bungee.api.ChatColor;
|
||||
/**
|
||||
* Returns the color of this component without checking the parents color.
|
||||
* May return null
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getColorRaw(): any /*net.md_5.bungee.api.ChatColor*/;
|
||||
public getColorRaw(): net.md_5.bungee.api.ChatColor;
|
||||
/**
|
||||
* Returns whether this component is bold. This uses the parent's setting if
|
||||
* this component hasn't been set. false is returned if none of the parent
|
||||
@ -138,7 +138,7 @@ declare namespace net {
|
||||
* component's formatting
|
||||
*/
|
||||
// @ts-ignore
|
||||
public addExtra(component: any /*net.md_5.bungee.api.chat.BaseComponent*/): void;
|
||||
public addExtra(component: net.md_5.bungee.api.chat.BaseComponent): void;
|
||||
/**
|
||||
* Returns whether the component has any formatting or events applied to it
|
||||
*/
|
||||
|
@ -7,19 +7,19 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Action extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static OPEN_URL: any /*net.md_5.bungee.api.chat.ClickEvent.Action*/;
|
||||
public static OPEN_URL: net.md_5.bungee.api.chat.ClickEvent.Action;
|
||||
// @ts-ignore
|
||||
public static OPEN_FILE: any /*net.md_5.bungee.api.chat.ClickEvent.Action*/;
|
||||
public static OPEN_FILE: net.md_5.bungee.api.chat.ClickEvent.Action;
|
||||
// @ts-ignore
|
||||
public static RUN_COMMAND: any /*net.md_5.bungee.api.chat.ClickEvent.Action*/;
|
||||
public static RUN_COMMAND: net.md_5.bungee.api.chat.ClickEvent.Action;
|
||||
// @ts-ignore
|
||||
public static SUGGEST_COMMAND: any /*net.md_5.bungee.api.chat.ClickEvent.Action*/;
|
||||
public static SUGGEST_COMMAND: net.md_5.bungee.api.chat.ClickEvent.Action;
|
||||
// @ts-ignore
|
||||
public static CHANGE_PAGE: any /*net.md_5.bungee.api.chat.ClickEvent.Action*/;
|
||||
public static CHANGE_PAGE: net.md_5.bungee.api.chat.ClickEvent.Action;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.chat.ClickEvent.Action[]*/;
|
||||
public static values(): net.md_5.bungee.api.chat.ClickEvent.Action[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.chat.ClickEvent.Action*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.chat.ClickEvent.Action;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,17 +7,17 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class FormatRetention extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static NONE: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/;
|
||||
public static NONE: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention;
|
||||
// @ts-ignore
|
||||
public static FORMATTING: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/;
|
||||
public static FORMATTING: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention;
|
||||
// @ts-ignore
|
||||
public static EVENTS: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/;
|
||||
public static EVENTS: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention;
|
||||
// @ts-ignore
|
||||
public static ALL: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/;
|
||||
public static ALL: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention[]*/;
|
||||
public static values(): net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ declare namespace net {
|
||||
* previous component in builder unmodified.
|
||||
*/
|
||||
// @ts-ignore
|
||||
join(componentBuilder: any /*net.md_5.bungee.api.chat.ComponentBuilder*/, retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
join(componentBuilder: net.md_5.bungee.api.chat.ComponentBuilder, retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ declare namespace net {
|
||||
* it.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(original: any /*net.md_5.bungee.api.chat.ComponentBuilder*/)
|
||||
constructor(original: net.md_5.bungee.api.chat.ComponentBuilder)
|
||||
/**
|
||||
* Creates a ComponentBuilder with the given text as the first part.
|
||||
*/
|
||||
@ -20,65 +20,65 @@ declare namespace net {
|
||||
* Creates a ComponentBuilder with the given component as the first part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(component: any /*net.md_5.bungee.api.chat.BaseComponent*/)
|
||||
constructor(component: net.md_5.bungee.api.chat.BaseComponent)
|
||||
/**
|
||||
* Resets the cursor to index of the last element.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public resetCursor(): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public resetCursor(): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets the position of the current component to be modified
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCursor(pos: number): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public setCursor(pos: number): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Appends a component to the builder and makes it the current target for
|
||||
* formatting. The component will have all the formatting from previous
|
||||
* part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(component: any /*net.md_5.bungee.api.chat.BaseComponent*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(component: net.md_5.bungee.api.chat.BaseComponent): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Appends a component to the builder and makes it the current target for
|
||||
* formatting. You can specify the amount of formatting retained from
|
||||
* previous part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(component: any /*net.md_5.bungee.api.chat.BaseComponent*/, retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(component: net.md_5.bungee.api.chat.BaseComponent, retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Appends the components to the builder and makes the last element the
|
||||
* current target for formatting. The components will have all the
|
||||
* formatting from previous part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(components: any /*net.md_5.bungee.api.chat.BaseComponent*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(components: net.md_5.bungee.api.chat.BaseComponent): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Appends the components to the builder and makes the last element the
|
||||
* current target for formatting. You can specify the amount of formatting
|
||||
* retained from previous part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(components: any /*net.md_5.bungee.api.chat.BaseComponent*/, retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(components: net.md_5.bungee.api.chat.BaseComponent, retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Appends the text to the builder and makes it the current target for
|
||||
* formatting. The text will have all the formatting from previous part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(text: string): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(text: string): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Parse text to BaseComponent[] with colors and format, appends the text to
|
||||
* the builder and makes it the current target for formatting. The component
|
||||
* will have all the formatting from previous part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public appendLegacy(text: string): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public appendLegacy(text: string): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Appends the text to the builder and makes it the current target for
|
||||
* formatting. You can specify the amount of formatting retained from
|
||||
* previous part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(text: string, retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(text: string, retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Allows joining additional components to this builder using the given
|
||||
* {@link Joiner} and {@link FormatRetention#ALL}.
|
||||
@ -86,7 +86,7 @@ declare namespace net {
|
||||
* chain pattern.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(joiner: any /*net.md_5.bungee.api.chat.ComponentBuilder.Joiner*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(joiner: net.md_5.bungee.api.chat.ComponentBuilder.Joiner): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Allows joining additional components to this builder using the given
|
||||
* {@link Joiner}.
|
||||
@ -94,7 +94,7 @@ declare namespace net {
|
||||
* chain pattern.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public append(joiner: any /*net.md_5.bungee.api.chat.ComponentBuilder.Joiner*/, retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public append(joiner: net.md_5.bungee.api.chat.ComponentBuilder.Joiner, retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Remove the component part at the position of given index.
|
||||
*/
|
||||
@ -104,73 +104,73 @@ declare namespace net {
|
||||
* Gets the component part at the position of given index.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getComponent(pos: number): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public getComponent(pos: number): net.md_5.bungee.api.chat.BaseComponent;
|
||||
/**
|
||||
* Gets the component at the position of the cursor.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getCurrentComponent(): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public getCurrentComponent(): net.md_5.bungee.api.chat.BaseComponent;
|
||||
/**
|
||||
* Sets the color of the current part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public color(color: any /*net.md_5.bungee.api.ChatColor*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public color(color: net.md_5.bungee.api.ChatColor): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets whether the current part is bold.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public bold(bold: boolean): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public bold(bold: boolean): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets whether the current part is italic.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public italic(italic: boolean): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public italic(italic: boolean): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets whether the current part is underlined.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public underlined(underlined: boolean): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public underlined(underlined: boolean): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets whether the current part is strikethrough.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public strikethrough(strikethrough: boolean): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public strikethrough(strikethrough: boolean): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets whether the current part is obfuscated.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public obfuscated(obfuscated: boolean): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public obfuscated(obfuscated: boolean): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets the insertion text for the current part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public insertion(insertion: string): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public insertion(insertion: string): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets the click event for the current part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public event(clickEvent: any /*net.md_5.bungee.api.chat.ClickEvent*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public event(clickEvent: net.md_5.bungee.api.chat.ClickEvent): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets the hover event for the current part.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public event(hoverEvent: any /*net.md_5.bungee.api.chat.HoverEvent*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public event(hoverEvent: net.md_5.bungee.api.chat.HoverEvent): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Sets the current part back to normal settings. Only text is kept.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public reset(): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public reset(): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Retains only the specified formatting. Text is not modified.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public retain(retention: any /*net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention*/): any /*net.md_5.bungee.api.chat.ComponentBuilder*/;
|
||||
public retain(retention: net.md_5.bungee.api.chat.ComponentBuilder.FormatRetention): net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
/**
|
||||
* Returns the components needed to display the message created by this
|
||||
* builder.git
|
||||
*/
|
||||
// @ts-ignore
|
||||
public create(): any /*net.md_5.bungee.api.chat.BaseComponent[]*/;
|
||||
public create(): net.md_5.bungee.api.chat.BaseComponent[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,17 +7,17 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Action extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static SHOW_TEXT: any /*net.md_5.bungee.api.chat.HoverEvent.Action*/;
|
||||
public static SHOW_TEXT: net.md_5.bungee.api.chat.HoverEvent.Action;
|
||||
// @ts-ignore
|
||||
public static SHOW_ACHIEVEMENT: any /*net.md_5.bungee.api.chat.HoverEvent.Action*/;
|
||||
public static SHOW_ACHIEVEMENT: net.md_5.bungee.api.chat.HoverEvent.Action;
|
||||
// @ts-ignore
|
||||
public static SHOW_ITEM: any /*net.md_5.bungee.api.chat.HoverEvent.Action*/;
|
||||
public static SHOW_ITEM: net.md_5.bungee.api.chat.HoverEvent.Action;
|
||||
// @ts-ignore
|
||||
public static SHOW_ENTITY: any /*net.md_5.bungee.api.chat.HoverEvent.Action*/;
|
||||
public static SHOW_ENTITY: net.md_5.bungee.api.chat.HoverEvent.Action;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.chat.HoverEvent.Action[]*/;
|
||||
public static values(): net.md_5.bungee.api.chat.HoverEvent.Action[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.chat.HoverEvent.Action*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.chat.HoverEvent.Action;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,14 +9,14 @@ declare namespace net {
|
||||
* Creates a keybind component from the original to clone it.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(original: any /*net.md_5.bungee.api.chat.KeybindComponent*/)
|
||||
constructor(original: net.md_5.bungee.api.chat.KeybindComponent)
|
||||
/**
|
||||
* Creates a keybind component with the passed internal keybind value.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(keybind: string)
|
||||
// @ts-ignore
|
||||
public duplicate(): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public duplicate(): net.md_5.bungee.api.chat.BaseComponent;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
|
@ -19,9 +19,9 @@ declare namespace net {
|
||||
* Creates a score component from the original to clone it.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(original: any /*net.md_5.bungee.api.chat.ScoreComponent*/)
|
||||
constructor(original: net.md_5.bungee.api.chat.ScoreComponent)
|
||||
// @ts-ignore
|
||||
public duplicate(): any /*net.md_5.bungee.api.chat.ScoreComponent*/;
|
||||
public duplicate(): net.md_5.bungee.api.chat.ScoreComponent;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
|
@ -9,9 +9,9 @@ declare namespace net {
|
||||
* Creates a selector component from the original to clone it.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(original: any /*net.md_5.bungee.api.chat.SelectorComponent*/)
|
||||
constructor(original: net.md_5.bungee.api.chat.SelectorComponent)
|
||||
// @ts-ignore
|
||||
public duplicate(): any /*net.md_5.bungee.api.chat.SelectorComponent*/;
|
||||
public duplicate(): net.md_5.bungee.api.chat.SelectorComponent;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
|
@ -15,32 +15,32 @@ declare namespace net {
|
||||
* component
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(textComponent: any /*net.md_5.bungee.api.chat.TextComponent*/)
|
||||
constructor(textComponent: net.md_5.bungee.api.chat.TextComponent)
|
||||
/**
|
||||
* Creates a TextComponent with blank text and the extras set to the passed
|
||||
* array
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(extras: any /*net.md_5.bungee.api.chat.BaseComponent*/)
|
||||
constructor(extras: net.md_5.bungee.api.chat.BaseComponent)
|
||||
/**
|
||||
* Converts the old formatting system that used
|
||||
* {@link net.md_5.bungee.api.ChatColor#COLOR_CHAR} into the new json based
|
||||
* system.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static fromLegacyText(message: string): any /*net.md_5.bungee.api.chat.BaseComponent[]*/;
|
||||
public static fromLegacyText(message: string): net.md_5.bungee.api.chat.BaseComponent[];
|
||||
/**
|
||||
* Converts the old formatting system that used
|
||||
* {@link net.md_5.bungee.api.ChatColor#COLOR_CHAR} into the new json based
|
||||
* system.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static fromLegacyText(message: string, defaultColor: any /*net.md_5.bungee.api.ChatColor*/): any /*net.md_5.bungee.api.chat.BaseComponent[]*/;
|
||||
public static fromLegacyText(message: string, defaultColor: net.md_5.bungee.api.ChatColor): net.md_5.bungee.api.chat.BaseComponent[];
|
||||
/**
|
||||
* Creates a duplicate of this TextComponent.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public duplicate(): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public duplicate(): net.md_5.bungee.api.chat.BaseComponent;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
|
@ -4,12 +4,12 @@ declare namespace net {
|
||||
namespace api {
|
||||
namespace chat {
|
||||
// @ts-ignore
|
||||
class TranslatableComponent extends net.md_5.bungee.api.chat.BaseComponent {
|
||||
class TranslatableComponent extends net.md_5.bungee.api.chat.BaseComponent {
|
||||
/**
|
||||
* Creates a translatable component from the original to clone it.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(original: any /*net.md_5.bungee.api.chat.TranslatableComponent*/)
|
||||
constructor(original: net.md_5.bungee.api.chat.TranslatableComponent)
|
||||
/**
|
||||
* Creates a translatable component with the passed substitutions
|
||||
*/
|
||||
@ -19,7 +19,7 @@ declare namespace net {
|
||||
* Creates a duplicate of this TranslatableComponent.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public duplicate(): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public duplicate(): net.md_5.bungee.api.chat.BaseComponent;
|
||||
/**
|
||||
* Sets the translation substitutions to be used in this component. Removes
|
||||
* any previously set substitutions
|
||||
@ -37,7 +37,7 @@ declare namespace net {
|
||||
* this component's formatting
|
||||
*/
|
||||
// @ts-ignore
|
||||
public addWith(component: any /*net.md_5.bungee.api.chat.BaseComponent*/): void;
|
||||
public addWith(component: net.md_5.bungee.api.chat.BaseComponent): void;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
|
@ -44,7 +44,7 @@ declare namespace net {
|
||||
* the player has no permission and this server is restricted.
|
||||
*/
|
||||
// @ts-ignore
|
||||
canAccess(sender: any /*net.md_5.bungee.api.CommandSender*/): boolean;
|
||||
canAccess(sender: net.md_5.bungee.api.CommandSender): boolean;
|
||||
/**
|
||||
* Send data by any available means to this server. This data may be queued
|
||||
* and there is no guarantee of its timely arrival.
|
||||
@ -66,7 +66,7 @@ declare namespace net {
|
||||
* Asynchronously gets the current player count on this server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
ping(callback: any /*net.md_5.bungee.api.Callback*/): void;
|
||||
ping(callback: net.md_5.bungee.api.Callback): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ declare namespace net {
|
||||
* Get the unsafe methods of this class.
|
||||
*/
|
||||
// @ts-ignore
|
||||
unsafe(): any /*net.md_5.bungee.api.connection.Connection.Unsafe*/;
|
||||
unsafe(): net.md_5.bungee.api.connection.Connection.Unsafe;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ declare namespace net {
|
||||
* Get the listener that accepted this connection.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getListener(): any /*net.md_5.bungee.api.config.ListenerInfo*/;
|
||||
getListener(): net.md_5.bungee.api.config.ListenerInfo;
|
||||
/**
|
||||
* Get this connection's UUID, if set.
|
||||
*/
|
||||
|
@ -7,15 +7,15 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ChatMode extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static SHOWN: any /*net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode*/;
|
||||
public static SHOWN: net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode;
|
||||
// @ts-ignore
|
||||
public static COMMANDS_ONLY: any /*net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode*/;
|
||||
public static COMMANDS_ONLY: net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode;
|
||||
// @ts-ignore
|
||||
public static HIDDEN: any /*net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode*/;
|
||||
public static HIDDEN: net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode[]*/;
|
||||
public static values(): net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,13 +7,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class MainHand extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static LEFT: any /*net.md_5.bungee.api.connection.ProxiedPlayer.MainHand*/;
|
||||
public static LEFT: net.md_5.bungee.api.connection.ProxiedPlayer.MainHand;
|
||||
// @ts-ignore
|
||||
public static RIGHT: any /*net.md_5.bungee.api.connection.ProxiedPlayer.MainHand*/;
|
||||
public static RIGHT: net.md_5.bungee.api.connection.ProxiedPlayer.MainHand;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.connection.ProxiedPlayer.MainHand[]*/;
|
||||
public static values(): net.md_5.bungee.api.connection.ProxiedPlayer.MainHand[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.connection.ProxiedPlayer.MainHand*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.connection.ProxiedPlayer.MainHand;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,40 +32,40 @@ declare namespace net {
|
||||
* might return before the user has been connected.
|
||||
*/
|
||||
// @ts-ignore
|
||||
connect(target: any /*net.md_5.bungee.api.config.ServerInfo*/): void;
|
||||
connect(target: net.md_5.bungee.api.config.ServerInfo): void;
|
||||
/**
|
||||
* Connects / transfers this user to the specified connection, gracefully
|
||||
* closing the current one. Depending on the implementation, this method
|
||||
* might return before the user has been connected.
|
||||
*/
|
||||
// @ts-ignore
|
||||
connect(target: any /*net.md_5.bungee.api.config.ServerInfo*/, reason: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/): void;
|
||||
connect(target: net.md_5.bungee.api.config.ServerInfo, reason: net.md_5.bungee.api.event.ServerConnectEvent.Reason): void;
|
||||
/**
|
||||
* Connects / transfers this user to the specified connection, gracefully
|
||||
* closing the current one. Depending on the implementation, this method
|
||||
* might return before the user has been connected.
|
||||
*/
|
||||
// @ts-ignore
|
||||
connect(target: any /*net.md_5.bungee.api.config.ServerInfo*/, callback: any /*net.md_5.bungee.api.Callback*/): void;
|
||||
connect(target: net.md_5.bungee.api.config.ServerInfo, callback: net.md_5.bungee.api.Callback): void;
|
||||
/**
|
||||
* Connects / transfers this user to the specified connection, gracefully
|
||||
* closing the current one. Depending on the implementation, this method
|
||||
* might return before the user has been connected.
|
||||
*/
|
||||
// @ts-ignore
|
||||
connect(target: any /*net.md_5.bungee.api.config.ServerInfo*/, callback: any /*net.md_5.bungee.api.Callback*/, reason: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/): void;
|
||||
connect(target: net.md_5.bungee.api.config.ServerInfo, callback: net.md_5.bungee.api.Callback, reason: net.md_5.bungee.api.event.ServerConnectEvent.Reason): void;
|
||||
/**
|
||||
* Connects / transfers this user to the specified connection, gracefully
|
||||
* closing the current one. Depending on the implementation, this method
|
||||
* might return before the user has been connected.
|
||||
*/
|
||||
// @ts-ignore
|
||||
connect(request: any /*net.md_5.bungee.api.ServerConnectRequest*/): void;
|
||||
connect(request: net.md_5.bungee.api.ServerConnectRequest): void;
|
||||
/**
|
||||
* Gets the server this player is connected to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getServer(): any /*net.md_5.bungee.api.connection.Server*/;
|
||||
getServer(): net.md_5.bungee.api.connection.Server;
|
||||
/**
|
||||
* Gets the ping time between the proxy and this connection.
|
||||
*/
|
||||
@ -83,7 +83,7 @@ declare namespace net {
|
||||
* Get the pending connection that belongs to this player.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getPendingConnection(): any /*net.md_5.bungee.api.connection.PendingConnection*/;
|
||||
getPendingConnection(): net.md_5.bungee.api.connection.PendingConnection;
|
||||
/**
|
||||
* Make this player chat (say something), to the server he is currently on.
|
||||
*/
|
||||
@ -93,12 +93,12 @@ declare namespace net {
|
||||
* Get the server which this player will be sent to next time the log in.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getReconnectServer(): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
getReconnectServer(): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Set the server which this player will be sent to next time the log in.
|
||||
*/
|
||||
// @ts-ignore
|
||||
setReconnectServer(server: any /*net.md_5.bungee.api.config.ServerInfo*/): void;
|
||||
setReconnectServer(server: net.md_5.bungee.api.config.ServerInfo): void;
|
||||
/**
|
||||
* Get this connection's UUID, if set.
|
||||
*/
|
||||
@ -123,7 +123,7 @@ declare namespace net {
|
||||
* Gets this player's chat mode.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getChatMode(): any /*net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode*/;
|
||||
getChatMode(): net.md_5.bungee.api.connection.ProxiedPlayer.ChatMode;
|
||||
/**
|
||||
* Gets if this player has chat colors enabled or disabled.
|
||||
*/
|
||||
@ -133,12 +133,12 @@ declare namespace net {
|
||||
* Gets this player's skin settings.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getSkinParts(): any /*net.md_5.bungee.api.SkinConfiguration*/;
|
||||
getSkinParts(): net.md_5.bungee.api.SkinConfiguration;
|
||||
/**
|
||||
* Gets this player's main hand setting.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getMainHand(): any /*net.md_5.bungee.api.connection.ProxiedPlayer.MainHand*/;
|
||||
getMainHand(): net.md_5.bungee.api.connection.ProxiedPlayer.MainHand;
|
||||
/**
|
||||
* Set the header and footer displayed in the tab player list.
|
||||
*/
|
||||
@ -159,7 +159,7 @@ declare namespace net {
|
||||
* {@link Title#send(ProxiedPlayer)}.
|
||||
*/
|
||||
// @ts-ignore
|
||||
sendTitle(title: any /*net.md_5.bungee.api.Title*/): void;
|
||||
sendTitle(title: net.md_5.bungee.api.Title): void;
|
||||
/**
|
||||
* Gets whether this player is using a FML client.
|
||||
* <p>
|
||||
@ -197,7 +197,7 @@ declare namespace net {
|
||||
* Get the {@link Scoreboard} that belongs to this player.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getScoreboard(): any /*net.md_5.bungee.api.score.Scoreboard*/;
|
||||
getScoreboard(): net.md_5.bungee.api.score.Scoreboard;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ declare namespace net {
|
||||
* Returns the basic information about this server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getInfo(): any /*net.md_5.bungee.api.config.ServerInfo*/;
|
||||
getInfo(): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Send data by any available means to this server.
|
||||
* In recent Minecraft versions channel names must contain a colon separator
|
||||
|
@ -17,13 +17,13 @@ declare namespace net {
|
||||
* event to proceed.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public registerIntent(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/): void;
|
||||
public registerIntent(plugin: net.md_5.bungee.api.plugin.Plugin): void;
|
||||
/**
|
||||
* Notifies this event that this plugin has completed an intent and wishes
|
||||
* to let the event proceed once all intents have been completed.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public completeIntent(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/): void;
|
||||
public completeIntent(plugin: net.md_5.bungee.api.plugin.Plugin): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ChatEvent extends net.md_5.bungee.api.event.TargetedEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(sender: any /*net.md_5.bungee.api.connection.Connection*/, receiver: any /*net.md_5.bungee.api.connection.Connection*/, message: string)
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection, message: string)
|
||||
/**
|
||||
* Checks whether this message is valid as a command
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class LoginEvent extends net.md_5.bungee.api.event.AsyncEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(connection: any /*net.md_5.bungee.api.connection.PendingConnection*/, done: any /*net.md_5.bungee.api.Callback*/)
|
||||
constructor(connection: net.md_5.bungee.api.connection.PendingConnection, done: net.md_5.bungee.api.Callback)
|
||||
// @ts-ignore
|
||||
public getCancelReason(): string;
|
||||
// @ts-ignore
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PlayerHandshakeEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor(connection: any /*net.md_5.bungee.api.connection.PendingConnection*/, handshake: Handshake)
|
||||
constructor(connection: net.md_5.bungee.api.connection.PendingConnection, handshake: Handshake)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PluginMessageEvent extends net.md_5.bungee.api.event.TargetedEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(sender: any /*net.md_5.bungee.api.connection.Connection*/, receiver: any /*net.md_5.bungee.api.connection.Connection*/, tag: string, data: number)
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection, tag: string, data: number)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PreLoginEvent extends net.md_5.bungee.api.event.AsyncEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(connection: any /*net.md_5.bungee.api.connection.PendingConnection*/, done: any /*net.md_5.bungee.api.Callback*/)
|
||||
constructor(connection: net.md_5.bungee.api.connection.PendingConnection, done: net.md_5.bungee.api.Callback)
|
||||
// @ts-ignore
|
||||
public getCancelReason(): string;
|
||||
// @ts-ignore
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ProxyPingEvent extends net.md_5.bungee.api.event.AsyncEvent {
|
||||
// @ts-ignore
|
||||
constructor(connection: any /*net.md_5.bungee.api.connection.PendingConnection*/, response: any /*net.md_5.bungee.api.ServerPing*/, done: any /*net.md_5.bungee.api.Callback*/)
|
||||
constructor(connection: net.md_5.bungee.api.connection.PendingConnection, response: net.md_5.bungee.api.ServerPing, done: net.md_5.bungee.api.Callback)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,25 +7,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Reason extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static LOBBY_FALLBACK: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static LOBBY_FALLBACK: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static COMMAND: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static COMMAND: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static SERVER_DOWN_REDIRECT: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static SERVER_DOWN_REDIRECT: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static KICK_REDIRECT: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static KICK_REDIRECT: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static PLUGIN_MESSAGE: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static PLUGIN_MESSAGE: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static JOIN_PROXY: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static JOIN_PROXY: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static PLUGIN: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static PLUGIN: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static UNKNOWN: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static UNKNOWN: net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason[]*/;
|
||||
public static values(): net.md_5.bungee.api.event.ServerConnectEvent.Reason[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerConnectEvent extends net.md_5.bungee.api.plugin.Event implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/, target: any /*net.md_5.bungee.api.config.ServerInfo*/)
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, target: net.md_5.bungee.api.config.ServerInfo)
|
||||
// @ts-ignore
|
||||
constructor(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/, target: any /*net.md_5.bungee.api.config.ServerInfo*/, reason: any /*net.md_5.bungee.api.event.ServerConnectEvent.Reason*/)
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, target: net.md_5.bungee.api.config.ServerInfo, reason: net.md_5.bungee.api.event.ServerConnectEvent.Reason)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,15 +7,15 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class State extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static CONNECTING: any /*net.md_5.bungee.api.event.ServerKickEvent.State*/;
|
||||
public static CONNECTING: net.md_5.bungee.api.event.ServerKickEvent.State;
|
||||
// @ts-ignore
|
||||
public static CONNECTED: any /*net.md_5.bungee.api.event.ServerKickEvent.State*/;
|
||||
public static CONNECTED: net.md_5.bungee.api.event.ServerKickEvent.State;
|
||||
// @ts-ignore
|
||||
public static UNKNOWN: any /*net.md_5.bungee.api.event.ServerKickEvent.State*/;
|
||||
public static UNKNOWN: net.md_5.bungee.api.event.ServerKickEvent.State;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.event.ServerKickEvent.State[]*/;
|
||||
public static values(): net.md_5.bungee.api.event.ServerKickEvent.State[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.event.ServerKickEvent.State*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.event.ServerKickEvent.State;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,11 +6,11 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerKickEvent extends net.md_5.bungee.api.plugin.Event implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/, kickReasonComponent: BaseComponent, cancelServer: any /*net.md_5.bungee.api.config.ServerInfo*/)
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, kickReasonComponent: BaseComponent, cancelServer: net.md_5.bungee.api.config.ServerInfo)
|
||||
// @ts-ignore
|
||||
constructor(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/, kickReasonComponent: BaseComponent, cancelServer: any /*net.md_5.bungee.api.config.ServerInfo*/, state: any /*net.md_5.bungee.api.event.ServerKickEvent.State*/)
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, kickReasonComponent: BaseComponent, cancelServer: net.md_5.bungee.api.config.ServerInfo, state: net.md_5.bungee.api.event.ServerKickEvent.State)
|
||||
// @ts-ignore
|
||||
constructor(player: any /*net.md_5.bungee.api.connection.ProxiedPlayer*/, kickedFrom: any /*net.md_5.bungee.api.config.ServerInfo*/, kickReasonComponent: BaseComponent, cancelServer: any /*net.md_5.bungee.api.config.ServerInfo*/, state: any /*net.md_5.bungee.api.event.ServerKickEvent.State*/)
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, kickedFrom: net.md_5.bungee.api.config.ServerInfo, kickReasonComponent: BaseComponent, cancelServer: net.md_5.bungee.api.config.ServerInfo, state: net.md_5.bungee.api.event.ServerKickEvent.State)
|
||||
// @ts-ignore
|
||||
public getKickReason(): string;
|
||||
// @ts-ignore
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class TabCompleteEvent extends net.md_5.bungee.api.event.TargetedEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(sender: any /*net.md_5.bungee.api.connection.Connection*/, receiver: any /*net.md_5.bungee.api.connection.Connection*/, cursor: string, suggestions: java.util.List)
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection, cursor: string, suggestions: java.util.List)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class TabCompleteResponseEvent extends net.md_5.bungee.api.event.TargetedEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(sender: any /*net.md_5.bungee.api.connection.Connection*/, receiver: any /*net.md_5.bungee.api.connection.Connection*/, suggestions: java.util.List)
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection, suggestions: java.util.List)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,12 +19,12 @@ declare namespace net {
|
||||
* Execute this command with the specified sender and arguments.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract execute(sender: any /*net.md_5.bungee.api.CommandSender*/, args: string): void;
|
||||
public abstract execute(sender: net.md_5.bungee.api.CommandSender, args: string): void;
|
||||
/**
|
||||
* Check if this command can be executed by the given sender.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public hasPermission(sender: any /*net.md_5.bungee.api.CommandSender*/): boolean;
|
||||
public hasPermission(sender: net.md_5.bungee.api.CommandSender): boolean;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PluginLogger extends java.util.logging.Logger {
|
||||
// @ts-ignore
|
||||
constructor(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/)
|
||||
constructor(plugin: net.md_5.bungee.api.plugin.Plugin)
|
||||
// @ts-ignore
|
||||
public log(logRecord: java.util.logging.LogRecord): void;
|
||||
}
|
||||
|
@ -6,35 +6,35 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PluginManager extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor(proxy: any /*net.md_5.bungee.api.ProxyServer*/)
|
||||
constructor(proxy: net.md_5.bungee.api.ProxyServer)
|
||||
/**
|
||||
* Register a command so that it may be executed.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public registerCommand(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/, command: any /*net.md_5.bungee.api.plugin.Command*/): void;
|
||||
public registerCommand(plugin: net.md_5.bungee.api.plugin.Plugin, command: net.md_5.bungee.api.plugin.Command): void;
|
||||
/**
|
||||
* Unregister a command so it will no longer be executed.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public unregisterCommand(command: any /*net.md_5.bungee.api.plugin.Command*/): void;
|
||||
public unregisterCommand(command: net.md_5.bungee.api.plugin.Command): void;
|
||||
/**
|
||||
* Unregister all commands owned by a {@link Plugin}
|
||||
*/
|
||||
// @ts-ignore
|
||||
public unregisterCommands(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/): void;
|
||||
public unregisterCommands(plugin: net.md_5.bungee.api.plugin.Plugin): void;
|
||||
/**
|
||||
* Checks if the command is registered and can possibly be executed by the
|
||||
* sender (without taking permissions into account).
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isExecutableCommand(commandName: string, sender: any /*net.md_5.bungee.api.CommandSender*/): boolean;
|
||||
public isExecutableCommand(commandName: string, sender: net.md_5.bungee.api.CommandSender): boolean;
|
||||
// @ts-ignore
|
||||
public dispatchCommand(sender: any /*net.md_5.bungee.api.CommandSender*/, commandLine: string): boolean;
|
||||
public dispatchCommand(sender: net.md_5.bungee.api.CommandSender, commandLine: string): boolean;
|
||||
/**
|
||||
* Execute a command if it is registered, else return false.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public dispatchCommand(sender: any /*net.md_5.bungee.api.CommandSender*/, commandLine: string, tabResults: java.util.List): boolean;
|
||||
public dispatchCommand(sender: net.md_5.bungee.api.CommandSender, commandLine: string, tabResults: java.util.List): boolean;
|
||||
/**
|
||||
* Returns the {@link Plugin} objects corresponding to all loaded plugins.
|
||||
*/
|
||||
@ -44,7 +44,7 @@ declare namespace net {
|
||||
* Returns a loaded plugin identified by the specified name.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlugin(name: string): any /*net.md_5.bungee.api.plugin.Plugin*/;
|
||||
public getPlugin(name: string): net.md_5.bungee.api.plugin.Plugin;
|
||||
// @ts-ignore
|
||||
public loadPlugins(): void;
|
||||
// @ts-ignore
|
||||
@ -59,24 +59,24 @@ declare namespace net {
|
||||
* it has been handled by these listeners.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public callEvent(event: any /*net.md_5.bungee.api.plugin.Event*/): any /*net.md_5.bungee.api.plugin.Event*/;
|
||||
public callEvent(event: net.md_5.bungee.api.plugin.Event): net.md_5.bungee.api.plugin.Event;
|
||||
/**
|
||||
* Register a {@link Listener} for receiving called events. Methods in this
|
||||
* Object which wish to receive events must be annotated with the
|
||||
* {@link EventHandler} annotation.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public registerListener(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/, listener: any /*net.md_5.bungee.api.plugin.Listener*/): void;
|
||||
public registerListener(plugin: net.md_5.bungee.api.plugin.Plugin, listener: net.md_5.bungee.api.plugin.Listener): void;
|
||||
/**
|
||||
* Unregister a {@link Listener} so that the events do not reach it anymore.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public unregisterListener(listener: any /*net.md_5.bungee.api.plugin.Listener*/): void;
|
||||
public unregisterListener(listener: net.md_5.bungee.api.plugin.Listener): void;
|
||||
/**
|
||||
* Unregister all of a Plugin's listener.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public unregisterListeners(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/): void;
|
||||
public unregisterListeners(plugin: net.md_5.bungee.api.plugin.Plugin): void;
|
||||
/**
|
||||
* Get an unmodifiable collection of all registered commands.
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
interface TabExecutor {
|
||||
// @ts-ignore
|
||||
onTabComplete(sender: any /*net.md_5.bungee.api.CommandSender*/, args: string): java.lang.Iterable;
|
||||
onTabComplete(sender: net.md_5.bungee.api.CommandSender, args: string): java.lang.Iterable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class GroupedThreadFactory extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/, name: string)
|
||||
constructor(plugin: net.md_5.bungee.api.plugin.Plugin, name: string)
|
||||
// @ts-ignore
|
||||
public newThread(r: java.lang.Runnable): java.lang.Thread;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ declare namespace net {
|
||||
* Return the plugin which scheduled this task for execution.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getOwner(): any /*net.md_5.bungee.api.plugin.Plugin*/;
|
||||
getOwner(): net.md_5.bungee.api.plugin.Plugin;
|
||||
/**
|
||||
* Get the actual method which will be executed by this task.
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@ declare namespace net {
|
||||
* An executor service which underlies this scheduler.
|
||||
*/
|
||||
// @ts-ignore
|
||||
getExecutorService(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/): java.util.concurrent.ExecutorService;
|
||||
getExecutorService(plugin: net.md_5.bungee.api.plugin.Plugin): java.util.concurrent.ExecutorService;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16,25 +16,25 @@ declare namespace net {
|
||||
* prevent its further execution.
|
||||
*/
|
||||
// @ts-ignore
|
||||
cancel(task: any /*net.md_5.bungee.api.scheduler.ScheduledTask*/): void;
|
||||
cancel(task: net.md_5.bungee.api.scheduler.ScheduledTask): void;
|
||||
/**
|
||||
* Cancel all tasks owned by this plugin, this preventing them from being
|
||||
* executed hereon in.
|
||||
*/
|
||||
// @ts-ignore
|
||||
cancel(plugin: any /*net.md_5.bungee.api.plugin.Plugin*/): number;
|
||||
cancel(plugin: net.md_5.bungee.api.plugin.Plugin): number;
|
||||
/**
|
||||
* Schedule a task to be executed asynchronously. The task will commence
|
||||
* running as soon as this method returns.
|
||||
*/
|
||||
// @ts-ignore
|
||||
runAsync(owner: any /*net.md_5.bungee.api.plugin.Plugin*/, task: java.lang.Runnable): any /*net.md_5.bungee.api.scheduler.ScheduledTask*/;
|
||||
runAsync(owner: net.md_5.bungee.api.plugin.Plugin, task: java.lang.Runnable): net.md_5.bungee.api.scheduler.ScheduledTask;
|
||||
/**
|
||||
* Schedules a task to be executed asynchronously after the specified delay
|
||||
* is up.
|
||||
*/
|
||||
// @ts-ignore
|
||||
schedule(owner: any /*net.md_5.bungee.api.plugin.Plugin*/, task: java.lang.Runnable, delay: number, unit: java.util.concurrent.TimeUnit): any /*net.md_5.bungee.api.scheduler.ScheduledTask*/;
|
||||
schedule(owner: net.md_5.bungee.api.plugin.Plugin, task: java.lang.Runnable, delay: number, unit: java.util.concurrent.TimeUnit): net.md_5.bungee.api.scheduler.ScheduledTask;
|
||||
/**
|
||||
* Schedules a task to be executed asynchronously after the specified delay
|
||||
* is up. The scheduled task will continue running at the specified
|
||||
@ -42,12 +42,12 @@ declare namespace net {
|
||||
* invocation is complete.
|
||||
*/
|
||||
// @ts-ignore
|
||||
schedule(owner: any /*net.md_5.bungee.api.plugin.Plugin*/, task: java.lang.Runnable, delay: number, period: number, unit: java.util.concurrent.TimeUnit): any /*net.md_5.bungee.api.scheduler.ScheduledTask*/;
|
||||
schedule(owner: net.md_5.bungee.api.plugin.Plugin, task: java.lang.Runnable, delay: number, period: number, unit: java.util.concurrent.TimeUnit): net.md_5.bungee.api.scheduler.ScheduledTask;
|
||||
/**
|
||||
* Get the unsafe methods of this class.
|
||||
*/
|
||||
// @ts-ignore
|
||||
unsafe(): any /*net.md_5.bungee.api.scheduler.TaskScheduler.Unsafe*/;
|
||||
unsafe(): net.md_5.bungee.api.scheduler.TaskScheduler.Unsafe;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,47 +6,47 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Position extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static LIST: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static LIST: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static BELOW: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static BELOW: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_BLACK: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_BLACK: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_DARK_BLUE: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_DARK_BLUE: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_DARK_GREEN: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_DARK_GREEN: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_DARK_AQUA: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_DARK_AQUA: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_DARK_RED: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_DARK_RED: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_DARK_PURPLE: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_DARK_PURPLE: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_GOLD: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_GOLD: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_GRAY: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_GRAY: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_DARK_GRAY: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_DARK_GRAY: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_BLUE: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_BLUE: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_GREEN: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_GREEN: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_AQUA: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_AQUA: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_RED: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_RED: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_LIGHT_PURPLE: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_LIGHT_PURPLE: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_YELLOW: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_YELLOW: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static SIDEBAR_WHITE: any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static SIDEBAR_WHITE: net.md_5.bungee.api.score.Position;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.api.score.Position[]*/;
|
||||
public static values(): net.md_5.bungee.api.score.Position[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.api.score.Position*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.api.score.Position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,17 +14,17 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public getTeams(): java.util.Collection;
|
||||
// @ts-ignore
|
||||
public addObjective(objective: any /*net.md_5.bungee.api.score.Objective*/): void;
|
||||
public addObjective(objective: net.md_5.bungee.api.score.Objective): void;
|
||||
// @ts-ignore
|
||||
public addScore(score: any /*net.md_5.bungee.api.score.Score*/): void;
|
||||
public addScore(score: net.md_5.bungee.api.score.Score): void;
|
||||
// @ts-ignore
|
||||
public getScore(name: string): any /*net.md_5.bungee.api.score.Score*/;
|
||||
public getScore(name: string): net.md_5.bungee.api.score.Score;
|
||||
// @ts-ignore
|
||||
public addTeam(team: any /*net.md_5.bungee.api.score.Team*/): void;
|
||||
public addTeam(team: net.md_5.bungee.api.score.Team): void;
|
||||
// @ts-ignore
|
||||
public getTeam(name: string): any /*net.md_5.bungee.api.score.Team*/;
|
||||
public getTeam(name: string): net.md_5.bungee.api.score.Team;
|
||||
// @ts-ignore
|
||||
public getObjective(name: string): any /*net.md_5.bungee.api.score.Objective*/;
|
||||
public getObjective(name: string): net.md_5.bungee.api.score.Objective;
|
||||
// @ts-ignore
|
||||
public removeObjective(objectiveName: string): void;
|
||||
// @ts-ignore
|
||||
|
@ -7,9 +7,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected deserialize(object: JsonObject, component: any /*net.md_5.bungee.api.chat.BaseComponent*/, context: JsonDeserializationContext): void;
|
||||
protected deserialize(object: JsonObject, component: net.md_5.bungee.api.chat.BaseComponent, context: JsonDeserializationContext): void;
|
||||
// @ts-ignore
|
||||
protected serialize(object: JsonObject, component: any /*net.md_5.bungee.api.chat.BaseComponent*/, context: JsonSerializationContext): void;
|
||||
protected serialize(object: JsonObject, component: net.md_5.bungee.api.chat.BaseComponent, context: JsonSerializationContext): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,13 +9,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public static serializedComponents: java.lang.ThreadLocal;
|
||||
// @ts-ignore
|
||||
public static parse(json: string): any /*net.md_5.bungee.api.chat.BaseComponent[]*/;
|
||||
public static parse(json: string): net.md_5.bungee.api.chat.BaseComponent[];
|
||||
// @ts-ignore
|
||||
public static toString(component: any /*net.md_5.bungee.api.chat.BaseComponent*/): string;
|
||||
public static toString(component: net.md_5.bungee.api.chat.BaseComponent): string;
|
||||
// @ts-ignore
|
||||
public static toString(components: any /*net.md_5.bungee.api.chat.BaseComponent*/): string;
|
||||
public static toString(components: net.md_5.bungee.api.chat.BaseComponent): string;
|
||||
// @ts-ignore
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): any /*net.md_5.bungee.api.chat.BaseComponent*/;
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): net.md_5.bungee.api.chat.BaseComponent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): any /*net.md_5.bungee.api.chat.KeybindComponent*/;
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): net.md_5.bungee.api.chat.KeybindComponent;
|
||||
// @ts-ignore
|
||||
public serialize(src: any /*net.md_5.bungee.api.chat.KeybindComponent*/, typeOfSrc: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
public serialize(src: net.md_5.bungee.api.chat.KeybindComponent, typeOfSrc: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public deserialize(element: JsonElement, type: java.lang.reflect.Type, context: JsonDeserializationContext): any /*net.md_5.bungee.api.chat.ScoreComponent*/;
|
||||
public deserialize(element: JsonElement, type: java.lang.reflect.Type, context: JsonDeserializationContext): net.md_5.bungee.api.chat.ScoreComponent;
|
||||
// @ts-ignore
|
||||
public serialize(component: any /*net.md_5.bungee.api.chat.ScoreComponent*/, type: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
public serialize(component: net.md_5.bungee.api.chat.ScoreComponent, type: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public deserialize(element: JsonElement, type: java.lang.reflect.Type, context: JsonDeserializationContext): any /*net.md_5.bungee.api.chat.SelectorComponent*/;
|
||||
public deserialize(element: JsonElement, type: java.lang.reflect.Type, context: JsonDeserializationContext): net.md_5.bungee.api.chat.SelectorComponent;
|
||||
// @ts-ignore
|
||||
public serialize(component: any /*net.md_5.bungee.api.chat.SelectorComponent*/, type: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
public serialize(component: net.md_5.bungee.api.chat.SelectorComponent, type: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): any /*net.md_5.bungee.api.chat.TextComponent*/;
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): net.md_5.bungee.api.chat.TextComponent;
|
||||
// @ts-ignore
|
||||
public serialize(src: any /*net.md_5.bungee.api.chat.TextComponent*/, typeOfSrc: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
public serialize(src: net.md_5.bungee.api.chat.TextComponent, typeOfSrc: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,9 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): any /*net.md_5.bungee.api.chat.TranslatableComponent*/;
|
||||
public deserialize(json: JsonElement, typeOfT: java.lang.reflect.Type, context: JsonDeserializationContext): net.md_5.bungee.api.chat.TranslatableComponent;
|
||||
// @ts-ignore
|
||||
public serialize(src: any /*net.md_5.bungee.api.chat.TranslatableComponent*/, typeOfSrc: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
public serialize(src: net.md_5.bungee.api.chat.TranslatableComponent, typeOfSrc: java.lang.reflect.Type, context: JsonSerializationContext): JsonElement;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static INSTANCE: any /*net.md_5.bungee.chat.TranslationRegistry*/;
|
||||
public static INSTANCE: net.md_5.bungee.chat.TranslationRegistry;
|
||||
// @ts-ignore
|
||||
public translate(s: string): string;
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(name: string, permission: string, aliases: string)
|
||||
// @ts-ignore
|
||||
public onTabComplete(sender: any /*net.md_5.bungee.api.CommandSender*/, args: string): java.lang.Iterable;
|
||||
public onTabComplete(sender: net.md_5.bungee.api.CommandSender, args: string): java.lang.Iterable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
19
packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketCompressor.d.ts
vendored
Normal file
19
packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketCompressor.d.ts
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace compress {
|
||||
// @ts-ignore
|
||||
class PacketCompressor extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public handlerAdded(ctx: ChannelHandlerContext): void;
|
||||
// @ts-ignore
|
||||
public handlerRemoved(ctx: ChannelHandlerContext): void;
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, msg: ByteBuf, out: ByteBuf): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketDecompressor.d.ts
vendored
Normal file
19
packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketDecompressor.d.ts
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace compress {
|
||||
// @ts-ignore
|
||||
class PacketDecompressor extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public handlerAdded(ctx: ChannelHandlerContext): void;
|
||||
// @ts-ignore
|
||||
public handlerRemoved(ctx: ChannelHandlerContext): void;
|
||||
// @ts-ignore
|
||||
protected decode(ctx: ChannelHandlerContext, input: ByteBuf, out: java.util.List): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(defaults: any /*net.md_5.bungee.config.Configuration*/)
|
||||
constructor(defaults: net.md_5.bungee.config.Configuration)
|
||||
// @ts-ignore
|
||||
public get(path: string, def: java.lang.Object): java.lang.Object;
|
||||
// @ts-ignore
|
||||
@ -19,7 +19,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public set(path: string, value: java.lang.Object): void;
|
||||
// @ts-ignore
|
||||
public getSection(path: string): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public getSection(path: string): net.md_5.bungee.config.Configuration;
|
||||
/**
|
||||
* Gets keys, not deep by default.
|
||||
*/
|
||||
|
@ -7,11 +7,11 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static getProvider(provider: java.lang.Class): any /*net.md_5.bungee.config.ConfigurationProvider*/;
|
||||
public static getProvider(provider: java.lang.Class): net.md_5.bungee.config.ConfigurationProvider;
|
||||
// @ts-ignore
|
||||
public abstract save(config: any /*net.md_5.bungee.config.Configuration*/, file: java.io.File): void;
|
||||
public abstract save(config: net.md_5.bungee.config.Configuration, file: java.io.File): void;
|
||||
// @ts-ignore
|
||||
public abstract load(file: java.io.File): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public abstract load(file: java.io.File): net.md_5.bungee.config.Configuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,25 +7,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public save(config: any /*net.md_5.bungee.config.Configuration*/, file: java.io.File): void;
|
||||
public save(config: net.md_5.bungee.config.Configuration, file: java.io.File): void;
|
||||
// @ts-ignore
|
||||
public save(config: any /*net.md_5.bungee.config.Configuration*/, writer: java.io.Writer): void;
|
||||
public save(config: net.md_5.bungee.config.Configuration, writer: java.io.Writer): void;
|
||||
// @ts-ignore
|
||||
public load(file: java.io.File): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(file: java.io.File): net.md_5.bungee.config.Configuration;
|
||||
// @ts-ignore
|
||||
public load(file: java.io.File, defaults: any /*net.md_5.bungee.config.Configuration*/): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(file: java.io.File, defaults: net.md_5.bungee.config.Configuration): net.md_5.bungee.config.Configuration;
|
||||
// @ts-ignore
|
||||
public load(reader: java.io.Reader): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(reader: java.io.Reader): net.md_5.bungee.config.Configuration;
|
||||
// @ts-ignore
|
||||
public load(reader: java.io.Reader, defaults: any /*net.md_5.bungee.config.Configuration*/): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(reader: java.io.Reader, defaults: net.md_5.bungee.config.Configuration): net.md_5.bungee.config.Configuration;
|
||||
// @ts-ignore
|
||||
public load(is: java.io.InputStream): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(is: java.io.InputStream): net.md_5.bungee.config.Configuration;
|
||||
// @ts-ignore
|
||||
public load(is: java.io.InputStream, defaults: any /*net.md_5.bungee.config.Configuration*/): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(is: java.io.InputStream, defaults: net.md_5.bungee.config.Configuration): net.md_5.bungee.config.Configuration;
|
||||
// @ts-ignore
|
||||
public load(string: string): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(string: string): net.md_5.bungee.config.Configuration;
|
||||
// @ts-ignore
|
||||
public load(string: string, defaults: any /*net.md_5.bungee.config.Configuration*/): any /*net.md_5.bungee.config.Configuration*/;
|
||||
public load(string: string, defaults: net.md_5.bungee.config.Configuration): net.md_5.bungee.config.Configuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static INSTANCE: any /*net.md_5.bungee.connection.CancelSendSignal*/;
|
||||
public static INSTANCE: net.md_5.bungee.connection.CancelSendSignal;
|
||||
// @ts-ignore
|
||||
public initCause(cause: java.lang.Throwable): java.lang.Throwable;
|
||||
// @ts-ignore
|
||||
|
@ -9,7 +9,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public exception(t: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
public disconnected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public disconnected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public shouldHandle(packet: PacketWrapper): boolean;
|
||||
// @ts-ignore
|
||||
@ -25,7 +25,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public handle(displayScoreboard: ScoreboardDisplay): void;
|
||||
// @ts-ignore
|
||||
public handle(team: any /*net.md_5.bungee.protocol.packet.Team*/): void;
|
||||
public handle(team: net.md_5.bungee.protocol.packet.Team): void;
|
||||
// @ts-ignore
|
||||
public handle(pluginMessage: PluginMessage): void;
|
||||
// @ts-ignore
|
||||
|
@ -9,7 +9,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public shouldHandle(packet: PacketWrapper): boolean;
|
||||
// @ts-ignore
|
||||
public connected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public connected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public exception(t: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public connected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public connected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public exception(t: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
|
@ -5,13 +5,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class UpstreamBridge extends net.md_5.bungee.netty.PacketHandler {
|
||||
// @ts-ignore
|
||||
constructor(bungee: ProxyServer, con: any /*net.md_5.bungee.UserConnection*/)
|
||||
constructor(bungee: ProxyServer, con: net.md_5.bungee.UserConnection)
|
||||
// @ts-ignore
|
||||
public exception(t: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
public disconnected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public disconnected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public writabilityChanged(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public writabilityChanged(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public shouldHandle(packet: PacketWrapper): boolean;
|
||||
// @ts-ignore
|
||||
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static getEntityMap(version: number): any /*net.md_5.bungee.entitymap.EntityMap*/;
|
||||
public static getEntityMap(version: number): net.md_5.bungee.entitymap.EntityMap;
|
||||
// @ts-ignore
|
||||
protected addRewrite(id: number, direction: any /*ProtocolConstants.Direction*/, varint: boolean): void;
|
||||
// @ts-ignore
|
||||
|
@ -5,19 +5,19 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ForgeServerHandshakeState extends java.lang.Enum implements net.md_5.bungee.forge.IForgeServerPacketHandler {
|
||||
// @ts-ignore
|
||||
public static START: any /*net.md_5.bungee.forge.ForgeServerHandshakeState*/;
|
||||
public static START: net.md_5.bungee.forge.ForgeServerHandshakeState;
|
||||
// @ts-ignore
|
||||
public static HELLO: any /*net.md_5.bungee.forge.ForgeServerHandshakeState*/;
|
||||
public static HELLO: net.md_5.bungee.forge.ForgeServerHandshakeState;
|
||||
// @ts-ignore
|
||||
public static WAITINGCACK: any /*net.md_5.bungee.forge.ForgeServerHandshakeState*/;
|
||||
public static WAITINGCACK: net.md_5.bungee.forge.ForgeServerHandshakeState;
|
||||
// @ts-ignore
|
||||
public static COMPLETE: any /*net.md_5.bungee.forge.ForgeServerHandshakeState*/;
|
||||
public static COMPLETE: net.md_5.bungee.forge.ForgeServerHandshakeState;
|
||||
// @ts-ignore
|
||||
public static DONE: any /*net.md_5.bungee.forge.ForgeServerHandshakeState*/;
|
||||
public static DONE: net.md_5.bungee.forge.ForgeServerHandshakeState;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.forge.ForgeServerHandshakeState[]*/;
|
||||
public static values(): net.md_5.bungee.forge.ForgeServerHandshakeState[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.forge.ForgeServerHandshakeState*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.forge.ForgeServerHandshakeState;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,12 +8,12 @@ declare namespace net {
|
||||
* Handles any {@link PluginMessage} packets.
|
||||
*/
|
||||
// @ts-ignore
|
||||
handle(message: PluginMessage, con: any /*net.md_5.bungee.UserConnection*/): java.lang.Object;
|
||||
handle(message: PluginMessage, con: net.md_5.bungee.UserConnection): java.lang.Object;
|
||||
/**
|
||||
* Sends any {@link PluginMessage} packets.
|
||||
*/
|
||||
// @ts-ignore
|
||||
send(message: PluginMessage, con: any /*net.md_5.bungee.UserConnection*/): java.lang.Object;
|
||||
send(message: PluginMessage, con: net.md_5.bungee.UserConnection): java.lang.Object;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,12 +9,12 @@ declare namespace net {
|
||||
* packets.
|
||||
*/
|
||||
// @ts-ignore
|
||||
handle(message: PluginMessage, ch: any /*net.md_5.bungee.netty.ChannelWrapper*/): java.lang.Object;
|
||||
handle(message: PluginMessage, ch: net.md_5.bungee.netty.ChannelWrapper): java.lang.Object;
|
||||
/**
|
||||
* Sends any {@link net.md_5.bungee.protocol.packet.PluginMessage} packets.
|
||||
*/
|
||||
// @ts-ignore
|
||||
send(message: PluginMessage, con: any /*net.md_5.bungee.UserConnection*/): java.lang.Object;
|
||||
send(message: PluginMessage, con: net.md_5.bungee.UserConnection): java.lang.Object;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
17
packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpHandler.d.ts
vendored
Normal file
17
packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpHandler.d.ts
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace http {
|
||||
// @ts-ignore
|
||||
class HttpHandler extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public exceptionCaught(ctx: ChannelHandlerContext, cause: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
protected channelRead0(ctx: ChannelHandlerContext, msg: HttpObject): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpInitializer.d.ts
vendored
Normal file
15
packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpInitializer.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace http {
|
||||
// @ts-ignore
|
||||
class HttpInitializer extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected initChannel(ch: Channel): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class LogDispatcher extends java.lang.Thread {
|
||||
// @ts-ignore
|
||||
constructor(logger: any /*net.md_5.bungee.log.BungeeLogger*/)
|
||||
constructor(logger: net.md_5.bungee.log.BungeeLogger)
|
||||
// @ts-ignore
|
||||
public run(): void;
|
||||
// @ts-ignore
|
||||
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public retrieve(module: any /*net.md_5.bungee.module.ModuleSpec*/, version: any /*net.md_5.bungee.module.ModuleVersion*/): void;
|
||||
public retrieve(module: net.md_5.bungee.module.ModuleSpec, version: net.md_5.bungee.module.ModuleVersion): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static parse(version: string): any /*net.md_5.bungee.module.ModuleVersion*/;
|
||||
public static parse(version: string): net.md_5.bungee.module.ModuleVersion;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public setHandler(handler: any /*net.md_5.bungee.netty.PacketHandler*/): void;
|
||||
public setHandler(handler: net.md_5.bungee.netty.PacketHandler): void;
|
||||
// @ts-ignore
|
||||
public channelActive(ctx: ChannelHandlerContext): void;
|
||||
// @ts-ignore
|
||||
|
@ -15,11 +15,11 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public handle(packet: PacketWrapper): void;
|
||||
// @ts-ignore
|
||||
public connected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public connected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public disconnected(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public disconnected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
public writabilityChanged(channel: any /*net.md_5.bungee.netty.ChannelWrapper*/): void;
|
||||
public writabilityChanged(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
17
packages/types/dist/typings/bungee/net.md_5.bungee.netty.PipelineUtils.Base.d.ts
vendored
Normal file
17
packages/types/dist/typings/bungee/net.md_5.bungee.netty.PipelineUtils.Base.d.ts
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace netty {
|
||||
namespace PipelineUtils {
|
||||
// @ts-ignore
|
||||
class Base extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public initChannel(ch: Channel): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -15,7 +15,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public static SERVER_CHILD: any;
|
||||
// @ts-ignore
|
||||
public static BASE: any /*net.md_5.bungee.netty.PipelineUtils.Base*/;
|
||||
public static BASE: net.md_5.bungee.netty.PipelineUtils.Base;
|
||||
// @ts-ignore
|
||||
public static TIMEOUT_HANDLER: string;
|
||||
// @ts-ignore
|
||||
|
19
packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherDecoder.d.ts
vendored
Normal file
19
packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherDecoder.d.ts
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace netty {
|
||||
namespace cipher {
|
||||
// @ts-ignore
|
||||
class CipherDecoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected decode(ctx: ChannelHandlerContext, msg: ByteBuf, out: java.util.List): void;
|
||||
// @ts-ignore
|
||||
public handlerRemoved(ctx: ChannelHandlerContext): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherEncoder.d.ts
vendored
Normal file
19
packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherEncoder.d.ts
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace netty {
|
||||
namespace cipher {
|
||||
// @ts-ignore
|
||||
class CipherEncoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, input: ByteBuf, out: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public handlerRemoved(ctx: ChannelHandlerContext): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -7,73 +7,73 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public handle(ping: any /*net.md_5.bungee.protocol.packet.LegacyPing*/): void;
|
||||
public handle(ping: net.md_5.bungee.protocol.packet.LegacyPing): void;
|
||||
// @ts-ignore
|
||||
public handle(tabResponse: any /*net.md_5.bungee.protocol.packet.TabCompleteResponse*/): void;
|
||||
public handle(tabResponse: net.md_5.bungee.protocol.packet.TabCompleteResponse): void;
|
||||
// @ts-ignore
|
||||
public handle(ping: any /*net.md_5.bungee.protocol.packet.PingPacket*/): void;
|
||||
public handle(ping: net.md_5.bungee.protocol.packet.PingPacket): void;
|
||||
// @ts-ignore
|
||||
public handle(statusRequest: any /*net.md_5.bungee.protocol.packet.StatusRequest*/): void;
|
||||
public handle(statusRequest: net.md_5.bungee.protocol.packet.StatusRequest): void;
|
||||
// @ts-ignore
|
||||
public handle(statusResponse: any /*net.md_5.bungee.protocol.packet.StatusResponse*/): void;
|
||||
public handle(statusResponse: net.md_5.bungee.protocol.packet.StatusResponse): void;
|
||||
// @ts-ignore
|
||||
public handle(handshake: any /*net.md_5.bungee.protocol.packet.Handshake*/): void;
|
||||
public handle(handshake: net.md_5.bungee.protocol.packet.Handshake): void;
|
||||
// @ts-ignore
|
||||
public handle(keepAlive: any /*net.md_5.bungee.protocol.packet.KeepAlive*/): void;
|
||||
public handle(keepAlive: net.md_5.bungee.protocol.packet.KeepAlive): void;
|
||||
// @ts-ignore
|
||||
public handle(login: any /*net.md_5.bungee.protocol.packet.Login*/): void;
|
||||
public handle(login: net.md_5.bungee.protocol.packet.Login): void;
|
||||
// @ts-ignore
|
||||
public handle(chat: any /*net.md_5.bungee.protocol.packet.Chat*/): void;
|
||||
public handle(chat: net.md_5.bungee.protocol.packet.Chat): void;
|
||||
// @ts-ignore
|
||||
public handle(respawn: any /*net.md_5.bungee.protocol.packet.Respawn*/): void;
|
||||
public handle(respawn: net.md_5.bungee.protocol.packet.Respawn): void;
|
||||
// @ts-ignore
|
||||
public handle(loginRequest: any /*net.md_5.bungee.protocol.packet.LoginRequest*/): void;
|
||||
public handle(loginRequest: net.md_5.bungee.protocol.packet.LoginRequest): void;
|
||||
// @ts-ignore
|
||||
public handle(settings: any /*net.md_5.bungee.protocol.packet.ClientSettings*/): void;
|
||||
public handle(settings: net.md_5.bungee.protocol.packet.ClientSettings): void;
|
||||
// @ts-ignore
|
||||
public handle(clientStatus: any /*net.md_5.bungee.protocol.packet.ClientStatus*/): void;
|
||||
public handle(clientStatus: net.md_5.bungee.protocol.packet.ClientStatus): void;
|
||||
// @ts-ignore
|
||||
public handle(playerListItem: any /*net.md_5.bungee.protocol.packet.PlayerListItem*/): void;
|
||||
public handle(playerListItem: net.md_5.bungee.protocol.packet.PlayerListItem): void;
|
||||
// @ts-ignore
|
||||
public handle(playerListHeaderFooter: any /*net.md_5.bungee.protocol.packet.PlayerListHeaderFooter*/): void;
|
||||
public handle(playerListHeaderFooter: net.md_5.bungee.protocol.packet.PlayerListHeaderFooter): void;
|
||||
// @ts-ignore
|
||||
public handle(tabComplete: any /*net.md_5.bungee.protocol.packet.TabCompleteRequest*/): void;
|
||||
public handle(tabComplete: net.md_5.bungee.protocol.packet.TabCompleteRequest): void;
|
||||
// @ts-ignore
|
||||
public handle(scoreboardObjective: any /*net.md_5.bungee.protocol.packet.ScoreboardObjective*/): void;
|
||||
public handle(scoreboardObjective: net.md_5.bungee.protocol.packet.ScoreboardObjective): void;
|
||||
// @ts-ignore
|
||||
public handle(scoreboardScore: any /*net.md_5.bungee.protocol.packet.ScoreboardScore*/): void;
|
||||
public handle(scoreboardScore: net.md_5.bungee.protocol.packet.ScoreboardScore): void;
|
||||
// @ts-ignore
|
||||
public handle(encryptionRequest: any /*net.md_5.bungee.protocol.packet.EncryptionRequest*/): void;
|
||||
public handle(encryptionRequest: net.md_5.bungee.protocol.packet.EncryptionRequest): void;
|
||||
// @ts-ignore
|
||||
public handle(displayScoreboard: any /*net.md_5.bungee.protocol.packet.ScoreboardDisplay*/): void;
|
||||
public handle(displayScoreboard: net.md_5.bungee.protocol.packet.ScoreboardDisplay): void;
|
||||
// @ts-ignore
|
||||
public handle(team: any /*net.md_5.bungee.protocol.packet.Team*/): void;
|
||||
public handle(team: net.md_5.bungee.protocol.packet.Team): void;
|
||||
// @ts-ignore
|
||||
public handle(title: any /*net.md_5.bungee.protocol.packet.Title*/): void;
|
||||
public handle(title: net.md_5.bungee.protocol.packet.Title): void;
|
||||
// @ts-ignore
|
||||
public handle(pluginMessage: any /*net.md_5.bungee.protocol.packet.PluginMessage*/): void;
|
||||
public handle(pluginMessage: net.md_5.bungee.protocol.packet.PluginMessage): void;
|
||||
// @ts-ignore
|
||||
public handle(kick: any /*net.md_5.bungee.protocol.packet.Kick*/): void;
|
||||
public handle(kick: net.md_5.bungee.protocol.packet.Kick): void;
|
||||
// @ts-ignore
|
||||
public handle(encryptionResponse: any /*net.md_5.bungee.protocol.packet.EncryptionResponse*/): void;
|
||||
public handle(encryptionResponse: net.md_5.bungee.protocol.packet.EncryptionResponse): void;
|
||||
// @ts-ignore
|
||||
public handle(loginSuccess: any /*net.md_5.bungee.protocol.packet.LoginSuccess*/): void;
|
||||
public handle(loginSuccess: net.md_5.bungee.protocol.packet.LoginSuccess): void;
|
||||
// @ts-ignore
|
||||
public handle(legacyHandshake: any /*net.md_5.bungee.protocol.packet.LegacyHandshake*/): void;
|
||||
public handle(legacyHandshake: net.md_5.bungee.protocol.packet.LegacyHandshake): void;
|
||||
// @ts-ignore
|
||||
public handle(setCompression: any /*net.md_5.bungee.protocol.packet.SetCompression*/): void;
|
||||
public handle(setCompression: net.md_5.bungee.protocol.packet.SetCompression): void;
|
||||
// @ts-ignore
|
||||
public handle(bossBar: any /*net.md_5.bungee.protocol.packet.BossBar*/): void;
|
||||
public handle(bossBar: net.md_5.bungee.protocol.packet.BossBar): void;
|
||||
// @ts-ignore
|
||||
public handle(request: any /*net.md_5.bungee.protocol.packet.LoginPayloadRequest*/): void;
|
||||
public handle(request: net.md_5.bungee.protocol.packet.LoginPayloadRequest): void;
|
||||
// @ts-ignore
|
||||
public handle(response: any /*net.md_5.bungee.protocol.packet.LoginPayloadResponse*/): void;
|
||||
public handle(response: net.md_5.bungee.protocol.packet.LoginPayloadResponse): void;
|
||||
// @ts-ignore
|
||||
public handle(status: any /*net.md_5.bungee.protocol.packet.EntityStatus*/): void;
|
||||
public handle(status: net.md_5.bungee.protocol.packet.EntityStatus): void;
|
||||
// @ts-ignore
|
||||
public handle(commands: any /*net.md_5.bungee.protocol.packet.Commands*/): void;
|
||||
public handle(commands: net.md_5.bungee.protocol.packet.Commands): void;
|
||||
// @ts-ignore
|
||||
public handle(viewDistance: any /*net.md_5.bungee.protocol.packet.ViewDistance*/): void;
|
||||
public handle(viewDistance: net.md_5.bungee.protocol.packet.ViewDistance): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -41,13 +41,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public abstract handle(handler: any /*net.md_5.bungee.protocol.AbstractPacketHandler*/): void;
|
||||
public abstract handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public abstract equals(obj: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
|
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.KickStringWriter.d.ts
vendored
Normal file
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.KickStringWriter.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace protocol {
|
||||
// @ts-ignore
|
||||
class KickStringWriter extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, msg: string, out: ByteBuf): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftDecoder.d.ts
vendored
Normal file
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftDecoder.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace protocol {
|
||||
// @ts-ignore
|
||||
class MinecraftDecoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected decode(ctx: ChannelHandlerContext, input: ByteBuf, out: java.util.List): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftEncoder.d.ts
vendored
Normal file
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftEncoder.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace protocol {
|
||||
// @ts-ignore
|
||||
class MinecraftEncoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, msg: net.md_5.bungee.protocol.DefinedPacket, out: ByteBuf): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -7,7 +7,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public packet: any /*net.md_5.bungee.protocol.DefinedPacket*/;
|
||||
public packet: net.md_5.bungee.protocol.DefinedPacket;
|
||||
// @ts-ignore
|
||||
public buf: ByteBuf;
|
||||
// @ts-ignore
|
||||
|
@ -5,19 +5,19 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Protocol extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static HANDSHAKE: any /*net.md_5.bungee.protocol.Protocol*/;
|
||||
public static HANDSHAKE: net.md_5.bungee.protocol.Protocol;
|
||||
// @ts-ignore
|
||||
public static GAME: any /*net.md_5.bungee.protocol.Protocol*/;
|
||||
public static GAME: net.md_5.bungee.protocol.Protocol;
|
||||
// @ts-ignore
|
||||
public static STATUS: any /*net.md_5.bungee.protocol.Protocol*/;
|
||||
public static STATUS: net.md_5.bungee.protocol.Protocol;
|
||||
// @ts-ignore
|
||||
public static LOGIN: any /*net.md_5.bungee.protocol.Protocol*/;
|
||||
public static LOGIN: net.md_5.bungee.protocol.Protocol;
|
||||
// @ts-ignore
|
||||
public static MAX_PACKET_ID: number;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.protocol.Protocol[]*/;
|
||||
public static values(): net.md_5.bungee.protocol.Protocol[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.protocol.Protocol*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.protocol.Protocol;
|
||||
// @ts-ignore
|
||||
public static main(args: string): void;
|
||||
}
|
||||
|
@ -6,13 +6,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Direction extends java.lang.Enum {
|
||||
// @ts-ignore
|
||||
public static TO_CLIENT: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/;
|
||||
public static TO_CLIENT: net.md_5.bungee.protocol.ProtocolConstants.Direction;
|
||||
// @ts-ignore
|
||||
public static TO_SERVER: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/;
|
||||
public static TO_SERVER: net.md_5.bungee.protocol.ProtocolConstants.Direction;
|
||||
// @ts-ignore
|
||||
public static values(): any /*net.md_5.bungee.protocol.ProtocolConstants.Direction[]*/;
|
||||
public static values(): net.md_5.bungee.protocol.ProtocolConstants.Direction[];
|
||||
// @ts-ignore
|
||||
public static valueOf(name: string): any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/;
|
||||
public static valueOf(name: string): net.md_5.bungee.protocol.ProtocolConstants.Direction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.Varint21LengthFieldPrepender.d.ts
vendored
Normal file
15
packages/types/dist/typings/bungee/net.md_5.bungee.protocol.Varint21LengthFieldPrepender.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
declare namespace net {
|
||||
namespace md_5 {
|
||||
namespace bungee {
|
||||
namespace protocol {
|
||||
// @ts-ignore
|
||||
class Varint21LengthFieldPrepender extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, msg: ByteBuf, out: ByteBuf): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -8,11 +8,11 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(uuid: java.util.UUID, action: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: any /*net.md_5.bungee.protocol.AbstractPacketHandler*/): void;
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,11 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(message: string)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: any /*net.md_5.bungee.protocol.AbstractPacketHandler*/): void;
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,11 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: any /*net.md_5.bungee.protocol.ProtocolConstants.Direction*/, protocolVersion: number): void;
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: any /*net.md_5.bungee.protocol.AbstractPacketHandler*/): void;
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user