Package zombie.core.raknet
Class UdpEngine
java.lang.Object
zombie.core.raknet.UdpEngine
public class UdpEngine
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.List
connections
protected RakNetPeerInterface
peer
int
port
-
Constructor Summary
Constructors Constructor Description UdpEngine(int int1, int int2, java.lang.String string, boolean boolean1)
-
Method Summary
Modifier and Type Method Description void
Connect(long long1, java.lang.String string)
void
Connect(java.lang.String string, int int1, java.lang.String string2)
void
endPacketBroadcast()
void
endPacketBroadcast(int int1, int int2)
void
endPacketBroadcastExcept(int int1, int int2, UdpConnection udpConnection)
void
forceDisconnect(long long1)
UdpConnection
getActiveConnection(long long1)
long
getClientOwnerSteamID(long long1)
long
getClientSteamID(long long1)
int
getMaxConnections()
RakNetPeerInterface
getPeer()
java.lang.String
getServerIP()
java.lang.String
hashServerPassword(java.lang.String string)
java.nio.ByteBuffer
Receive()
void
SetServerPassword(java.lang.String string)
void
Shutdown()
ByteBufferWriter
startPacket()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
connections
public java.util.List connections -
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
-
endPacketBroadcast
public void endPacketBroadcast(int int1, int int2) -
endPacketBroadcast
public void endPacketBroadcast() -
endPacketBroadcastExcept
-
Receive
public java.nio.ByteBuffer Receive() -
getActiveConnection
-
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
-
getMaxConnections
public int getMaxConnections()
-