Enum Class PacketTypes.PacketType
- All Implemented Interfaces:
Serializable
,Comparable<PacketTypes.PacketType>
,Constable
- Enclosing class:
PacketTypes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionlong
final Class
<? extends INetworkPacket> int
int
int
int
byte
int
int
int
int
int
long
long
-
Method Summary
Modifier and TypeMethodDescriptionvoid
short
getId()
boolean
onClientLoadingPacket
(ByteBuffer byteBuffer) void
onClientPacket
(ByteBuffer byteBuffer) void
onServerPacket
(ByteBuffer bb, UdpConnection connection) void
void
send
(UdpConnection connection) static PacketTypes.PacketType
Returns the enum constant of this class with the specified name.static PacketTypes.PacketType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Checksum
-
Validate
-
Login
-
LoginQueueRequest
-
LoginQueueDone
-
CreatePlayer
-
LoadPlayerProfile
-
PlayerConnect
-
ConnectedPlayer
-
ConnectCoop
-
ConnectedCoop
-
GoogleAuthKey
-
GoogleAuth
-
GoogleAuthRequest
-
ServerCustomization
-
PlayerUpdateReliable
-
PlayerUpdateUnreliable
-
ActionPacket
-
PlayerDataRequest
-
HumanVisual
-
SyncClothing
-
SyncVisuals
-
Equip
-
AddXP
-
AddXPMultiplier
-
PlayerDeath
-
ChangeSafety
-
SyncXP
-
BodyDamageUpdate
-
PlayerAttachedItem
-
VariableSync
-
SyncPlayerStats
-
syncPlayerFields
-
ForageItemFound
-
ServerMap
-
RequestLargeAreaZip
-
SentChunk
-
RequestZipList
-
NotRequiredInZip
-
RequestData
-
ZombieSimulation
-
ZombieSimulationReliable
-
ZombieDeath
-
SlowFactor
-
ZombieControl
-
Thump
-
AnimalCommand
-
AnimalOwnership
-
AnimalPacket
-
AnimalUpdateReliable
-
AnimalUpdateUnreliable
-
AnimalEvent
-
AnimalDeath
-
AnimalTracks
-
Vehicles
-
VehiclesUnreliable
-
VehicleAuthorization
-
PassengerMap
-
ActionState
-
EventPacket
-
Helicopter
-
SmashWindow
-
EatFood
-
Drink
-
BurnCorpse
-
SneezeCough
-
RemoveBlood
-
WakeUpPlayer
-
EatBody
-
ReadAnnotedMap
-
ZombieHelmetFalling
-
TimeSync
-
SetMultiplier
-
AccessDenied
-
StartPause
-
StopPause
-
PlayerTimeout
-
SyncClock
-
SandboxOptions
-
ServerQuit
-
MessageForAdmin
-
MetaGrid
-
WorldMessage
-
ReceiveCommand
-
ReloadOptions
-
Kicked
-
Ping
-
PingFromClient
-
SpawnRegion
-
WorldMapPlayerPosition
-
WorldMap
-
SyncInventory
Deprecated. -
SyncItemDelete
-
ItemTransaction
-
GeneralAction
-
NetTimedAction
-
BuildAction
-
FishingAction
-
AddInventoryItemToContainer
-
RemoveInventoryItemFromContainer
-
ReplaceInventoryItemInContainer
-
AddItemToMap
-
AddCorpseToMap
-
RemoveItemFromSquare
-
RemoveCorpseFromMap
-
BecomeCorpse
-
RequestItemsForContainer
-
RemoveContestedItemsFromInventory
-
ItemStats
-
AddBrokenGlass
-
AddExplosiveTrap
-
SledgehammerDestroy
-
SyncPlayerAlarmClock
-
SyncWorldAlarmClock
-
GlobalObjects
-
ReceiveModData
-
GlobalModData
-
GlobalModDataRequest
-
SyncItemFields
-
SyncItemModData
-
SyncHandWeaponFields
-
PlayerHitSquare
-
PlayerHitObject
-
PlayerHitVehicle
-
PlayerHitZombie
-
PlayerHitPlayer
-
PlayerHitAnimal
-
ZombieHitPlayer
-
AnimalHitPlayer
-
AnimalHitAnimal
-
AnimalHitThumpable
-
VehicleHitZombie
-
VehicleHitPlayer
-
WeaponHit
-
PlayerDamage
-
PlayerDamageFromWeapon
-
PlayerEffectsSync
-
PlayerDamageFromCarCrash
-
PlaySound
-
WorldSoundPacket
-
AddAmbient
-
ZombieSound
-
PlayWorldSound
-
StopSound
-
PlaySoundEveryPlayer
-
PacketCounts
-
ScoreboardUpdate
-
Weather
-
StartRain
-
StopRain
-
ClimateManagerPacket
-
IsoRegionServerPacket
-
IsoRegionClientRequestFullUpdate
-
SyncNonPvpZone
-
SyncThumpable
-
SyncDoorKey
-
SyncDoorGarage
-
SyncIsoObject
-
ClientCommand
-
ObjectModData
-
ObjectChange
-
BloodSplatter
-
ZombieDescriptors
-
StartFire
-
StopFire
-
UpdateItemSprite
-
SendCustomColor
-
SyncCompost
-
GetModData
-
SyncPerks
-
SyncWeight
-
SyncInjuries
-
SyncEquippedRadioFreq
-
UpdateOverlaySprite
-
AddAlarm
-
ChangeTextColor
-
SyncCustomLightSettings
-
ChunkObjectState
-
StartFishSplash
-
FishingData
-
GrappleZombieCorpse
-
AddItemInInventory
-
PlayerInventory
-
ExtraInfo
-
Teleport
-
InvMngReqItem
-
InvMngGetItem
-
InvMngRemoveItem
-
GetDBSchema
-
GetTableResult
-
ExecuteQuery
-
ChangePlayerStats
-
NetworkUsers
-
PVPEvents
-
RequestNetworkUsers
-
NetworkUserAction
-
Roles
-
RequestRoles
-
RolesEdit
-
RequestUserLog
-
AddUserlog
-
RemoveUserlog
-
AddWarningPoint
-
ConstructedZone
-
RegisterZone
-
SyncZone
-
SyncFaction
-
SendFactionInvite
-
AcceptedFactionInvite
-
AddTicket
-
ViewTickets
-
RemoveTicket
-
ViewBannedIPs
-
RequestTrading
-
TradingUIAddItem
-
TradingUIRemoveItem
-
TradingUIUpdateState
-
WarStateSync
-
WarSync
-
InitPlayerChat
-
PlayerJoinChat
-
PlayerLeaveChat
-
ChatMessageFromPlayer
-
ChatMessageToPlayer
-
PlayerStartPMChat
-
AddChatTab
-
RemoveChatTab
-
PlayerConnectedToChat
-
PlayerNotFound
-
SafehouseInvite
-
SafehouseAccept
-
SafehouseChangeMember
-
SafehouseChangeOwner
-
SafehouseChangeRespawn
-
SafehouseChangeTitle
-
SafehouseRelease
-
SafehouseClaim
-
SafezoneClaim
-
SafehouseSync
-
Statistic
-
StatisticRequest
-
PopmanDebugCommand
-
ServerDebugInfo
-
ServerLOS
-
WaveSignal
-
PlayerListensChannel
-
RadioServerData
-
RadioDeviceDataState
-
RadioPostSilenceEvent
-
SyncRadioData
-
BodyPartSync
-
DebugStory
-
SendItemListNet
-
GameEntity
-
-
Field Details
-
PacketPriority
public int PacketPriority -
PacketReliability
public int PacketReliability -
OrderingChannel
public byte OrderingChannel -
handlingType
public int handlingType -
anticheats
-
handler
-
incomePackets
public int incomePackets -
outcomePackets
public int outcomePackets -
incomeBytes
public int incomeBytes -
outcomeBytes
public int outcomeBytes -
incomeTime
public int incomeTime -
outcomeTime
public int outcomeTime -
temp
public long temp -
clientPacketCount
public long clientPacketCount -
serverPacketCount
public long serverPacketCount
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
resetStatistics
public void resetStatistics() -
send
-
doPacket
-
getId
public short getId() -
onServerPacket
- Throws:
Exception
-
onClientPacket
- Throws:
Exception
-
onClientLoadingPacket
- Throws:
Exception
-