PacketHooker
in package
implements
Listener
Interfaces, Classes, Traits and Enums
- Listener
- Classes implementing this interface can be registered to receive called Events.
Table of Contents
- $isIntercepting : bool
- $isRegistered : bool
- isRegistered() : bool
- register() : void
- generateOverloadList() : array<string|int, array<string|int, CommandParameter>>
- generateOverloads() : array<string|int, array<string|int, CommandParameter>>
Properties
$isIntercepting
private
static bool
$isIntercepting
= false
$isRegistered
private
static bool
$isRegistered
= false
Methods
isRegistered()
public
static isRegistered() : bool
Return values
bool —register()
public
static register(Plugin $registrant) : void
Parameters
- $registrant : Plugin
Return values
void —generateOverloadList()
private
static generateOverloadList(IArgumentable $argumentable) : array<string|int, array<string|int, CommandParameter>>
Parameters
- $argumentable : IArgumentable
Return values
array<string|int, array<string|int, CommandParameter>> —generateOverloads()
private
static generateOverloads(CommandSender $cs, BaseCommand $command) : array<string|int, array<string|int, CommandParameter>>
Parameters
- $cs : CommandSender
- $command : BaseCommand