Package net.minecraft.src

Examples of net.minecraft.src.PlayerUsageSnooper


    /**
     * Creates and sends anonymous system information to Mojang's stats server
     */
    public static void createAndSendReport()
    {
        PlayerUsageSnooper playerusagesnooper = new PlayerUsageSnooper("client");
        playerusagesnooper.addData("version", getVersion());
        playerusagesnooper.addData("os_name", System.getProperty("os.name"));
        playerusagesnooper.addData("os_version", System.getProperty("os.version"));
        playerusagesnooper.addData("os_architecture", System.getProperty("os.arch"));
        playerusagesnooper.addData("memory_total", Long.valueOf(Runtime.getRuntime().totalMemory()));
        playerusagesnooper.addData("memory_max", Long.valueOf(Runtime.getRuntime().maxMemory()));
        playerusagesnooper.addData("java_version", System.getProperty("java.version"));
        playerusagesnooper.addData("opengl_version", GL11.glGetString(GL11.GL_VERSION));
        playerusagesnooper.addData("opengl_vendor", GL11.glGetString(GL11.GL_VENDOR));
        playerusagesnooper.sendReport();
    }
View Full Code Here

TOP

Related Classes of net.minecraft.src.PlayerUsageSnooper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.