1#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_results)]
19#![allow(unused_mut)]
20
21const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
27
28#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CMsgRemoteClientStatus {
31 pub client_id: ::std::option::Option<u64>,
34 pub instance_id: ::std::option::Option<u64>,
36 pub status: ::steam_vent_proto_common::protobuf::MessageField<super::steammessages_remoteclient_discovery::CMsgRemoteClientBroadcastStatus>,
38 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
41}
42
43impl<'a> ::std::default::Default for &'a CMsgRemoteClientStatus {
44 fn default() -> &'a CMsgRemoteClientStatus {
45 <CMsgRemoteClientStatus as ::steam_vent_proto_common::protobuf::Message>::default_instance()
46 }
47}
48
49impl CMsgRemoteClientStatus {
50 pub fn new() -> CMsgRemoteClientStatus {
51 ::std::default::Default::default()
52 }
53
54 pub fn client_id(&self) -> u64 {
57 self.client_id.unwrap_or(0)
58 }
59
60 pub fn clear_client_id(&mut self) {
61 self.client_id = ::std::option::Option::None;
62 }
63
64 pub fn has_client_id(&self) -> bool {
65 self.client_id.is_some()
66 }
67
68 pub fn set_client_id(&mut self, v: u64) {
70 self.client_id = ::std::option::Option::Some(v);
71 }
72
73 pub fn instance_id(&self) -> u64 {
76 self.instance_id.unwrap_or(0)
77 }
78
79 pub fn clear_instance_id(&mut self) {
80 self.instance_id = ::std::option::Option::None;
81 }
82
83 pub fn has_instance_id(&self) -> bool {
84 self.instance_id.is_some()
85 }
86
87 pub fn set_instance_id(&mut self, v: u64) {
89 self.instance_id = ::std::option::Option::Some(v);
90 }
91}
92
93impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientStatus {
94 const NAME: &'static str = "CMsgRemoteClientStatus";
95
96 fn is_initialized(&self) -> bool {
97 true
98 }
99
100 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
101 while let Some(tag) = is.read_raw_tag_or_eof()? {
102 match tag {
103 8 => {
104 self.client_id = ::std::option::Option::Some(is.read_uint64()?);
105 },
106 16 => {
107 self.instance_id = ::std::option::Option::Some(is.read_uint64()?);
108 },
109 26 => {
110 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.status)?;
111 },
112 tag => {
113 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
114 },
115 };
116 }
117 ::std::result::Result::Ok(())
118 }
119
120 #[allow(unused_variables)]
122 fn compute_size(&self) -> u64 {
123 let mut my_size = 0;
124 if let Some(v) = self.client_id {
125 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
126 }
127 if let Some(v) = self.instance_id {
128 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
129 }
130 if let Some(v) = self.status.as_ref() {
131 let len = v.compute_size();
132 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
133 }
134 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
135 self.special_fields.cached_size().set(my_size as u32);
136 my_size
137 }
138
139 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
140 if let Some(v) = self.client_id {
141 os.write_uint64(1, v)?;
142 }
143 if let Some(v) = self.instance_id {
144 os.write_uint64(2, v)?;
145 }
146 if let Some(v) = self.status.as_ref() {
147 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
148 }
149 os.write_unknown_fields(self.special_fields.unknown_fields())?;
150 ::std::result::Result::Ok(())
151 }
152
153 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
154 &self.special_fields
155 }
156
157 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
158 &mut self.special_fields
159 }
160
161 fn new() -> CMsgRemoteClientStatus {
162 CMsgRemoteClientStatus::new()
163 }
164
165 fn clear(&mut self) {
166 self.client_id = ::std::option::Option::None;
167 self.instance_id = ::std::option::Option::None;
168 self.status.clear();
169 self.special_fields.clear();
170 }
171
172 fn default_instance() -> &'static CMsgRemoteClientStatus {
173 static instance: CMsgRemoteClientStatus = CMsgRemoteClientStatus {
174 client_id: ::std::option::Option::None,
175 instance_id: ::std::option::Option::None,
176 status: ::steam_vent_proto_common::protobuf::MessageField::none(),
177 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
178 };
179 &instance
180 }
181}
182
183#[derive(PartialEq,Clone,Default,Debug)]
185pub struct CMsgRemoteClientAppStatus {
186 pub status_updates: ::std::vec::Vec<cmsg_remote_client_app_status::AppStatus>,
189 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
192}
193
194impl<'a> ::std::default::Default for &'a CMsgRemoteClientAppStatus {
195 fn default() -> &'a CMsgRemoteClientAppStatus {
196 <CMsgRemoteClientAppStatus as ::steam_vent_proto_common::protobuf::Message>::default_instance()
197 }
198}
199
200impl CMsgRemoteClientAppStatus {
201 pub fn new() -> CMsgRemoteClientAppStatus {
202 ::std::default::Default::default()
203 }
204}
205
206impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientAppStatus {
207 const NAME: &'static str = "CMsgRemoteClientAppStatus";
208
209 fn is_initialized(&self) -> bool {
210 true
211 }
212
213 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
214 while let Some(tag) = is.read_raw_tag_or_eof()? {
215 match tag {
216 10 => {
217 self.status_updates.push(is.read_message()?);
218 },
219 tag => {
220 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
221 },
222 };
223 }
224 ::std::result::Result::Ok(())
225 }
226
227 #[allow(unused_variables)]
229 fn compute_size(&self) -> u64 {
230 let mut my_size = 0;
231 for value in &self.status_updates {
232 let len = value.compute_size();
233 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
234 };
235 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
236 self.special_fields.cached_size().set(my_size as u32);
237 my_size
238 }
239
240 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
241 for v in &self.status_updates {
242 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
243 };
244 os.write_unknown_fields(self.special_fields.unknown_fields())?;
245 ::std::result::Result::Ok(())
246 }
247
248 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
249 &self.special_fields
250 }
251
252 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
253 &mut self.special_fields
254 }
255
256 fn new() -> CMsgRemoteClientAppStatus {
257 CMsgRemoteClientAppStatus::new()
258 }
259
260 fn clear(&mut self) {
261 self.status_updates.clear();
262 self.special_fields.clear();
263 }
264
265 fn default_instance() -> &'static CMsgRemoteClientAppStatus {
266 static instance: CMsgRemoteClientAppStatus = CMsgRemoteClientAppStatus {
267 status_updates: ::std::vec::Vec::new(),
268 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
269 };
270 &instance
271 }
272}
273
274pub mod cmsg_remote_client_app_status {
276 #[derive(PartialEq,Clone,Default,Debug)]
278 pub struct AppUpdateInfo {
279 pub time_update_start: ::std::option::Option<u32>,
282 pub bytes_to_download: ::std::option::Option<u64>,
284 pub bytes_downloaded: ::std::option::Option<u64>,
286 pub bytes_to_process: ::std::option::Option<u64>,
288 pub bytes_processed: ::std::option::Option<u64>,
290 pub estimated_seconds_remaining: ::std::option::Option<i32>,
292 pub update_result: ::std::option::Option<i32>,
294 pub update_state: ::std::option::Option<u32>,
296 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
299 }
300
301 impl<'a> ::std::default::Default for &'a AppUpdateInfo {
302 fn default() -> &'a AppUpdateInfo {
303 <AppUpdateInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
304 }
305 }
306
307 impl AppUpdateInfo {
308 pub fn new() -> AppUpdateInfo {
309 ::std::default::Default::default()
310 }
311
312 pub fn time_update_start(&self) -> u32 {
315 self.time_update_start.unwrap_or(0)
316 }
317
318 pub fn clear_time_update_start(&mut self) {
319 self.time_update_start = ::std::option::Option::None;
320 }
321
322 pub fn has_time_update_start(&self) -> bool {
323 self.time_update_start.is_some()
324 }
325
326 pub fn set_time_update_start(&mut self, v: u32) {
328 self.time_update_start = ::std::option::Option::Some(v);
329 }
330
331 pub fn bytes_to_download(&self) -> u64 {
334 self.bytes_to_download.unwrap_or(0)
335 }
336
337 pub fn clear_bytes_to_download(&mut self) {
338 self.bytes_to_download = ::std::option::Option::None;
339 }
340
341 pub fn has_bytes_to_download(&self) -> bool {
342 self.bytes_to_download.is_some()
343 }
344
345 pub fn set_bytes_to_download(&mut self, v: u64) {
347 self.bytes_to_download = ::std::option::Option::Some(v);
348 }
349
350 pub fn bytes_downloaded(&self) -> u64 {
353 self.bytes_downloaded.unwrap_or(0)
354 }
355
356 pub fn clear_bytes_downloaded(&mut self) {
357 self.bytes_downloaded = ::std::option::Option::None;
358 }
359
360 pub fn has_bytes_downloaded(&self) -> bool {
361 self.bytes_downloaded.is_some()
362 }
363
364 pub fn set_bytes_downloaded(&mut self, v: u64) {
366 self.bytes_downloaded = ::std::option::Option::Some(v);
367 }
368
369 pub fn bytes_to_process(&self) -> u64 {
372 self.bytes_to_process.unwrap_or(0)
373 }
374
375 pub fn clear_bytes_to_process(&mut self) {
376 self.bytes_to_process = ::std::option::Option::None;
377 }
378
379 pub fn has_bytes_to_process(&self) -> bool {
380 self.bytes_to_process.is_some()
381 }
382
383 pub fn set_bytes_to_process(&mut self, v: u64) {
385 self.bytes_to_process = ::std::option::Option::Some(v);
386 }
387
388 pub fn bytes_processed(&self) -> u64 {
391 self.bytes_processed.unwrap_or(0)
392 }
393
394 pub fn clear_bytes_processed(&mut self) {
395 self.bytes_processed = ::std::option::Option::None;
396 }
397
398 pub fn has_bytes_processed(&self) -> bool {
399 self.bytes_processed.is_some()
400 }
401
402 pub fn set_bytes_processed(&mut self, v: u64) {
404 self.bytes_processed = ::std::option::Option::Some(v);
405 }
406
407 pub fn estimated_seconds_remaining(&self) -> i32 {
410 self.estimated_seconds_remaining.unwrap_or(-1i32)
411 }
412
413 pub fn clear_estimated_seconds_remaining(&mut self) {
414 self.estimated_seconds_remaining = ::std::option::Option::None;
415 }
416
417 pub fn has_estimated_seconds_remaining(&self) -> bool {
418 self.estimated_seconds_remaining.is_some()
419 }
420
421 pub fn set_estimated_seconds_remaining(&mut self, v: i32) {
423 self.estimated_seconds_remaining = ::std::option::Option::Some(v);
424 }
425
426 pub fn update_result(&self) -> i32 {
429 self.update_result.unwrap_or(0)
430 }
431
432 pub fn clear_update_result(&mut self) {
433 self.update_result = ::std::option::Option::None;
434 }
435
436 pub fn has_update_result(&self) -> bool {
437 self.update_result.is_some()
438 }
439
440 pub fn set_update_result(&mut self, v: i32) {
442 self.update_result = ::std::option::Option::Some(v);
443 }
444
445 pub fn update_state(&self) -> u32 {
448 self.update_state.unwrap_or(0)
449 }
450
451 pub fn clear_update_state(&mut self) {
452 self.update_state = ::std::option::Option::None;
453 }
454
455 pub fn has_update_state(&self) -> bool {
456 self.update_state.is_some()
457 }
458
459 pub fn set_update_state(&mut self, v: u32) {
461 self.update_state = ::std::option::Option::Some(v);
462 }
463 }
464
465 impl ::steam_vent_proto_common::protobuf::Message for AppUpdateInfo {
466 const NAME: &'static str = "AppUpdateInfo";
467
468 fn is_initialized(&self) -> bool {
469 true
470 }
471
472 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
473 while let Some(tag) = is.read_raw_tag_or_eof()? {
474 match tag {
475 13 => {
476 self.time_update_start = ::std::option::Option::Some(is.read_fixed32()?);
477 },
478 16 => {
479 self.bytes_to_download = ::std::option::Option::Some(is.read_uint64()?);
480 },
481 24 => {
482 self.bytes_downloaded = ::std::option::Option::Some(is.read_uint64()?);
483 },
484 32 => {
485 self.bytes_to_process = ::std::option::Option::Some(is.read_uint64()?);
486 },
487 40 => {
488 self.bytes_processed = ::std::option::Option::Some(is.read_uint64()?);
489 },
490 48 => {
491 self.estimated_seconds_remaining = ::std::option::Option::Some(is.read_int32()?);
492 },
493 56 => {
494 self.update_result = ::std::option::Option::Some(is.read_int32()?);
495 },
496 64 => {
497 self.update_state = ::std::option::Option::Some(is.read_uint32()?);
498 },
499 tag => {
500 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
501 },
502 };
503 }
504 ::std::result::Result::Ok(())
505 }
506
507 #[allow(unused_variables)]
509 fn compute_size(&self) -> u64 {
510 let mut my_size = 0;
511 if let Some(v) = self.time_update_start {
512 my_size += 1 + 4;
513 }
514 if let Some(v) = self.bytes_to_download {
515 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
516 }
517 if let Some(v) = self.bytes_downloaded {
518 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
519 }
520 if let Some(v) = self.bytes_to_process {
521 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(4, v);
522 }
523 if let Some(v) = self.bytes_processed {
524 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(5, v);
525 }
526 if let Some(v) = self.estimated_seconds_remaining {
527 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
528 }
529 if let Some(v) = self.update_result {
530 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(7, v);
531 }
532 if let Some(v) = self.update_state {
533 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
534 }
535 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
536 self.special_fields.cached_size().set(my_size as u32);
537 my_size
538 }
539
540 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
541 if let Some(v) = self.time_update_start {
542 os.write_fixed32(1, v)?;
543 }
544 if let Some(v) = self.bytes_to_download {
545 os.write_uint64(2, v)?;
546 }
547 if let Some(v) = self.bytes_downloaded {
548 os.write_uint64(3, v)?;
549 }
550 if let Some(v) = self.bytes_to_process {
551 os.write_uint64(4, v)?;
552 }
553 if let Some(v) = self.bytes_processed {
554 os.write_uint64(5, v)?;
555 }
556 if let Some(v) = self.estimated_seconds_remaining {
557 os.write_int32(6, v)?;
558 }
559 if let Some(v) = self.update_result {
560 os.write_int32(7, v)?;
561 }
562 if let Some(v) = self.update_state {
563 os.write_uint32(8, v)?;
564 }
565 os.write_unknown_fields(self.special_fields.unknown_fields())?;
566 ::std::result::Result::Ok(())
567 }
568
569 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
570 &self.special_fields
571 }
572
573 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
574 &mut self.special_fields
575 }
576
577 fn new() -> AppUpdateInfo {
578 AppUpdateInfo::new()
579 }
580
581 fn clear(&mut self) {
582 self.time_update_start = ::std::option::Option::None;
583 self.bytes_to_download = ::std::option::Option::None;
584 self.bytes_downloaded = ::std::option::Option::None;
585 self.bytes_to_process = ::std::option::Option::None;
586 self.bytes_processed = ::std::option::Option::None;
587 self.estimated_seconds_remaining = ::std::option::Option::None;
588 self.update_result = ::std::option::Option::None;
589 self.update_state = ::std::option::Option::None;
590 self.special_fields.clear();
591 }
592
593 fn default_instance() -> &'static AppUpdateInfo {
594 static instance: AppUpdateInfo = AppUpdateInfo {
595 time_update_start: ::std::option::Option::None,
596 bytes_to_download: ::std::option::Option::None,
597 bytes_downloaded: ::std::option::Option::None,
598 bytes_to_process: ::std::option::Option::None,
599 bytes_processed: ::std::option::Option::None,
600 estimated_seconds_remaining: ::std::option::Option::None,
601 update_result: ::std::option::Option::None,
602 update_state: ::std::option::Option::None,
603 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
604 };
605 &instance
606 }
607 }
608
609 #[derive(PartialEq,Clone,Default,Debug)]
611 pub struct ShortcutInfo {
612 pub name: ::std::option::Option<::std::string::String>,
615 pub icon: ::std::option::Option<::std::string::String>,
617 pub categories: ::std::vec::Vec<::std::string::String>,
619 pub exepath: ::std::option::Option<::std::string::String>,
621 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
624 }
625
626 impl<'a> ::std::default::Default for &'a ShortcutInfo {
627 fn default() -> &'a ShortcutInfo {
628 <ShortcutInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
629 }
630 }
631
632 impl ShortcutInfo {
633 pub fn new() -> ShortcutInfo {
634 ::std::default::Default::default()
635 }
636
637 pub fn name(&self) -> &str {
640 match self.name.as_ref() {
641 Some(v) => v,
642 None => "",
643 }
644 }
645
646 pub fn clear_name(&mut self) {
647 self.name = ::std::option::Option::None;
648 }
649
650 pub fn has_name(&self) -> bool {
651 self.name.is_some()
652 }
653
654 pub fn set_name(&mut self, v: ::std::string::String) {
656 self.name = ::std::option::Option::Some(v);
657 }
658
659 pub fn mut_name(&mut self) -> &mut ::std::string::String {
662 if self.name.is_none() {
663 self.name = ::std::option::Option::Some(::std::string::String::new());
664 }
665 self.name.as_mut().unwrap()
666 }
667
668 pub fn take_name(&mut self) -> ::std::string::String {
670 self.name.take().unwrap_or_else(|| ::std::string::String::new())
671 }
672
673 pub fn icon(&self) -> &str {
676 match self.icon.as_ref() {
677 Some(v) => v,
678 None => "",
679 }
680 }
681
682 pub fn clear_icon(&mut self) {
683 self.icon = ::std::option::Option::None;
684 }
685
686 pub fn has_icon(&self) -> bool {
687 self.icon.is_some()
688 }
689
690 pub fn set_icon(&mut self, v: ::std::string::String) {
692 self.icon = ::std::option::Option::Some(v);
693 }
694
695 pub fn mut_icon(&mut self) -> &mut ::std::string::String {
698 if self.icon.is_none() {
699 self.icon = ::std::option::Option::Some(::std::string::String::new());
700 }
701 self.icon.as_mut().unwrap()
702 }
703
704 pub fn take_icon(&mut self) -> ::std::string::String {
706 self.icon.take().unwrap_or_else(|| ::std::string::String::new())
707 }
708
709 pub fn exepath(&self) -> &str {
712 match self.exepath.as_ref() {
713 Some(v) => v,
714 None => "",
715 }
716 }
717
718 pub fn clear_exepath(&mut self) {
719 self.exepath = ::std::option::Option::None;
720 }
721
722 pub fn has_exepath(&self) -> bool {
723 self.exepath.is_some()
724 }
725
726 pub fn set_exepath(&mut self, v: ::std::string::String) {
728 self.exepath = ::std::option::Option::Some(v);
729 }
730
731 pub fn mut_exepath(&mut self) -> &mut ::std::string::String {
734 if self.exepath.is_none() {
735 self.exepath = ::std::option::Option::Some(::std::string::String::new());
736 }
737 self.exepath.as_mut().unwrap()
738 }
739
740 pub fn take_exepath(&mut self) -> ::std::string::String {
742 self.exepath.take().unwrap_or_else(|| ::std::string::String::new())
743 }
744 }
745
746 impl ::steam_vent_proto_common::protobuf::Message for ShortcutInfo {
747 const NAME: &'static str = "ShortcutInfo";
748
749 fn is_initialized(&self) -> bool {
750 true
751 }
752
753 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
754 while let Some(tag) = is.read_raw_tag_or_eof()? {
755 match tag {
756 10 => {
757 self.name = ::std::option::Option::Some(is.read_string()?);
758 },
759 18 => {
760 self.icon = ::std::option::Option::Some(is.read_string()?);
761 },
762 26 => {
763 self.categories.push(is.read_string()?);
764 },
765 34 => {
766 self.exepath = ::std::option::Option::Some(is.read_string()?);
767 },
768 tag => {
769 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
770 },
771 };
772 }
773 ::std::result::Result::Ok(())
774 }
775
776 #[allow(unused_variables)]
778 fn compute_size(&self) -> u64 {
779 let mut my_size = 0;
780 if let Some(v) = self.name.as_ref() {
781 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
782 }
783 if let Some(v) = self.icon.as_ref() {
784 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
785 }
786 for value in &self.categories {
787 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &value);
788 };
789 if let Some(v) = self.exepath.as_ref() {
790 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
791 }
792 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
793 self.special_fields.cached_size().set(my_size as u32);
794 my_size
795 }
796
797 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
798 if let Some(v) = self.name.as_ref() {
799 os.write_string(1, v)?;
800 }
801 if let Some(v) = self.icon.as_ref() {
802 os.write_string(2, v)?;
803 }
804 for v in &self.categories {
805 os.write_string(3, &v)?;
806 };
807 if let Some(v) = self.exepath.as_ref() {
808 os.write_string(4, v)?;
809 }
810 os.write_unknown_fields(self.special_fields.unknown_fields())?;
811 ::std::result::Result::Ok(())
812 }
813
814 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
815 &self.special_fields
816 }
817
818 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
819 &mut self.special_fields
820 }
821
822 fn new() -> ShortcutInfo {
823 ShortcutInfo::new()
824 }
825
826 fn clear(&mut self) {
827 self.name = ::std::option::Option::None;
828 self.icon = ::std::option::Option::None;
829 self.categories.clear();
830 self.exepath = ::std::option::Option::None;
831 self.special_fields.clear();
832 }
833
834 fn default_instance() -> &'static ShortcutInfo {
835 static instance: ShortcutInfo = ShortcutInfo {
836 name: ::std::option::Option::None,
837 icon: ::std::option::Option::None,
838 categories: ::std::vec::Vec::new(),
839 exepath: ::std::option::Option::None,
840 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
841 };
842 &instance
843 }
844 }
845
846 #[derive(PartialEq,Clone,Default,Debug)]
848 pub struct AppStatus {
849 pub app_id: ::std::option::Option<u32>,
852 pub app_state: ::std::option::Option<u32>,
854 pub update_info: ::steam_vent_proto_common::protobuf::MessageField<AppUpdateInfo>,
856 pub shortcut_info: ::steam_vent_proto_common::protobuf::MessageField<ShortcutInfo>,
858 pub vr_not_required: ::std::option::Option<bool>,
860 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
863 }
864
865 impl<'a> ::std::default::Default for &'a AppStatus {
866 fn default() -> &'a AppStatus {
867 <AppStatus as ::steam_vent_proto_common::protobuf::Message>::default_instance()
868 }
869 }
870
871 impl AppStatus {
872 pub fn new() -> AppStatus {
873 ::std::default::Default::default()
874 }
875
876 pub fn app_id(&self) -> u32 {
879 self.app_id.unwrap_or(0)
880 }
881
882 pub fn clear_app_id(&mut self) {
883 self.app_id = ::std::option::Option::None;
884 }
885
886 pub fn has_app_id(&self) -> bool {
887 self.app_id.is_some()
888 }
889
890 pub fn set_app_id(&mut self, v: u32) {
892 self.app_id = ::std::option::Option::Some(v);
893 }
894
895 pub fn app_state(&self) -> u32 {
898 self.app_state.unwrap_or(0)
899 }
900
901 pub fn clear_app_state(&mut self) {
902 self.app_state = ::std::option::Option::None;
903 }
904
905 pub fn has_app_state(&self) -> bool {
906 self.app_state.is_some()
907 }
908
909 pub fn set_app_state(&mut self, v: u32) {
911 self.app_state = ::std::option::Option::Some(v);
912 }
913
914 pub fn vr_not_required(&self) -> bool {
917 self.vr_not_required.unwrap_or(true)
918 }
919
920 pub fn clear_vr_not_required(&mut self) {
921 self.vr_not_required = ::std::option::Option::None;
922 }
923
924 pub fn has_vr_not_required(&self) -> bool {
925 self.vr_not_required.is_some()
926 }
927
928 pub fn set_vr_not_required(&mut self, v: bool) {
930 self.vr_not_required = ::std::option::Option::Some(v);
931 }
932 }
933
934 impl ::steam_vent_proto_common::protobuf::Message for AppStatus {
935 const NAME: &'static str = "AppStatus";
936
937 fn is_initialized(&self) -> bool {
938 true
939 }
940
941 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
942 while let Some(tag) = is.read_raw_tag_or_eof()? {
943 match tag {
944 8 => {
945 self.app_id = ::std::option::Option::Some(is.read_uint32()?);
946 },
947 16 => {
948 self.app_state = ::std::option::Option::Some(is.read_uint32()?);
949 },
950 26 => {
951 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.update_info)?;
952 },
953 34 => {
954 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.shortcut_info)?;
955 },
956 40 => {
957 self.vr_not_required = ::std::option::Option::Some(is.read_bool()?);
958 },
959 tag => {
960 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
961 },
962 };
963 }
964 ::std::result::Result::Ok(())
965 }
966
967 #[allow(unused_variables)]
969 fn compute_size(&self) -> u64 {
970 let mut my_size = 0;
971 if let Some(v) = self.app_id {
972 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
973 }
974 if let Some(v) = self.app_state {
975 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
976 }
977 if let Some(v) = self.update_info.as_ref() {
978 let len = v.compute_size();
979 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
980 }
981 if let Some(v) = self.shortcut_info.as_ref() {
982 let len = v.compute_size();
983 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
984 }
985 if let Some(v) = self.vr_not_required {
986 my_size += 1 + 1;
987 }
988 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
989 self.special_fields.cached_size().set(my_size as u32);
990 my_size
991 }
992
993 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
994 if let Some(v) = self.app_id {
995 os.write_uint32(1, v)?;
996 }
997 if let Some(v) = self.app_state {
998 os.write_uint32(2, v)?;
999 }
1000 if let Some(v) = self.update_info.as_ref() {
1001 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
1002 }
1003 if let Some(v) = self.shortcut_info.as_ref() {
1004 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
1005 }
1006 if let Some(v) = self.vr_not_required {
1007 os.write_bool(5, v)?;
1008 }
1009 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1010 ::std::result::Result::Ok(())
1011 }
1012
1013 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1014 &self.special_fields
1015 }
1016
1017 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1018 &mut self.special_fields
1019 }
1020
1021 fn new() -> AppStatus {
1022 AppStatus::new()
1023 }
1024
1025 fn clear(&mut self) {
1026 self.app_id = ::std::option::Option::None;
1027 self.app_state = ::std::option::Option::None;
1028 self.update_info.clear();
1029 self.shortcut_info.clear();
1030 self.vr_not_required = ::std::option::Option::None;
1031 self.special_fields.clear();
1032 }
1033
1034 fn default_instance() -> &'static AppStatus {
1035 static instance: AppStatus = AppStatus {
1036 app_id: ::std::option::Option::None,
1037 app_state: ::std::option::Option::None,
1038 update_info: ::steam_vent_proto_common::protobuf::MessageField::none(),
1039 shortcut_info: ::steam_vent_proto_common::protobuf::MessageField::none(),
1040 vr_not_required: ::std::option::Option::None,
1041 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1042 };
1043 &instance
1044 }
1045 }
1046}
1047
1048#[derive(PartialEq,Clone,Default,Debug)]
1050pub struct CMsgRemoteClientStartStream {
1051 pub app_id: ::std::option::Option<u32>,
1054 pub environment: ::std::option::Option<i32>,
1056 pub gamepad_count: ::std::option::Option<i32>,
1058 pub launch_option: ::std::option::Option<i32>,
1060 pub lock_parental_lock: ::std::option::Option<bool>,
1062 pub unlock_parental_lock: ::std::option::Option<::std::string::String>,
1064 pub maximum_resolution_x: ::std::option::Option<i32>,
1066 pub maximum_resolution_y: ::std::option::Option<i32>,
1068 pub gamepads: ::std::vec::Vec<cmsg_remote_client_start_stream::ReservedGamepad>,
1070 pub audio_channel_count: ::std::option::Option<i32>,
1072 pub supported_transport: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::steammessages_remoteclient_discovery::EStreamTransport>>,
1074 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1077}
1078
1079impl<'a> ::std::default::Default for &'a CMsgRemoteClientStartStream {
1080 fn default() -> &'a CMsgRemoteClientStartStream {
1081 <CMsgRemoteClientStartStream as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1082 }
1083}
1084
1085impl CMsgRemoteClientStartStream {
1086 pub fn new() -> CMsgRemoteClientStartStream {
1087 ::std::default::Default::default()
1088 }
1089
1090 pub fn app_id(&self) -> u32 {
1093 self.app_id.unwrap_or(0)
1094 }
1095
1096 pub fn clear_app_id(&mut self) {
1097 self.app_id = ::std::option::Option::None;
1098 }
1099
1100 pub fn has_app_id(&self) -> bool {
1101 self.app_id.is_some()
1102 }
1103
1104 pub fn set_app_id(&mut self, v: u32) {
1106 self.app_id = ::std::option::Option::Some(v);
1107 }
1108
1109 pub fn environment(&self) -> i32 {
1112 self.environment.unwrap_or(0)
1113 }
1114
1115 pub fn clear_environment(&mut self) {
1116 self.environment = ::std::option::Option::None;
1117 }
1118
1119 pub fn has_environment(&self) -> bool {
1120 self.environment.is_some()
1121 }
1122
1123 pub fn set_environment(&mut self, v: i32) {
1125 self.environment = ::std::option::Option::Some(v);
1126 }
1127
1128 pub fn gamepad_count(&self) -> i32 {
1131 self.gamepad_count.unwrap_or(0)
1132 }
1133
1134 pub fn clear_gamepad_count(&mut self) {
1135 self.gamepad_count = ::std::option::Option::None;
1136 }
1137
1138 pub fn has_gamepad_count(&self) -> bool {
1139 self.gamepad_count.is_some()
1140 }
1141
1142 pub fn set_gamepad_count(&mut self, v: i32) {
1144 self.gamepad_count = ::std::option::Option::Some(v);
1145 }
1146
1147 pub fn launch_option(&self) -> i32 {
1150 self.launch_option.unwrap_or(-1i32)
1151 }
1152
1153 pub fn clear_launch_option(&mut self) {
1154 self.launch_option = ::std::option::Option::None;
1155 }
1156
1157 pub fn has_launch_option(&self) -> bool {
1158 self.launch_option.is_some()
1159 }
1160
1161 pub fn set_launch_option(&mut self, v: i32) {
1163 self.launch_option = ::std::option::Option::Some(v);
1164 }
1165
1166 pub fn lock_parental_lock(&self) -> bool {
1169 self.lock_parental_lock.unwrap_or(false)
1170 }
1171
1172 pub fn clear_lock_parental_lock(&mut self) {
1173 self.lock_parental_lock = ::std::option::Option::None;
1174 }
1175
1176 pub fn has_lock_parental_lock(&self) -> bool {
1177 self.lock_parental_lock.is_some()
1178 }
1179
1180 pub fn set_lock_parental_lock(&mut self, v: bool) {
1182 self.lock_parental_lock = ::std::option::Option::Some(v);
1183 }
1184
1185 pub fn unlock_parental_lock(&self) -> &str {
1188 match self.unlock_parental_lock.as_ref() {
1189 Some(v) => v,
1190 None => "",
1191 }
1192 }
1193
1194 pub fn clear_unlock_parental_lock(&mut self) {
1195 self.unlock_parental_lock = ::std::option::Option::None;
1196 }
1197
1198 pub fn has_unlock_parental_lock(&self) -> bool {
1199 self.unlock_parental_lock.is_some()
1200 }
1201
1202 pub fn set_unlock_parental_lock(&mut self, v: ::std::string::String) {
1204 self.unlock_parental_lock = ::std::option::Option::Some(v);
1205 }
1206
1207 pub fn mut_unlock_parental_lock(&mut self) -> &mut ::std::string::String {
1210 if self.unlock_parental_lock.is_none() {
1211 self.unlock_parental_lock = ::std::option::Option::Some(::std::string::String::new());
1212 }
1213 self.unlock_parental_lock.as_mut().unwrap()
1214 }
1215
1216 pub fn take_unlock_parental_lock(&mut self) -> ::std::string::String {
1218 self.unlock_parental_lock.take().unwrap_or_else(|| ::std::string::String::new())
1219 }
1220
1221 pub fn maximum_resolution_x(&self) -> i32 {
1224 self.maximum_resolution_x.unwrap_or(0)
1225 }
1226
1227 pub fn clear_maximum_resolution_x(&mut self) {
1228 self.maximum_resolution_x = ::std::option::Option::None;
1229 }
1230
1231 pub fn has_maximum_resolution_x(&self) -> bool {
1232 self.maximum_resolution_x.is_some()
1233 }
1234
1235 pub fn set_maximum_resolution_x(&mut self, v: i32) {
1237 self.maximum_resolution_x = ::std::option::Option::Some(v);
1238 }
1239
1240 pub fn maximum_resolution_y(&self) -> i32 {
1243 self.maximum_resolution_y.unwrap_or(0)
1244 }
1245
1246 pub fn clear_maximum_resolution_y(&mut self) {
1247 self.maximum_resolution_y = ::std::option::Option::None;
1248 }
1249
1250 pub fn has_maximum_resolution_y(&self) -> bool {
1251 self.maximum_resolution_y.is_some()
1252 }
1253
1254 pub fn set_maximum_resolution_y(&mut self, v: i32) {
1256 self.maximum_resolution_y = ::std::option::Option::Some(v);
1257 }
1258
1259 pub fn audio_channel_count(&self) -> i32 {
1262 self.audio_channel_count.unwrap_or(2i32)
1263 }
1264
1265 pub fn clear_audio_channel_count(&mut self) {
1266 self.audio_channel_count = ::std::option::Option::None;
1267 }
1268
1269 pub fn has_audio_channel_count(&self) -> bool {
1270 self.audio_channel_count.is_some()
1271 }
1272
1273 pub fn set_audio_channel_count(&mut self, v: i32) {
1275 self.audio_channel_count = ::std::option::Option::Some(v);
1276 }
1277}
1278
1279impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientStartStream {
1280 const NAME: &'static str = "CMsgRemoteClientStartStream";
1281
1282 fn is_initialized(&self) -> bool {
1283 true
1284 }
1285
1286 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1287 while let Some(tag) = is.read_raw_tag_or_eof()? {
1288 match tag {
1289 8 => {
1290 self.app_id = ::std::option::Option::Some(is.read_uint32()?);
1291 },
1292 16 => {
1293 self.environment = ::std::option::Option::Some(is.read_int32()?);
1294 },
1295 24 => {
1296 self.gamepad_count = ::std::option::Option::Some(is.read_int32()?);
1297 },
1298 32 => {
1299 self.launch_option = ::std::option::Option::Some(is.read_int32()?);
1300 },
1301 40 => {
1302 self.lock_parental_lock = ::std::option::Option::Some(is.read_bool()?);
1303 },
1304 50 => {
1305 self.unlock_parental_lock = ::std::option::Option::Some(is.read_string()?);
1306 },
1307 56 => {
1308 self.maximum_resolution_x = ::std::option::Option::Some(is.read_int32()?);
1309 },
1310 64 => {
1311 self.maximum_resolution_y = ::std::option::Option::Some(is.read_int32()?);
1312 },
1313 74 => {
1314 self.gamepads.push(is.read_message()?);
1315 },
1316 80 => {
1317 self.audio_channel_count = ::std::option::Option::Some(is.read_int32()?);
1318 },
1319 88 => {
1320 self.supported_transport.push(is.read_enum_or_unknown()?);
1321 },
1322 90 => {
1323 ::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.supported_transport)?
1324 },
1325 tag => {
1326 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1327 },
1328 };
1329 }
1330 ::std::result::Result::Ok(())
1331 }
1332
1333 #[allow(unused_variables)]
1335 fn compute_size(&self) -> u64 {
1336 let mut my_size = 0;
1337 if let Some(v) = self.app_id {
1338 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1339 }
1340 if let Some(v) = self.environment {
1341 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
1342 }
1343 if let Some(v) = self.gamepad_count {
1344 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
1345 }
1346 if let Some(v) = self.launch_option {
1347 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
1348 }
1349 if let Some(v) = self.lock_parental_lock {
1350 my_size += 1 + 1;
1351 }
1352 if let Some(v) = self.unlock_parental_lock.as_ref() {
1353 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
1354 }
1355 if let Some(v) = self.maximum_resolution_x {
1356 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(7, v);
1357 }
1358 if let Some(v) = self.maximum_resolution_y {
1359 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(8, v);
1360 }
1361 for value in &self.gamepads {
1362 let len = value.compute_size();
1363 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1364 };
1365 if let Some(v) = self.audio_channel_count {
1366 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(10, v);
1367 }
1368 for value in &self.supported_transport {
1369 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(11, value.value());
1370 };
1371 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1372 self.special_fields.cached_size().set(my_size as u32);
1373 my_size
1374 }
1375
1376 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1377 if let Some(v) = self.app_id {
1378 os.write_uint32(1, v)?;
1379 }
1380 if let Some(v) = self.environment {
1381 os.write_int32(2, v)?;
1382 }
1383 if let Some(v) = self.gamepad_count {
1384 os.write_int32(3, v)?;
1385 }
1386 if let Some(v) = self.launch_option {
1387 os.write_int32(4, v)?;
1388 }
1389 if let Some(v) = self.lock_parental_lock {
1390 os.write_bool(5, v)?;
1391 }
1392 if let Some(v) = self.unlock_parental_lock.as_ref() {
1393 os.write_string(6, v)?;
1394 }
1395 if let Some(v) = self.maximum_resolution_x {
1396 os.write_int32(7, v)?;
1397 }
1398 if let Some(v) = self.maximum_resolution_y {
1399 os.write_int32(8, v)?;
1400 }
1401 for v in &self.gamepads {
1402 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(9, v, os)?;
1403 };
1404 if let Some(v) = self.audio_channel_count {
1405 os.write_int32(10, v)?;
1406 }
1407 for v in &self.supported_transport {
1408 os.write_enum(11, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
1409 };
1410 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1411 ::std::result::Result::Ok(())
1412 }
1413
1414 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1415 &self.special_fields
1416 }
1417
1418 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1419 &mut self.special_fields
1420 }
1421
1422 fn new() -> CMsgRemoteClientStartStream {
1423 CMsgRemoteClientStartStream::new()
1424 }
1425
1426 fn clear(&mut self) {
1427 self.app_id = ::std::option::Option::None;
1428 self.environment = ::std::option::Option::None;
1429 self.gamepad_count = ::std::option::Option::None;
1430 self.launch_option = ::std::option::Option::None;
1431 self.lock_parental_lock = ::std::option::Option::None;
1432 self.unlock_parental_lock = ::std::option::Option::None;
1433 self.maximum_resolution_x = ::std::option::Option::None;
1434 self.maximum_resolution_y = ::std::option::Option::None;
1435 self.gamepads.clear();
1436 self.audio_channel_count = ::std::option::Option::None;
1437 self.supported_transport.clear();
1438 self.special_fields.clear();
1439 }
1440
1441 fn default_instance() -> &'static CMsgRemoteClientStartStream {
1442 static instance: CMsgRemoteClientStartStream = CMsgRemoteClientStartStream {
1443 app_id: ::std::option::Option::None,
1444 environment: ::std::option::Option::None,
1445 gamepad_count: ::std::option::Option::None,
1446 launch_option: ::std::option::Option::None,
1447 lock_parental_lock: ::std::option::Option::None,
1448 unlock_parental_lock: ::std::option::Option::None,
1449 maximum_resolution_x: ::std::option::Option::None,
1450 maximum_resolution_y: ::std::option::Option::None,
1451 gamepads: ::std::vec::Vec::new(),
1452 audio_channel_count: ::std::option::Option::None,
1453 supported_transport: ::std::vec::Vec::new(),
1454 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1455 };
1456 &instance
1457 }
1458}
1459
1460pub mod cmsg_remote_client_start_stream {
1462 #[derive(PartialEq,Clone,Default,Debug)]
1464 pub struct ReservedGamepad {
1465 pub controller_type: ::std::option::Option<u32>,
1468 pub controller_subtype: ::std::option::Option<u32>,
1470 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1473 }
1474
1475 impl<'a> ::std::default::Default for &'a ReservedGamepad {
1476 fn default() -> &'a ReservedGamepad {
1477 <ReservedGamepad as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1478 }
1479 }
1480
1481 impl ReservedGamepad {
1482 pub fn new() -> ReservedGamepad {
1483 ::std::default::Default::default()
1484 }
1485
1486 pub fn controller_type(&self) -> u32 {
1489 self.controller_type.unwrap_or(0)
1490 }
1491
1492 pub fn clear_controller_type(&mut self) {
1493 self.controller_type = ::std::option::Option::None;
1494 }
1495
1496 pub fn has_controller_type(&self) -> bool {
1497 self.controller_type.is_some()
1498 }
1499
1500 pub fn set_controller_type(&mut self, v: u32) {
1502 self.controller_type = ::std::option::Option::Some(v);
1503 }
1504
1505 pub fn controller_subtype(&self) -> u32 {
1508 self.controller_subtype.unwrap_or(0)
1509 }
1510
1511 pub fn clear_controller_subtype(&mut self) {
1512 self.controller_subtype = ::std::option::Option::None;
1513 }
1514
1515 pub fn has_controller_subtype(&self) -> bool {
1516 self.controller_subtype.is_some()
1517 }
1518
1519 pub fn set_controller_subtype(&mut self, v: u32) {
1521 self.controller_subtype = ::std::option::Option::Some(v);
1522 }
1523 }
1524
1525 impl ::steam_vent_proto_common::protobuf::Message for ReservedGamepad {
1526 const NAME: &'static str = "ReservedGamepad";
1527
1528 fn is_initialized(&self) -> bool {
1529 true
1530 }
1531
1532 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1533 while let Some(tag) = is.read_raw_tag_or_eof()? {
1534 match tag {
1535 8 => {
1536 self.controller_type = ::std::option::Option::Some(is.read_uint32()?);
1537 },
1538 16 => {
1539 self.controller_subtype = ::std::option::Option::Some(is.read_uint32()?);
1540 },
1541 tag => {
1542 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1543 },
1544 };
1545 }
1546 ::std::result::Result::Ok(())
1547 }
1548
1549 #[allow(unused_variables)]
1551 fn compute_size(&self) -> u64 {
1552 let mut my_size = 0;
1553 if let Some(v) = self.controller_type {
1554 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1555 }
1556 if let Some(v) = self.controller_subtype {
1557 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1558 }
1559 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1560 self.special_fields.cached_size().set(my_size as u32);
1561 my_size
1562 }
1563
1564 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1565 if let Some(v) = self.controller_type {
1566 os.write_uint32(1, v)?;
1567 }
1568 if let Some(v) = self.controller_subtype {
1569 os.write_uint32(2, v)?;
1570 }
1571 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1572 ::std::result::Result::Ok(())
1573 }
1574
1575 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1576 &self.special_fields
1577 }
1578
1579 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1580 &mut self.special_fields
1581 }
1582
1583 fn new() -> ReservedGamepad {
1584 ReservedGamepad::new()
1585 }
1586
1587 fn clear(&mut self) {
1588 self.controller_type = ::std::option::Option::None;
1589 self.controller_subtype = ::std::option::Option::None;
1590 self.special_fields.clear();
1591 }
1592
1593 fn default_instance() -> &'static ReservedGamepad {
1594 static instance: ReservedGamepad = ReservedGamepad {
1595 controller_type: ::std::option::Option::None,
1596 controller_subtype: ::std::option::Option::None,
1597 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1598 };
1599 &instance
1600 }
1601 }
1602}
1603
1604#[derive(PartialEq,Clone,Default,Debug)]
1606pub struct CMsgRemoteClientStartStreamResponse {
1607 pub e_launch_result: ::std::option::Option<i32>,
1610 pub stream_port: ::std::option::Option<u32>,
1612 pub launch_options: ::std::vec::Vec<i32>,
1614 pub auth_token: ::std::option::Option<::std::vec::Vec<u8>>,
1616 pub transport: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::steammessages_remoteclient_discovery::EStreamTransport>>,
1618 pub relay_server: ::std::option::Option<::std::string::String>,
1620 pub launch_task: ::std::option::Option<::std::string::String>,
1622 pub launch_task_detail: ::std::option::Option<::std::string::String>,
1624 pub launch_tasks_done: ::std::option::Option<i32>,
1626 pub launch_tasks_total: ::std::option::Option<i32>,
1628 pub vr_connection_params: ::std::option::Option<::std::string::String>,
1630 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1633}
1634
1635impl<'a> ::std::default::Default for &'a CMsgRemoteClientStartStreamResponse {
1636 fn default() -> &'a CMsgRemoteClientStartStreamResponse {
1637 <CMsgRemoteClientStartStreamResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1638 }
1639}
1640
1641impl CMsgRemoteClientStartStreamResponse {
1642 pub fn new() -> CMsgRemoteClientStartStreamResponse {
1643 ::std::default::Default::default()
1644 }
1645
1646 pub fn e_launch_result(&self) -> i32 {
1649 self.e_launch_result.unwrap_or(2i32)
1650 }
1651
1652 pub fn clear_e_launch_result(&mut self) {
1653 self.e_launch_result = ::std::option::Option::None;
1654 }
1655
1656 pub fn has_e_launch_result(&self) -> bool {
1657 self.e_launch_result.is_some()
1658 }
1659
1660 pub fn set_e_launch_result(&mut self, v: i32) {
1662 self.e_launch_result = ::std::option::Option::Some(v);
1663 }
1664
1665 pub fn stream_port(&self) -> u32 {
1668 self.stream_port.unwrap_or(0)
1669 }
1670
1671 pub fn clear_stream_port(&mut self) {
1672 self.stream_port = ::std::option::Option::None;
1673 }
1674
1675 pub fn has_stream_port(&self) -> bool {
1676 self.stream_port.is_some()
1677 }
1678
1679 pub fn set_stream_port(&mut self, v: u32) {
1681 self.stream_port = ::std::option::Option::Some(v);
1682 }
1683
1684 pub fn auth_token(&self) -> &[u8] {
1687 match self.auth_token.as_ref() {
1688 Some(v) => v,
1689 None => &[],
1690 }
1691 }
1692
1693 pub fn clear_auth_token(&mut self) {
1694 self.auth_token = ::std::option::Option::None;
1695 }
1696
1697 pub fn has_auth_token(&self) -> bool {
1698 self.auth_token.is_some()
1699 }
1700
1701 pub fn set_auth_token(&mut self, v: ::std::vec::Vec<u8>) {
1703 self.auth_token = ::std::option::Option::Some(v);
1704 }
1705
1706 pub fn mut_auth_token(&mut self) -> &mut ::std::vec::Vec<u8> {
1709 if self.auth_token.is_none() {
1710 self.auth_token = ::std::option::Option::Some(::std::vec::Vec::new());
1711 }
1712 self.auth_token.as_mut().unwrap()
1713 }
1714
1715 pub fn take_auth_token(&mut self) -> ::std::vec::Vec<u8> {
1717 self.auth_token.take().unwrap_or_else(|| ::std::vec::Vec::new())
1718 }
1719
1720 pub fn transport(&self) -> super::steammessages_remoteclient_discovery::EStreamTransport {
1723 match self.transport {
1724 Some(e) => e.enum_value_or(super::steammessages_remoteclient_discovery::EStreamTransport::k_EStreamTransportUDP),
1725 None => super::steammessages_remoteclient_discovery::EStreamTransport::k_EStreamTransportUDP,
1726 }
1727 }
1728
1729 pub fn clear_transport(&mut self) {
1730 self.transport = ::std::option::Option::None;
1731 }
1732
1733 pub fn has_transport(&self) -> bool {
1734 self.transport.is_some()
1735 }
1736
1737 pub fn set_transport(&mut self, v: super::steammessages_remoteclient_discovery::EStreamTransport) {
1739 self.transport = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
1740 }
1741
1742 pub fn relay_server(&self) -> &str {
1745 match self.relay_server.as_ref() {
1746 Some(v) => v,
1747 None => "",
1748 }
1749 }
1750
1751 pub fn clear_relay_server(&mut self) {
1752 self.relay_server = ::std::option::Option::None;
1753 }
1754
1755 pub fn has_relay_server(&self) -> bool {
1756 self.relay_server.is_some()
1757 }
1758
1759 pub fn set_relay_server(&mut self, v: ::std::string::String) {
1761 self.relay_server = ::std::option::Option::Some(v);
1762 }
1763
1764 pub fn mut_relay_server(&mut self) -> &mut ::std::string::String {
1767 if self.relay_server.is_none() {
1768 self.relay_server = ::std::option::Option::Some(::std::string::String::new());
1769 }
1770 self.relay_server.as_mut().unwrap()
1771 }
1772
1773 pub fn take_relay_server(&mut self) -> ::std::string::String {
1775 self.relay_server.take().unwrap_or_else(|| ::std::string::String::new())
1776 }
1777
1778 pub fn launch_task(&self) -> &str {
1781 match self.launch_task.as_ref() {
1782 Some(v) => v,
1783 None => "",
1784 }
1785 }
1786
1787 pub fn clear_launch_task(&mut self) {
1788 self.launch_task = ::std::option::Option::None;
1789 }
1790
1791 pub fn has_launch_task(&self) -> bool {
1792 self.launch_task.is_some()
1793 }
1794
1795 pub fn set_launch_task(&mut self, v: ::std::string::String) {
1797 self.launch_task = ::std::option::Option::Some(v);
1798 }
1799
1800 pub fn mut_launch_task(&mut self) -> &mut ::std::string::String {
1803 if self.launch_task.is_none() {
1804 self.launch_task = ::std::option::Option::Some(::std::string::String::new());
1805 }
1806 self.launch_task.as_mut().unwrap()
1807 }
1808
1809 pub fn take_launch_task(&mut self) -> ::std::string::String {
1811 self.launch_task.take().unwrap_or_else(|| ::std::string::String::new())
1812 }
1813
1814 pub fn launch_task_detail(&self) -> &str {
1817 match self.launch_task_detail.as_ref() {
1818 Some(v) => v,
1819 None => "",
1820 }
1821 }
1822
1823 pub fn clear_launch_task_detail(&mut self) {
1824 self.launch_task_detail = ::std::option::Option::None;
1825 }
1826
1827 pub fn has_launch_task_detail(&self) -> bool {
1828 self.launch_task_detail.is_some()
1829 }
1830
1831 pub fn set_launch_task_detail(&mut self, v: ::std::string::String) {
1833 self.launch_task_detail = ::std::option::Option::Some(v);
1834 }
1835
1836 pub fn mut_launch_task_detail(&mut self) -> &mut ::std::string::String {
1839 if self.launch_task_detail.is_none() {
1840 self.launch_task_detail = ::std::option::Option::Some(::std::string::String::new());
1841 }
1842 self.launch_task_detail.as_mut().unwrap()
1843 }
1844
1845 pub fn take_launch_task_detail(&mut self) -> ::std::string::String {
1847 self.launch_task_detail.take().unwrap_or_else(|| ::std::string::String::new())
1848 }
1849
1850 pub fn launch_tasks_done(&self) -> i32 {
1853 self.launch_tasks_done.unwrap_or(0)
1854 }
1855
1856 pub fn clear_launch_tasks_done(&mut self) {
1857 self.launch_tasks_done = ::std::option::Option::None;
1858 }
1859
1860 pub fn has_launch_tasks_done(&self) -> bool {
1861 self.launch_tasks_done.is_some()
1862 }
1863
1864 pub fn set_launch_tasks_done(&mut self, v: i32) {
1866 self.launch_tasks_done = ::std::option::Option::Some(v);
1867 }
1868
1869 pub fn launch_tasks_total(&self) -> i32 {
1872 self.launch_tasks_total.unwrap_or(0)
1873 }
1874
1875 pub fn clear_launch_tasks_total(&mut self) {
1876 self.launch_tasks_total = ::std::option::Option::None;
1877 }
1878
1879 pub fn has_launch_tasks_total(&self) -> bool {
1880 self.launch_tasks_total.is_some()
1881 }
1882
1883 pub fn set_launch_tasks_total(&mut self, v: i32) {
1885 self.launch_tasks_total = ::std::option::Option::Some(v);
1886 }
1887
1888 pub fn vr_connection_params(&self) -> &str {
1891 match self.vr_connection_params.as_ref() {
1892 Some(v) => v,
1893 None => "",
1894 }
1895 }
1896
1897 pub fn clear_vr_connection_params(&mut self) {
1898 self.vr_connection_params = ::std::option::Option::None;
1899 }
1900
1901 pub fn has_vr_connection_params(&self) -> bool {
1902 self.vr_connection_params.is_some()
1903 }
1904
1905 pub fn set_vr_connection_params(&mut self, v: ::std::string::String) {
1907 self.vr_connection_params = ::std::option::Option::Some(v);
1908 }
1909
1910 pub fn mut_vr_connection_params(&mut self) -> &mut ::std::string::String {
1913 if self.vr_connection_params.is_none() {
1914 self.vr_connection_params = ::std::option::Option::Some(::std::string::String::new());
1915 }
1916 self.vr_connection_params.as_mut().unwrap()
1917 }
1918
1919 pub fn take_vr_connection_params(&mut self) -> ::std::string::String {
1921 self.vr_connection_params.take().unwrap_or_else(|| ::std::string::String::new())
1922 }
1923}
1924
1925impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientStartStreamResponse {
1926 const NAME: &'static str = "CMsgRemoteClientStartStreamResponse";
1927
1928 fn is_initialized(&self) -> bool {
1929 true
1930 }
1931
1932 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1933 while let Some(tag) = is.read_raw_tag_or_eof()? {
1934 match tag {
1935 8 => {
1936 self.e_launch_result = ::std::option::Option::Some(is.read_int32()?);
1937 },
1938 16 => {
1939 self.stream_port = ::std::option::Option::Some(is.read_uint32()?);
1940 },
1941 26 => {
1942 is.read_repeated_packed_int32_into(&mut self.launch_options)?;
1943 },
1944 24 => {
1945 self.launch_options.push(is.read_int32()?);
1946 },
1947 34 => {
1948 self.auth_token = ::std::option::Option::Some(is.read_bytes()?);
1949 },
1950 40 => {
1951 self.transport = ::std::option::Option::Some(is.read_enum_or_unknown()?);
1952 },
1953 50 => {
1954 self.relay_server = ::std::option::Option::Some(is.read_string()?);
1955 },
1956 58 => {
1957 self.launch_task = ::std::option::Option::Some(is.read_string()?);
1958 },
1959 66 => {
1960 self.launch_task_detail = ::std::option::Option::Some(is.read_string()?);
1961 },
1962 72 => {
1963 self.launch_tasks_done = ::std::option::Option::Some(is.read_int32()?);
1964 },
1965 80 => {
1966 self.launch_tasks_total = ::std::option::Option::Some(is.read_int32()?);
1967 },
1968 90 => {
1969 self.vr_connection_params = ::std::option::Option::Some(is.read_string()?);
1970 },
1971 tag => {
1972 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1973 },
1974 };
1975 }
1976 ::std::result::Result::Ok(())
1977 }
1978
1979 #[allow(unused_variables)]
1981 fn compute_size(&self) -> u64 {
1982 let mut my_size = 0;
1983 if let Some(v) = self.e_launch_result {
1984 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
1985 }
1986 if let Some(v) = self.stream_port {
1987 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1988 }
1989 for value in &self.launch_options {
1990 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, *value);
1991 };
1992 if let Some(v) = self.auth_token.as_ref() {
1993 my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(4, &v);
1994 }
1995 if let Some(v) = self.transport {
1996 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v.value());
1997 }
1998 if let Some(v) = self.relay_server.as_ref() {
1999 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
2000 }
2001 if let Some(v) = self.launch_task.as_ref() {
2002 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
2003 }
2004 if let Some(v) = self.launch_task_detail.as_ref() {
2005 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
2006 }
2007 if let Some(v) = self.launch_tasks_done {
2008 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(9, v);
2009 }
2010 if let Some(v) = self.launch_tasks_total {
2011 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(10, v);
2012 }
2013 if let Some(v) = self.vr_connection_params.as_ref() {
2014 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &v);
2015 }
2016 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2017 self.special_fields.cached_size().set(my_size as u32);
2018 my_size
2019 }
2020
2021 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2022 if let Some(v) = self.e_launch_result {
2023 os.write_int32(1, v)?;
2024 }
2025 if let Some(v) = self.stream_port {
2026 os.write_uint32(2, v)?;
2027 }
2028 for v in &self.launch_options {
2029 os.write_int32(3, *v)?;
2030 };
2031 if let Some(v) = self.auth_token.as_ref() {
2032 os.write_bytes(4, v)?;
2033 }
2034 if let Some(v) = self.transport {
2035 os.write_enum(5, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
2036 }
2037 if let Some(v) = self.relay_server.as_ref() {
2038 os.write_string(6, v)?;
2039 }
2040 if let Some(v) = self.launch_task.as_ref() {
2041 os.write_string(7, v)?;
2042 }
2043 if let Some(v) = self.launch_task_detail.as_ref() {
2044 os.write_string(8, v)?;
2045 }
2046 if let Some(v) = self.launch_tasks_done {
2047 os.write_int32(9, v)?;
2048 }
2049 if let Some(v) = self.launch_tasks_total {
2050 os.write_int32(10, v)?;
2051 }
2052 if let Some(v) = self.vr_connection_params.as_ref() {
2053 os.write_string(11, v)?;
2054 }
2055 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2056 ::std::result::Result::Ok(())
2057 }
2058
2059 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2060 &self.special_fields
2061 }
2062
2063 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2064 &mut self.special_fields
2065 }
2066
2067 fn new() -> CMsgRemoteClientStartStreamResponse {
2068 CMsgRemoteClientStartStreamResponse::new()
2069 }
2070
2071 fn clear(&mut self) {
2072 self.e_launch_result = ::std::option::Option::None;
2073 self.stream_port = ::std::option::Option::None;
2074 self.launch_options.clear();
2075 self.auth_token = ::std::option::Option::None;
2076 self.transport = ::std::option::Option::None;
2077 self.relay_server = ::std::option::Option::None;
2078 self.launch_task = ::std::option::Option::None;
2079 self.launch_task_detail = ::std::option::Option::None;
2080 self.launch_tasks_done = ::std::option::Option::None;
2081 self.launch_tasks_total = ::std::option::Option::None;
2082 self.vr_connection_params = ::std::option::Option::None;
2083 self.special_fields.clear();
2084 }
2085
2086 fn default_instance() -> &'static CMsgRemoteClientStartStreamResponse {
2087 static instance: CMsgRemoteClientStartStreamResponse = CMsgRemoteClientStartStreamResponse {
2088 e_launch_result: ::std::option::Option::None,
2089 stream_port: ::std::option::Option::None,
2090 launch_options: ::std::vec::Vec::new(),
2091 auth_token: ::std::option::Option::None,
2092 transport: ::std::option::Option::None,
2093 relay_server: ::std::option::Option::None,
2094 launch_task: ::std::option::Option::None,
2095 launch_task_detail: ::std::option::Option::None,
2096 launch_tasks_done: ::std::option::Option::None,
2097 launch_tasks_total: ::std::option::Option::None,
2098 vr_connection_params: ::std::option::Option::None,
2099 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2100 };
2101 &instance
2102 }
2103}
2104
2105#[derive(PartialEq,Clone,Default,Debug)]
2107pub struct CMsgRemoteClientPing {
2108 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2111}
2112
2113impl<'a> ::std::default::Default for &'a CMsgRemoteClientPing {
2114 fn default() -> &'a CMsgRemoteClientPing {
2115 <CMsgRemoteClientPing as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2116 }
2117}
2118
2119impl CMsgRemoteClientPing {
2120 pub fn new() -> CMsgRemoteClientPing {
2121 ::std::default::Default::default()
2122 }
2123}
2124
2125impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientPing {
2126 const NAME: &'static str = "CMsgRemoteClientPing";
2127
2128 fn is_initialized(&self) -> bool {
2129 true
2130 }
2131
2132 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2133 while let Some(tag) = is.read_raw_tag_or_eof()? {
2134 match tag {
2135 tag => {
2136 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2137 },
2138 };
2139 }
2140 ::std::result::Result::Ok(())
2141 }
2142
2143 #[allow(unused_variables)]
2145 fn compute_size(&self) -> u64 {
2146 let mut my_size = 0;
2147 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2148 self.special_fields.cached_size().set(my_size as u32);
2149 my_size
2150 }
2151
2152 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2153 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2154 ::std::result::Result::Ok(())
2155 }
2156
2157 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2158 &self.special_fields
2159 }
2160
2161 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2162 &mut self.special_fields
2163 }
2164
2165 fn new() -> CMsgRemoteClientPing {
2166 CMsgRemoteClientPing::new()
2167 }
2168
2169 fn clear(&mut self) {
2170 self.special_fields.clear();
2171 }
2172
2173 fn default_instance() -> &'static CMsgRemoteClientPing {
2174 static instance: CMsgRemoteClientPing = CMsgRemoteClientPing {
2175 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2176 };
2177 &instance
2178 }
2179}
2180
2181#[derive(PartialEq,Clone,Default,Debug)]
2183pub struct CMsgRemoteClientPingResponse {
2184 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2187}
2188
2189impl<'a> ::std::default::Default for &'a CMsgRemoteClientPingResponse {
2190 fn default() -> &'a CMsgRemoteClientPingResponse {
2191 <CMsgRemoteClientPingResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2192 }
2193}
2194
2195impl CMsgRemoteClientPingResponse {
2196 pub fn new() -> CMsgRemoteClientPingResponse {
2197 ::std::default::Default::default()
2198 }
2199}
2200
2201impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientPingResponse {
2202 const NAME: &'static str = "CMsgRemoteClientPingResponse";
2203
2204 fn is_initialized(&self) -> bool {
2205 true
2206 }
2207
2208 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2209 while let Some(tag) = is.read_raw_tag_or_eof()? {
2210 match tag {
2211 tag => {
2212 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2213 },
2214 };
2215 }
2216 ::std::result::Result::Ok(())
2217 }
2218
2219 #[allow(unused_variables)]
2221 fn compute_size(&self) -> u64 {
2222 let mut my_size = 0;
2223 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2224 self.special_fields.cached_size().set(my_size as u32);
2225 my_size
2226 }
2227
2228 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2229 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2230 ::std::result::Result::Ok(())
2231 }
2232
2233 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2234 &self.special_fields
2235 }
2236
2237 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2238 &mut self.special_fields
2239 }
2240
2241 fn new() -> CMsgRemoteClientPingResponse {
2242 CMsgRemoteClientPingResponse::new()
2243 }
2244
2245 fn clear(&mut self) {
2246 self.special_fields.clear();
2247 }
2248
2249 fn default_instance() -> &'static CMsgRemoteClientPingResponse {
2250 static instance: CMsgRemoteClientPingResponse = CMsgRemoteClientPingResponse {
2251 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2252 };
2253 &instance
2254 }
2255}
2256
2257#[derive(PartialEq,Clone,Default,Debug)]
2259pub struct CMsgRemoteClientAcceptEULA {
2260 pub app_id: ::std::vec::Vec<u32>,
2263 pub eula_id: ::std::vec::Vec<::std::string::String>,
2265 pub eula_version: ::std::vec::Vec<u32>,
2267 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2270}
2271
2272impl<'a> ::std::default::Default for &'a CMsgRemoteClientAcceptEULA {
2273 fn default() -> &'a CMsgRemoteClientAcceptEULA {
2274 <CMsgRemoteClientAcceptEULA as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2275 }
2276}
2277
2278impl CMsgRemoteClientAcceptEULA {
2279 pub fn new() -> CMsgRemoteClientAcceptEULA {
2280 ::std::default::Default::default()
2281 }
2282}
2283
2284impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientAcceptEULA {
2285 const NAME: &'static str = "CMsgRemoteClientAcceptEULA";
2286
2287 fn is_initialized(&self) -> bool {
2288 true
2289 }
2290
2291 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2292 while let Some(tag) = is.read_raw_tag_or_eof()? {
2293 match tag {
2294 10 => {
2295 is.read_repeated_packed_uint32_into(&mut self.app_id)?;
2296 },
2297 8 => {
2298 self.app_id.push(is.read_uint32()?);
2299 },
2300 18 => {
2301 self.eula_id.push(is.read_string()?);
2302 },
2303 26 => {
2304 is.read_repeated_packed_uint32_into(&mut self.eula_version)?;
2305 },
2306 24 => {
2307 self.eula_version.push(is.read_uint32()?);
2308 },
2309 tag => {
2310 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2311 },
2312 };
2313 }
2314 ::std::result::Result::Ok(())
2315 }
2316
2317 #[allow(unused_variables)]
2319 fn compute_size(&self) -> u64 {
2320 let mut my_size = 0;
2321 for value in &self.app_id {
2322 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, *value);
2323 };
2324 for value in &self.eula_id {
2325 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &value);
2326 };
2327 for value in &self.eula_version {
2328 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, *value);
2329 };
2330 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2331 self.special_fields.cached_size().set(my_size as u32);
2332 my_size
2333 }
2334
2335 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2336 for v in &self.app_id {
2337 os.write_uint32(1, *v)?;
2338 };
2339 for v in &self.eula_id {
2340 os.write_string(2, &v)?;
2341 };
2342 for v in &self.eula_version {
2343 os.write_uint32(3, *v)?;
2344 };
2345 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2346 ::std::result::Result::Ok(())
2347 }
2348
2349 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2350 &self.special_fields
2351 }
2352
2353 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2354 &mut self.special_fields
2355 }
2356
2357 fn new() -> CMsgRemoteClientAcceptEULA {
2358 CMsgRemoteClientAcceptEULA::new()
2359 }
2360
2361 fn clear(&mut self) {
2362 self.app_id.clear();
2363 self.eula_id.clear();
2364 self.eula_version.clear();
2365 self.special_fields.clear();
2366 }
2367
2368 fn default_instance() -> &'static CMsgRemoteClientAcceptEULA {
2369 static instance: CMsgRemoteClientAcceptEULA = CMsgRemoteClientAcceptEULA {
2370 app_id: ::std::vec::Vec::new(),
2371 eula_id: ::std::vec::Vec::new(),
2372 eula_version: ::std::vec::Vec::new(),
2373 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2374 };
2375 &instance
2376 }
2377}
2378
2379#[derive(PartialEq,Clone,Default,Debug)]
2381pub struct CMsgRemoteClientGetControllerConfig {
2382 pub app_id: ::std::option::Option<u32>,
2385 pub controller_index: ::std::option::Option<u32>,
2387 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2390}
2391
2392impl<'a> ::std::default::Default for &'a CMsgRemoteClientGetControllerConfig {
2393 fn default() -> &'a CMsgRemoteClientGetControllerConfig {
2394 <CMsgRemoteClientGetControllerConfig as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2395 }
2396}
2397
2398impl CMsgRemoteClientGetControllerConfig {
2399 pub fn new() -> CMsgRemoteClientGetControllerConfig {
2400 ::std::default::Default::default()
2401 }
2402
2403 pub fn app_id(&self) -> u32 {
2406 self.app_id.unwrap_or(0)
2407 }
2408
2409 pub fn clear_app_id(&mut self) {
2410 self.app_id = ::std::option::Option::None;
2411 }
2412
2413 pub fn has_app_id(&self) -> bool {
2414 self.app_id.is_some()
2415 }
2416
2417 pub fn set_app_id(&mut self, v: u32) {
2419 self.app_id = ::std::option::Option::Some(v);
2420 }
2421
2422 pub fn controller_index(&self) -> u32 {
2425 self.controller_index.unwrap_or(0)
2426 }
2427
2428 pub fn clear_controller_index(&mut self) {
2429 self.controller_index = ::std::option::Option::None;
2430 }
2431
2432 pub fn has_controller_index(&self) -> bool {
2433 self.controller_index.is_some()
2434 }
2435
2436 pub fn set_controller_index(&mut self, v: u32) {
2438 self.controller_index = ::std::option::Option::Some(v);
2439 }
2440}
2441
2442impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientGetControllerConfig {
2443 const NAME: &'static str = "CMsgRemoteClientGetControllerConfig";
2444
2445 fn is_initialized(&self) -> bool {
2446 true
2447 }
2448
2449 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2450 while let Some(tag) = is.read_raw_tag_or_eof()? {
2451 match tag {
2452 8 => {
2453 self.app_id = ::std::option::Option::Some(is.read_uint32()?);
2454 },
2455 24 => {
2456 self.controller_index = ::std::option::Option::Some(is.read_uint32()?);
2457 },
2458 tag => {
2459 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2460 },
2461 };
2462 }
2463 ::std::result::Result::Ok(())
2464 }
2465
2466 #[allow(unused_variables)]
2468 fn compute_size(&self) -> u64 {
2469 let mut my_size = 0;
2470 if let Some(v) = self.app_id {
2471 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2472 }
2473 if let Some(v) = self.controller_index {
2474 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
2475 }
2476 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2477 self.special_fields.cached_size().set(my_size as u32);
2478 my_size
2479 }
2480
2481 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2482 if let Some(v) = self.app_id {
2483 os.write_uint32(1, v)?;
2484 }
2485 if let Some(v) = self.controller_index {
2486 os.write_uint32(3, v)?;
2487 }
2488 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2489 ::std::result::Result::Ok(())
2490 }
2491
2492 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2493 &self.special_fields
2494 }
2495
2496 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2497 &mut self.special_fields
2498 }
2499
2500 fn new() -> CMsgRemoteClientGetControllerConfig {
2501 CMsgRemoteClientGetControllerConfig::new()
2502 }
2503
2504 fn clear(&mut self) {
2505 self.app_id = ::std::option::Option::None;
2506 self.controller_index = ::std::option::Option::None;
2507 self.special_fields.clear();
2508 }
2509
2510 fn default_instance() -> &'static CMsgRemoteClientGetControllerConfig {
2511 static instance: CMsgRemoteClientGetControllerConfig = CMsgRemoteClientGetControllerConfig {
2512 app_id: ::std::option::Option::None,
2513 controller_index: ::std::option::Option::None,
2514 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2515 };
2516 &instance
2517 }
2518}
2519
2520#[derive(PartialEq,Clone,Default,Debug)]
2522pub struct CMsgRemoteClientGetControllerConfigResponse {
2523 pub eresult: ::std::option::Option<i32>,
2526 pub config_vdf: ::std::option::Option<::std::vec::Vec<u8>>,
2528 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2531}
2532
2533impl<'a> ::std::default::Default for &'a CMsgRemoteClientGetControllerConfigResponse {
2534 fn default() -> &'a CMsgRemoteClientGetControllerConfigResponse {
2535 <CMsgRemoteClientGetControllerConfigResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2536 }
2537}
2538
2539impl CMsgRemoteClientGetControllerConfigResponse {
2540 pub fn new() -> CMsgRemoteClientGetControllerConfigResponse {
2541 ::std::default::Default::default()
2542 }
2543
2544 pub fn eresult(&self) -> i32 {
2547 self.eresult.unwrap_or(2i32)
2548 }
2549
2550 pub fn clear_eresult(&mut self) {
2551 self.eresult = ::std::option::Option::None;
2552 }
2553
2554 pub fn has_eresult(&self) -> bool {
2555 self.eresult.is_some()
2556 }
2557
2558 pub fn set_eresult(&mut self, v: i32) {
2560 self.eresult = ::std::option::Option::Some(v);
2561 }
2562
2563 pub fn config_vdf(&self) -> &[u8] {
2566 match self.config_vdf.as_ref() {
2567 Some(v) => v,
2568 None => &[],
2569 }
2570 }
2571
2572 pub fn clear_config_vdf(&mut self) {
2573 self.config_vdf = ::std::option::Option::None;
2574 }
2575
2576 pub fn has_config_vdf(&self) -> bool {
2577 self.config_vdf.is_some()
2578 }
2579
2580 pub fn set_config_vdf(&mut self, v: ::std::vec::Vec<u8>) {
2582 self.config_vdf = ::std::option::Option::Some(v);
2583 }
2584
2585 pub fn mut_config_vdf(&mut self) -> &mut ::std::vec::Vec<u8> {
2588 if self.config_vdf.is_none() {
2589 self.config_vdf = ::std::option::Option::Some(::std::vec::Vec::new());
2590 }
2591 self.config_vdf.as_mut().unwrap()
2592 }
2593
2594 pub fn take_config_vdf(&mut self) -> ::std::vec::Vec<u8> {
2596 self.config_vdf.take().unwrap_or_else(|| ::std::vec::Vec::new())
2597 }
2598}
2599
2600impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientGetControllerConfigResponse {
2601 const NAME: &'static str = "CMsgRemoteClientGetControllerConfigResponse";
2602
2603 fn is_initialized(&self) -> bool {
2604 true
2605 }
2606
2607 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2608 while let Some(tag) = is.read_raw_tag_or_eof()? {
2609 match tag {
2610 8 => {
2611 self.eresult = ::std::option::Option::Some(is.read_int32()?);
2612 },
2613 18 => {
2614 self.config_vdf = ::std::option::Option::Some(is.read_bytes()?);
2615 },
2616 tag => {
2617 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2618 },
2619 };
2620 }
2621 ::std::result::Result::Ok(())
2622 }
2623
2624 #[allow(unused_variables)]
2626 fn compute_size(&self) -> u64 {
2627 let mut my_size = 0;
2628 if let Some(v) = self.eresult {
2629 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
2630 }
2631 if let Some(v) = self.config_vdf.as_ref() {
2632 my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
2633 }
2634 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2635 self.special_fields.cached_size().set(my_size as u32);
2636 my_size
2637 }
2638
2639 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2640 if let Some(v) = self.eresult {
2641 os.write_int32(1, v)?;
2642 }
2643 if let Some(v) = self.config_vdf.as_ref() {
2644 os.write_bytes(2, v)?;
2645 }
2646 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2647 ::std::result::Result::Ok(())
2648 }
2649
2650 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2651 &self.special_fields
2652 }
2653
2654 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2655 &mut self.special_fields
2656 }
2657
2658 fn new() -> CMsgRemoteClientGetControllerConfigResponse {
2659 CMsgRemoteClientGetControllerConfigResponse::new()
2660 }
2661
2662 fn clear(&mut self) {
2663 self.eresult = ::std::option::Option::None;
2664 self.config_vdf = ::std::option::Option::None;
2665 self.special_fields.clear();
2666 }
2667
2668 fn default_instance() -> &'static CMsgRemoteClientGetControllerConfigResponse {
2669 static instance: CMsgRemoteClientGetControllerConfigResponse = CMsgRemoteClientGetControllerConfigResponse {
2670 eresult: ::std::option::Option::None,
2671 config_vdf: ::std::option::Option::None,
2672 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2673 };
2674 &instance
2675 }
2676}
2677
2678#[derive(PartialEq,Clone,Default,Debug)]
2680pub struct CMsgRemoteClientStreamingEnabled {
2681 pub enabled: ::std::option::Option<bool>,
2684 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2687}
2688
2689impl<'a> ::std::default::Default for &'a CMsgRemoteClientStreamingEnabled {
2690 fn default() -> &'a CMsgRemoteClientStreamingEnabled {
2691 <CMsgRemoteClientStreamingEnabled as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2692 }
2693}
2694
2695impl CMsgRemoteClientStreamingEnabled {
2696 pub fn new() -> CMsgRemoteClientStreamingEnabled {
2697 ::std::default::Default::default()
2698 }
2699
2700 pub fn enabled(&self) -> bool {
2703 self.enabled.unwrap_or(false)
2704 }
2705
2706 pub fn clear_enabled(&mut self) {
2707 self.enabled = ::std::option::Option::None;
2708 }
2709
2710 pub fn has_enabled(&self) -> bool {
2711 self.enabled.is_some()
2712 }
2713
2714 pub fn set_enabled(&mut self, v: bool) {
2716 self.enabled = ::std::option::Option::Some(v);
2717 }
2718}
2719
2720impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientStreamingEnabled {
2721 const NAME: &'static str = "CMsgRemoteClientStreamingEnabled";
2722
2723 fn is_initialized(&self) -> bool {
2724 if self.enabled.is_none() {
2725 return false;
2726 }
2727 true
2728 }
2729
2730 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2731 while let Some(tag) = is.read_raw_tag_or_eof()? {
2732 match tag {
2733 8 => {
2734 self.enabled = ::std::option::Option::Some(is.read_bool()?);
2735 },
2736 tag => {
2737 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2738 },
2739 };
2740 }
2741 ::std::result::Result::Ok(())
2742 }
2743
2744 #[allow(unused_variables)]
2746 fn compute_size(&self) -> u64 {
2747 let mut my_size = 0;
2748 if let Some(v) = self.enabled {
2749 my_size += 1 + 1;
2750 }
2751 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2752 self.special_fields.cached_size().set(my_size as u32);
2753 my_size
2754 }
2755
2756 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2757 if let Some(v) = self.enabled {
2758 os.write_bool(1, v)?;
2759 }
2760 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2761 ::std::result::Result::Ok(())
2762 }
2763
2764 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2765 &self.special_fields
2766 }
2767
2768 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2769 &mut self.special_fields
2770 }
2771
2772 fn new() -> CMsgRemoteClientStreamingEnabled {
2773 CMsgRemoteClientStreamingEnabled::new()
2774 }
2775
2776 fn clear(&mut self) {
2777 self.enabled = ::std::option::Option::None;
2778 self.special_fields.clear();
2779 }
2780
2781 fn default_instance() -> &'static CMsgRemoteClientStreamingEnabled {
2782 static instance: CMsgRemoteClientStreamingEnabled = CMsgRemoteClientStreamingEnabled {
2783 enabled: ::std::option::Option::None,
2784 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2785 };
2786 &instance
2787 }
2788}
2789
2790
2791const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
2792
2793#[allow(unused_imports)]
2794use crate::steammessages_base::*;
2795#[allow(unused_imports)]
2796use crate::steammessages_remoteclient_discovery::*;
2797impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientStatus {
2798 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2799 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2800 }
2801 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2802 use ::steam_vent_proto_common::protobuf::Message;
2803 self.write_to_writer(writer)
2804 }
2805 fn encode_size(&self) -> usize {
2806 use ::steam_vent_proto_common::protobuf::Message;
2807 self.compute_size() as usize
2808 }
2809}
2810impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientAppStatus {
2811 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2812 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2813 }
2814 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2815 use ::steam_vent_proto_common::protobuf::Message;
2816 self.write_to_writer(writer)
2817 }
2818 fn encode_size(&self) -> usize {
2819 use ::steam_vent_proto_common::protobuf::Message;
2820 self.compute_size() as usize
2821 }
2822}
2823impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientAppStatus {
2824 type KindEnum = crate::enums_clientserver::EMsg;
2825 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientAppStatus;
2826}
2827impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientStartStream {
2828 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2829 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2830 }
2831 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2832 use ::steam_vent_proto_common::protobuf::Message;
2833 self.write_to_writer(writer)
2834 }
2835 fn encode_size(&self) -> usize {
2836 use ::steam_vent_proto_common::protobuf::Message;
2837 self.compute_size() as usize
2838 }
2839}
2840impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientStartStream {
2841 type KindEnum = crate::enums_clientserver::EMsg;
2842 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientStartStream;
2843}
2844impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientStartStreamResponse {
2845 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2846 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2847 }
2848 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2849 use ::steam_vent_proto_common::protobuf::Message;
2850 self.write_to_writer(writer)
2851 }
2852 fn encode_size(&self) -> usize {
2853 use ::steam_vent_proto_common::protobuf::Message;
2854 self.compute_size() as usize
2855 }
2856}
2857impl ::steam_vent_proto_common::RpcMessageWithKind
2858for CMsgRemoteClientStartStreamResponse {
2859 type KindEnum = crate::enums_clientserver::EMsg;
2860 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientStartStreamResponse;
2861}
2862impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientPing {
2863 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2864 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2865 }
2866 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2867 use ::steam_vent_proto_common::protobuf::Message;
2868 self.write_to_writer(writer)
2869 }
2870 fn encode_size(&self) -> usize {
2871 use ::steam_vent_proto_common::protobuf::Message;
2872 self.compute_size() as usize
2873 }
2874}
2875impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientPing {
2876 type KindEnum = crate::enums_clientserver::EMsg;
2877 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientPing;
2878}
2879impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientPingResponse {
2880 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2881 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2882 }
2883 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2884 use ::steam_vent_proto_common::protobuf::Message;
2885 self.write_to_writer(writer)
2886 }
2887 fn encode_size(&self) -> usize {
2888 use ::steam_vent_proto_common::protobuf::Message;
2889 self.compute_size() as usize
2890 }
2891}
2892impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientPingResponse {
2893 type KindEnum = crate::enums_clientserver::EMsg;
2894 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientPingResponse;
2895}
2896impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientAcceptEULA {
2897 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2898 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2899 }
2900 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2901 use ::steam_vent_proto_common::protobuf::Message;
2902 self.write_to_writer(writer)
2903 }
2904 fn encode_size(&self) -> usize {
2905 use ::steam_vent_proto_common::protobuf::Message;
2906 self.compute_size() as usize
2907 }
2908}
2909impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientAcceptEULA {
2910 type KindEnum = crate::enums_clientserver::EMsg;
2911 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientAcceptEULA;
2912}
2913impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientGetControllerConfig {
2914 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2915 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2916 }
2917 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2918 use ::steam_vent_proto_common::protobuf::Message;
2919 self.write_to_writer(writer)
2920 }
2921 fn encode_size(&self) -> usize {
2922 use ::steam_vent_proto_common::protobuf::Message;
2923 self.compute_size() as usize
2924 }
2925}
2926impl ::steam_vent_proto_common::RpcMessageWithKind
2927for CMsgRemoteClientGetControllerConfig {
2928 type KindEnum = crate::enums_clientserver::EMsg;
2929 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientGetControllerConfig;
2930}
2931impl ::steam_vent_proto_common::RpcMessage
2932for CMsgRemoteClientGetControllerConfigResponse {
2933 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2934 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2935 }
2936 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2937 use ::steam_vent_proto_common::protobuf::Message;
2938 self.write_to_writer(writer)
2939 }
2940 fn encode_size(&self) -> usize {
2941 use ::steam_vent_proto_common::protobuf::Message;
2942 self.compute_size() as usize
2943 }
2944}
2945impl ::steam_vent_proto_common::RpcMessageWithKind
2946for CMsgRemoteClientGetControllerConfigResponse {
2947 type KindEnum = crate::enums_clientserver::EMsg;
2948 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientGetControllerConfigResponse;
2949}
2950impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientStreamingEnabled {
2951 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2952 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2953 }
2954 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2955 use ::steam_vent_proto_common::protobuf::Message;
2956 self.write_to_writer(writer)
2957 }
2958 fn encode_size(&self) -> usize {
2959 use ::steam_vent_proto_common::protobuf::Message;
2960 self.compute_size() as usize
2961 }
2962}
2963impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientStreamingEnabled {
2964 type KindEnum = crate::enums_clientserver::EMsg;
2965 const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientStreamingEnabled;
2966}