Package zombie.network.packets
Class AddXp
java.lang.Object
zombie.network.packets.AddXp
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidprocess()voidset(IsoPlayer player, PerkFactory.Perk perk, int int1) booleanvalidate(UdpConnection udpConnection) 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
getPacketSizeBytes, log
-
Field Details
-
target
-
perk
-
amount
protected int amount
-
-
Constructor Details
-
AddXp
public AddXp()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
process
public void process() -
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
validate
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-