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