23 public function __construct(
29 public function getGatheringJoinInfo() : ?
GatheringJoinInfo{
return $this->gatheringJoinInfo; }
31 public function getStoreEntryPointInfo() : ?
StoreEntryPointInfo{
return $this->storeEntryPointInfo; }
33 public function getPresenceInfo() : ?
PresenceInfo{
return $this->presenceInfo; }
35 public static function read(ByteBufferReader $in) :
self{
36 $gatheringJoinInfo = CommonTypes::readOptional($in, GatheringJoinInfo::read(...));
37 $storeEntryPointInfo = CommonTypes::readOptional($in, StoreEntryPointInfo::read(...));
38 $presenceInfo = CommonTypes::readOptional($in, PresenceInfo::read(...));
47 public function write(ByteBufferWriter $out) :
void{
48 CommonTypes::writeOptional($out, $this->gatheringJoinInfo, fn(ByteBufferWriter $out,
GatheringJoinInfo $info) => $info->write($out));
49 CommonTypes::writeOptional($out, $this->storeEntryPointInfo, fn(ByteBufferWriter $out,
StoreEntryPointInfo $info) => $info->write($out));
50 CommonTypes::writeOptional($out, $this->presenceInfo, fn(ByteBufferWriter $out,
PresenceInfo $info) => $info->write($out));