Java 类net.minecraft.network.status.client.CPacketServerQuery 实例源码

项目:Backmemed    文件:NetHandlerStatusServer.java   
public void processServerQuery(CPacketServerQuery packetIn)
{
    if (this.handled)
    {
        this.networkManager.closeChannel(EXIT_MESSAGE);
    }
    else
    {
        this.handled = true;
        this.networkManager.sendPacket(new SPacketServerInfo(this.server.getServerStatusResponse()));
    }
}
项目:CustomWorldGen    文件:NetHandlerStatusServer.java   
public void processServerQuery(CPacketServerQuery packetIn)
{
    if (this.handled)
    {
        this.networkManager.closeChannel(EXIT_MESSAGE);
    }
    else
    {
        this.handled = true;
        this.networkManager.sendPacket(new SPacketServerInfo(this.server.getServerStatusResponse()));
    }
}
项目:Backmemed    文件:INetHandlerStatusServer.java   
void processServerQuery(CPacketServerQuery packetIn);
项目:CustomWorldGen    文件:INetHandlerStatusServer.java   
void processServerQuery(CPacketServerQuery packetIn);