mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-12-25 07:08:52 +00:00
feat: 工具类不混淆
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
835843f06a
commit
09eda70c2d
@ -1,11 +1,14 @@
|
||||
package pw.yumc.YumCore.mc;
|
||||
|
||||
import pw.yumc.YumCore.annotation.NotProguard;
|
||||
|
||||
/**
|
||||
* Minecraft工具类
|
||||
*
|
||||
* @author 喵♂呜
|
||||
* @since 2017/1/26 0026
|
||||
*/
|
||||
@NotProguard
|
||||
public class MinecraftTools {
|
||||
/**
|
||||
* 获得服务器信息
|
||||
|
@ -9,12 +9,15 @@ import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import pw.yumc.YumCore.annotation.NotProguard;
|
||||
|
||||
/**
|
||||
* Minecraft服务器数据获取类
|
||||
*
|
||||
* @author 喵♂呜
|
||||
* @since 2017/1/26 0026
|
||||
*/
|
||||
@NotProguard
|
||||
public class ServerInfo {
|
||||
private String address = "localhost";
|
||||
private int port = 25565;
|
||||
|
Loading…
Reference in New Issue
Block a user