Skip to content

IntSaveIdMapTrait ​

trait · pocketmine\data\bedrock\IntSaveIdMapTrait · source

Methods ​

fromId() ​

php
public function fromId(int $id) : ?object

getRuntimeId() protected ​

php
protected function getRuntimeId(object $enum) : int

register() ​

php
public function register(int $saveId, object $enum) : void

toId() ​

php
public function toId(object $enum) : int

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.