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