common_pack.ResEnterHall */ class ResEnterHall extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool success = 1; */ protected $success = false; /** * Generated from protobuf field .common_pack.MsgError err_msg = 2; */ protected $err_msg = null; /** * Generated from protobuf field .common_pack.RoomInfo reconnect_room_info = 3; */ protected $reconnect_room_info = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $success * @type \Common_pack\MsgError $err_msg * @type \Common_pack\RoomInfo $reconnect_room_info * } */ public function __construct($data = NULL) { \GPBMetadata\Common::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool success = 1; * @return bool */ public function getSuccess() { return $this->success; } /** * Generated from protobuf field bool success = 1; * @param bool $var * @return $this */ public function setSuccess($var) { GPBUtil::checkBool($var); $this->success = $var; return $this; } /** * Generated from protobuf field .common_pack.MsgError err_msg = 2; * @return \Common_pack\MsgError|null */ public function getErrMsg() { return $this->err_msg; } public function hasErrMsg() { return isset($this->err_msg); } public function clearErrMsg() { unset($this->err_msg); } /** * Generated from protobuf field .common_pack.MsgError err_msg = 2; * @param \Common_pack\MsgError $var * @return $this */ public function setErrMsg($var) { GPBUtil::checkMessage($var, \Common_pack\MsgError::class); $this->err_msg = $var; return $this; } /** * Generated from protobuf field .common_pack.RoomInfo reconnect_room_info = 3; * @return \Common_pack\RoomInfo|null */ public function getReconnectRoomInfo() { return $this->reconnect_room_info; } public function hasReconnectRoomInfo() { return isset($this->reconnect_room_info); } public function clearReconnectRoomInfo() { unset($this->reconnect_room_info); } /** * Generated from protobuf field .common_pack.RoomInfo reconnect_room_info = 3; * @param \Common_pack\RoomInfo $var * @return $this */ public function setReconnectRoomInfo($var) { GPBUtil::checkMessage($var, \Common_pack\RoomInfo::class); $this->reconnect_room_info = $var; return $this; } }