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 b, UdpConnection connection) void
process()
void
set
(IsoPlayer _target, PerkFactory.Perk _perk, int _amount) boolean
validate
(UdpConnection connection) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
target
-
-
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
-