steam_vent_proto_steam/generated/
webuimessages_sharedjscontext.rs

1// This file is generated by rust-protobuf 3.5.1. Do not edit
2// .proto file is parsed by pure
3// @generated
4
5// https://github.com/rust-lang/rust-clippy/issues/702
6#![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
21//! Generated file from `webuimessages_sharedjscontext.proto`
22// Generated for lite runtime
23
24/// Generated files are compatible only with the same version
25/// of protobuf runtime.
26const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
27
28// @@protoc_insertion_point(message:CSharedJSContext_GetDesiredSteamUIWindows_Request)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CSharedJSContext_GetDesiredSteamUIWindows_Request {
31    // special fields
32    // @@protoc_insertion_point(special_field:CSharedJSContext_GetDesiredSteamUIWindows_Request.special_fields)
33    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
34}
35
36impl<'a> ::std::default::Default for &'a CSharedJSContext_GetDesiredSteamUIWindows_Request {
37    fn default() -> &'a CSharedJSContext_GetDesiredSteamUIWindows_Request {
38        <CSharedJSContext_GetDesiredSteamUIWindows_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
39    }
40}
41
42impl CSharedJSContext_GetDesiredSteamUIWindows_Request {
43    pub fn new() -> CSharedJSContext_GetDesiredSteamUIWindows_Request {
44        ::std::default::Default::default()
45    }
46}
47
48impl ::steam_vent_proto_common::protobuf::Message for CSharedJSContext_GetDesiredSteamUIWindows_Request {
49    const NAME: &'static str = "CSharedJSContext_GetDesiredSteamUIWindows_Request";
50
51    fn is_initialized(&self) -> bool {
52        true
53    }
54
55    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
56        while let Some(tag) = is.read_raw_tag_or_eof()? {
57            match tag {
58                tag => {
59                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
60                },
61            };
62        }
63        ::std::result::Result::Ok(())
64    }
65
66    // Compute sizes of nested messages
67    #[allow(unused_variables)]
68    fn compute_size(&self) -> u64 {
69        let mut my_size = 0;
70        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
71        self.special_fields.cached_size().set(my_size as u32);
72        my_size
73    }
74
75    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
76        os.write_unknown_fields(self.special_fields.unknown_fields())?;
77        ::std::result::Result::Ok(())
78    }
79
80    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
81        &self.special_fields
82    }
83
84    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
85        &mut self.special_fields
86    }
87
88    fn new() -> CSharedJSContext_GetDesiredSteamUIWindows_Request {
89        CSharedJSContext_GetDesiredSteamUIWindows_Request::new()
90    }
91
92    fn clear(&mut self) {
93        self.special_fields.clear();
94    }
95
96    fn default_instance() -> &'static CSharedJSContext_GetDesiredSteamUIWindows_Request {
97        static instance: CSharedJSContext_GetDesiredSteamUIWindows_Request = CSharedJSContext_GetDesiredSteamUIWindows_Request {
98            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
99        };
100        &instance
101    }
102}
103
104// @@protoc_insertion_point(message:CMsgSteamUIBrowserWindow)
105#[derive(PartialEq,Clone,Default,Debug)]
106pub struct CMsgSteamUIBrowserWindow {
107    // message fields
108    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.id)
109    pub id: ::std::option::Option<i32>,
110    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.pid)
111    pub pid: ::std::option::Option<i32>,
112    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.browser_id)
113    pub browser_id: ::std::option::Option<i32>,
114    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.window_type)
115    pub window_type: ::std::option::Option<i32>,
116    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.x)
117    pub x: ::std::option::Option<i32>,
118    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.y)
119    pub y: ::std::option::Option<i32>,
120    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.appid)
121    pub appid: ::std::option::Option<u64>,
122    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.parent_window_handle)
123    pub parent_window_handle: ::std::option::Option<u64>,
124    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.app_name)
125    pub app_name: ::std::option::Option<::std::string::String>,
126    // @@protoc_insertion_point(field:CMsgSteamUIBrowserWindow.gamepadui_via_gamescope)
127    pub gamepadui_via_gamescope: ::std::option::Option<bool>,
128    // special fields
129    // @@protoc_insertion_point(special_field:CMsgSteamUIBrowserWindow.special_fields)
130    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
131}
132
133impl<'a> ::std::default::Default for &'a CMsgSteamUIBrowserWindow {
134    fn default() -> &'a CMsgSteamUIBrowserWindow {
135        <CMsgSteamUIBrowserWindow as ::steam_vent_proto_common::protobuf::Message>::default_instance()
136    }
137}
138
139impl CMsgSteamUIBrowserWindow {
140    pub fn new() -> CMsgSteamUIBrowserWindow {
141        ::std::default::Default::default()
142    }
143
144    // optional int32 id = 1;
145
146    pub fn id(&self) -> i32 {
147        self.id.unwrap_or(0)
148    }
149
150    pub fn clear_id(&mut self) {
151        self.id = ::std::option::Option::None;
152    }
153
154    pub fn has_id(&self) -> bool {
155        self.id.is_some()
156    }
157
158    // Param is passed by value, moved
159    pub fn set_id(&mut self, v: i32) {
160        self.id = ::std::option::Option::Some(v);
161    }
162
163    // optional int32 pid = 2;
164
165    pub fn pid(&self) -> i32 {
166        self.pid.unwrap_or(0)
167    }
168
169    pub fn clear_pid(&mut self) {
170        self.pid = ::std::option::Option::None;
171    }
172
173    pub fn has_pid(&self) -> bool {
174        self.pid.is_some()
175    }
176
177    // Param is passed by value, moved
178    pub fn set_pid(&mut self, v: i32) {
179        self.pid = ::std::option::Option::Some(v);
180    }
181
182    // optional int32 browser_id = 3;
183
184    pub fn browser_id(&self) -> i32 {
185        self.browser_id.unwrap_or(0)
186    }
187
188    pub fn clear_browser_id(&mut self) {
189        self.browser_id = ::std::option::Option::None;
190    }
191
192    pub fn has_browser_id(&self) -> bool {
193        self.browser_id.is_some()
194    }
195
196    // Param is passed by value, moved
197    pub fn set_browser_id(&mut self, v: i32) {
198        self.browser_id = ::std::option::Option::Some(v);
199    }
200
201    // optional int32 window_type = 4;
202
203    pub fn window_type(&self) -> i32 {
204        self.window_type.unwrap_or(0)
205    }
206
207    pub fn clear_window_type(&mut self) {
208        self.window_type = ::std::option::Option::None;
209    }
210
211    pub fn has_window_type(&self) -> bool {
212        self.window_type.is_some()
213    }
214
215    // Param is passed by value, moved
216    pub fn set_window_type(&mut self, v: i32) {
217        self.window_type = ::std::option::Option::Some(v);
218    }
219
220    // optional int32 x = 5;
221
222    pub fn x(&self) -> i32 {
223        self.x.unwrap_or(0)
224    }
225
226    pub fn clear_x(&mut self) {
227        self.x = ::std::option::Option::None;
228    }
229
230    pub fn has_x(&self) -> bool {
231        self.x.is_some()
232    }
233
234    // Param is passed by value, moved
235    pub fn set_x(&mut self, v: i32) {
236        self.x = ::std::option::Option::Some(v);
237    }
238
239    // optional int32 y = 6;
240
241    pub fn y(&self) -> i32 {
242        self.y.unwrap_or(0)
243    }
244
245    pub fn clear_y(&mut self) {
246        self.y = ::std::option::Option::None;
247    }
248
249    pub fn has_y(&self) -> bool {
250        self.y.is_some()
251    }
252
253    // Param is passed by value, moved
254    pub fn set_y(&mut self, v: i32) {
255        self.y = ::std::option::Option::Some(v);
256    }
257
258    // optional uint64 appid = 7;
259
260    pub fn appid(&self) -> u64 {
261        self.appid.unwrap_or(0)
262    }
263
264    pub fn clear_appid(&mut self) {
265        self.appid = ::std::option::Option::None;
266    }
267
268    pub fn has_appid(&self) -> bool {
269        self.appid.is_some()
270    }
271
272    // Param is passed by value, moved
273    pub fn set_appid(&mut self, v: u64) {
274        self.appid = ::std::option::Option::Some(v);
275    }
276
277    // optional uint64 parent_window_handle = 8;
278
279    pub fn parent_window_handle(&self) -> u64 {
280        self.parent_window_handle.unwrap_or(0)
281    }
282
283    pub fn clear_parent_window_handle(&mut self) {
284        self.parent_window_handle = ::std::option::Option::None;
285    }
286
287    pub fn has_parent_window_handle(&self) -> bool {
288        self.parent_window_handle.is_some()
289    }
290
291    // Param is passed by value, moved
292    pub fn set_parent_window_handle(&mut self, v: u64) {
293        self.parent_window_handle = ::std::option::Option::Some(v);
294    }
295
296    // optional string app_name = 9;
297
298    pub fn app_name(&self) -> &str {
299        match self.app_name.as_ref() {
300            Some(v) => v,
301            None => "",
302        }
303    }
304
305    pub fn clear_app_name(&mut self) {
306        self.app_name = ::std::option::Option::None;
307    }
308
309    pub fn has_app_name(&self) -> bool {
310        self.app_name.is_some()
311    }
312
313    // Param is passed by value, moved
314    pub fn set_app_name(&mut self, v: ::std::string::String) {
315        self.app_name = ::std::option::Option::Some(v);
316    }
317
318    // Mutable pointer to the field.
319    // If field is not initialized, it is initialized with default value first.
320    pub fn mut_app_name(&mut self) -> &mut ::std::string::String {
321        if self.app_name.is_none() {
322            self.app_name = ::std::option::Option::Some(::std::string::String::new());
323        }
324        self.app_name.as_mut().unwrap()
325    }
326
327    // Take field
328    pub fn take_app_name(&mut self) -> ::std::string::String {
329        self.app_name.take().unwrap_or_else(|| ::std::string::String::new())
330    }
331
332    // optional bool gamepadui_via_gamescope = 10;
333
334    pub fn gamepadui_via_gamescope(&self) -> bool {
335        self.gamepadui_via_gamescope.unwrap_or(false)
336    }
337
338    pub fn clear_gamepadui_via_gamescope(&mut self) {
339        self.gamepadui_via_gamescope = ::std::option::Option::None;
340    }
341
342    pub fn has_gamepadui_via_gamescope(&self) -> bool {
343        self.gamepadui_via_gamescope.is_some()
344    }
345
346    // Param is passed by value, moved
347    pub fn set_gamepadui_via_gamescope(&mut self, v: bool) {
348        self.gamepadui_via_gamescope = ::std::option::Option::Some(v);
349    }
350}
351
352impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamUIBrowserWindow {
353    const NAME: &'static str = "CMsgSteamUIBrowserWindow";
354
355    fn is_initialized(&self) -> bool {
356        true
357    }
358
359    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
360        while let Some(tag) = is.read_raw_tag_or_eof()? {
361            match tag {
362                8 => {
363                    self.id = ::std::option::Option::Some(is.read_int32()?);
364                },
365                16 => {
366                    self.pid = ::std::option::Option::Some(is.read_int32()?);
367                },
368                24 => {
369                    self.browser_id = ::std::option::Option::Some(is.read_int32()?);
370                },
371                32 => {
372                    self.window_type = ::std::option::Option::Some(is.read_int32()?);
373                },
374                40 => {
375                    self.x = ::std::option::Option::Some(is.read_int32()?);
376                },
377                48 => {
378                    self.y = ::std::option::Option::Some(is.read_int32()?);
379                },
380                56 => {
381                    self.appid = ::std::option::Option::Some(is.read_uint64()?);
382                },
383                64 => {
384                    self.parent_window_handle = ::std::option::Option::Some(is.read_uint64()?);
385                },
386                74 => {
387                    self.app_name = ::std::option::Option::Some(is.read_string()?);
388                },
389                80 => {
390                    self.gamepadui_via_gamescope = ::std::option::Option::Some(is.read_bool()?);
391                },
392                tag => {
393                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
394                },
395            };
396        }
397        ::std::result::Result::Ok(())
398    }
399
400    // Compute sizes of nested messages
401    #[allow(unused_variables)]
402    fn compute_size(&self) -> u64 {
403        let mut my_size = 0;
404        if let Some(v) = self.id {
405            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
406        }
407        if let Some(v) = self.pid {
408            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
409        }
410        if let Some(v) = self.browser_id {
411            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
412        }
413        if let Some(v) = self.window_type {
414            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
415        }
416        if let Some(v) = self.x {
417            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
418        }
419        if let Some(v) = self.y {
420            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
421        }
422        if let Some(v) = self.appid {
423            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(7, v);
424        }
425        if let Some(v) = self.parent_window_handle {
426            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
427        }
428        if let Some(v) = self.app_name.as_ref() {
429            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
430        }
431        if let Some(v) = self.gamepadui_via_gamescope {
432            my_size += 1 + 1;
433        }
434        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
435        self.special_fields.cached_size().set(my_size as u32);
436        my_size
437    }
438
439    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
440        if let Some(v) = self.id {
441            os.write_int32(1, v)?;
442        }
443        if let Some(v) = self.pid {
444            os.write_int32(2, v)?;
445        }
446        if let Some(v) = self.browser_id {
447            os.write_int32(3, v)?;
448        }
449        if let Some(v) = self.window_type {
450            os.write_int32(4, v)?;
451        }
452        if let Some(v) = self.x {
453            os.write_int32(5, v)?;
454        }
455        if let Some(v) = self.y {
456            os.write_int32(6, v)?;
457        }
458        if let Some(v) = self.appid {
459            os.write_uint64(7, v)?;
460        }
461        if let Some(v) = self.parent_window_handle {
462            os.write_uint64(8, v)?;
463        }
464        if let Some(v) = self.app_name.as_ref() {
465            os.write_string(9, v)?;
466        }
467        if let Some(v) = self.gamepadui_via_gamescope {
468            os.write_bool(10, v)?;
469        }
470        os.write_unknown_fields(self.special_fields.unknown_fields())?;
471        ::std::result::Result::Ok(())
472    }
473
474    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
475        &self.special_fields
476    }
477
478    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
479        &mut self.special_fields
480    }
481
482    fn new() -> CMsgSteamUIBrowserWindow {
483        CMsgSteamUIBrowserWindow::new()
484    }
485
486    fn clear(&mut self) {
487        self.id = ::std::option::Option::None;
488        self.pid = ::std::option::Option::None;
489        self.browser_id = ::std::option::Option::None;
490        self.window_type = ::std::option::Option::None;
491        self.x = ::std::option::Option::None;
492        self.y = ::std::option::Option::None;
493        self.appid = ::std::option::Option::None;
494        self.parent_window_handle = ::std::option::Option::None;
495        self.app_name = ::std::option::Option::None;
496        self.gamepadui_via_gamescope = ::std::option::Option::None;
497        self.special_fields.clear();
498    }
499
500    fn default_instance() -> &'static CMsgSteamUIBrowserWindow {
501        static instance: CMsgSteamUIBrowserWindow = CMsgSteamUIBrowserWindow {
502            id: ::std::option::Option::None,
503            pid: ::std::option::Option::None,
504            browser_id: ::std::option::Option::None,
505            window_type: ::std::option::Option::None,
506            x: ::std::option::Option::None,
507            y: ::std::option::Option::None,
508            appid: ::std::option::Option::None,
509            parent_window_handle: ::std::option::Option::None,
510            app_name: ::std::option::Option::None,
511            gamepadui_via_gamescope: ::std::option::Option::None,
512            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
513        };
514        &instance
515    }
516}
517
518// @@protoc_insertion_point(message:CSharedJSContext_GetDesiredSteamUIWindows_Response)
519#[derive(PartialEq,Clone,Default,Debug)]
520pub struct CSharedJSContext_GetDesiredSteamUIWindows_Response {
521    // message fields
522    // @@protoc_insertion_point(field:CSharedJSContext_GetDesiredSteamUIWindows_Response.windows)
523    pub windows: ::std::vec::Vec<CMsgSteamUIBrowserWindow>,
524    // special fields
525    // @@protoc_insertion_point(special_field:CSharedJSContext_GetDesiredSteamUIWindows_Response.special_fields)
526    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
527}
528
529impl<'a> ::std::default::Default for &'a CSharedJSContext_GetDesiredSteamUIWindows_Response {
530    fn default() -> &'a CSharedJSContext_GetDesiredSteamUIWindows_Response {
531        <CSharedJSContext_GetDesiredSteamUIWindows_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
532    }
533}
534
535impl CSharedJSContext_GetDesiredSteamUIWindows_Response {
536    pub fn new() -> CSharedJSContext_GetDesiredSteamUIWindows_Response {
537        ::std::default::Default::default()
538    }
539}
540
541impl ::steam_vent_proto_common::protobuf::Message for CSharedJSContext_GetDesiredSteamUIWindows_Response {
542    const NAME: &'static str = "CSharedJSContext_GetDesiredSteamUIWindows_Response";
543
544    fn is_initialized(&self) -> bool {
545        true
546    }
547
548    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
549        while let Some(tag) = is.read_raw_tag_or_eof()? {
550            match tag {
551                10 => {
552                    self.windows.push(is.read_message()?);
553                },
554                tag => {
555                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
556                },
557            };
558        }
559        ::std::result::Result::Ok(())
560    }
561
562    // Compute sizes of nested messages
563    #[allow(unused_variables)]
564    fn compute_size(&self) -> u64 {
565        let mut my_size = 0;
566        for value in &self.windows {
567            let len = value.compute_size();
568            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
569        };
570        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
571        self.special_fields.cached_size().set(my_size as u32);
572        my_size
573    }
574
575    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
576        for v in &self.windows {
577            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
578        };
579        os.write_unknown_fields(self.special_fields.unknown_fields())?;
580        ::std::result::Result::Ok(())
581    }
582
583    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
584        &self.special_fields
585    }
586
587    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
588        &mut self.special_fields
589    }
590
591    fn new() -> CSharedJSContext_GetDesiredSteamUIWindows_Response {
592        CSharedJSContext_GetDesiredSteamUIWindows_Response::new()
593    }
594
595    fn clear(&mut self) {
596        self.windows.clear();
597        self.special_fields.clear();
598    }
599
600    fn default_instance() -> &'static CSharedJSContext_GetDesiredSteamUIWindows_Response {
601        static instance: CSharedJSContext_GetDesiredSteamUIWindows_Response = CSharedJSContext_GetDesiredSteamUIWindows_Response {
602            windows: ::std::vec::Vec::new(),
603            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
604        };
605        &instance
606    }
607}
608
609
610const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
611
612#[allow(unused_imports)]
613use crate::enums::*;
614#[allow(unused_imports)]
615use crate::steammessages_base::*;
616#[allow(unused_imports)]
617use crate::webuimessages_base::*;
618impl ::steam_vent_proto_common::RpcMessage
619for CSharedJSContext_GetDesiredSteamUIWindows_Request {
620    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
621        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
622    }
623    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
624        use ::steam_vent_proto_common::protobuf::Message;
625        self.write_to_writer(writer)
626    }
627    fn encode_size(&self) -> usize {
628        use ::steam_vent_proto_common::protobuf::Message;
629        self.compute_size() as usize
630    }
631}
632impl ::steam_vent_proto_common::RpcMessage for CMsgSteamUIBrowserWindow {
633    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
634        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
635    }
636    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
637        use ::steam_vent_proto_common::protobuf::Message;
638        self.write_to_writer(writer)
639    }
640    fn encode_size(&self) -> usize {
641        use ::steam_vent_proto_common::protobuf::Message;
642        self.compute_size() as usize
643    }
644}
645impl ::steam_vent_proto_common::RpcMessage
646for CSharedJSContext_GetDesiredSteamUIWindows_Response {
647    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
648        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
649    }
650    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
651        use ::steam_vent_proto_common::protobuf::Message;
652        self.write_to_writer(writer)
653    }
654    fn encode_size(&self) -> usize {
655        use ::steam_vent_proto_common::protobuf::Message;
656        self.compute_size() as usize
657    }
658}
659///
660struct SharedJSContext {}
661impl ::steam_vent_proto_common::RpcService for SharedJSContext {
662    const SERVICE_NAME: &'static str = "SharedJSContext";
663}
664impl ::steam_vent_proto_common::RpcMethod
665for CSharedJSContext_GetDesiredSteamUIWindows_Request {
666    const METHOD_NAME: &'static str = "SharedJSContext.GetDesiredSteamUIWindows#1";
667    type Response = CSharedJSContext_GetDesiredSteamUIWindows_Response;
668}