|
PocketMine-MP 5.37.4 git-0c453f585430c41919390ec01ffeb1e004b5334b
|
Inheritance diagram for pocketmine\nbt\tag\Tag:
Collaboration diagram for pocketmine\nbt\tag\Tag:Public Member Functions | |
| __toString () | |
| equals (Tag $that) | |
| getType () | |
| getValue () | |
| safeClone () | |
| toString (int $indentation=0) | |
| write (NbtStreamWriter $writer) | |
Protected Member Functions | |
| getTypeName () | |
| makeCopy () | |
| stringifyValue (int $indentation) | |
Static Protected Member Functions | |
| static | restrictArgCount (string $func, int $haveArgs, int $wantMaxArgs) |
Protected Attributes | |
| $cloning = false | |
| pocketmine\nbt\tag\Tag::equals | ( | Tag | $that | ) |
Compares this Tag to the given Tag and determines whether or not they are equal, based on type and value. Complex tag types should override this to provide proper value comparison.
Reimplemented in pocketmine\nbt\tag\CompoundTag, pocketmine\nbt\tag\FloatTag, and pocketmine\nbt\tag\ListTag.
|
abstract |
Reimplemented in pocketmine\nbt\tag\ByteArrayTag, pocketmine\nbt\tag\CompoundTag, pocketmine\nbt\tag\DoubleTag, pocketmine\nbt\tag\FloatTag, pocketmine\nbt\tag\IntArrayTag, pocketmine\nbt\tag\ListTag, and pocketmine\nbt\tag\StringTag.
Referenced by pocketmine\data\bedrock\block\convert\BlockStateReader\readBool(), pocketmine\data\bedrock\block\convert\BlockStateReader\readInt(), and pocketmine\data\bedrock\block\convert\BlockStateReader\readString().
Here is the caller graph for this function:
|
abstractprotected |
Reimplemented in pocketmine\nbt\tag\CompoundTag, pocketmine\nbt\tag\ImmutableTag, and pocketmine\nbt\tag\ListTag.
|
staticprotected |
| pocketmine\nbt\tag\Tag::safeClone | ( | ) |
|
final |