Class UdpEngine

java.lang.Object
zombie.core.raknet.UdpEngine

public class UdpEngine
extends java.lang.Object
  • Field Details

    • connections

      public java.util.List connections
    • peer

      protected RakNetPeerInterface peer
    • port

      public int port
  • Constructor Details

    • UdpEngine

      public UdpEngine​(int int1, int int2, java.lang.String string, boolean boolean1) throws java.net.ConnectException
      Throws:
      java.net.ConnectException
  • Method Details

    • Shutdown

      public void Shutdown()
    • SetServerPassword

      public void SetServerPassword​(java.lang.String string)
    • hashServerPassword

      public java.lang.String hashServerPassword​(java.lang.String string)
    • getServerIP

      public java.lang.String getServerIP()
    • getClientSteamID

      public long getClientSteamID​(long long1)
    • getClientOwnerSteamID

      public long getClientOwnerSteamID​(long long1)
    • startPacket

      public ByteBufferWriter startPacket()
    • endPacketBroadcast

      public void endPacketBroadcast​(int int1, int int2)
    • endPacketBroadcast

      public void endPacketBroadcast()
    • endPacketBroadcastExcept

      public void endPacketBroadcastExcept​(int int1, int int2, UdpConnection udpConnection)
    • Receive

      public java.nio.ByteBuffer Receive()
    • getActiveConnection

      public UdpConnection getActiveConnection​(long long1)
    • Connect

      public void Connect​(java.lang.String string, int int1, java.lang.String string2)
    • Connect

      public void Connect​(long long1, java.lang.String string)
    • forceDisconnect

      public void forceDisconnect​(long long1)
    • getPeer

      public RakNetPeerInterface getPeer()
    • getMaxConnections

      public int getMaxConnections()