|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Collaboration diagram for pocketmine\permission\BanList:Public Member Functions | |
| __construct (private string $file) | |
| add (BanEntry $entry) | |
| addBan (string $target, ?string $reason=null, ?\DateTime $expires=null, ?string $source=null) | |
| getEntries () | |
| getEntry (string $name) | |
| isBanned (string $name) | |
| isEnabled () | |
| load () | |
| remove (string $name) | |
| removeExpired () | |
| save (bool $writeHeader=true) | |
| setEnabled (bool $flag) | |
Definition at line 35 of file BanList.php.
| pocketmine\permission\BanList::__construct | ( | private string | $file | ) |
Definition at line 44 of file BanList.php.
| pocketmine\permission\BanList::add | ( | BanEntry | $entry | ) |
Definition at line 82 of file BanList.php.
| pocketmine\permission\BanList::addBan | ( | string | $target, |
| ?string | $reason = null, | ||
| ?\DateTime | $expires = null, | ||
| ?string | $source = null ) |
Definition at line 87 of file BanList.php.
| pocketmine\permission\BanList::getEntries | ( | ) |
Definition at line 65 of file BanList.php.
| pocketmine\permission\BanList::getEntry | ( | string | $name | ) |
Definition at line 56 of file BanList.php.
| pocketmine\permission\BanList::isBanned | ( | string | $name | ) |
Definition at line 71 of file BanList.php.
| pocketmine\permission\BanList::isEnabled | ( | ) |
Definition at line 48 of file BanList.php.
| pocketmine\permission\BanList::load | ( | ) |
Definition at line 115 of file BanList.php.
| pocketmine\permission\BanList::remove | ( | string | $name | ) |
Definition at line 99 of file BanList.php.
| pocketmine\permission\BanList::removeExpired | ( | ) |
Definition at line 107 of file BanList.php.
| pocketmine\permission\BanList::save | ( | bool | $writeHeader = true | ) |
Definition at line 139 of file BanList.php.
| pocketmine\permission\BanList::setEnabled | ( | bool | $flag | ) |
Definition at line 52 of file BanList.php.