Package zombie.network
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 ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Field Summary
Modifier and TypeFieldDescriptionlong
int
int
final byte
int
int
final int
final int
long
-
Method Summary
Modifier and TypeMethodDescriptionvoid
short
getId()
boolean
void
void
onServerPacket
(ByteBuffer bb, UdpConnection connection) void
onUnauthorized
(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
-
Validate
-
Login
-
HumanVisual
-
KeepAlive
-
Vehicles
-
PlayerConnect
-
VehiclesUnreliable
-
VehicleAuthorization
-
MetaGrid
-
Helicopter
-
SyncIsoObject
-
PlayerTimeout
-
ServerMap
-
PassengerMap
-
AddItemToMap
-
SentChunk
-
SyncClock
-
AddInventoryItemToContainer
-
RemoveInventoryItemFromContainer
-
RemoveItemFromSquare
-
RequestLargeAreaZip
-
Equip
-
HitCharacter
-
AddCoopPlayer
-
WeaponHit
-
KillZombie
Deprecated. -
SandboxOptions
-
SmashWindow
-
PlayerDeath
-
RequestZipList
-
ItemStats
-
NotRequiredInZip
-
RequestData
-
GlobalObjects
-
ZombieDeath
-
AccessDenied
-
PlayerDamage
-
Bandage
-
EatFood
-
RequestItemsForContainer
-
Drink
-
SyncAlarmClock
-
PacketCounts
-
SendModData
-
RemoveContestedItemsFromInventory
-
ScoreboardUpdate
-
ReceiveModData
-
ServerQuit
-
PlaySound
-
WorldSound
-
AddAmbient
-
SyncClothing
-
ClientCommand
-
ObjectModData
-
ObjectChange
-
BloodSplatter
-
ZombieSound
-
ZombieDescriptors
-
SlowFactor
-
Weather
-
RequestPlayerData
Deprecated. -
RemoveCorpseFromMap
-
AddCorpseToMap
-
BecomeCorpse
-
StartFire
-
UpdateItemSprite
-
StartRain
-
StopRain
-
WorldMessage
-
getModData
-
ReceiveCommand
-
ReloadOptions
-
Kicked
-
ExtraInfo
-
AddItemInInventory
-
ChangeSafety
-
Ping
-
WriteLog
Deprecated. -
AddXP
-
UpdateOverlaySprite
-
Checksum
-
ConstructedZone
-
RegisterZone
-
WoundInfection
Deprecated. -
Stitch
-
Disinfect
-
AdditionalPain
Deprecated. -
RemoveGlass
-
Splint
-
RemoveBullet
-
CleanBurn
-
SyncThumpable
-
SyncDoorKey
-
AddXpCommand
Deprecated. -
Teleport
-
RemoveBlood
-
AddExplosiveTrap
-
BodyDamageUpdate
-
SyncSafehouse
-
SledgehammerDestroy
-
StopFire
-
Cataplasm
-
AddAlarm
-
PlaySoundEveryPlayer
-
SyncFurnace
-
SendCustomColor
-
SyncCompost
-
ChangePlayerStats
-
AddXpFromPlayerStatsUI
Deprecated. -
SyncXP
-
PacketTypeShort
Deprecated. -
Userlog
-
AddUserlog
-
RemoveUserlog
-
AddWarningPoint
-
MessageForAdmin
-
WakeUpPlayer
-
SendTransactionID
Deprecated. -
GetDBSchema
-
GetTableResult
-
ExecuteQuery
-
ChangeTextColor
-
SyncNonPvpZone
-
SyncFaction
-
SendFactionInvite
-
AcceptedFactionInvite
-
AddTicket
-
ViewTickets
-
RemoveTicket
-
RequestTrading
-
TradingUIAddItem
-
TradingUIRemoveItem
-
TradingUIUpdateState
-
SendItemListNet
Deprecated. -
ChunkObjectState
-
ReadAnnotedMap
-
RequestInventory
-
SendInventory
-
InvMngReqItem
-
InvMngGetItem
-
InvMngRemoveItem
-
StartPause
-
StopPause
-
TimeSync
-
SyncIsoObjectReq
Deprecated. -
PlayerSave
Deprecated. -
SyncWorldObjectsReq
Deprecated. -
SyncObjects
Deprecated. -
SendPlayerProfile
-
LoadPlayerProfile
-
SpawnRegion
-
PlayerDamageFromCarCrash
-
PlayerAttachedItem
-
ZombieHelmetFalling
-
AddBrokenGlass
-
SyncPerks
-
SyncWeight
-
SyncInjuries
-
SyncEquippedRadioFreq
-
InitPlayerChat
-
PlayerJoinChat
-
PlayerLeaveChat
-
ChatMessageFromPlayer
-
ChatMessageToPlayer
-
PlayerStartPMChat
-
AddChatTab
-
RemoveChatTab
-
PlayerConnectedToChat
-
PlayerNotFound
-
SendSafehouseInvite
-
AcceptedSafehouseInvite
-
ClimateManagerPacket
-
IsoRegionServerPacket
-
IsoRegionClientRequestFullUpdate
-
EventPacket
-
Statistic
-
StatisticRequest
-
PlayerUpdateReliable
-
ActionPacket
-
ZombieControl
-
PlayWorldSound
-
StopSound
-
PlayerUpdate
-
ZombieSimulation
-
PingFromClient
-
ZombieSimulationReliable
-
EatBody
-
Thump
-
SyncRadioData
-
LoginQueueRequest2
-
LoginQueueDone2
-
ItemTransaction
-
KickOutOfSafehouse
-
SneezeCough
-
BurnCorpse
-
WaveSignal
-
PlayerListensChannel
-
RadioServerData
-
RadioDeviceDataState
-
SyncCustomLightSettings
-
ReplaceOnCooked
-
PlayerDataRequest
-
GlobalModData
-
GlobalModDataRequest
-
RadioPostSilenceEvent
-
-
Field Details
-
PacketPriority
public final int PacketPriority -
PacketReliability
public final int PacketReliability -
OrderingChannel
public final byte OrderingChannel -
incomePackets
public int incomePackets -
outcomePackets
public int outcomePackets -
incomeBytes
public int incomeBytes -
outcomeBytes
public int outcomeBytes -
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
-
onMainLoopHandlePacketInternal
- Throws:
IOException
-
onGameLoadingDealWithNetData
-
onUnauthorized
-