Package zombie.network.packets.hit
Class AttackVars
java.lang.Object
zombie.network.packets.hit.AttackVars
- All Implemented Interfaces:
INetworkPacket
public class AttackVars extends java.lang.Object implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description boolean
bAimAtFloor
boolean
bCloseKill
boolean
bDoShove
int
recoilDelay
MovingObject
targetOnGround
java.util.ArrayList
targetsProne
java.util.ArrayList
targetsStanding
float
useChargeDelta
-
Constructor Summary
Constructors Constructor Description AttackVars()
-
Method Summary
Modifier and Type Method Description void
clear()
void
copy(AttackVars attackVars)
java.lang.String
getDescription()
int
getPacketSizeBytes()
HandWeapon
getWeapon(IsoLivingCharacter livingCharacter)
void
parse(java.nio.ByteBuffer byteBuffer)
void
setWeapon(HandWeapon handWeapon)
void
write(ByteBufferWriter byteBufferWriter)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
isConsistent
-
Field Details
-
targetOnGround
-
bAimAtFloor
public boolean bAimAtFloor -
bCloseKill
public boolean bCloseKill -
bDoShove
public boolean bDoShove -
useChargeDelta
public float useChargeDelta -
recoilDelay
public int recoilDelay -
targetsStanding
public final java.util.ArrayList targetsStanding -
targetsProne
public final java.util.ArrayList targetsProne
-
-
Constructor Details
-
AttackVars
public AttackVars()
-
-
Method Details
-
setWeapon
-
getWeapon
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
-
copy
-
clear
public void clear()
-