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 booleanbAimAtFloorbooleanbCloseKillbooleanbDoShoveintrecoilDelayMovingObjecttargetOnGroundjava.util.ArrayListtargetsPronejava.util.ArrayListtargetsStandingfloatuseChargeDelta -
Constructor Summary
Constructors Constructor Description AttackVars() -
Method Summary
Modifier and Type Method Description voidclear()voidcopy(AttackVars attackVars)java.lang.StringgetDescription()intgetPacketSizeBytes()HandWeapongetWeapon(IsoLivingCharacter livingCharacter)voidparse(java.nio.ByteBuffer byteBuffer)voidsetWeapon(HandWeapon handWeapon)voidwrite(ByteBufferWriter byteBufferWriter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket
-
copy
-
clear
public void clear()
-