Class PacketCheckPermission
java.lang.Object
net.ME1312.SubServers.Velocity.Network.Packet.PacketCheckPermission
- All Implemented Interfaces:
Forwardable
,PacketIn
,PacketObjectIn<Integer>
,PacketObjectOut<Integer>
,PacketOut
,PacketStreamIn
,PacketStreamOut
public class PacketCheckPermission
extends Object
implements Forwardable, PacketObjectIn<Integer>, PacketObjectOut<Integer>
Check Permission Packet
-
Constructor Summary
ConstructorDescriptionNew PacketCheckPermission (In)PacketCheckPermission
(UUID player, String permission, Consumer<Boolean>... callback) New PacketCheckPermission (Out) -
Method Summary
Modifier and TypeMethodDescriptionvoid
receive
(SubDataSender client, ObjectMap<Integer> data) send
(SubDataSender client) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.ME1312.SubData.Client.Protocol.PacketObjectIn
receive
Methods inherited from interface net.ME1312.SubData.Client.Protocol.PacketObjectOut
send
Methods inherited from interface net.ME1312.SubData.Client.Protocol.PacketStreamIn
receive
-
Constructor Details
-
PacketCheckPermission
public PacketCheckPermission()New PacketCheckPermission (In) -
PacketCheckPermission
@SafeVarargs public PacketCheckPermission(UUID player, String permission, Consumer<Boolean>... callback) New PacketCheckPermission (Out)- Parameters:
player
- Player to check onpermission
- Permission to checkcallback
- Callbacks
-
-
Method Details
-
send
- Specified by:
send
in interfacePacketObjectOut<Integer>
- Throws:
Throwable
-
receive
- Specified by:
receive
in interfacePacketObjectIn<Integer>
- Throws:
Throwable
-