Class AddOwnerDelayed.DelayedInput
java.lang.Object
nl.pim16aap2.animatedarchitecture.core.commands.AddOwnerDelayed.DelayedInput
- Enclosing class:
AddOwnerDelayed
Represents the data that can be provided as delayed input for this command. See
DelayedCommand.runDelayed(ICommandSender, StructureRetriever) and
AddOwnerDelayed.delayedInputExecutor(ICommandSender, StructureRetriever, DelayedInput).-
Constructor Summary
ConstructorsConstructorDescriptionDelayedInput(IPlayer targetPlayer) DelayedInput(IPlayer targetPlayer, @Nullable PermissionLevel targetPermissionLevel) -
Method Summary
-
Constructor Details
-
DelayedInput
public DelayedInput(IPlayer targetPlayer, @Nullable @Nullable PermissionLevel targetPermissionLevel) - Parameters:
targetPlayer- The target player to add to this structure as co-owner.If this player is already an owner of the target door, their permission will be overridden provided that the command sender is allowed to add/remove co-owners at both the old and the new target permission level.
targetPermissionLevel- The permission level of the new owner's ownership. Defaults toAddOwner.DEFAULT_PERMISSION_LEVEL.
-
DelayedInput
-
-
Method Details