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 TypeMethodDescriptionfloat
void
parse
(ByteBuffer var1, UdpConnection var2) void
write
(ByteBufferWriter var1) 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.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.packets.INetworkPacket
parseClient, parseClientLoading, parseServer, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, sync, tryProcessInternal
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Constructor Details
-
AddXpPacket
public AddXpPacket()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
getPlayer
- Specified by:
getPlayer
in interfaceAntiCheatXP.IAntiCheat
- Specified by:
getPlayer
in interfaceAntiCheatXPPlayer.IAntiCheat
-
getAmount
public float getAmount()- Specified by:
getAmount
in interfaceAntiCheatXP.IAntiCheat
- Specified by:
getAmount
in interfaceAntiCheatXPPlayer.IAntiCheat
-