Class PlatformNetworking


  • public class PlatformNetworking
    extends java.lang.Object
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Detail

      • PlatformNetworking

        public PlatformNetworking()
    • Method Detail

      • startPlayConnection

        public static void startPlayConnection​(java.lang.String destination)
      • connectWebSocket

        public static java.lang.Boolean connectWebSocket​(java.lang.String sockURI)
      • playDisconnect

        public static void playDisconnect()
      • readPlayPacket

        public static byte[] readPlayPacket()
      • countAvailableReadData

        public static int countAvailableReadData()
      • writePlayPacket

        public static void writePlayPacket​(byte[] pkt)
      • sendServerQuery

        public static IServerQuery sendServerQuery​(java.lang.String uri,
                                                   java.lang.String accept)
      • getCurrentURI

        public static java.lang.String getCurrentURI()