Package zombie.network
Enum PacketTypes.PacketType
java.lang.Object
java.lang.Enum<PacketTypes.PacketType>
zombie.network.PacketTypes.PacketType
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PacketTypes.PacketType>
,java.lang.constant.Constable
- Enclosing class:
- PacketTypes
public static enum PacketTypes.PacketType extends java.lang.Enum<PacketTypes.PacketType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description void
doPacket(ByteBufferWriter byteBufferWriter)
short
getId()
boolean
onGameLoadingDealWithNetData(java.nio.ByteBuffer byteBuffer, short short1)
void
onMainLoopHandlePacketInternal(java.nio.ByteBuffer byteBuffer, short short1)
void
onServerPacket(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection, short short1)
void
resetStatistics()
void
send(UdpConnection udpConnection)
static PacketTypes.PacketType
valueOf(java.lang.String name)
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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
ServerPulse
-
Login
-
HumanVisual
-
KeepAlive
-
Vehicles
-
PlayerConnect
-
VehiclesUnreliable
-
MetaGrid
-
Helicopter
-
SyncIsoObject
-
PlayerTimeout
-
SteamGeneric
-
ServerMap
-
PassengerMap
-
AddItemToMap
-
SentChunk
-
SyncClock
-
AddInventoryItemToContainer
-
ConnectionDetails
-
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
-
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
-
GlobalModData
-
GlobalModDataRequest
-
id
-
PacketPriority
-
PacketReliability
-
OrderingChannel
-
serverProcess
-
mainLoopHandlePacketInternal
-
gameLoadingDealWithNetData
-
incomePackets
-
outcomePackets
-
incomeBytes
-
outcomeBytes
-
-
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
resetStatistics
public void resetStatistics() -
send
-
doPacket
-
getId
public short getId() -
onServerPacket
public void onServerPacket(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection, short short1) throws java.lang.Exception- Throws:
java.lang.Exception
-
onMainLoopHandlePacketInternal
public void onMainLoopHandlePacketInternal(java.nio.ByteBuffer byteBuffer, short short1) throws java.io.IOException- Throws:
java.io.IOException
-
onGameLoadingDealWithNetData
public boolean onGameLoadingDealWithNetData(java.nio.ByteBuffer byteBuffer, short short1)
-