Class AddXpPacket
java.lang.Object
zombie.network.packets.AddXpPacket
- All Implemented Interfaces:
AntiCheatXP.IAntiCheat,AntiCheatXPPlayer.IAntiCheat,INetworkPacketField,IDescriptor,INetworkPacket
public class AddXpPacket
extends Object
implements INetworkPacket, AntiCheatXP.IAntiCheat, AntiCheatXPPlayer.IAntiCheat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatvoidparse(ByteBuffer var1, UdpConnection var2) voidwrite(ByteBufferWriter var1) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.packets.INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Constructor Details
-
AddXpPacket
public AddXpPacket()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
getPlayer
- Specified by:
getPlayerin interfaceAntiCheatXP.IAntiCheat- Specified by:
getPlayerin interfaceAntiCheatXPPlayer.IAntiCheat
-
getAmount
public float getAmount()- Specified by:
getAmountin interfaceAntiCheatXP.IAntiCheat- Specified by:
getAmountin interfaceAntiCheatXPPlayer.IAntiCheat
-