25 public const ID = DataStoreType::REMOVAL;
27 public function __construct(
31 public function getTypeId() :
int{
35 public function getName() :
string{
return $this->name; }
37 public static function read(ByteBufferReader $in) :
self{
38 $name = CommonTypes::getString($in);
45 public function write(ByteBufferWriter $out) :
void{
46 CommonTypes::putString($out, $this->name);