Package zombie.core.raknet
Class UdpConnection
java.lang.Object
zombie.core.raknet.UdpConnection
public class UdpConnection
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
accessLevel
boolean
allChatMuted
boolean
awaitingCoopApprove
boolean
checksumDone
int
ChunkGridWidth
Vector3[]
connectArea
boolean
connected
java.lang.String
idStr
int
index
java.lang.String
ip
boolean
isCoopHost
long
ownerID
java.lang.String
password
boolean
ping
PlayerDownloadServer
playerDownloadServer
int[]
playerIDs
IsoPlayer[]
players
Vector3[]
ReleventPos
byte
ReleventRange
boolean
sendPulse
long
steamID
java.lang.String
username
java.lang.String[]
usernames
-
Constructor Summary
Constructors Constructor Description UdpConnection(UdpEngine engine, long connectedGUID, int index)
-
Method Summary
Modifier and Type Method Description void
cancelPacket()
void
close()
void
disconnect(java.lang.String s)
void
endPacket()
void
endPacket(int priority, int reliability)
void
endPacketImmediate()
void
endPacketSuperHighUnreliable()
void
endPacketUnordered()
void
endPacketUnreliable()
void
endPingPacket()
void
forceDisconnect()
long
getConnectedGUID()
java.net.InetSocketAddress
getInetSocketAddress()
RakNetPeerInterface
getPeer()
java.lang.String
getServerIP()
boolean
isFullyConnected()
boolean
RelevantTo(float x, float y, float radius)
boolean
ReleventTo(float x, float y)
void
setFullyConnected()
ByteBufferWriter
startPacket()
ByteBufferWriter
startPingPacket()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
connected
public boolean connected -
index
public int index -
allChatMuted
public boolean allChatMuted -
username
public java.lang.String username -
usernames
public java.lang.String[] usernames -
ReleventRange
public byte ReleventRange -
accessLevel
public java.lang.String accessLevel -
ip
public java.lang.String ip -
password
public java.lang.String password -
ping
public boolean ping -
ReleventPos
-
playerIDs
public int[] playerIDs -
players
-
connectArea
-
ChunkGridWidth
public int ChunkGridWidth -
playerDownloadServer
-
checksumDone
public boolean checksumDone -
sendPulse
public boolean sendPulse -
awaitingCoopApprove
public boolean awaitingCoopApprove -
steamID
public long steamID -
ownerID
public long ownerID -
idStr
public java.lang.String idStr -
isCoopHost
public boolean isCoopHost
-
-
Constructor Details
-
UdpConnection
-
-
Method Details
-
getPeer
-
getConnectedGUID
public long getConnectedGUID() -
getServerIP
public java.lang.String getServerIP() -
startPacket
-
startPingPacket
-
ReleventTo
public boolean ReleventTo(float x, float y) -
RelevantTo
public boolean RelevantTo(float x, float y, float radius) -
cancelPacket
public void cancelPacket() -
endPacket
public void endPacket(int priority, int reliability) -
endPacket
public void endPacket() -
endPacketImmediate
public void endPacketImmediate() -
endPacketUnordered
public void endPacketUnordered() -
endPacketUnreliable
public void endPacketUnreliable() -
endPacketSuperHighUnreliable
public void endPacketSuperHighUnreliable() -
endPingPacket
public void endPingPacket() -
close
public void close() -
disconnect
public void disconnect(java.lang.String s) -
getInetSocketAddress
public java.net.InetSocketAddress getInetSocketAddress() -
forceDisconnect
public void forceDisconnect() -
setFullyConnected
public void setFullyConnected() -
isFullyConnected
public boolean isFullyConnected()
-