Package zombie.core.raknet
Class UdpConnection
java.lang.Object
zombie.core.raknet.UdpConnection
public class UdpConnection
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UdpConnection.ChecksumState
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
accessLevel
boolean
allChatMuted
boolean
awaitingCoopApprove
UdpConnection.ChecksumState
checksumState
long
checksumTime
int
ChunkGridWidth
gnu.trove.list.array.TShortArrayList
chunkObjectState
Vector3[]
connectArea
boolean
connected
java.lang.String
idStr
int
index
java.lang.String
ip
boolean
isCoopHost
ClientServerMap[]
loadedCells
long
ownerID
long[]
packetCounts
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
gnu.trove.set.hash.TShortHashSet
vehicles
-
Constructor Summary
Constructors Constructor Description UdpConnection(UdpEngine udpEngine, long long1, int int1)
-
Method Summary
Modifier and Type Method Description void
cancelPacket()
void
close()
void
disconnect(java.lang.String string)
void
endPacket()
void
endPacket(int int1, int int2)
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 float1, float float2, float float3)
boolean
ReleventTo(float float1, float float2)
boolean
ReleventToPlayerIndex(int int1, float float1, float float2)
boolean
ReleventToPlayers(double double1, double double2, double double3)
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 -
loadedCells
-
playerDownloadServer
-
checksumState
-
checksumTime
public long checksumTime -
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 -
vehicles
public gnu.trove.set.hash.TShortHashSet vehicles -
chunkObjectState
public final gnu.trove.list.array.TShortArrayList chunkObjectState -
packetCounts
public final long[] packetCounts
-
-
Constructor Details
-
UdpConnection
-
-
Method Details
-
getPeer
-
getConnectedGUID
public long getConnectedGUID() -
getServerIP
public java.lang.String getServerIP() -
startPacket
-
startPingPacket
-
ReleventTo
public boolean ReleventTo(float float1, float float2) -
ReleventToPlayers
public boolean ReleventToPlayers(double double1, double double2, double double3) -
ReleventToPlayerIndex
public boolean ReleventToPlayerIndex(int int1, float float1, float float2) -
RelevantTo
public boolean RelevantTo(float float1, float float2, float float3) -
cancelPacket
public void cancelPacket() -
endPacket
public void endPacket(int int1, int int2) -
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 string) -
getInetSocketAddress
public java.net.InetSocketAddress getInetSocketAddress() -
forceDisconnect
public void forceDisconnect() -
setFullyConnected
public void setFullyConnected() -
isFullyConnected
public boolean isFullyConnected()
-