Package zombie.network
Enum PacketTypes.PacketType
- All Implemented Interfaces:
Serializable
,Comparable<PacketTypes.PacketType>
,java.lang.constant.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 ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
doPacket
(ByteBufferWriter byteBufferWriter) short
getId()
boolean
onGameLoadingDealWithNetData
(ByteBuffer byteBuffer) void
onMainLoopHandlePacketInternal
(ByteBuffer byteBuffer) void
onServerPacket
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
onUnauthorized
(UdpConnection udpConnection) void
void
send
(UdpConnection udpConnection) static PacketTypes.PacketType
Returns the enum constant of this type with the specified name.static PacketTypes.PacketType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
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
-
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
-
RemoveCorpseFromMap
-
AddCorpseToMap
-
BecomeCorpse
-
StartFire
-
UpdateItemSprite
-
StartRain
-
StopRain
-
WorldMessage
-
getModData
-
ReceiveCommand
-
ReloadOptions
-
Kicked
-
ExtraInfo
-
AddItemInInventory
-
ChangeSafety
-
Ping
-
WriteLog
-
AddXP
-
UpdateOverlaySprite
-
Checksum
-
ConstructedZone
-
RegisterZone
-
WoundInfection
-
Stitch
-
Disinfect
-
AdditionalPain
-
RemoveGlass
-
Splint
-
RemoveBullet
-
CleanBurn
-
SyncThumpable
-
SyncDoorKey
-
AddXpCommand
-
Teleport
-
RemoveBlood
-
AddExplosiveTrap
-
BodyDamageUpdate
-
SyncSafehouse
-
SledgehammerDestroy
-
StopFire
-
Cataplasm
-
AddAlarm
-
PlaySoundEveryPlayer
-
SyncFurnace
-
SendCustomColor
-
SyncCompost
-
ChangePlayerStats
-
AddXpFromPlayerStatsUI
-
SyncXP
-
PacketTypeShort
-
Userlog
-
AddUserlog
-
RemoveUserlog
-
AddWarningPoint
-
MessageForAdmin
-
WakeUpPlayer
-
SendTransactionID
-
GetDBSchema
-
GetTableResult
-
ExecuteQuery
-
ChangeTextColor
-
SyncNonPvpZone
-
SyncFaction
-
SendFactionInvite
-
AcceptedFactionInvite
-
AddTicket
-
ViewTickets
-
RemoveTicket
-
RequestTrading
-
TradingUIAddItem
-
TradingUIRemoveItem
-
TradingUIUpdateState
-
SendItemListNet
-
ChunkObjectState
-
ReadAnnotedMap
-
RequestInventory
-
SendInventory
-
InvMngReqItem
-
InvMngGetItem
-
InvMngRemoveItem
-
StartPause
-
StopPause
-
TimeSync
-
SyncIsoObjectReq
-
PlayerSave
-
SyncWorldObjectsReq
-
SyncObjects
-
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
-
id
-
requiredAccessLevel
-
unauthorizedPacketPolicy
-
PacketPriority
-
PacketReliability
-
OrderingChannel
-
serverProcess
-
mainLoopHandlePacketInternal
-
gameLoadingDealWithNetData
-
incomePackets
-
outcomePackets
-
incomeBytes
-
outcomeBytes
-
clientPacketCount
-
serverPacketCount
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
-