mirror of
https://codeberg.org/steam-vent/proto.git
synced 2026-06-03 18:24:07 +02:00
Update to latest proto definitions from SteamDatabase/Protobufs
From commit 085746bbf6b48d1b89b7a63e7876932793f4c08f
This commit is contained in:
parent
8634a44673
commit
8ce47e5e16
127 changed files with 40662 additions and 28630 deletions
|
|
@ -965,8 +965,6 @@ impl ::std::default::Default for EContentHubDiscountFilterType {
|
|||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use crate::steammessages_base::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for CStorePageFilter {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -17,6 +17,7 @@ pub mod steammessages_auth_steamclient;
|
|||
pub mod steammessages_base;
|
||||
pub mod steammessages_broadcast_steamclient;
|
||||
pub mod steammessages_chat_steamclient;
|
||||
pub mod steammessages_childprocessquery;
|
||||
pub mod steammessages_client_objects;
|
||||
pub mod steammessages_clientlanp2p;
|
||||
pub mod steammessages_clientmetrics_steamclient;
|
||||
|
|
@ -41,7 +42,6 @@ pub mod steammessages_contentsystem_steamclient;
|
|||
pub mod steammessages_credentials_steamclient;
|
||||
pub mod steammessages_datapublisher_steamclient;
|
||||
pub mod steammessages_depotbuilder_steamclient;
|
||||
pub mod steammessages_deviceauth_steamclient;
|
||||
pub mod steammessages_econ_steamclient;
|
||||
pub mod steammessages_familygroups_steamclient;
|
||||
pub mod steammessages_friendmessages_steamclient;
|
||||
|
|
@ -76,7 +76,6 @@ pub mod steammessages_shader_steamclient;
|
|||
pub mod steammessages_site_license_steamclient;
|
||||
pub mod steammessages_sitelicenseclient;
|
||||
pub mod steammessages_siteserverui;
|
||||
pub mod steammessages_star_steamclient;
|
||||
pub mod steammessages_steamtv_steamclient;
|
||||
pub mod steammessages_store_steamclient;
|
||||
pub mod steammessages_storebrowse_steamclient;
|
||||
|
|
@ -99,8 +98,10 @@ pub mod webuimessages_gamenotes;
|
|||
pub mod webuimessages_gamerecording;
|
||||
pub mod webuimessages_gamerecordingfiles;
|
||||
pub mod webuimessages_gamescope;
|
||||
pub mod webuimessages_services;
|
||||
pub mod webuimessages_hardwareupdate;
|
||||
pub mod webuimessages_leds;
|
||||
pub mod webuimessages_sharedjscontext;
|
||||
pub mod webuimessages_sleep;
|
||||
pub mod webuimessages_steamengine;
|
||||
pub mod webuimessages_steaminput;
|
||||
pub mod webuimessages_steamos;
|
||||
|
|
|
|||
|
|
@ -447,6 +447,14 @@ pub struct CMsgSteamDatagramRouterPingReply {
|
|||
pub seconds_until_shutdown: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.client_cookie)
|
||||
pub client_cookie: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.recv_tos)
|
||||
pub recv_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.echo_sent_tos)
|
||||
pub echo_sent_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.sent_tos)
|
||||
pub sent_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.echo_request_reply_tos)
|
||||
pub echo_request_reply_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.scoring_penalty_relay_cluster)
|
||||
pub scoring_penalty_relay_cluster: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.flags)
|
||||
|
|
@ -457,6 +465,8 @@ pub struct CMsgSteamDatagramRouterPingReply {
|
|||
pub alt_addresses: ::std::vec::Vec<cmsg_steam_datagram_router_ping_reply::AltAddress>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.dummy_pad)
|
||||
pub dummy_pad: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.dummy_varint)
|
||||
pub dummy_varint: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgSteamDatagramRouterPingReply.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -606,6 +616,82 @@ impl CMsgSteamDatagramRouterPingReply {
|
|||
self.client_cookie = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 recv_tos = 16;
|
||||
|
||||
pub fn recv_tos(&self) -> u32 {
|
||||
self.recv_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_recv_tos(&mut self) {
|
||||
self.recv_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_recv_tos(&self) -> bool {
|
||||
self.recv_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_recv_tos(&mut self, v: u32) {
|
||||
self.recv_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 echo_sent_tos = 17;
|
||||
|
||||
pub fn echo_sent_tos(&self) -> u32 {
|
||||
self.echo_sent_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_echo_sent_tos(&mut self) {
|
||||
self.echo_sent_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_echo_sent_tos(&self) -> bool {
|
||||
self.echo_sent_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_echo_sent_tos(&mut self, v: u32) {
|
||||
self.echo_sent_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 sent_tos = 18;
|
||||
|
||||
pub fn sent_tos(&self) -> u32 {
|
||||
self.sent_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_sent_tos(&mut self) {
|
||||
self.sent_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_sent_tos(&self) -> bool {
|
||||
self.sent_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_sent_tos(&mut self, v: u32) {
|
||||
self.sent_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 echo_request_reply_tos = 19;
|
||||
|
||||
pub fn echo_request_reply_tos(&self) -> u32 {
|
||||
self.echo_request_reply_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_echo_request_reply_tos(&mut self) {
|
||||
self.echo_request_reply_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_echo_request_reply_tos(&self) -> bool {
|
||||
self.echo_request_reply_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_echo_request_reply_tos(&mut self, v: u32) {
|
||||
self.echo_request_reply_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 scoring_penalty_relay_cluster = 9;
|
||||
|
||||
pub fn scoring_penalty_relay_cluster(&self) -> u32 {
|
||||
|
|
@ -679,6 +765,25 @@ impl CMsgSteamDatagramRouterPingReply {
|
|||
pub fn take_dummy_pad(&mut self) -> ::std::vec::Vec<u8> {
|
||||
self.dummy_pad.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||
}
|
||||
|
||||
// optional uint64 dummy_varint = 100;
|
||||
|
||||
pub fn dummy_varint(&self) -> u64 {
|
||||
self.dummy_varint.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_dummy_varint(&mut self) {
|
||||
self.dummy_varint = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_dummy_varint(&self) -> bool {
|
||||
self.dummy_varint.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_dummy_varint(&mut self, v: u64) {
|
||||
self.dummy_varint = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPingReply {
|
||||
|
|
@ -736,6 +841,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
69 => {
|
||||
self.client_cookie = ::std::option::Option::Some(is.read_fixed32()?);
|
||||
},
|
||||
128 => {
|
||||
self.recv_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
136 => {
|
||||
self.echo_sent_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
144 => {
|
||||
self.sent_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
152 => {
|
||||
self.echo_request_reply_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
72 => {
|
||||
self.scoring_penalty_relay_cluster = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
|
|
@ -751,6 +868,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
794 => {
|
||||
self.dummy_pad = ::std::option::Option::Some(is.read_bytes()?);
|
||||
},
|
||||
800 => {
|
||||
self.dummy_varint = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -788,6 +908,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.client_cookie {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.recv_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(16, v);
|
||||
}
|
||||
if let Some(v) = self.echo_sent_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(17, v);
|
||||
}
|
||||
if let Some(v) = self.sent_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(18, v);
|
||||
}
|
||||
if let Some(v) = self.echo_request_reply_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(19, v);
|
||||
}
|
||||
if let Some(v) = self.scoring_penalty_relay_cluster {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(9, v);
|
||||
}
|
||||
|
|
@ -805,6 +937,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.dummy_pad.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(99, &v);
|
||||
}
|
||||
if let Some(v) = self.dummy_varint {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(100, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -836,6 +971,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.client_cookie {
|
||||
os.write_fixed32(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.recv_tos {
|
||||
os.write_uint32(16, v)?;
|
||||
}
|
||||
if let Some(v) = self.echo_sent_tos {
|
||||
os.write_uint32(17, v)?;
|
||||
}
|
||||
if let Some(v) = self.sent_tos {
|
||||
os.write_uint32(18, v)?;
|
||||
}
|
||||
if let Some(v) = self.echo_request_reply_tos {
|
||||
os.write_uint32(19, v)?;
|
||||
}
|
||||
if let Some(v) = self.scoring_penalty_relay_cluster {
|
||||
os.write_uint32(9, v)?;
|
||||
}
|
||||
|
|
@ -851,6 +998,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.dummy_pad.as_ref() {
|
||||
os.write_bytes(99, v)?;
|
||||
}
|
||||
if let Some(v) = self.dummy_varint {
|
||||
os.write_uint64(100, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -879,11 +1029,16 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
self.challenge = ::std::option::Option::None;
|
||||
self.seconds_until_shutdown = ::std::option::Option::None;
|
||||
self.client_cookie = ::std::option::Option::None;
|
||||
self.recv_tos = ::std::option::Option::None;
|
||||
self.echo_sent_tos = ::std::option::Option::None;
|
||||
self.sent_tos = ::std::option::Option::None;
|
||||
self.echo_request_reply_tos = ::std::option::Option::None;
|
||||
self.scoring_penalty_relay_cluster = ::std::option::Option::None;
|
||||
self.flags = ::std::option::Option::None;
|
||||
self.route_exceptions.clear();
|
||||
self.alt_addresses.clear();
|
||||
self.dummy_pad = ::std::option::Option::None;
|
||||
self.dummy_varint = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -900,11 +1055,16 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
challenge: ::std::option::Option::None,
|
||||
seconds_until_shutdown: ::std::option::Option::None,
|
||||
client_cookie: ::std::option::Option::None,
|
||||
recv_tos: ::std::option::Option::None,
|
||||
echo_sent_tos: ::std::option::Option::None,
|
||||
sent_tos: ::std::option::Option::None,
|
||||
echo_request_reply_tos: ::std::option::Option::None,
|
||||
scoring_penalty_relay_cluster: ::std::option::Option::None,
|
||||
flags: ::std::option::Option::None,
|
||||
route_exceptions: ::std::vec::Vec::new(),
|
||||
alt_addresses: ::std::vec::Vec::new(),
|
||||
dummy_pad: ::std::option::Option::None,
|
||||
dummy_varint: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -3067,6 +3227,230 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramNoSession
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgTOSTreatment)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgTOSTreatment {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgTOSTreatment.l4s_detect)
|
||||
pub l4s_detect: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgTOSTreatment.up_ecn1)
|
||||
pub up_ecn1: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgTOSTreatment.down_dscp45)
|
||||
pub down_dscp45: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgTOSTreatment.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgTOSTreatment {
|
||||
fn default() -> &'a CMsgTOSTreatment {
|
||||
<CMsgTOSTreatment as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgTOSTreatment {
|
||||
pub fn new() -> CMsgTOSTreatment {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string l4s_detect = 1;
|
||||
|
||||
pub fn l4s_detect(&self) -> &str {
|
||||
match self.l4s_detect.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_l4s_detect(&mut self) {
|
||||
self.l4s_detect = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_l4s_detect(&self) -> bool {
|
||||
self.l4s_detect.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_l4s_detect(&mut self, v: ::std::string::String) {
|
||||
self.l4s_detect = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_l4s_detect(&mut self) -> &mut ::std::string::String {
|
||||
if self.l4s_detect.is_none() {
|
||||
self.l4s_detect = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.l4s_detect.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_l4s_detect(&mut self) -> ::std::string::String {
|
||||
self.l4s_detect.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string up_ecn1 = 2;
|
||||
|
||||
pub fn up_ecn1(&self) -> &str {
|
||||
match self.up_ecn1.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_up_ecn1(&mut self) {
|
||||
self.up_ecn1 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_up_ecn1(&self) -> bool {
|
||||
self.up_ecn1.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_up_ecn1(&mut self, v: ::std::string::String) {
|
||||
self.up_ecn1 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_up_ecn1(&mut self) -> &mut ::std::string::String {
|
||||
if self.up_ecn1.is_none() {
|
||||
self.up_ecn1 = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.up_ecn1.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_up_ecn1(&mut self) -> ::std::string::String {
|
||||
self.up_ecn1.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string down_dscp45 = 3;
|
||||
|
||||
pub fn down_dscp45(&self) -> &str {
|
||||
match self.down_dscp45.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_down_dscp45(&mut self) {
|
||||
self.down_dscp45 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_down_dscp45(&self) -> bool {
|
||||
self.down_dscp45.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_down_dscp45(&mut self, v: ::std::string::String) {
|
||||
self.down_dscp45 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_down_dscp45(&mut self) -> &mut ::std::string::String {
|
||||
if self.down_dscp45.is_none() {
|
||||
self.down_dscp45 = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.down_dscp45.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_down_dscp45(&mut self) -> ::std::string::String {
|
||||
self.down_dscp45.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgTOSTreatment {
|
||||
const NAME: &'static str = "CMsgTOSTreatment";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.l4s_detect = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.up_ecn1 = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
26 => {
|
||||
self.down_dscp45 = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.l4s_detect.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.up_ecn1.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.down_dscp45.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.l4s_detect.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.up_ecn1.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.down_dscp45.as_ref() {
|
||||
os.write_string(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgTOSTreatment {
|
||||
CMsgTOSTreatment::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.l4s_detect = ::std::option::Option::None;
|
||||
self.up_ecn1 = ::std::option::Option::None;
|
||||
self.down_dscp45 = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgTOSTreatment {
|
||||
static instance: CMsgTOSTreatment = CMsgTOSTreatment {
|
||||
l4s_detect: ::std::option::Option::None,
|
||||
up_ecn1: ::std::option::Option::None,
|
||||
down_dscp45: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgSteamDatagramClientPingSampleRequest)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgSteamDatagramClientPingSampleRequest {
|
||||
|
|
@ -3184,6 +3568,8 @@ pub struct CMsgSteamDatagramClientPingSampleReply {
|
|||
pub connection_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.relay_override_active)
|
||||
pub relay_override_active: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.tos)
|
||||
pub tos: ::steam_vent_proto_common::protobuf::MessageField<CMsgTOSTreatment>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.pops)
|
||||
pub pops: ::std::vec::Vec<cmsg_steam_datagram_client_ping_sample_reply::POP>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers)
|
||||
|
|
@ -3259,6 +3645,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
40 => {
|
||||
self.relay_override_active = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
50 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.tos)?;
|
||||
},
|
||||
18 => {
|
||||
self.pops.push(is.read_message()?);
|
||||
},
|
||||
|
|
@ -3283,6 +3672,10 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
if let Some(v) = self.relay_override_active {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.tos.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
for value in &self.pops {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
|
|
@ -3303,6 +3696,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
if let Some(v) = self.relay_override_active {
|
||||
os.write_bool(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.tos.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(6, v, os)?;
|
||||
}
|
||||
for v in &self.pops {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
|
||||
};
|
||||
|
|
@ -3328,6 +3724,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
fn clear(&mut self) {
|
||||
self.connection_id = ::std::option::Option::None;
|
||||
self.relay_override_active = ::std::option::Option::None;
|
||||
self.tos.clear();
|
||||
self.pops.clear();
|
||||
self.legacy_data_centers.clear();
|
||||
self.special_fields.clear();
|
||||
|
|
@ -3337,6 +3734,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
static instance: CMsgSteamDatagramClientPingSampleReply = CMsgSteamDatagramClientPingSampleReply {
|
||||
connection_id: ::std::option::Option::None,
|
||||
relay_override_active: ::std::option::Option::None,
|
||||
tos: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
pops: ::std::vec::Vec::new(),
|
||||
legacy_data_centers: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
|
|
@ -13633,6 +14031,19 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgSteamDatagramNoSessionRelayTo
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgTOSTreatment {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgSteamDatagramClientPingSampleRequest {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
|
|
@ -934,6 +934,351 @@ impl ::steam_vent_proto_common::protobuf::Message for CAccountHardware_QueryAcco
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CAccountHardware_UpdateControllerUsageReport_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CAccountHardware_UpdateControllerUsageReport_Request.controllers)
|
||||
pub controllers: ::std::vec::Vec<caccount_hardware_update_controller_usage_report_request::Controller>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAccountHardware_UpdateControllerUsageReport_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
fn default() -> &'a CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
<CAccountHardware_UpdateControllerUsageReport_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
pub fn new() -> CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
const NAME: &'static str = "CAccountHardware_UpdateControllerUsageReport_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.controllers.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.controllers {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.controllers {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
CAccountHardware_UpdateControllerUsageReport_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.controllers.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
static instance: CAccountHardware_UpdateControllerUsageReport_Request = CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
controllers: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CAccountHardware_UpdateControllerUsageReport_Request`
|
||||
pub mod caccount_hardware_update_controller_usage_report_request {
|
||||
// @@protoc_insertion_point(message:CAccountHardware_UpdateControllerUsageReport_Request.Controller)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct Controller {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CAccountHardware_UpdateControllerUsageReport_Request.Controller.serial_number)
|
||||
pub serial_number: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAccountHardware_UpdateControllerUsageReport_Request.Controller.controller_code)
|
||||
pub controller_code: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAccountHardware_UpdateControllerUsageReport_Request.Controller.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a Controller {
|
||||
fn default() -> &'a Controller {
|
||||
<Controller as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl Controller {
|
||||
pub fn new() -> Controller {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string serial_number = 1;
|
||||
|
||||
pub fn serial_number(&self) -> &str {
|
||||
match self.serial_number.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_serial_number(&mut self) {
|
||||
self.serial_number = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_serial_number(&self) -> bool {
|
||||
self.serial_number.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_serial_number(&mut self, v: ::std::string::String) {
|
||||
self.serial_number = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_serial_number(&mut self) -> &mut ::std::string::String {
|
||||
if self.serial_number.is_none() {
|
||||
self.serial_number = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.serial_number.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_serial_number(&mut self) -> ::std::string::String {
|
||||
self.serial_number.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string controller_code = 2;
|
||||
|
||||
pub fn controller_code(&self) -> &str {
|
||||
match self.controller_code.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_controller_code(&mut self) {
|
||||
self.controller_code = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_controller_code(&self) -> bool {
|
||||
self.controller_code.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_controller_code(&mut self, v: ::std::string::String) {
|
||||
self.controller_code = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_controller_code(&mut self) -> &mut ::std::string::String {
|
||||
if self.controller_code.is_none() {
|
||||
self.controller_code = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.controller_code.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_controller_code(&mut self) -> ::std::string::String {
|
||||
self.controller_code.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for Controller {
|
||||
const NAME: &'static str = "Controller";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.serial_number = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.controller_code = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.serial_number.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.controller_code.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.serial_number.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.controller_code.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> Controller {
|
||||
Controller::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.serial_number = ::std::option::Option::None;
|
||||
self.controller_code = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static Controller {
|
||||
static instance: Controller = Controller {
|
||||
serial_number: ::std::option::Option::None,
|
||||
controller_code: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CAccountHardware_UpdateControllerUsageReport_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAccountHardware_UpdateControllerUsageReport_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
fn default() -> &'a CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
<CAccountHardware_UpdateControllerUsageReport_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
pub fn new() -> CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
const NAME: &'static str = "CAccountHardware_UpdateControllerUsageReport_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
CAccountHardware_UpdateControllerUsageReport_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
static instance: CAccountHardware_UpdateControllerUsageReport_Response = CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CAccountHardware_SteamControllerSetConfig_ControllerConfig)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CAccountHardware_SteamControllerSetConfig_ControllerConfig {
|
||||
|
|
@ -4686,6 +5031,34 @@ for CAccountHardware_QueryAccountsRegisteredToSerial_Response {
|
|||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CAccountHardware_UpdateControllerUsageReport_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CAccountHardware_SteamControllerSetConfig_ControllerConfig {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -4993,6 +5366,11 @@ for CAccountHardware_SteamControllerSetConfig_Request {
|
|||
type Response = CAccountHardware_SteamControllerSetConfig_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CAccountHardware_UpdateControllerUsageReport_Request {
|
||||
const METHOD_NAME: &'static str = "AccountHardware.UpdateControllerUsageReport#1";
|
||||
type Response = CAccountHardware_UpdateControllerUsageReport_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CAccountHardware_VRCompatibilityCheck_Request {
|
||||
const METHOD_NAME: &'static str = "AccountHardware.VRCompatibilityCheck#1";
|
||||
type Response = CAccountHardware_VRCompatibilityCheck_Response;
|
||||
|
|
|
|||
|
|
@ -41,10 +41,6 @@ pub struct CAppOverview_PerClientData {
|
|||
pub active_beta: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAppOverview_PerClientData.installed)
|
||||
pub installed: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CAppOverview_PerClientData.bytes_downloaded)
|
||||
pub bytes_downloaded: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CAppOverview_PerClientData.bytes_total)
|
||||
pub bytes_total: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CAppOverview_PerClientData.streaming_to_local_client)
|
||||
pub streaming_to_local_client: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CAppOverview_PerClientData.is_available_on_current_platform)
|
||||
|
|
@ -151,7 +147,7 @@ impl CAppOverview_PerClientData {
|
|||
// optional uint32 status_percentage = 4;
|
||||
|
||||
pub fn status_percentage(&self) -> u32 {
|
||||
self.status_percentage.unwrap_or(0u32)
|
||||
self.status_percentage.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_status_percentage(&mut self) {
|
||||
|
|
@ -222,44 +218,6 @@ impl CAppOverview_PerClientData {
|
|||
self.installed = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 bytes_downloaded = 7;
|
||||
|
||||
pub fn bytes_downloaded(&self) -> u64 {
|
||||
self.bytes_downloaded.unwrap_or(0u64)
|
||||
}
|
||||
|
||||
pub fn clear_bytes_downloaded(&mut self) {
|
||||
self.bytes_downloaded = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_bytes_downloaded(&self) -> bool {
|
||||
self.bytes_downloaded.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_bytes_downloaded(&mut self, v: u64) {
|
||||
self.bytes_downloaded = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 bytes_total = 8;
|
||||
|
||||
pub fn bytes_total(&self) -> u64 {
|
||||
self.bytes_total.unwrap_or(0u64)
|
||||
}
|
||||
|
||||
pub fn clear_bytes_total(&mut self) {
|
||||
self.bytes_total = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_bytes_total(&self) -> bool {
|
||||
self.bytes_total.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_bytes_total(&mut self, v: u64) {
|
||||
self.bytes_total = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool streaming_to_local_client = 9;
|
||||
|
||||
pub fn streaming_to_local_client(&self) -> bool {
|
||||
|
|
@ -384,12 +342,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview_PerClientData
|
|||
48 => {
|
||||
self.installed = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
56 => {
|
||||
self.bytes_downloaded = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
64 => {
|
||||
self.bytes_total = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
72 => {
|
||||
self.streaming_to_local_client = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
|
|
@ -435,12 +387,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview_PerClientData
|
|||
if let Some(v) = self.installed {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.bytes_downloaded {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(7, v);
|
||||
}
|
||||
if let Some(v) = self.bytes_total {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
|
||||
}
|
||||
if let Some(v) = self.streaming_to_local_client {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
|
|
@ -480,12 +426,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview_PerClientData
|
|||
if let Some(v) = self.installed {
|
||||
os.write_bool(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.bytes_downloaded {
|
||||
os.write_uint64(7, v)?;
|
||||
}
|
||||
if let Some(v) = self.bytes_total {
|
||||
os.write_uint64(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.streaming_to_local_client {
|
||||
os.write_bool(9, v)?;
|
||||
}
|
||||
|
|
@ -524,8 +464,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview_PerClientData
|
|||
self.status_percentage = ::std::option::Option::None;
|
||||
self.active_beta = ::std::option::Option::None;
|
||||
self.installed = ::std::option::Option::None;
|
||||
self.bytes_downloaded = ::std::option::Option::None;
|
||||
self.bytes_total = ::std::option::Option::None;
|
||||
self.streaming_to_local_client = ::std::option::Option::None;
|
||||
self.is_available_on_current_platform = ::std::option::Option::None;
|
||||
self.is_invalid_os_type = ::std::option::Option::None;
|
||||
|
|
@ -542,8 +480,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview_PerClientData
|
|||
status_percentage: ::std::option::Option::None,
|
||||
active_beta: ::std::option::Option::None,
|
||||
installed: ::std::option::Option::None,
|
||||
bytes_downloaded: ::std::option::Option::None,
|
||||
bytes_total: ::std::option::Option::None,
|
||||
streaming_to_local_client: ::std::option::Option::None,
|
||||
is_available_on_current_platform: ::std::option::Option::None,
|
||||
is_invalid_os_type: ::std::option::Option::None,
|
||||
|
|
@ -655,6 +591,12 @@ pub struct CAppOverview {
|
|||
pub number_of_copies: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CAppOverview.steam_hw_compat_category_packed)
|
||||
pub steam_hw_compat_category_packed: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CAppOverview.album_cover_hash)
|
||||
pub album_cover_hash: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAppOverview.display_name_elanguage)
|
||||
pub display_name_elanguage: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CAppOverview.has_custom_sort_as)
|
||||
pub has_custom_sort_as: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAppOverview.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1718,6 +1660,80 @@ impl CAppOverview {
|
|||
pub fn set_steam_hw_compat_category_packed(&mut self, v: u32) {
|
||||
self.steam_hw_compat_category_packed = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string album_cover_hash = 74;
|
||||
|
||||
pub fn album_cover_hash(&self) -> &str {
|
||||
match self.album_cover_hash.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_album_cover_hash(&mut self) {
|
||||
self.album_cover_hash = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_album_cover_hash(&self) -> bool {
|
||||
self.album_cover_hash.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_album_cover_hash(&mut self, v: ::std::string::String) {
|
||||
self.album_cover_hash = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_album_cover_hash(&mut self) -> &mut ::std::string::String {
|
||||
if self.album_cover_hash.is_none() {
|
||||
self.album_cover_hash = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.album_cover_hash.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_album_cover_hash(&mut self) -> ::std::string::String {
|
||||
self.album_cover_hash.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional int32 display_name_elanguage = 75;
|
||||
|
||||
pub fn display_name_elanguage(&self) -> i32 {
|
||||
self.display_name_elanguage.unwrap_or(-1i32)
|
||||
}
|
||||
|
||||
pub fn clear_display_name_elanguage(&mut self) {
|
||||
self.display_name_elanguage = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_display_name_elanguage(&self) -> bool {
|
||||
self.display_name_elanguage.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_display_name_elanguage(&mut self, v: i32) {
|
||||
self.display_name_elanguage = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool has_custom_sort_as = 76;
|
||||
|
||||
pub fn has_custom_sort_as(&self) -> bool {
|
||||
self.has_custom_sort_as.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_has_custom_sort_as(&mut self) {
|
||||
self.has_custom_sort_as = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_has_custom_sort_as(&self) -> bool {
|
||||
self.has_custom_sort_as.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_has_custom_sort_as(&mut self, v: bool) {
|
||||
self.has_custom_sort_as = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CAppOverview {
|
||||
|
|
@ -1880,6 +1896,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview {
|
|||
584 => {
|
||||
self.steam_hw_compat_category_packed = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
594 => {
|
||||
self.album_cover_hash = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
600 => {
|
||||
self.display_name_elanguage = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
608 => {
|
||||
self.has_custom_sort_as = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2037,6 +2062,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview {
|
|||
if let Some(v) = self.steam_hw_compat_category_packed {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(73, v);
|
||||
}
|
||||
if let Some(v) = self.album_cover_hash.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(74, &v);
|
||||
}
|
||||
if let Some(v) = self.display_name_elanguage {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(75, v);
|
||||
}
|
||||
if let Some(v) = self.has_custom_sort_as {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -2187,6 +2221,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview {
|
|||
if let Some(v) = self.steam_hw_compat_category_packed {
|
||||
os.write_uint32(73, v)?;
|
||||
}
|
||||
if let Some(v) = self.album_cover_hash.as_ref() {
|
||||
os.write_string(74, v)?;
|
||||
}
|
||||
if let Some(v) = self.display_name_elanguage {
|
||||
os.write_int32(75, v)?;
|
||||
}
|
||||
if let Some(v) = self.has_custom_sort_as {
|
||||
os.write_bool(76, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2252,6 +2295,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview {
|
|||
self.local_cache_version = ::std::option::Option::None;
|
||||
self.number_of_copies = ::std::option::Option::None;
|
||||
self.steam_hw_compat_category_packed = ::std::option::Option::None;
|
||||
self.album_cover_hash = ::std::option::Option::None;
|
||||
self.display_name_elanguage = ::std::option::Option::None;
|
||||
self.has_custom_sort_as = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -2305,6 +2351,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview {
|
|||
local_cache_version: ::std::option::Option::None,
|
||||
number_of_copies: ::std::option::Option::None,
|
||||
steam_hw_compat_category_packed: ::std::option::Option::None,
|
||||
album_cover_hash: ::std::option::Option::None,
|
||||
display_name_elanguage: ::std::option::Option::None,
|
||||
has_custom_sort_as: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -2482,251 +2531,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CAppOverview_Change {
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CAppBootstrapData)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CAppBootstrapData {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CAppBootstrapData.appid)
|
||||
pub appid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CAppBootstrapData.hidden)
|
||||
pub hidden: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CAppBootstrapData.user_tag)
|
||||
pub user_tag: ::std::vec::Vec<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAppBootstrapData.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CAppBootstrapData {
|
||||
fn default() -> &'a CAppBootstrapData {
|
||||
<CAppBootstrapData as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CAppBootstrapData {
|
||||
pub fn new() -> CAppBootstrapData {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 appid = 1;
|
||||
|
||||
pub fn appid(&self) -> u32 {
|
||||
self.appid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_appid(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_appid(&self) -> bool {
|
||||
self.appid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_appid(&mut self, v: u32) {
|
||||
self.appid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool hidden = 2;
|
||||
|
||||
pub fn hidden(&self) -> bool {
|
||||
self.hidden.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_hidden(&mut self) {
|
||||
self.hidden = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_hidden(&self) -> bool {
|
||||
self.hidden.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_hidden(&mut self, v: bool) {
|
||||
self.hidden = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CAppBootstrapData {
|
||||
const NAME: &'static str = "CAppBootstrapData";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.appid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.hidden = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
26 => {
|
||||
self.user_tag.push(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.appid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.hidden {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
for value in &self.user_tag {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &value);
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.appid {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.hidden {
|
||||
os.write_bool(2, v)?;
|
||||
}
|
||||
for v in &self.user_tag {
|
||||
os.write_string(3, &v)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CAppBootstrapData {
|
||||
CAppBootstrapData::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
self.hidden = ::std::option::Option::None;
|
||||
self.user_tag.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CAppBootstrapData {
|
||||
static instance: CAppBootstrapData = CAppBootstrapData {
|
||||
appid: ::std::option::Option::None,
|
||||
hidden: ::std::option::Option::None,
|
||||
user_tag: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CLibraryBootstrapData)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CLibraryBootstrapData {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CLibraryBootstrapData.app_data)
|
||||
pub app_data: ::std::vec::Vec<CAppBootstrapData>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CLibraryBootstrapData.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CLibraryBootstrapData {
|
||||
fn default() -> &'a CLibraryBootstrapData {
|
||||
<CLibraryBootstrapData as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CLibraryBootstrapData {
|
||||
pub fn new() -> CLibraryBootstrapData {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CLibraryBootstrapData {
|
||||
const NAME: &'static str = "CLibraryBootstrapData";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.app_data.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.app_data {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.app_data {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CLibraryBootstrapData {
|
||||
CLibraryBootstrapData::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.app_data.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CLibraryBootstrapData {
|
||||
static instance: CLibraryBootstrapData = CLibraryBootstrapData {
|
||||
app_data: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EDisplayStatus)
|
||||
pub enum EDisplayStatus {
|
||||
|
|
@ -3257,29 +3061,3 @@ impl ::steam_vent_proto_common::RpcMessage for CAppOverview_Change {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CAppBootstrapData {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CLibraryBootstrapData {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -526,8 +526,6 @@ pub struct CMsgProtoBufHeader {
|
|||
pub publisher_group_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.sysid)
|
||||
pub sysid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.trace_tag)
|
||||
pub trace_tag: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.webapi_key_id)
|
||||
pub webapi_key_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.is_from_external_source)
|
||||
|
|
@ -558,6 +556,12 @@ pub struct CMsgProtoBufHeader {
|
|||
pub webui_auth_key: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.exclude_client_sessionids)
|
||||
pub exclude_client_sessionids: ::std::vec::Vec<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.admin_request_spoofing_steamid)
|
||||
pub admin_request_spoofing_steamid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.is_valveds)
|
||||
pub is_valveds: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgProtoBufHeader.trace_tag)
|
||||
pub trace_tag: ::std::option::Option<u64>,
|
||||
// message oneof groups
|
||||
pub ip_addr: ::std::option::Option<cmsg_proto_buf_header::Ip_addr>,
|
||||
// special fields
|
||||
|
|
@ -914,25 +918,6 @@ impl CMsgProtoBufHeader {
|
|||
self.sysid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 trace_tag = 21;
|
||||
|
||||
pub fn trace_tag(&self) -> u64 {
|
||||
self.trace_tag.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_trace_tag(&mut self) {
|
||||
self.trace_tag = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_trace_tag(&self) -> bool {
|
||||
self.trace_tag.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_trace_tag(&mut self, v: u64) {
|
||||
self.trace_tag = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 webapi_key_id = 25;
|
||||
|
||||
pub fn webapi_key_id(&self) -> u32 {
|
||||
|
|
@ -1215,6 +1200,63 @@ impl CMsgProtoBufHeader {
|
|||
self.webui_auth_key.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional fixed64 admin_request_spoofing_steamid = 43;
|
||||
|
||||
pub fn admin_request_spoofing_steamid(&self) -> u64 {
|
||||
self.admin_request_spoofing_steamid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_admin_request_spoofing_steamid(&mut self) {
|
||||
self.admin_request_spoofing_steamid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_admin_request_spoofing_steamid(&self) -> bool {
|
||||
self.admin_request_spoofing_steamid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_admin_request_spoofing_steamid(&mut self, v: u64) {
|
||||
self.admin_request_spoofing_steamid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_valveds = 44;
|
||||
|
||||
pub fn is_valveds(&self) -> bool {
|
||||
self.is_valveds.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_valveds(&mut self) {
|
||||
self.is_valveds = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_valveds(&self) -> bool {
|
||||
self.is_valveds.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_valveds(&mut self, v: bool) {
|
||||
self.is_valveds = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 trace_tag = 45;
|
||||
|
||||
pub fn trace_tag(&self) -> u64 {
|
||||
self.trace_tag.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_trace_tag(&mut self) {
|
||||
self.trace_tag = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_trace_tag(&self) -> bool {
|
||||
self.trace_tag.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_trace_tag(&mut self, v: u64) {
|
||||
self.trace_tag = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 ip = 15;
|
||||
|
||||
pub fn ip(&self) -> u32 {
|
||||
|
|
@ -1348,9 +1390,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
160 => {
|
||||
self.sysid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
168 => {
|
||||
self.trace_tag = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
200 => {
|
||||
self.webapi_key_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
|
|
@ -1402,6 +1441,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
328 => {
|
||||
self.exclude_client_sessionids.push(is.read_int32()?);
|
||||
},
|
||||
345 => {
|
||||
self.admin_request_spoofing_steamid = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
352 => {
|
||||
self.is_valveds = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
361 => {
|
||||
self.trace_tag = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
120 => {
|
||||
self.ip_addr = ::std::option::Option::Some(cmsg_proto_buf_header::Ip_addr::Ip(is.read_uint32()?));
|
||||
},
|
||||
|
|
@ -1468,9 +1516,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
if let Some(v) = self.sysid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(20, v);
|
||||
}
|
||||
if let Some(v) = self.trace_tag {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(21, v);
|
||||
}
|
||||
if let Some(v) = self.webapi_key_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(25, v);
|
||||
}
|
||||
|
|
@ -1517,6 +1562,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
for value in &self.exclude_client_sessionids {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(41, *value);
|
||||
};
|
||||
if let Some(v) = self.admin_request_spoofing_steamid {
|
||||
my_size += 2 + 8;
|
||||
}
|
||||
if let Some(v) = self.is_valveds {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.trace_tag {
|
||||
my_size += 2 + 8;
|
||||
}
|
||||
if let ::std::option::Option::Some(ref v) = self.ip_addr {
|
||||
match v {
|
||||
&cmsg_proto_buf_header::Ip_addr::Ip(v) => {
|
||||
|
|
@ -1581,9 +1635,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
if let Some(v) = self.sysid {
|
||||
os.write_uint32(20, v)?;
|
||||
}
|
||||
if let Some(v) = self.trace_tag {
|
||||
os.write_uint64(21, v)?;
|
||||
}
|
||||
if let Some(v) = self.webapi_key_id {
|
||||
os.write_uint32(25, v)?;
|
||||
}
|
||||
|
|
@ -1629,6 +1680,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
for v in &self.exclude_client_sessionids {
|
||||
os.write_int32(41, *v)?;
|
||||
};
|
||||
if let Some(v) = self.admin_request_spoofing_steamid {
|
||||
os.write_fixed64(43, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_valveds {
|
||||
os.write_bool(44, v)?;
|
||||
}
|
||||
if let Some(v) = self.trace_tag {
|
||||
os.write_fixed64(45, v)?;
|
||||
}
|
||||
if let ::std::option::Option::Some(ref v) = self.ip_addr {
|
||||
match v {
|
||||
&cmsg_proto_buf_header::Ip_addr::Ip(v) => {
|
||||
|
|
@ -1672,7 +1732,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
self.messageid = ::std::option::Option::None;
|
||||
self.publisher_group_id = ::std::option::Option::None;
|
||||
self.sysid = ::std::option::Option::None;
|
||||
self.trace_tag = ::std::option::Option::None;
|
||||
self.webapi_key_id = ::std::option::Option::None;
|
||||
self.is_from_external_source = ::std::option::Option::None;
|
||||
self.forward_to_sysid.clear();
|
||||
|
|
@ -1688,6 +1747,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
self.wg_token = ::std::option::Option::None;
|
||||
self.webui_auth_key = ::std::option::Option::None;
|
||||
self.exclude_client_sessionids.clear();
|
||||
self.admin_request_spoofing_steamid = ::std::option::Option::None;
|
||||
self.is_valveds = ::std::option::Option::None;
|
||||
self.trace_tag = ::std::option::Option::None;
|
||||
self.ip_addr = ::std::option::Option::None;
|
||||
self.ip_addr = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
|
|
@ -1711,7 +1773,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
messageid: ::std::option::Option::None,
|
||||
publisher_group_id: ::std::option::Option::None,
|
||||
sysid: ::std::option::Option::None,
|
||||
trace_tag: ::std::option::Option::None,
|
||||
webapi_key_id: ::std::option::Option::None,
|
||||
is_from_external_source: ::std::option::Option::None,
|
||||
forward_to_sysid: ::std::vec::Vec::new(),
|
||||
|
|
@ -1727,6 +1788,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgProtoBufHeader {
|
|||
wg_token: ::std::option::Option::None,
|
||||
webui_auth_key: ::std::option::Option::None,
|
||||
exclude_client_sessionids: ::std::vec::Vec::new(),
|
||||
admin_request_spoofing_steamid: ::std::option::Option::None,
|
||||
is_valveds: ::std::option::Option::None,
|
||||
trace_tag: ::std::option::Option::None,
|
||||
ip_addr: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
|
|
@ -1798,6 +1862,469 @@ pub mod cmsg_proto_buf_header {
|
|||
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgKubeRPCPacket)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgKubeRPCPacket {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.hdr)
|
||||
pub hdr: ::steam_vent_proto_common::protobuf::MessageField<cmsg_kube_rpcpacket::Hdr>,
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.payload)
|
||||
pub payload: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgKubeRPCPacket.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgKubeRPCPacket {
|
||||
fn default() -> &'a CMsgKubeRPCPacket {
|
||||
<CMsgKubeRPCPacket as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgKubeRPCPacket {
|
||||
pub fn new() -> CMsgKubeRPCPacket {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional bytes payload = 2;
|
||||
|
||||
pub fn payload(&self) -> &[u8] {
|
||||
match self.payload.as_ref() {
|
||||
Some(v) => v,
|
||||
None => &[],
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_payload(&mut self) {
|
||||
self.payload = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_payload(&self) -> bool {
|
||||
self.payload.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_payload(&mut self, v: ::std::vec::Vec<u8>) {
|
||||
self.payload = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_payload(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||
if self.payload.is_none() {
|
||||
self.payload = ::std::option::Option::Some(::std::vec::Vec::new());
|
||||
}
|
||||
self.payload.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_payload(&mut self) -> ::std::vec::Vec<u8> {
|
||||
self.payload.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgKubeRPCPacket {
|
||||
const NAME: &'static str = "CMsgKubeRPCPacket";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.hdr)?;
|
||||
},
|
||||
18 => {
|
||||
self.payload = ::std::option::Option::Some(is.read_bytes()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.hdr.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.payload.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.hdr.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.payload.as_ref() {
|
||||
os.write_bytes(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgKubeRPCPacket {
|
||||
CMsgKubeRPCPacket::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.hdr.clear();
|
||||
self.payload = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgKubeRPCPacket {
|
||||
static instance: CMsgKubeRPCPacket = CMsgKubeRPCPacket {
|
||||
hdr: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
payload: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CMsgKubeRPCPacket`
|
||||
pub mod cmsg_kube_rpcpacket {
|
||||
// @@protoc_insertion_point(message:CMsgKubeRPCPacket.Hdr)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct Hdr {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.Hdr.jobid_source)
|
||||
pub jobid_source: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.Hdr.jobid_target)
|
||||
pub jobid_target: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.Hdr.eresult)
|
||||
pub eresult: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.Hdr.target_job_name)
|
||||
pub target_job_name: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.Hdr.error_message)
|
||||
pub error_message: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgKubeRPCPacket.Hdr.reply_address)
|
||||
pub reply_address: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgKubeRPCPacket.Hdr.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a Hdr {
|
||||
fn default() -> &'a Hdr {
|
||||
<Hdr as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl Hdr {
|
||||
pub fn new() -> Hdr {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional fixed64 jobid_source = 10;
|
||||
|
||||
pub fn jobid_source(&self) -> u64 {
|
||||
self.jobid_source.unwrap_or(18446744073709551615u64)
|
||||
}
|
||||
|
||||
pub fn clear_jobid_source(&mut self) {
|
||||
self.jobid_source = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_jobid_source(&self) -> bool {
|
||||
self.jobid_source.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_jobid_source(&mut self, v: u64) {
|
||||
self.jobid_source = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 jobid_target = 11;
|
||||
|
||||
pub fn jobid_target(&self) -> u64 {
|
||||
self.jobid_target.unwrap_or(18446744073709551615u64)
|
||||
}
|
||||
|
||||
pub fn clear_jobid_target(&mut self) {
|
||||
self.jobid_target = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_jobid_target(&self) -> bool {
|
||||
self.jobid_target.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_jobid_target(&mut self, v: u64) {
|
||||
self.jobid_target = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 eresult = 13;
|
||||
|
||||
pub fn eresult(&self) -> i32 {
|
||||
self.eresult.unwrap_or(2i32)
|
||||
}
|
||||
|
||||
pub fn clear_eresult(&mut self) {
|
||||
self.eresult = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_eresult(&self) -> bool {
|
||||
self.eresult.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_eresult(&mut self, v: i32) {
|
||||
self.eresult = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string target_job_name = 12;
|
||||
|
||||
pub fn target_job_name(&self) -> &str {
|
||||
match self.target_job_name.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_target_job_name(&mut self) {
|
||||
self.target_job_name = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_target_job_name(&self) -> bool {
|
||||
self.target_job_name.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_target_job_name(&mut self, v: ::std::string::String) {
|
||||
self.target_job_name = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_target_job_name(&mut self) -> &mut ::std::string::String {
|
||||
if self.target_job_name.is_none() {
|
||||
self.target_job_name = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.target_job_name.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_target_job_name(&mut self) -> ::std::string::String {
|
||||
self.target_job_name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string error_message = 14;
|
||||
|
||||
pub fn error_message(&self) -> &str {
|
||||
match self.error_message.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_error_message(&mut self) {
|
||||
self.error_message = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_error_message(&self) -> bool {
|
||||
self.error_message.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_error_message(&mut self, v: ::std::string::String) {
|
||||
self.error_message = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_error_message(&mut self) -> &mut ::std::string::String {
|
||||
if self.error_message.is_none() {
|
||||
self.error_message = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.error_message.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_error_message(&mut self) -> ::std::string::String {
|
||||
self.error_message.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string reply_address = 42;
|
||||
|
||||
pub fn reply_address(&self) -> &str {
|
||||
match self.reply_address.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_reply_address(&mut self) {
|
||||
self.reply_address = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_reply_address(&self) -> bool {
|
||||
self.reply_address.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_reply_address(&mut self, v: ::std::string::String) {
|
||||
self.reply_address = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_reply_address(&mut self) -> &mut ::std::string::String {
|
||||
if self.reply_address.is_none() {
|
||||
self.reply_address = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.reply_address.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_reply_address(&mut self) -> ::std::string::String {
|
||||
self.reply_address.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for Hdr {
|
||||
const NAME: &'static str = "Hdr";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
81 => {
|
||||
self.jobid_source = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
89 => {
|
||||
self.jobid_target = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
104 => {
|
||||
self.eresult = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
98 => {
|
||||
self.target_job_name = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
114 => {
|
||||
self.error_message = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
338 => {
|
||||
self.reply_address = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.jobid_source {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.jobid_target {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.eresult {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(13, v);
|
||||
}
|
||||
if let Some(v) = self.target_job_name.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(12, &v);
|
||||
}
|
||||
if let Some(v) = self.error_message.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(14, &v);
|
||||
}
|
||||
if let Some(v) = self.reply_address.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(42, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.jobid_source {
|
||||
os.write_fixed64(10, v)?;
|
||||
}
|
||||
if let Some(v) = self.jobid_target {
|
||||
os.write_fixed64(11, v)?;
|
||||
}
|
||||
if let Some(v) = self.eresult {
|
||||
os.write_int32(13, v)?;
|
||||
}
|
||||
if let Some(v) = self.target_job_name.as_ref() {
|
||||
os.write_string(12, v)?;
|
||||
}
|
||||
if let Some(v) = self.error_message.as_ref() {
|
||||
os.write_string(14, v)?;
|
||||
}
|
||||
if let Some(v) = self.reply_address.as_ref() {
|
||||
os.write_string(42, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> Hdr {
|
||||
Hdr::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.jobid_source = ::std::option::Option::None;
|
||||
self.jobid_target = ::std::option::Option::None;
|
||||
self.eresult = ::std::option::Option::None;
|
||||
self.target_job_name = ::std::option::Option::None;
|
||||
self.error_message = ::std::option::Option::None;
|
||||
self.reply_address = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static Hdr {
|
||||
static instance: Hdr = Hdr {
|
||||
jobid_source: ::std::option::Option::None,
|
||||
jobid_target: ::std::option::Option::None,
|
||||
eresult: ::std::option::Option::None,
|
||||
target_job_name: ::std::option::Option::None,
|
||||
error_message: ::std::option::Option::None,
|
||||
reply_address: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgMulti)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgMulti {
|
||||
|
|
@ -2515,6 +3042,8 @@ pub struct CCDDBAppDetailCommon {
|
|||
pub has_adult_content_violence: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CCDDBAppDetailCommon.content_descriptorids)
|
||||
pub content_descriptorids: ::std::vec::Vec<u32>,
|
||||
// @@protoc_insertion_point(field:CCDDBAppDetailCommon.content_descriptorids_including_dlc)
|
||||
pub content_descriptorids_including_dlc: ::std::vec::Vec<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCDDBAppDetailCommon.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2924,6 +3453,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CCDDBAppDetailCommon {
|
|||
136 => {
|
||||
self.content_descriptorids.push(is.read_uint32()?);
|
||||
},
|
||||
146 => {
|
||||
is.read_repeated_packed_uint32_into(&mut self.content_descriptorids_including_dlc)?;
|
||||
},
|
||||
144 => {
|
||||
self.content_descriptorids_including_dlc.push(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2981,6 +3516,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CCDDBAppDetailCommon {
|
|||
for value in &self.content_descriptorids {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(17, *value);
|
||||
};
|
||||
for value in &self.content_descriptorids_including_dlc {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(18, *value);
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -3032,6 +3570,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CCDDBAppDetailCommon {
|
|||
for v in &self.content_descriptorids {
|
||||
os.write_uint32(17, *v)?;
|
||||
};
|
||||
for v in &self.content_descriptorids_including_dlc {
|
||||
os.write_uint32(18, *v)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -3064,6 +3605,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CCDDBAppDetailCommon {
|
|||
self.has_adult_content_sex = ::std::option::Option::None;
|
||||
self.has_adult_content_violence = ::std::option::Option::None;
|
||||
self.content_descriptorids.clear();
|
||||
self.content_descriptorids_including_dlc.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -3084,6 +3626,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CCDDBAppDetailCommon {
|
|||
has_adult_content_sex: ::std::option::Option::None,
|
||||
has_adult_content_violence: ::std::option::Option::None,
|
||||
content_descriptorids: ::std::vec::Vec::new(),
|
||||
content_descriptorids_including_dlc: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -5700,6 +6243,8 @@ pub struct CClanEventData {
|
|||
pub build_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CClanEventData.build_branch)
|
||||
pub build_branch: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CClanEventData.unlisted)
|
||||
pub unlisted: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CClanEventData.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -6352,6 +6897,25 @@ impl CClanEventData {
|
|||
pub fn take_build_branch(&mut self) -> ::std::string::String {
|
||||
self.build_branch.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool unlisted = 31;
|
||||
|
||||
pub fn unlisted(&self) -> bool {
|
||||
self.unlisted.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_unlisted(&mut self) {
|
||||
self.unlisted = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_unlisted(&self) -> bool {
|
||||
self.unlisted.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_unlisted(&mut self, v: bool) {
|
||||
self.unlisted = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CClanEventData {
|
||||
|
|
@ -6457,6 +7021,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClanEventData {
|
|||
242 => {
|
||||
self.build_branch = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
248 => {
|
||||
self.unlisted = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -6560,6 +7127,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClanEventData {
|
|||
if let Some(v) = self.build_branch.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(30, &v);
|
||||
}
|
||||
if let Some(v) = self.unlisted {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -6656,6 +7226,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClanEventData {
|
|||
if let Some(v) = self.build_branch.as_ref() {
|
||||
os.write_string(30, v)?;
|
||||
}
|
||||
if let Some(v) = self.unlisted {
|
||||
os.write_bool(31, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -6703,6 +7276,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CClanEventData {
|
|||
self.referenced_appids.clear();
|
||||
self.build_id = ::std::option::Option::None;
|
||||
self.build_branch = ::std::option::Option::None;
|
||||
self.unlisted = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -6738,6 +7312,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CClanEventData {
|
|||
referenced_appids: ::std::vec::Vec::new(),
|
||||
build_id: ::std::option::Option::None,
|
||||
build_branch: ::std::option::Option::None,
|
||||
unlisted: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -8374,6 +8949,8 @@ pub enum EProtoClanEventType {
|
|||
k_EClanCrosspostEvent = 34,
|
||||
// @@protoc_insertion_point(enum_value:EProtoClanEventType.k_EClanInGameEventGeneral)
|
||||
k_EClanInGameEventGeneral = 35,
|
||||
// @@protoc_insertion_point(enum_value:EProtoClanEventType.k_EClanCreatorHome)
|
||||
k_EClanCreatorHome = 36,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EProtoClanEventType {
|
||||
|
|
@ -8420,6 +8997,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EProtoClanEventType {
|
|||
33 => ::std::option::Option::Some(EProtoClanEventType::k_EClanSeasonUpdate),
|
||||
34 => ::std::option::Option::Some(EProtoClanEventType::k_EClanCrosspostEvent),
|
||||
35 => ::std::option::Option::Some(EProtoClanEventType::k_EClanInGameEventGeneral),
|
||||
36 => ::std::option::Option::Some(EProtoClanEventType::k_EClanCreatorHome),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -8461,6 +9039,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EProtoClanEventType {
|
|||
"k_EClanSeasonUpdate" => ::std::option::Option::Some(EProtoClanEventType::k_EClanSeasonUpdate),
|
||||
"k_EClanCrosspostEvent" => ::std::option::Option::Some(EProtoClanEventType::k_EClanCrosspostEvent),
|
||||
"k_EClanInGameEventGeneral" => ::std::option::Option::Some(EProtoClanEventType::k_EClanInGameEventGeneral),
|
||||
"k_EClanCreatorHome" => ::std::option::Option::Some(EProtoClanEventType::k_EClanCreatorHome),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -8501,6 +9080,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EProtoClanEventType {
|
|||
EProtoClanEventType::k_EClanSeasonUpdate,
|
||||
EProtoClanEventType::k_EClanCrosspostEvent,
|
||||
EProtoClanEventType::k_EClanInGameEventGeneral,
|
||||
EProtoClanEventType::k_EClanCreatorHome,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -8624,6 +9204,19 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgProtoBufHeader {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgKubeRPCPacket {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgMulti {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
|
|
@ -15826,6 +15826,8 @@ pub enum EBroadcastWatchLocation {
|
|||
k_EBroadcastWatchLocation_SteamTV_Web = 13,
|
||||
// @@protoc_insertion_point(enum_value:EBroadcastWatchLocation.k_EBroadcastWatchLocation_DesktopUI_Overlay)
|
||||
k_EBroadcastWatchLocation_DesktopUI_Overlay = 14,
|
||||
// @@protoc_insertion_point(enum_value:EBroadcastWatchLocation.k_EBroadcastWatchLocation_TrailerCarousel)
|
||||
k_EBroadcastWatchLocation_TrailerCarousel = 15,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EBroadcastWatchLocation {
|
||||
|
|
@ -15852,6 +15854,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EBroadcastWatchLocation {
|
|||
12 => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_Chat_Friends),
|
||||
13 => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_SteamTV_Web),
|
||||
14 => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_DesktopUI_Overlay),
|
||||
15 => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_TrailerCarousel),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -15873,6 +15876,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EBroadcastWatchLocation {
|
|||
"k_EBroadcastWatchLocation_Chat_Friends" => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_Chat_Friends),
|
||||
"k_EBroadcastWatchLocation_SteamTV_Web" => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_SteamTV_Web),
|
||||
"k_EBroadcastWatchLocation_DesktopUI_Overlay" => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_DesktopUI_Overlay),
|
||||
"k_EBroadcastWatchLocation_TrailerCarousel" => ::std::option::Option::Some(EBroadcastWatchLocation::k_EBroadcastWatchLocation_TrailerCarousel),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -15893,6 +15897,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EBroadcastWatchLocation {
|
|||
EBroadcastWatchLocation::k_EBroadcastWatchLocation_Chat_Friends,
|
||||
EBroadcastWatchLocation::k_EBroadcastWatchLocation_SteamTV_Web,
|
||||
EBroadcastWatchLocation::k_EBroadcastWatchLocation_DesktopUI_Overlay,
|
||||
EBroadcastWatchLocation::k_EBroadcastWatchLocation_TrailerCarousel,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13637,115 +13637,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CChatRoom_GetChatRoomGroup
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CChatRoom_GetChatRoomGroupSummary_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CChatRoom_GetChatRoomGroupSummary_Request.chat_group_id)
|
||||
pub chat_group_id: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CChatRoom_GetChatRoomGroupSummary_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
fn default() -> &'a CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
<CChatRoom_GetChatRoomGroupSummary_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
pub fn new() -> CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint64 chat_group_id = 1;
|
||||
|
||||
pub fn chat_group_id(&self) -> u64 {
|
||||
self.chat_group_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_chat_group_id(&mut self) {
|
||||
self.chat_group_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_chat_group_id(&self) -> bool {
|
||||
self.chat_group_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_chat_group_id(&mut self, v: u64) {
|
||||
self.chat_group_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
const NAME: &'static str = "CChatRoom_GetChatRoomGroupSummary_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.chat_group_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.chat_group_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.chat_group_id {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
CChatRoom_GetChatRoomGroupSummary_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.chat_group_id = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
static instance: CChatRoom_GetChatRoomGroupSummary_Request = CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
chat_group_id: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CChatRoom_SetAppChatRoomGroupForceActive_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CChatRoom_SetAppChatRoomGroupForceActive_Request {
|
||||
|
|
@ -19727,6 +19618,452 @@ impl ::steam_vent_proto_common::protobuf::Message for CChatRoom_GetMessageReacti
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CChatRoom_ReportMessage_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CChatRoom_ReportMessage_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.chat_group_id)
|
||||
pub chat_group_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.chat_id)
|
||||
pub chat_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.steamid_from)
|
||||
pub steamid_from: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.timestamp)
|
||||
pub timestamp: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.ordinal)
|
||||
pub ordinal: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.report_reason)
|
||||
pub report_reason: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums::EContentReportReason>>,
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.report_text)
|
||||
pub report_text: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CChatRoom_ReportMessage_Request.language)
|
||||
pub language: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CChatRoom_ReportMessage_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CChatRoom_ReportMessage_Request {
|
||||
fn default() -> &'a CChatRoom_ReportMessage_Request {
|
||||
<CChatRoom_ReportMessage_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CChatRoom_ReportMessage_Request {
|
||||
pub fn new() -> CChatRoom_ReportMessage_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint64 chat_group_id = 1;
|
||||
|
||||
pub fn chat_group_id(&self) -> u64 {
|
||||
self.chat_group_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_chat_group_id(&mut self) {
|
||||
self.chat_group_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_chat_group_id(&self) -> bool {
|
||||
self.chat_group_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_chat_group_id(&mut self, v: u64) {
|
||||
self.chat_group_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 chat_id = 2;
|
||||
|
||||
pub fn chat_id(&self) -> u64 {
|
||||
self.chat_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_chat_id(&mut self) {
|
||||
self.chat_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_chat_id(&self) -> bool {
|
||||
self.chat_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_chat_id(&mut self, v: u64) {
|
||||
self.chat_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 steamid_from = 3;
|
||||
|
||||
pub fn steamid_from(&self) -> u64 {
|
||||
self.steamid_from.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_steamid_from(&mut self) {
|
||||
self.steamid_from = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_steamid_from(&self) -> bool {
|
||||
self.steamid_from.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_steamid_from(&mut self, v: u64) {
|
||||
self.steamid_from = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 timestamp = 4;
|
||||
|
||||
pub fn timestamp(&self) -> u32 {
|
||||
self.timestamp.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_timestamp(&mut self) {
|
||||
self.timestamp = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_timestamp(&self) -> bool {
|
||||
self.timestamp.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_timestamp(&mut self, v: u32) {
|
||||
self.timestamp = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 ordinal = 5;
|
||||
|
||||
pub fn ordinal(&self) -> u32 {
|
||||
self.ordinal.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_ordinal(&mut self) {
|
||||
self.ordinal = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_ordinal(&self) -> bool {
|
||||
self.ordinal.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_ordinal(&mut self, v: u32) {
|
||||
self.ordinal = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .EContentReportReason report_reason = 6;
|
||||
|
||||
pub fn report_reason(&self) -> super::enums::EContentReportReason {
|
||||
match self.report_reason {
|
||||
Some(e) => e.enum_value_or(super::enums::EContentReportReason::k_EContentReportReason_Invalid),
|
||||
None => super::enums::EContentReportReason::k_EContentReportReason_Invalid,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_report_reason(&mut self) {
|
||||
self.report_reason = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_report_reason(&self) -> bool {
|
||||
self.report_reason.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_report_reason(&mut self, v: super::enums::EContentReportReason) {
|
||||
self.report_reason = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional string report_text = 7;
|
||||
|
||||
pub fn report_text(&self) -> &str {
|
||||
match self.report_text.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_report_text(&mut self) {
|
||||
self.report_text = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_report_text(&self) -> bool {
|
||||
self.report_text.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_report_text(&mut self, v: ::std::string::String) {
|
||||
self.report_text = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_report_text(&mut self) -> &mut ::std::string::String {
|
||||
if self.report_text.is_none() {
|
||||
self.report_text = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.report_text.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_report_text(&mut self) -> ::std::string::String {
|
||||
self.report_text.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string language = 8;
|
||||
|
||||
pub fn language(&self) -> &str {
|
||||
match self.language.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_language(&mut self) {
|
||||
self.language = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_language(&self) -> bool {
|
||||
self.language.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_language(&mut self, v: ::std::string::String) {
|
||||
self.language = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_language(&mut self) -> &mut ::std::string::String {
|
||||
if self.language.is_none() {
|
||||
self.language = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.language.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_language(&mut self) -> ::std::string::String {
|
||||
self.language.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CChatRoom_ReportMessage_Request {
|
||||
const NAME: &'static str = "CChatRoom_ReportMessage_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.chat_group_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
16 => {
|
||||
self.chat_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
25 => {
|
||||
self.steamid_from = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
32 => {
|
||||
self.timestamp = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
40 => {
|
||||
self.ordinal = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
48 => {
|
||||
self.report_reason = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
58 => {
|
||||
self.report_text = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
66 => {
|
||||
self.language = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.chat_group_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.chat_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.steamid_from {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.timestamp {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.ordinal {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
|
||||
}
|
||||
if let Some(v) = self.report_reason {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v.value());
|
||||
}
|
||||
if let Some(v) = self.report_text.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
|
||||
}
|
||||
if let Some(v) = self.language.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.chat_group_id {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.chat_id {
|
||||
os.write_uint64(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.steamid_from {
|
||||
os.write_fixed64(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.timestamp {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.ordinal {
|
||||
os.write_uint32(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.report_reason {
|
||||
os.write_enum(6, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.report_text.as_ref() {
|
||||
os.write_string(7, v)?;
|
||||
}
|
||||
if let Some(v) = self.language.as_ref() {
|
||||
os.write_string(8, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CChatRoom_ReportMessage_Request {
|
||||
CChatRoom_ReportMessage_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.chat_group_id = ::std::option::Option::None;
|
||||
self.chat_id = ::std::option::Option::None;
|
||||
self.steamid_from = ::std::option::Option::None;
|
||||
self.timestamp = ::std::option::Option::None;
|
||||
self.ordinal = ::std::option::Option::None;
|
||||
self.report_reason = ::std::option::Option::None;
|
||||
self.report_text = ::std::option::Option::None;
|
||||
self.language = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CChatRoom_ReportMessage_Request {
|
||||
static instance: CChatRoom_ReportMessage_Request = CChatRoom_ReportMessage_Request {
|
||||
chat_group_id: ::std::option::Option::None,
|
||||
chat_id: ::std::option::Option::None,
|
||||
steamid_from: ::std::option::Option::None,
|
||||
timestamp: ::std::option::Option::None,
|
||||
ordinal: ::std::option::Option::None,
|
||||
report_reason: ::std::option::Option::None,
|
||||
report_text: ::std::option::Option::None,
|
||||
language: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CChatRoom_ReportMessage_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CChatRoom_ReportMessage_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CChatRoom_ReportMessage_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CChatRoom_ReportMessage_Response {
|
||||
fn default() -> &'a CChatRoom_ReportMessage_Response {
|
||||
<CChatRoom_ReportMessage_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CChatRoom_ReportMessage_Response {
|
||||
pub fn new() -> CChatRoom_ReportMessage_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CChatRoom_ReportMessage_Response {
|
||||
const NAME: &'static str = "CChatRoom_ReportMessage_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CChatRoom_ReportMessage_Response {
|
||||
CChatRoom_ReportMessage_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CChatRoom_ReportMessage_Response {
|
||||
static instance: CChatRoom_ReportMessage_Response = CChatRoom_ReportMessage_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CClanChatRooms_GetClanChatRoomInfo_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CClanChatRooms_GetClanChatRoomInfo_Request {
|
||||
|
|
@ -26424,6 +26761,8 @@ use crate::steammessages_base::*;
|
|||
use crate::steammessages_unified_base_steamclient::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::steammessages_clientserver_friends::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::enums::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for CChat_RequestFriendPersonaStates_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -27530,20 +27869,6 @@ impl ::steam_vent_proto_common::RpcMessage for CChatRoom_GetChatRoomGroupState_R
|
|||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CChatRoom_SetAppChatRoomGroupForceActive_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -27970,6 +28295,32 @@ for CChatRoom_GetMessageReactionReactors_Response {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CChatRoom_ReportMessage_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CChatRoom_ReportMessage_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CClanChatRooms_GetClanChatRoomInfo_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
|
|
@ -28338,10 +28689,6 @@ impl ::steam_vent_proto_common::RpcMethod for CChatRoom_GetChatRoomGroupState_Re
|
|||
const METHOD_NAME: &'static str = "ChatRoom.GetChatRoomGroupState#1";
|
||||
type Response = CChatRoom_GetChatRoomGroupState_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CChatRoom_GetChatRoomGroupSummary_Request {
|
||||
const METHOD_NAME: &'static str = "ChatRoom.GetChatRoomGroupSummary#1";
|
||||
type Response = CChatRoom_GetChatRoomGroupSummary_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CChatRoom_GetInviteInfo_Request {
|
||||
const METHOD_NAME: &'static str = "ChatRoom.GetInviteInfo#1";
|
||||
type Response = CChatRoom_GetInviteInfo_Response;
|
||||
|
|
@ -28459,6 +28806,10 @@ impl ::steam_vent_proto_common::RpcMethod for CChatRoom_ReplaceRoleActions_Reque
|
|||
const METHOD_NAME: &'static str = "ChatRoom.ReplaceRoleActions#1";
|
||||
type Response = CChatRoom_ReplaceRoleActions_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CChatRoom_ReportMessage_Request {
|
||||
const METHOD_NAME: &'static str = "ChatRoom.ReportMessage#1";
|
||||
type Response = CChatRoom_ReportMessage_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CChatRoom_RevokeInvite_Request {
|
||||
const METHOD_NAME: &'static str = "ChatRoom.RevokeInviteToGroup#1";
|
||||
type Response = CChatRoom_RevokeInvite_Response;
|
||||
|
|
|
|||
702
steam/src/generated/steammessages_childprocessquery.rs
Normal file
702
steam/src/generated/steammessages_childprocessquery.rs
Normal file
|
|
@ -0,0 +1,702 @@
|
|||
// This file is generated by rust-protobuf 3.5.1. Do not edit
|
||||
// .proto file is parsed by pure
|
||||
// @generated
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||
#![allow(unknown_lints)]
|
||||
#![allow(clippy::all)]
|
||||
|
||||
#![allow(unused_attributes)]
|
||||
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(trivial_casts)]
|
||||
#![allow(unused_results)]
|
||||
#![allow(unused_mut)]
|
||||
|
||||
//! Generated file from `steammessages_childprocessquery.proto`
|
||||
// Generated for lite runtime
|
||||
|
||||
/// Generated files are compatible only with the same version
|
||||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgChildProcessQueryResponse)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgChildProcessQueryResponse {
|
||||
// message oneof groups
|
||||
pub response: ::std::option::Option<cmsg_child_process_query_response::Response>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgChildProcessQueryResponse.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgChildProcessQueryResponse {
|
||||
fn default() -> &'a CMsgChildProcessQueryResponse {
|
||||
<CMsgChildProcessQueryResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgChildProcessQueryResponse {
|
||||
pub fn new() -> CMsgChildProcessQueryResponse {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional .CMsgChildProcessQueryGpuTopology gpu_topology = 1;
|
||||
|
||||
pub fn gpu_topology(&self) -> &CMsgChildProcessQueryGpuTopology {
|
||||
match self.response {
|
||||
::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(ref v)) => v,
|
||||
_ => <CMsgChildProcessQueryGpuTopology as ::steam_vent_proto_common::protobuf::Message>::default_instance(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_gpu_topology(&mut self) {
|
||||
self.response = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_gpu_topology(&self) -> bool {
|
||||
match self.response {
|
||||
::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(..)) => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_gpu_topology(&mut self, v: CMsgChildProcessQueryGpuTopology) {
|
||||
self.response = ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(v))
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
pub fn mut_gpu_topology(&mut self) -> &mut CMsgChildProcessQueryGpuTopology {
|
||||
if let ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(_)) = self.response {
|
||||
} else {
|
||||
self.response = ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(CMsgChildProcessQueryGpuTopology::new()));
|
||||
}
|
||||
match self.response {
|
||||
::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(ref mut v)) => v,
|
||||
_ => panic!(),
|
||||
}
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_gpu_topology(&mut self) -> CMsgChildProcessQueryGpuTopology {
|
||||
if self.has_gpu_topology() {
|
||||
match self.response.take() {
|
||||
::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(v)) => v,
|
||||
_ => panic!(),
|
||||
}
|
||||
} else {
|
||||
CMsgChildProcessQueryGpuTopology::new()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgChildProcessQueryResponse {
|
||||
const NAME: &'static str = "CMsgChildProcessQueryResponse";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.response = ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(is.read_message()?));
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let ::std::option::Option::Some(ref v) = self.response {
|
||||
match v {
|
||||
&cmsg_child_process_query_response::Response::GpuTopology(ref v) => {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
},
|
||||
};
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let ::std::option::Option::Some(ref v) = self.response {
|
||||
match v {
|
||||
&cmsg_child_process_query_response::Response::GpuTopology(ref v) => {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
},
|
||||
};
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgChildProcessQueryResponse {
|
||||
CMsgChildProcessQueryResponse::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.response = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgChildProcessQueryResponse {
|
||||
static instance: CMsgChildProcessQueryResponse = CMsgChildProcessQueryResponse {
|
||||
response: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CMsgChildProcessQueryResponse`
|
||||
pub mod cmsg_child_process_query_response {
|
||||
|
||||
#[derive(Clone,PartialEq,Debug)]
|
||||
#[non_exhaustive]
|
||||
// @@protoc_insertion_point(oneof:CMsgChildProcessQueryResponse.response)
|
||||
pub enum Response {
|
||||
// @@protoc_insertion_point(oneof_field:CMsgChildProcessQueryResponse.gpu_topology)
|
||||
GpuTopology(super::CMsgChildProcessQueryGpuTopology),
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Oneof for Response {
|
||||
}
|
||||
|
||||
impl Response {
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgChildProcessQueryGpuTopology)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgChildProcessQueryGpuTopology {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.gpus)
|
||||
pub gpus: ::std::vec::Vec<cmsg_child_process_query_gpu_topology::GpuInfo>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.default_gpu_id)
|
||||
pub default_gpu_id: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgChildProcessQueryGpuTopology.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgChildProcessQueryGpuTopology {
|
||||
fn default() -> &'a CMsgChildProcessQueryGpuTopology {
|
||||
<CMsgChildProcessQueryGpuTopology as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgChildProcessQueryGpuTopology {
|
||||
pub fn new() -> CMsgChildProcessQueryGpuTopology {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 default_gpu_id = 2;
|
||||
|
||||
pub fn default_gpu_id(&self) -> u32 {
|
||||
self.default_gpu_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_default_gpu_id(&mut self) {
|
||||
self.default_gpu_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_default_gpu_id(&self) -> bool {
|
||||
self.default_gpu_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_default_gpu_id(&mut self, v: u32) {
|
||||
self.default_gpu_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgChildProcessQueryGpuTopology {
|
||||
const NAME: &'static str = "CMsgChildProcessQueryGpuTopology";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.gpus.push(is.read_message()?);
|
||||
},
|
||||
16 => {
|
||||
self.default_gpu_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.gpus {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
if let Some(v) = self.default_gpu_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.gpus {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
};
|
||||
if let Some(v) = self.default_gpu_id {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgChildProcessQueryGpuTopology {
|
||||
CMsgChildProcessQueryGpuTopology::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.gpus.clear();
|
||||
self.default_gpu_id = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgChildProcessQueryGpuTopology {
|
||||
static instance: CMsgChildProcessQueryGpuTopology = CMsgChildProcessQueryGpuTopology {
|
||||
gpus: ::std::vec::Vec::new(),
|
||||
default_gpu_id: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CMsgChildProcessQueryGpuTopology`
|
||||
pub mod cmsg_child_process_query_gpu_topology {
|
||||
// @@protoc_insertion_point(message:CMsgChildProcessQueryGpuTopology.GpuInfo)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct GpuInfo {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.id)
|
||||
pub id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.name)
|
||||
pub name: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.vram_size_bytes)
|
||||
pub vram_size_bytes: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_id)
|
||||
pub driver_id: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::super::enums::EGpuDriverId>>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_version_major)
|
||||
pub driver_version_major: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_version_minor)
|
||||
pub driver_version_minor: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_version_patch)
|
||||
pub driver_version_patch: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.luid)
|
||||
pub luid: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgChildProcessQueryGpuTopology.GpuInfo.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a GpuInfo {
|
||||
fn default() -> &'a GpuInfo {
|
||||
<GpuInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl GpuInfo {
|
||||
pub fn new() -> GpuInfo {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 id = 1;
|
||||
|
||||
pub fn id(&self) -> u32 {
|
||||
self.id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_id(&mut self) {
|
||||
self.id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_id(&self) -> bool {
|
||||
self.id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_id(&mut self, v: u32) {
|
||||
self.id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string name = 2;
|
||||
|
||||
pub fn name(&self) -> &str {
|
||||
match self.name.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_name(&mut self) {
|
||||
self.name = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_name(&self) -> bool {
|
||||
self.name.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_name(&mut self, v: ::std::string::String) {
|
||||
self.name = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_name(&mut self) -> &mut ::std::string::String {
|
||||
if self.name.is_none() {
|
||||
self.name = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.name.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_name(&mut self) -> ::std::string::String {
|
||||
self.name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional uint64 vram_size_bytes = 3;
|
||||
|
||||
pub fn vram_size_bytes(&self) -> u64 {
|
||||
self.vram_size_bytes.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_vram_size_bytes(&mut self) {
|
||||
self.vram_size_bytes = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_vram_size_bytes(&self) -> bool {
|
||||
self.vram_size_bytes.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_vram_size_bytes(&mut self, v: u64) {
|
||||
self.vram_size_bytes = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .EGpuDriverId driver_id = 4;
|
||||
|
||||
pub fn driver_id(&self) -> super::super::enums::EGpuDriverId {
|
||||
match self.driver_id {
|
||||
Some(e) => e.enum_value_or(super::super::enums::EGpuDriverId::k_EGpuDriverId_Invalid),
|
||||
None => super::super::enums::EGpuDriverId::k_EGpuDriverId_Invalid,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_driver_id(&mut self) {
|
||||
self.driver_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_driver_id(&self) -> bool {
|
||||
self.driver_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_driver_id(&mut self, v: super::super::enums::EGpuDriverId) {
|
||||
self.driver_id = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional int32 driver_version_major = 5;
|
||||
|
||||
pub fn driver_version_major(&self) -> i32 {
|
||||
self.driver_version_major.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_driver_version_major(&mut self) {
|
||||
self.driver_version_major = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_driver_version_major(&self) -> bool {
|
||||
self.driver_version_major.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_driver_version_major(&mut self, v: i32) {
|
||||
self.driver_version_major = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 driver_version_minor = 6;
|
||||
|
||||
pub fn driver_version_minor(&self) -> i32 {
|
||||
self.driver_version_minor.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_driver_version_minor(&mut self) {
|
||||
self.driver_version_minor = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_driver_version_minor(&self) -> bool {
|
||||
self.driver_version_minor.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_driver_version_minor(&mut self, v: i32) {
|
||||
self.driver_version_minor = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 driver_version_patch = 7;
|
||||
|
||||
pub fn driver_version_patch(&self) -> i32 {
|
||||
self.driver_version_patch.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_driver_version_patch(&mut self) {
|
||||
self.driver_version_patch = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_driver_version_patch(&self) -> bool {
|
||||
self.driver_version_patch.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_driver_version_patch(&mut self, v: i32) {
|
||||
self.driver_version_patch = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 luid = 8;
|
||||
|
||||
pub fn luid(&self) -> u64 {
|
||||
self.luid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_luid(&mut self) {
|
||||
self.luid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_luid(&self) -> bool {
|
||||
self.luid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_luid(&mut self, v: u64) {
|
||||
self.luid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for GpuInfo {
|
||||
const NAME: &'static str = "GpuInfo";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
18 => {
|
||||
self.name = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
24 => {
|
||||
self.vram_size_bytes = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
32 => {
|
||||
self.driver_id = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
40 => {
|
||||
self.driver_version_major = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
48 => {
|
||||
self.driver_version_minor = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
56 => {
|
||||
self.driver_version_patch = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
64 => {
|
||||
self.luid = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.name.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.vram_size_bytes {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.driver_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v.value());
|
||||
}
|
||||
if let Some(v) = self.driver_version_major {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
|
||||
}
|
||||
if let Some(v) = self.driver_version_minor {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
|
||||
}
|
||||
if let Some(v) = self.driver_version_patch {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(7, v);
|
||||
}
|
||||
if let Some(v) = self.luid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.id {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.name.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.vram_size_bytes {
|
||||
os.write_uint64(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.driver_id {
|
||||
os.write_enum(4, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.driver_version_major {
|
||||
os.write_int32(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.driver_version_minor {
|
||||
os.write_int32(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.driver_version_patch {
|
||||
os.write_int32(7, v)?;
|
||||
}
|
||||
if let Some(v) = self.luid {
|
||||
os.write_uint64(8, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> GpuInfo {
|
||||
GpuInfo::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.id = ::std::option::Option::None;
|
||||
self.name = ::std::option::Option::None;
|
||||
self.vram_size_bytes = ::std::option::Option::None;
|
||||
self.driver_id = ::std::option::Option::None;
|
||||
self.driver_version_major = ::std::option::Option::None;
|
||||
self.driver_version_minor = ::std::option::Option::None;
|
||||
self.driver_version_patch = ::std::option::Option::None;
|
||||
self.luid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static GpuInfo {
|
||||
static instance: GpuInfo = GpuInfo {
|
||||
id: ::std::option::Option::None,
|
||||
name: ::std::option::Option::None,
|
||||
vram_size_bytes: ::std::option::Option::None,
|
||||
driver_id: ::std::option::Option::None,
|
||||
driver_version_major: ::std::option::Option::None,
|
||||
driver_version_minor: ::std::option::Option::None,
|
||||
driver_version_patch: ::std::option::Option::None,
|
||||
luid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use crate::enums::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgChildProcessQueryResponse {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgChildProcessQueryGpuTopology {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -5366,6 +5366,8 @@ pub struct CClientNotificationStreamingClientConnection {
|
|||
pub hostname: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CClientNotificationStreamingClientConnection.machine)
|
||||
pub machine: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CClientNotificationStreamingClientConnection.guest_id)
|
||||
pub guest_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CClientNotificationStreamingClientConnection.connected)
|
||||
pub connected: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
|
|
@ -5456,7 +5458,26 @@ impl CClientNotificationStreamingClientConnection {
|
|||
self.machine.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool connected = 3;
|
||||
// optional uint32 guest_id = 3;
|
||||
|
||||
pub fn guest_id(&self) -> u32 {
|
||||
self.guest_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_guest_id(&mut self) {
|
||||
self.guest_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_guest_id(&self) -> bool {
|
||||
self.guest_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_guest_id(&mut self, v: u32) {
|
||||
self.guest_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool connected = 4;
|
||||
|
||||
pub fn connected(&self) -> bool {
|
||||
self.connected.unwrap_or(false)
|
||||
|
|
@ -5493,6 +5514,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationStreami
|
|||
self.machine = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
24 => {
|
||||
self.guest_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.connected = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
|
|
@ -5513,6 +5537,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationStreami
|
|||
if let Some(v) = self.machine.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.guest_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.connected {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
|
|
@ -5528,8 +5555,11 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationStreami
|
|||
if let Some(v) = self.machine.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.guest_id {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.connected {
|
||||
os.write_bool(3, v)?;
|
||||
os.write_bool(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
|
|
@ -5550,6 +5580,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationStreami
|
|||
fn clear(&mut self) {
|
||||
self.hostname = ::std::option::Option::None;
|
||||
self.machine = ::std::option::Option::None;
|
||||
self.guest_id = ::std::option::Option::None;
|
||||
self.connected = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
|
@ -5558,6 +5589,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationStreami
|
|||
static instance: CClientNotificationStreamingClientConnection = CClientNotificationStreamingClientConnection {
|
||||
hostname: ::std::option::Option::None,
|
||||
machine: ::std::option::Option::None,
|
||||
guest_id: ::std::option::Option::None,
|
||||
connected: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
|
|
@ -5984,6 +6016,8 @@ pub struct CClientNotificationGameRecordingStop {
|
|||
pub game_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CClientNotificationGameRecordingStop.clip_id)
|
||||
pub clip_id: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CClientNotificationGameRecordingStop.duration_secs)
|
||||
pub duration_secs: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CClientNotificationGameRecordingStop.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -6054,6 +6088,25 @@ impl CClientNotificationGameRecordingStop {
|
|||
pub fn take_clip_id(&mut self) -> ::std::string::String {
|
||||
self.clip_id.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional float duration_secs = 3;
|
||||
|
||||
pub fn duration_secs(&self) -> f32 {
|
||||
self.duration_secs.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_duration_secs(&mut self) {
|
||||
self.duration_secs = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_duration_secs(&self) -> bool {
|
||||
self.duration_secs.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_duration_secs(&mut self, v: f32) {
|
||||
self.duration_secs = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRecordingStop {
|
||||
|
|
@ -6072,6 +6125,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRec
|
|||
18 => {
|
||||
self.clip_id = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
29 => {
|
||||
self.duration_secs = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -6090,6 +6146,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRec
|
|||
if let Some(v) = self.clip_id.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.duration_secs {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -6102,6 +6161,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRec
|
|||
if let Some(v) = self.clip_id.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.duration_secs {
|
||||
os.write_float(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -6121,6 +6183,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRec
|
|||
fn clear(&mut self) {
|
||||
self.game_id = ::std::option::Option::None;
|
||||
self.clip_id = ::std::option::Option::None;
|
||||
self.duration_secs = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -6128,6 +6191,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRec
|
|||
static instance: CClientNotificationGameRecordingStop = CClientNotificationGameRecordingStop {
|
||||
game_id: ::std::option::Option::None,
|
||||
clip_id: ::std::option::Option::None,
|
||||
duration_secs: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -6243,6 +6307,289 @@ impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRec
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CClientNotificationGameRecordingInstantClip)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CClientNotificationGameRecordingInstantClip {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CClientNotificationGameRecordingInstantClip.game_id)
|
||||
pub game_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CClientNotificationGameRecordingInstantClip.clip_id)
|
||||
pub clip_id: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CClientNotificationGameRecordingInstantClip.duration_secs)
|
||||
pub duration_secs: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CClientNotificationGameRecordingInstantClip.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CClientNotificationGameRecordingInstantClip {
|
||||
fn default() -> &'a CClientNotificationGameRecordingInstantClip {
|
||||
<CClientNotificationGameRecordingInstantClip as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CClientNotificationGameRecordingInstantClip {
|
||||
pub fn new() -> CClientNotificationGameRecordingInstantClip {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional fixed64 game_id = 1;
|
||||
|
||||
pub fn game_id(&self) -> u64 {
|
||||
self.game_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_game_id(&mut self) {
|
||||
self.game_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_game_id(&self) -> bool {
|
||||
self.game_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_game_id(&mut self, v: u64) {
|
||||
self.game_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string clip_id = 2;
|
||||
|
||||
pub fn clip_id(&self) -> &str {
|
||||
match self.clip_id.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_clip_id(&mut self) {
|
||||
self.clip_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_clip_id(&self) -> bool {
|
||||
self.clip_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_clip_id(&mut self, v: ::std::string::String) {
|
||||
self.clip_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_clip_id(&mut self) -> &mut ::std::string::String {
|
||||
if self.clip_id.is_none() {
|
||||
self.clip_id = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.clip_id.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_clip_id(&mut self) -> ::std::string::String {
|
||||
self.clip_id.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional float duration_secs = 3;
|
||||
|
||||
pub fn duration_secs(&self) -> f32 {
|
||||
self.duration_secs.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_duration_secs(&mut self) {
|
||||
self.duration_secs = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_duration_secs(&self) -> bool {
|
||||
self.duration_secs.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_duration_secs(&mut self, v: f32) {
|
||||
self.duration_secs = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationGameRecordingInstantClip {
|
||||
const NAME: &'static str = "CClientNotificationGameRecordingInstantClip";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
9 => {
|
||||
self.game_id = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
18 => {
|
||||
self.clip_id = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
29 => {
|
||||
self.duration_secs = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.game_id {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.clip_id.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.duration_secs {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.game_id {
|
||||
os.write_fixed64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.clip_id.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.duration_secs {
|
||||
os.write_float(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CClientNotificationGameRecordingInstantClip {
|
||||
CClientNotificationGameRecordingInstantClip::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.game_id = ::std::option::Option::None;
|
||||
self.clip_id = ::std::option::Option::None;
|
||||
self.duration_secs = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CClientNotificationGameRecordingInstantClip {
|
||||
static instance: CClientNotificationGameRecordingInstantClip = CClientNotificationGameRecordingInstantClip {
|
||||
game_id: ::std::option::Option::None,
|
||||
clip_id: ::std::option::Option::None,
|
||||
duration_secs: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CClientNotificationHardwareUpdateAvailable)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CClientNotificationHardwareUpdateAvailable {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CClientNotificationHardwareUpdateAvailable.etype)
|
||||
pub etype: ::std::vec::Vec<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CClientNotificationHardwareUpdateAvailable.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CClientNotificationHardwareUpdateAvailable {
|
||||
fn default() -> &'a CClientNotificationHardwareUpdateAvailable {
|
||||
<CClientNotificationHardwareUpdateAvailable as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CClientNotificationHardwareUpdateAvailable {
|
||||
pub fn new() -> CClientNotificationHardwareUpdateAvailable {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CClientNotificationHardwareUpdateAvailable {
|
||||
const NAME: &'static str = "CClientNotificationHardwareUpdateAvailable";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
is.read_repeated_packed_uint32_into(&mut self.etype)?;
|
||||
},
|
||||
8 => {
|
||||
self.etype.push(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.etype {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, *value);
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.etype {
|
||||
os.write_uint32(1, *v)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CClientNotificationHardwareUpdateAvailable {
|
||||
CClientNotificationHardwareUpdateAvailable::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.etype.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CClientNotificationHardwareUpdateAvailable {
|
||||
static instance: CClientNotificationHardwareUpdateAvailable = CClientNotificationHardwareUpdateAvailable {
|
||||
etype: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EClientNotificationType)
|
||||
pub enum EClientNotificationType {
|
||||
|
|
@ -6268,12 +6615,8 @@ pub enum EClientNotificationType {
|
|||
k_EClientNotificationType_GroupChatMessage = 9,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_FriendInviteRollup)
|
||||
k_EClientNotificationType_FriendInviteRollup = 10,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_FamilySharingDeviceAuthorizationChanged)
|
||||
k_EClientNotificationType_FamilySharingDeviceAuthorizationChanged = 11,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_FamilySharingStopPlaying)
|
||||
k_EClientNotificationType_FamilySharingStopPlaying = 12,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_FamilySharingLibraryAvailable)
|
||||
k_EClientNotificationType_FamilySharingLibraryAvailable = 13,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_Screenshot)
|
||||
k_EClientNotificationType_Screenshot = 14,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_CloudSyncFailure)
|
||||
|
|
@ -6362,6 +6705,14 @@ pub enum EClientNotificationType {
|
|||
k_EClientNotificationType_GameRecordingStop = 56,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_GameRecordingUserMarkerAdded)
|
||||
k_EClientNotificationType_GameRecordingUserMarkerAdded = 57,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_GameRecordingInstantClip)
|
||||
k_EClientNotificationType_GameRecordingInstantClip = 58,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_PlaytestInvite)
|
||||
k_EClientNotificationType_PlaytestInvite = 59,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_TradeReversal)
|
||||
k_EClientNotificationType_TradeReversal = 60,
|
||||
// @@protoc_insertion_point(enum_value:EClientNotificationType.k_EClientNotificationType_HardwareUpdateAvailable)
|
||||
k_EClientNotificationType_HardwareUpdateAvailable = 61,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EClientNotificationType {
|
||||
|
|
@ -6384,9 +6735,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EClientNotificationType {
|
|||
8 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FriendMessage),
|
||||
9 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GroupChatMessage),
|
||||
10 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FriendInviteRollup),
|
||||
11 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FamilySharingDeviceAuthorizationChanged),
|
||||
12 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FamilySharingStopPlaying),
|
||||
13 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FamilySharingLibraryAvailable),
|
||||
14 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_Screenshot),
|
||||
15 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_CloudSyncFailure),
|
||||
16 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_CloudSyncConflict),
|
||||
|
|
@ -6431,6 +6780,10 @@ impl ::steam_vent_proto_common::protobuf::Enum for EClientNotificationType {
|
|||
55 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingStart),
|
||||
56 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingStop),
|
||||
57 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingUserMarkerAdded),
|
||||
58 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingInstantClip),
|
||||
59 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_PlaytestInvite),
|
||||
60 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_TradeReversal),
|
||||
61 => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_HardwareUpdateAvailable),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -6448,9 +6801,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EClientNotificationType {
|
|||
"k_EClientNotificationType_FriendMessage" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FriendMessage),
|
||||
"k_EClientNotificationType_GroupChatMessage" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GroupChatMessage),
|
||||
"k_EClientNotificationType_FriendInviteRollup" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FriendInviteRollup),
|
||||
"k_EClientNotificationType_FamilySharingDeviceAuthorizationChanged" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FamilySharingDeviceAuthorizationChanged),
|
||||
"k_EClientNotificationType_FamilySharingStopPlaying" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FamilySharingStopPlaying),
|
||||
"k_EClientNotificationType_FamilySharingLibraryAvailable" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_FamilySharingLibraryAvailable),
|
||||
"k_EClientNotificationType_Screenshot" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_Screenshot),
|
||||
"k_EClientNotificationType_CloudSyncFailure" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_CloudSyncFailure),
|
||||
"k_EClientNotificationType_CloudSyncConflict" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_CloudSyncConflict),
|
||||
|
|
@ -6495,6 +6846,10 @@ impl ::steam_vent_proto_common::protobuf::Enum for EClientNotificationType {
|
|||
"k_EClientNotificationType_GameRecordingStart" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingStart),
|
||||
"k_EClientNotificationType_GameRecordingStop" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingStop),
|
||||
"k_EClientNotificationType_GameRecordingUserMarkerAdded" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingUserMarkerAdded),
|
||||
"k_EClientNotificationType_GameRecordingInstantClip" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_GameRecordingInstantClip),
|
||||
"k_EClientNotificationType_PlaytestInvite" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_PlaytestInvite),
|
||||
"k_EClientNotificationType_TradeReversal" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_TradeReversal),
|
||||
"k_EClientNotificationType_HardwareUpdateAvailable" => ::std::option::Option::Some(EClientNotificationType::k_EClientNotificationType_HardwareUpdateAvailable),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -6511,9 +6866,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EClientNotificationType {
|
|||
EClientNotificationType::k_EClientNotificationType_FriendMessage,
|
||||
EClientNotificationType::k_EClientNotificationType_GroupChatMessage,
|
||||
EClientNotificationType::k_EClientNotificationType_FriendInviteRollup,
|
||||
EClientNotificationType::k_EClientNotificationType_FamilySharingDeviceAuthorizationChanged,
|
||||
EClientNotificationType::k_EClientNotificationType_FamilySharingStopPlaying,
|
||||
EClientNotificationType::k_EClientNotificationType_FamilySharingLibraryAvailable,
|
||||
EClientNotificationType::k_EClientNotificationType_Screenshot,
|
||||
EClientNotificationType::k_EClientNotificationType_CloudSyncFailure,
|
||||
EClientNotificationType::k_EClientNotificationType_CloudSyncConflict,
|
||||
|
|
@ -6558,6 +6911,10 @@ impl ::steam_vent_proto_common::protobuf::Enum for EClientNotificationType {
|
|||
EClientNotificationType::k_EClientNotificationType_GameRecordingStart,
|
||||
EClientNotificationType::k_EClientNotificationType_GameRecordingStop,
|
||||
EClientNotificationType::k_EClientNotificationType_GameRecordingUserMarkerAdded,
|
||||
EClientNotificationType::k_EClientNotificationType_GameRecordingInstantClip,
|
||||
EClientNotificationType::k_EClientNotificationType_PlaytestInvite,
|
||||
EClientNotificationType::k_EClientNotificationType_TradeReversal,
|
||||
EClientNotificationType::k_EClientNotificationType_HardwareUpdateAvailable,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -7198,3 +7555,31 @@ for CClientNotificationGameRecordingUserMarkerAdded {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CClientNotificationGameRecordingInstantClip {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CClientNotificationHardwareUpdateAvailable {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -565,160 +565,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientTicketAuthComple
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgClientCMList)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgClientCMList {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgClientCMList.cm_addresses)
|
||||
pub cm_addresses: ::std::vec::Vec<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClientCMList.cm_ports)
|
||||
pub cm_ports: ::std::vec::Vec<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClientCMList.cm_websocket_addresses)
|
||||
pub cm_websocket_addresses: ::std::vec::Vec<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgClientCMList.percent_default_to_websocket)
|
||||
pub percent_default_to_websocket: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClientCMList.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgClientCMList {
|
||||
fn default() -> &'a CMsgClientCMList {
|
||||
<CMsgClientCMList as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgClientCMList {
|
||||
pub fn new() -> CMsgClientCMList {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 percent_default_to_websocket = 4;
|
||||
|
||||
pub fn percent_default_to_websocket(&self) -> u32 {
|
||||
self.percent_default_to_websocket.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_percent_default_to_websocket(&mut self) {
|
||||
self.percent_default_to_websocket = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_percent_default_to_websocket(&self) -> bool {
|
||||
self.percent_default_to_websocket.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_percent_default_to_websocket(&mut self, v: u32) {
|
||||
self.percent_default_to_websocket = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgClientCMList {
|
||||
const NAME: &'static str = "CMsgClientCMList";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
is.read_repeated_packed_uint32_into(&mut self.cm_addresses)?;
|
||||
},
|
||||
8 => {
|
||||
self.cm_addresses.push(is.read_uint32()?);
|
||||
},
|
||||
18 => {
|
||||
is.read_repeated_packed_uint32_into(&mut self.cm_ports)?;
|
||||
},
|
||||
16 => {
|
||||
self.cm_ports.push(is.read_uint32()?);
|
||||
},
|
||||
26 => {
|
||||
self.cm_websocket_addresses.push(is.read_string()?);
|
||||
},
|
||||
32 => {
|
||||
self.percent_default_to_websocket = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.cm_addresses {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, *value);
|
||||
};
|
||||
for value in &self.cm_ports {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
|
||||
};
|
||||
for value in &self.cm_websocket_addresses {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &value);
|
||||
};
|
||||
if let Some(v) = self.percent_default_to_websocket {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.cm_addresses {
|
||||
os.write_uint32(1, *v)?;
|
||||
};
|
||||
for v in &self.cm_ports {
|
||||
os.write_uint32(2, *v)?;
|
||||
};
|
||||
for v in &self.cm_websocket_addresses {
|
||||
os.write_string(3, &v)?;
|
||||
};
|
||||
if let Some(v) = self.percent_default_to_websocket {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgClientCMList {
|
||||
CMsgClientCMList::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.cm_addresses.clear();
|
||||
self.cm_ports.clear();
|
||||
self.cm_websocket_addresses.clear();
|
||||
self.percent_default_to_websocket = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgClientCMList {
|
||||
static instance: CMsgClientCMList = CMsgClientCMList {
|
||||
cm_addresses: ::std::vec::Vec::new(),
|
||||
cm_ports: ::std::vec::Vec::new(),
|
||||
cm_websocket_addresses: ::std::vec::Vec::new(),
|
||||
percent_default_to_websocket: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgClientP2PConnectionInfo)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgClientP2PConnectionInfo {
|
||||
|
|
@ -735,6 +581,8 @@ pub struct CMsgClientP2PConnectionInfo {
|
|||
pub legacy_connection_id_src: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgClientP2PConnectionInfo.rendezvous)
|
||||
pub rendezvous: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// @@protoc_insertion_point(field:CMsgClientP2PConnectionInfo.app_id_secondary)
|
||||
pub app_id_secondary: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClientP2PConnectionInfo.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -898,6 +746,25 @@ impl CMsgClientP2PConnectionInfo {
|
|||
pub fn take_rendezvous(&mut self) -> ::std::vec::Vec<u8> {
|
||||
self.rendezvous.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||
}
|
||||
|
||||
// optional uint32 app_id_secondary = 7;
|
||||
|
||||
pub fn app_id_secondary(&self) -> u32 {
|
||||
self.app_id_secondary.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_app_id_secondary(&mut self) {
|
||||
self.app_id_secondary = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_app_id_secondary(&self) -> bool {
|
||||
self.app_id_secondary.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_app_id_secondary(&mut self, v: u32) {
|
||||
self.app_id_secondary = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgClientP2PConnectionInfo {
|
||||
|
|
@ -928,6 +795,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientP2PConnectionInf
|
|||
50 => {
|
||||
self.rendezvous = ::std::option::Option::Some(is.read_bytes()?);
|
||||
},
|
||||
56 => {
|
||||
self.app_id_secondary = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -958,6 +828,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientP2PConnectionInf
|
|||
if let Some(v) = self.rendezvous.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(6, &v);
|
||||
}
|
||||
if let Some(v) = self.app_id_secondary {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -982,6 +855,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientP2PConnectionInf
|
|||
if let Some(v) = self.rendezvous.as_ref() {
|
||||
os.write_bytes(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.app_id_secondary {
|
||||
os.write_uint32(7, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1005,6 +881,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientP2PConnectionInf
|
|||
self.candidate = ::std::option::Option::None;
|
||||
self.legacy_connection_id_src = ::std::option::Option::None;
|
||||
self.rendezvous = ::std::option::Option::None;
|
||||
self.app_id_secondary = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1016,6 +893,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientP2PConnectionInf
|
|||
candidate: ::std::option::Option::None,
|
||||
legacy_connection_id_src: ::std::option::Option::None,
|
||||
rendezvous: ::std::option::Option::None,
|
||||
app_id_secondary: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -4914,6 +4792,147 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientAuthListAck {
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgGameServerPolicyUpdate)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgGameServerPolicyUpdate {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgGameServerPolicyUpdate.app_id)
|
||||
pub app_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgGameServerPolicyUpdate.app_id_aux)
|
||||
pub app_id_aux: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgGameServerPolicyUpdate.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgGameServerPolicyUpdate {
|
||||
fn default() -> &'a CMsgGameServerPolicyUpdate {
|
||||
<CMsgGameServerPolicyUpdate as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgGameServerPolicyUpdate {
|
||||
pub fn new() -> CMsgGameServerPolicyUpdate {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 app_id = 1;
|
||||
|
||||
pub fn app_id(&self) -> u32 {
|
||||
self.app_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_app_id(&mut self) {
|
||||
self.app_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_app_id(&self) -> bool {
|
||||
self.app_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_app_id(&mut self, v: u32) {
|
||||
self.app_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 app_id_aux = 2;
|
||||
|
||||
pub fn app_id_aux(&self) -> u32 {
|
||||
self.app_id_aux.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_app_id_aux(&mut self) {
|
||||
self.app_id_aux = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_app_id_aux(&self) -> bool {
|
||||
self.app_id_aux.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_app_id_aux(&mut self, v: u32) {
|
||||
self.app_id_aux = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgGameServerPolicyUpdate {
|
||||
const NAME: &'static str = "CMsgGameServerPolicyUpdate";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.app_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.app_id_aux = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.app_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.app_id_aux {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.app_id {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.app_id_aux {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgGameServerPolicyUpdate {
|
||||
CMsgGameServerPolicyUpdate::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.app_id = ::std::option::Option::None;
|
||||
self.app_id_aux = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgGameServerPolicyUpdate {
|
||||
static instance: CMsgGameServerPolicyUpdate = CMsgGameServerPolicyUpdate {
|
||||
app_id: ::std::option::Option::None,
|
||||
app_id_aux: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgClientLicenseList)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgClientLicenseList {
|
||||
|
|
@ -11490,23 +11509,6 @@ impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientTicketAuthCompl
|
|||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientTicketAuthComplete;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientCMList {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientCMList {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientCMList;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientP2PConnectionInfo {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -11773,6 +11775,23 @@ impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientAuthListAck {
|
|||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientAuthListAck;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgGameServerPolicyUpdate {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgGameServerPolicyUpdate {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgGameServerPolicyUpdate;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientLicenseList {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -11820,10 +11839,6 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClientRequestedClientStats {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientRequestedClientStats {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientRequestedClientStats;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientStat2 {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -11837,10 +11852,6 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClientStat2 {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientStat2 {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientStat2;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientInviteToGame {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -4053,6 +4053,10 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSPrivateBetaRequest
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientPICSPrivateBetaRequest {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSPrivateBetaRequest;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSPrivateBetaResponse {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -4066,3 +4070,8 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSPrivateBetaResponse
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind
|
||||
for CMsgClientPICSPrivateBetaResponse {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSPrivateBetaResponse;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3372,6 +3372,10 @@ pub mod cmsg_client_persona_state {
|
|||
pub avatar_pending_review: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientPersonaState.Friend.on_steam_deck)
|
||||
pub on_steam_deck: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientPersonaState.Friend.other_game_data)
|
||||
pub other_game_data: ::std::vec::Vec<friend::OtherGameData>,
|
||||
// @@protoc_insertion_point(field:CMsgClientPersonaState.Friend.gaming_device_type)
|
||||
pub gaming_device_type: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClientPersonaState.Friend.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -4059,6 +4063,25 @@ pub mod cmsg_client_persona_state {
|
|||
pub fn set_on_steam_deck(&mut self, v: bool) {
|
||||
self.on_steam_deck = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 gaming_device_type = 83;
|
||||
|
||||
pub fn gaming_device_type(&self) -> u32 {
|
||||
self.gaming_device_type.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_gaming_device_type(&mut self) {
|
||||
self.gaming_device_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_gaming_device_type(&self) -> bool {
|
||||
self.gaming_device_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_gaming_device_type(&mut self, v: u32) {
|
||||
self.gaming_device_type = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for Friend {
|
||||
|
|
@ -4167,6 +4190,12 @@ pub mod cmsg_client_persona_state {
|
|||
648 => {
|
||||
self.on_steam_deck = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
658 => {
|
||||
self.other_game_data.push(is.read_message()?);
|
||||
},
|
||||
664 => {
|
||||
self.gaming_device_type = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -4277,6 +4306,13 @@ pub mod cmsg_client_persona_state {
|
|||
if let Some(v) = self.on_steam_deck {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
for value in &self.other_game_data {
|
||||
let len = value.compute_size();
|
||||
my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
if let Some(v) = self.gaming_device_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(83, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -4379,6 +4415,12 @@ pub mod cmsg_client_persona_state {
|
|||
if let Some(v) = self.on_steam_deck {
|
||||
os.write_bool(81, v)?;
|
||||
}
|
||||
for v in &self.other_game_data {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(82, v, os)?;
|
||||
};
|
||||
if let Some(v) = self.gaming_device_type {
|
||||
os.write_uint32(83, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -4428,6 +4470,8 @@ pub mod cmsg_client_persona_state {
|
|||
self.player_name_pending_review = ::std::option::Option::None;
|
||||
self.avatar_pending_review = ::std::option::Option::None;
|
||||
self.on_steam_deck = ::std::option::Option::None;
|
||||
self.other_game_data.clear();
|
||||
self.gaming_device_type = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -4465,6 +4509,8 @@ pub mod cmsg_client_persona_state {
|
|||
player_name_pending_review: ::std::option::Option::None,
|
||||
avatar_pending_review: ::std::option::Option::None,
|
||||
on_steam_deck: ::std::option::Option::None,
|
||||
other_game_data: ::std::vec::Vec::new(),
|
||||
gaming_device_type: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -4788,6 +4834,129 @@ pub mod cmsg_client_persona_state {
|
|||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgClientPersonaState.Friend.OtherGameData)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct OtherGameData {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgClientPersonaState.Friend.OtherGameData.gameid)
|
||||
pub gameid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgClientPersonaState.Friend.OtherGameData.rich_presence)
|
||||
pub rich_presence: ::std::vec::Vec<KV>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClientPersonaState.Friend.OtherGameData.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a OtherGameData {
|
||||
fn default() -> &'a OtherGameData {
|
||||
<OtherGameData as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl OtherGameData {
|
||||
pub fn new() -> OtherGameData {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint64 gameid = 1;
|
||||
|
||||
pub fn gameid(&self) -> u64 {
|
||||
self.gameid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_gameid(&mut self) {
|
||||
self.gameid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_gameid(&self) -> bool {
|
||||
self.gameid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_gameid(&mut self, v: u64) {
|
||||
self.gameid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for OtherGameData {
|
||||
const NAME: &'static str = "OtherGameData";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.gameid = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
18 => {
|
||||
self.rich_presence.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.gameid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
for value in &self.rich_presence {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.gameid {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
for v in &self.rich_presence {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> OtherGameData {
|
||||
OtherGameData::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.gameid = ::std::option::Option::None;
|
||||
self.rich_presence.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static OtherGameData {
|
||||
static instance: OtherGameData = OtherGameData {
|
||||
gameid: ::std::option::Option::None,
|
||||
rich_presence: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -479,6 +479,8 @@ pub struct CMsgGSStatusReply {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgGSStatusReply.is_secure)
|
||||
pub is_secure: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgGSStatusReply.is_valveds)
|
||||
pub is_valveds: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgGSStatusReply.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -513,6 +515,25 @@ impl CMsgGSStatusReply {
|
|||
pub fn set_is_secure(&mut self, v: bool) {
|
||||
self.is_secure = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_valveds = 2;
|
||||
|
||||
pub fn is_valveds(&self) -> bool {
|
||||
self.is_valveds.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_valveds(&mut self) {
|
||||
self.is_valveds = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_valveds(&self) -> bool {
|
||||
self.is_valveds.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_valveds(&mut self, v: bool) {
|
||||
self.is_valveds = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgGSStatusReply {
|
||||
|
|
@ -528,6 +549,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGSStatusReply {
|
|||
8 => {
|
||||
self.is_secure = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
16 => {
|
||||
self.is_valveds = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -543,6 +567,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGSStatusReply {
|
|||
if let Some(v) = self.is_secure {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_valveds {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -552,6 +579,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGSStatusReply {
|
|||
if let Some(v) = self.is_secure {
|
||||
os.write_bool(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_valveds {
|
||||
os.write_bool(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -570,12 +600,14 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGSStatusReply {
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.is_secure = ::std::option::Option::None;
|
||||
self.is_valveds = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgGSStatusReply {
|
||||
static instance: CMsgGSStatusReply = CMsgGSStatusReply {
|
||||
is_secure: ::std::option::Option::None,
|
||||
is_valveds: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -2491,6 +2523,8 @@ pub struct CMsgClientGMSServerQuery {
|
|||
pub filter_text: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGMSServerQuery.max_servers)
|
||||
pub max_servers: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGMSServerQuery.sdr_ping_location)
|
||||
pub sdr_ping_location: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClientGMSServerQuery.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2618,6 +2652,42 @@ impl CMsgClientGMSServerQuery {
|
|||
pub fn set_max_servers(&mut self, v: u32) {
|
||||
self.max_servers = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string sdr_ping_location = 6;
|
||||
|
||||
pub fn sdr_ping_location(&self) -> &str {
|
||||
match self.sdr_ping_location.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_sdr_ping_location(&mut self) {
|
||||
self.sdr_ping_location = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_sdr_ping_location(&self) -> bool {
|
||||
self.sdr_ping_location.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_sdr_ping_location(&mut self, v: ::std::string::String) {
|
||||
self.sdr_ping_location = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_sdr_ping_location(&mut self) -> &mut ::std::string::String {
|
||||
if self.sdr_ping_location.is_none() {
|
||||
self.sdr_ping_location = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.sdr_ping_location.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_sdr_ping_location(&mut self) -> ::std::string::String {
|
||||
self.sdr_ping_location.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgClientGMSServerQuery {
|
||||
|
|
@ -2645,6 +2715,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientGMSServerQuery {
|
|||
40 => {
|
||||
self.max_servers = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
50 => {
|
||||
self.sdr_ping_location = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2672,6 +2745,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientGMSServerQuery {
|
|||
if let Some(v) = self.max_servers {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
|
||||
}
|
||||
if let Some(v) = self.sdr_ping_location.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -2693,6 +2769,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientGMSServerQuery {
|
|||
if let Some(v) = self.max_servers {
|
||||
os.write_uint32(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.sdr_ping_location.as_ref() {
|
||||
os.write_string(6, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2715,6 +2794,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientGMSServerQuery {
|
|||
self.region_code = ::std::option::Option::None;
|
||||
self.filter_text = ::std::option::Option::None;
|
||||
self.max_servers = ::std::option::Option::None;
|
||||
self.sdr_ping_location = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -2725,6 +2805,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientGMSServerQuery {
|
|||
region_code: ::std::option::Option::None,
|
||||
filter_text: ::std::option::Option::None,
|
||||
max_servers: ::std::option::Option::None,
|
||||
sdr_ping_location: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
|
|
@ -841,8 +841,6 @@ pub struct CMsgClientLogon {
|
|||
pub machine_name_userchosen: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.country_override)
|
||||
pub country_override: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.is_steam_box)
|
||||
pub is_steam_box: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.client_instance_id)
|
||||
pub client_instance_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.two_factor_code)
|
||||
|
|
@ -857,14 +855,18 @@ pub struct CMsgClientLogon {
|
|||
pub embedded_client_secret: ::steam_vent_proto_common::protobuf::MessageField<CMsgClientSecret>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.disable_partner_autogrants)
|
||||
pub disable_partner_autogrants: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.is_steam_deck)
|
||||
pub is_steam_deck: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.access_token)
|
||||
pub access_token: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.is_chrome_os)
|
||||
pub is_chrome_os: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.is_tesla)
|
||||
pub is_tesla: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.is_steam_box_deprecated)
|
||||
pub is_steam_box_deprecated: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.is_steam_deck_deprecated)
|
||||
pub is_steam_deck_deprecated: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.is_tesla_deprecated)
|
||||
pub is_tesla_deprecated: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientLogon.gaming_device_type)
|
||||
pub gaming_device_type: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClientLogon.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2021,25 +2023,6 @@ impl CMsgClientLogon {
|
|||
self.country_override.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool is_steam_box = 99;
|
||||
|
||||
pub fn is_steam_box(&self) -> bool {
|
||||
self.is_steam_box.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_steam_box(&mut self) {
|
||||
self.is_steam_box = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_steam_box(&self) -> bool {
|
||||
self.is_steam_box.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_steam_box(&mut self, v: bool) {
|
||||
self.is_steam_box = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 client_instance_id = 100;
|
||||
|
||||
pub fn client_instance_id(&self) -> u64 {
|
||||
|
|
@ -2188,25 +2171,6 @@ impl CMsgClientLogon {
|
|||
self.disable_partner_autogrants = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_steam_deck = 107;
|
||||
|
||||
pub fn is_steam_deck(&self) -> bool {
|
||||
self.is_steam_deck.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_steam_deck(&mut self) {
|
||||
self.is_steam_deck = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_steam_deck(&self) -> bool {
|
||||
self.is_steam_deck.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_steam_deck(&mut self, v: bool) {
|
||||
self.is_steam_deck = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string access_token = 108;
|
||||
|
||||
pub fn access_token(&self) -> &str {
|
||||
|
|
@ -2262,23 +2226,80 @@ impl CMsgClientLogon {
|
|||
self.is_chrome_os = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_tesla = 110;
|
||||
// optional bool is_steam_box_deprecated = 99;
|
||||
|
||||
pub fn is_tesla(&self) -> bool {
|
||||
self.is_tesla.unwrap_or(false)
|
||||
pub fn is_steam_box_deprecated(&self) -> bool {
|
||||
self.is_steam_box_deprecated.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_tesla(&mut self) {
|
||||
self.is_tesla = ::std::option::Option::None;
|
||||
pub fn clear_is_steam_box_deprecated(&mut self) {
|
||||
self.is_steam_box_deprecated = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_tesla(&self) -> bool {
|
||||
self.is_tesla.is_some()
|
||||
pub fn has_is_steam_box_deprecated(&self) -> bool {
|
||||
self.is_steam_box_deprecated.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_tesla(&mut self, v: bool) {
|
||||
self.is_tesla = ::std::option::Option::Some(v);
|
||||
pub fn set_is_steam_box_deprecated(&mut self, v: bool) {
|
||||
self.is_steam_box_deprecated = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_steam_deck_deprecated = 107;
|
||||
|
||||
pub fn is_steam_deck_deprecated(&self) -> bool {
|
||||
self.is_steam_deck_deprecated.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_steam_deck_deprecated(&mut self) {
|
||||
self.is_steam_deck_deprecated = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_steam_deck_deprecated(&self) -> bool {
|
||||
self.is_steam_deck_deprecated.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_steam_deck_deprecated(&mut self, v: bool) {
|
||||
self.is_steam_deck_deprecated = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_tesla_deprecated = 110;
|
||||
|
||||
pub fn is_tesla_deprecated(&self) -> bool {
|
||||
self.is_tesla_deprecated.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_tesla_deprecated(&mut self) {
|
||||
self.is_tesla_deprecated = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_tesla_deprecated(&self) -> bool {
|
||||
self.is_tesla_deprecated.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_tesla_deprecated(&mut self, v: bool) {
|
||||
self.is_tesla_deprecated = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 gaming_device_type = 111;
|
||||
|
||||
pub fn gaming_device_type(&self) -> u32 {
|
||||
self.gaming_device_type.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_gaming_device_type(&mut self) {
|
||||
self.gaming_device_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_gaming_device_type(&self) -> bool {
|
||||
self.gaming_device_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_gaming_device_type(&mut self, v: u32) {
|
||||
self.gaming_device_type = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2427,9 +2448,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
786 => {
|
||||
self.country_override = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
792 => {
|
||||
self.is_steam_box = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
800 => {
|
||||
self.client_instance_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
|
|
@ -2451,17 +2469,23 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
848 => {
|
||||
self.disable_partner_autogrants = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
856 => {
|
||||
self.is_steam_deck = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
866 => {
|
||||
self.access_token = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
872 => {
|
||||
self.is_chrome_os = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
792 => {
|
||||
self.is_steam_box_deprecated = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
856 => {
|
||||
self.is_steam_deck_deprecated = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
880 => {
|
||||
self.is_tesla = ::std::option::Option::Some(is.read_bool()?);
|
||||
self.is_tesla_deprecated = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
888 => {
|
||||
self.gaming_device_type = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
|
|
@ -2612,9 +2636,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
if let Some(v) = self.country_override.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(98, &v);
|
||||
}
|
||||
if let Some(v) = self.is_steam_box {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.client_instance_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(100, v);
|
||||
}
|
||||
|
|
@ -2637,18 +2658,24 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
if let Some(v) = self.disable_partner_autogrants {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_steam_deck {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.access_token.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(108, &v);
|
||||
}
|
||||
if let Some(v) = self.is_chrome_os {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_tesla {
|
||||
if let Some(v) = self.is_steam_box_deprecated {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_steam_deck_deprecated {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_tesla_deprecated {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.gaming_device_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(111, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -2790,9 +2817,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
if let Some(v) = self.country_override.as_ref() {
|
||||
os.write_string(98, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_steam_box {
|
||||
os.write_bool(99, v)?;
|
||||
}
|
||||
if let Some(v) = self.client_instance_id {
|
||||
os.write_uint64(100, v)?;
|
||||
}
|
||||
|
|
@ -2814,18 +2838,24 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
if let Some(v) = self.disable_partner_autogrants {
|
||||
os.write_bool(106, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_steam_deck {
|
||||
os.write_bool(107, v)?;
|
||||
}
|
||||
if let Some(v) = self.access_token.as_ref() {
|
||||
os.write_string(108, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_chrome_os {
|
||||
os.write_bool(109, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_tesla {
|
||||
if let Some(v) = self.is_steam_box_deprecated {
|
||||
os.write_bool(99, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_steam_deck_deprecated {
|
||||
os.write_bool(107, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_tesla_deprecated {
|
||||
os.write_bool(110, v)?;
|
||||
}
|
||||
if let Some(v) = self.gaming_device_type {
|
||||
os.write_uint32(111, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2888,7 +2918,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
self.machine_name = ::std::option::Option::None;
|
||||
self.machine_name_userchosen = ::std::option::Option::None;
|
||||
self.country_override = ::std::option::Option::None;
|
||||
self.is_steam_box = ::std::option::Option::None;
|
||||
self.client_instance_id = ::std::option::Option::None;
|
||||
self.two_factor_code = ::std::option::Option::None;
|
||||
self.supports_rate_limit_response = ::std::option::Option::None;
|
||||
|
|
@ -2896,10 +2925,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
self.priority_reason = ::std::option::Option::None;
|
||||
self.embedded_client_secret.clear();
|
||||
self.disable_partner_autogrants = ::std::option::Option::None;
|
||||
self.is_steam_deck = ::std::option::Option::None;
|
||||
self.access_token = ::std::option::Option::None;
|
||||
self.is_chrome_os = ::std::option::Option::None;
|
||||
self.is_tesla = ::std::option::Option::None;
|
||||
self.is_steam_box_deprecated = ::std::option::Option::None;
|
||||
self.is_steam_deck_deprecated = ::std::option::Option::None;
|
||||
self.is_tesla_deprecated = ::std::option::Option::None;
|
||||
self.gaming_device_type = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -2950,7 +2981,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
machine_name: ::std::option::Option::None,
|
||||
machine_name_userchosen: ::std::option::Option::None,
|
||||
country_override: ::std::option::Option::None,
|
||||
is_steam_box: ::std::option::Option::None,
|
||||
client_instance_id: ::std::option::Option::None,
|
||||
two_factor_code: ::std::option::Option::None,
|
||||
supports_rate_limit_response: ::std::option::Option::None,
|
||||
|
|
@ -2958,10 +2988,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
|
|||
priority_reason: ::std::option::Option::None,
|
||||
embedded_client_secret: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
disable_partner_autogrants: ::std::option::Option::None,
|
||||
is_steam_deck: ::std::option::Option::None,
|
||||
access_token: ::std::option::Option::None,
|
||||
is_chrome_os: ::std::option::Option::None,
|
||||
is_tesla: ::std::option::Option::None,
|
||||
is_steam_box_deprecated: ::std::option::Option::None,
|
||||
is_steam_deck_deprecated: ::std::option::Option::None,
|
||||
is_tesla_deprecated: ::std::option::Option::None,
|
||||
gaming_device_type: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -5628,11 +5660,6 @@ for CMsgClientRequestWebAPIAuthenticateUserNonce {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind
|
||||
for CMsgClientRequestWebAPIAuthenticateUserNonce {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientRequestWebAPIAuthenticateUserNonce;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
|
|
@ -5647,11 +5674,6 @@ for CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind
|
||||
for CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientRequestWebAPIAuthenticateUserNonceResponse;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientLogOff {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -5716,10 +5738,6 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClientNewLoginKeyAccepted {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientNewLoginKeyAccepted {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientNewLoginKeyAccepted;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientAccountInfo {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
|
|
@ -1747,8 +1747,6 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
pub download_paused: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGetClientAppListResponse.App.num_downloading)
|
||||
pub num_downloading: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGetClientAppListResponse.App.num_paused)
|
||||
pub num_paused: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGetClientAppListResponse.App.changing)
|
||||
pub changing: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGetClientAppListResponse.App.available_on_platform)
|
||||
|
|
@ -1773,6 +1771,8 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
pub rt_time_scheduled: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGetClientAppListResponse.App.running)
|
||||
pub running: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgClientGetClientAppListResponse.App.update_percentage)
|
||||
pub update_percentage: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClientGetClientAppListResponse.App.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2032,25 +2032,6 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
self.num_downloading = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 num_paused = 13;
|
||||
|
||||
pub fn num_paused(&self) -> u32 {
|
||||
self.num_paused.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_num_paused(&mut self) {
|
||||
self.num_paused = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_num_paused(&self) -> bool {
|
||||
self.num_paused.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_num_paused(&mut self, v: u32) {
|
||||
self.num_paused = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool changing = 14;
|
||||
|
||||
pub fn changing(&self) -> bool {
|
||||
|
|
@ -2278,6 +2259,25 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
pub fn set_running(&mut self, v: bool) {
|
||||
self.running = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 update_percentage = 26;
|
||||
|
||||
pub fn update_percentage(&self) -> u32 {
|
||||
self.update_percentage.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_update_percentage(&mut self) {
|
||||
self.update_percentage = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_update_percentage(&self) -> bool {
|
||||
self.update_percentage.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_update_percentage(&mut self, v: u32) {
|
||||
self.update_percentage = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for App {
|
||||
|
|
@ -2326,9 +2326,6 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
96 => {
|
||||
self.num_downloading = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
104 => {
|
||||
self.num_paused = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
112 => {
|
||||
self.changing = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
|
|
@ -2365,6 +2362,9 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
200 => {
|
||||
self.running = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
208 => {
|
||||
self.update_percentage = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2414,9 +2414,6 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
if let Some(v) = self.num_downloading {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(12, v);
|
||||
}
|
||||
if let Some(v) = self.num_paused {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(13, v);
|
||||
}
|
||||
if let Some(v) = self.changing {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
|
|
@ -2453,6 +2450,9 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
if let Some(v) = self.running {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.update_percentage {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(26, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -2495,9 +2495,6 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
if let Some(v) = self.num_downloading {
|
||||
os.write_uint32(12, v)?;
|
||||
}
|
||||
if let Some(v) = self.num_paused {
|
||||
os.write_uint32(13, v)?;
|
||||
}
|
||||
if let Some(v) = self.changing {
|
||||
os.write_bool(14, v)?;
|
||||
}
|
||||
|
|
@ -2534,6 +2531,9 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
if let Some(v) = self.running {
|
||||
os.write_bool(25, v)?;
|
||||
}
|
||||
if let Some(v) = self.update_percentage {
|
||||
os.write_uint32(26, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2563,7 +2563,6 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
self.dlcs.clear();
|
||||
self.download_paused = ::std::option::Option::None;
|
||||
self.num_downloading = ::std::option::Option::None;
|
||||
self.num_paused = ::std::option::Option::None;
|
||||
self.changing = ::std::option::Option::None;
|
||||
self.available_on_platform = ::std::option::Option::None;
|
||||
self.bytes_staged = ::std::option::Option::None;
|
||||
|
|
@ -2576,6 +2575,7 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
self.uninstalling = ::std::option::Option::None;
|
||||
self.rt_time_scheduled = ::std::option::Option::None;
|
||||
self.running = ::std::option::Option::None;
|
||||
self.update_percentage = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -2593,7 +2593,6 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
dlcs: ::std::vec::Vec::new(),
|
||||
download_paused: ::std::option::Option::None,
|
||||
num_downloading: ::std::option::Option::None,
|
||||
num_paused: ::std::option::Option::None,
|
||||
changing: ::std::option::Option::None,
|
||||
available_on_platform: ::std::option::Option::None,
|
||||
bytes_staged: ::std::option::Option::None,
|
||||
|
|
@ -2606,6 +2605,7 @@ pub mod cmsg_client_get_client_app_list_response {
|
|||
uninstalling: ::std::option::Option::None,
|
||||
rt_time_scheduled: ::std::option::Option::None,
|
||||
running: ::std::option::Option::None,
|
||||
update_percentage: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -4334,6 +4334,10 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClientLaunchClientApp {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientLaunchClientApp {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientLaunchClientApp;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientLaunchClientAppResponse {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -4347,6 +4351,11 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClientLaunchClientAppResponse
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind
|
||||
for CMsgClientLaunchClientAppResponse {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientLaunchClientAppResponse;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClientEnableOrDisableDownloads {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -275,241 +275,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CCloud_ClientLogUploadComp
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCloud_GetUploadServerInfo_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCloud_GetUploadServerInfo_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCloud_GetUploadServerInfo_Request.appid)
|
||||
pub appid: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCloud_GetUploadServerInfo_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCloud_GetUploadServerInfo_Request {
|
||||
fn default() -> &'a CCloud_GetUploadServerInfo_Request {
|
||||
<CCloud_GetUploadServerInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCloud_GetUploadServerInfo_Request {
|
||||
pub fn new() -> CCloud_GetUploadServerInfo_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 appid = 1;
|
||||
|
||||
pub fn appid(&self) -> u32 {
|
||||
self.appid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_appid(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_appid(&self) -> bool {
|
||||
self.appid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_appid(&mut self, v: u32) {
|
||||
self.appid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCloud_GetUploadServerInfo_Request {
|
||||
const NAME: &'static str = "CCloud_GetUploadServerInfo_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.appid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.appid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.appid {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCloud_GetUploadServerInfo_Request {
|
||||
CCloud_GetUploadServerInfo_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCloud_GetUploadServerInfo_Request {
|
||||
static instance: CCloud_GetUploadServerInfo_Request = CCloud_GetUploadServerInfo_Request {
|
||||
appid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCloud_GetUploadServerInfo_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCloud_GetUploadServerInfo_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCloud_GetUploadServerInfo_Response.server_url)
|
||||
pub server_url: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCloud_GetUploadServerInfo_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCloud_GetUploadServerInfo_Response {
|
||||
fn default() -> &'a CCloud_GetUploadServerInfo_Response {
|
||||
<CCloud_GetUploadServerInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCloud_GetUploadServerInfo_Response {
|
||||
pub fn new() -> CCloud_GetUploadServerInfo_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string server_url = 1;
|
||||
|
||||
pub fn server_url(&self) -> &str {
|
||||
match self.server_url.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_server_url(&mut self) {
|
||||
self.server_url = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_server_url(&self) -> bool {
|
||||
self.server_url.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_server_url(&mut self, v: ::std::string::String) {
|
||||
self.server_url = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_server_url(&mut self) -> &mut ::std::string::String {
|
||||
if self.server_url.is_none() {
|
||||
self.server_url = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.server_url.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_server_url(&mut self) -> ::std::string::String {
|
||||
self.server_url.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCloud_GetUploadServerInfo_Response {
|
||||
const NAME: &'static str = "CCloud_GetUploadServerInfo_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.server_url = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.server_url.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.server_url.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCloud_GetUploadServerInfo_Response {
|
||||
CCloud_GetUploadServerInfo_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.server_url = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCloud_GetUploadServerInfo_Response {
|
||||
static instance: CCloud_GetUploadServerInfo_Response = CCloud_GetUploadServerInfo_Response {
|
||||
server_url: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCloud_BeginHTTPUpload_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCloud_BeginHTTPUpload_Request {
|
||||
|
|
@ -8815,349 +8580,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CCloud_ClientConflictResol
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCloud_EnumerateUserApps_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCloud_EnumerateUserApps_Request {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCloud_EnumerateUserApps_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCloud_EnumerateUserApps_Request {
|
||||
fn default() -> &'a CCloud_EnumerateUserApps_Request {
|
||||
<CCloud_EnumerateUserApps_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCloud_EnumerateUserApps_Request {
|
||||
pub fn new() -> CCloud_EnumerateUserApps_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCloud_EnumerateUserApps_Request {
|
||||
const NAME: &'static str = "CCloud_EnumerateUserApps_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCloud_EnumerateUserApps_Request {
|
||||
CCloud_EnumerateUserApps_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCloud_EnumerateUserApps_Request {
|
||||
static instance: CCloud_EnumerateUserApps_Request = CCloud_EnumerateUserApps_Request {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCloud_EnumerateUserApps_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCloud_EnumerateUserApps_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCloud_EnumerateUserApps_Response.apps)
|
||||
pub apps: ::std::vec::Vec<ccloud_enumerate_user_apps_response::Apps>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCloud_EnumerateUserApps_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCloud_EnumerateUserApps_Response {
|
||||
fn default() -> &'a CCloud_EnumerateUserApps_Response {
|
||||
<CCloud_EnumerateUserApps_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCloud_EnumerateUserApps_Response {
|
||||
pub fn new() -> CCloud_EnumerateUserApps_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCloud_EnumerateUserApps_Response {
|
||||
const NAME: &'static str = "CCloud_EnumerateUserApps_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.apps.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.apps {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.apps {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCloud_EnumerateUserApps_Response {
|
||||
CCloud_EnumerateUserApps_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.apps.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCloud_EnumerateUserApps_Response {
|
||||
static instance: CCloud_EnumerateUserApps_Response = CCloud_EnumerateUserApps_Response {
|
||||
apps: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CCloud_EnumerateUserApps_Response`
|
||||
pub mod ccloud_enumerate_user_apps_response {
|
||||
// @@protoc_insertion_point(message:CCloud_EnumerateUserApps_Response.Apps)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct Apps {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCloud_EnumerateUserApps_Response.Apps.appid)
|
||||
pub appid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CCloud_EnumerateUserApps_Response.Apps.totalcount)
|
||||
pub totalcount: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CCloud_EnumerateUserApps_Response.Apps.totalsize)
|
||||
pub totalsize: ::std::option::Option<i64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCloud_EnumerateUserApps_Response.Apps.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a Apps {
|
||||
fn default() -> &'a Apps {
|
||||
<Apps as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl Apps {
|
||||
pub fn new() -> Apps {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 appid = 1;
|
||||
|
||||
pub fn appid(&self) -> u32 {
|
||||
self.appid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_appid(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_appid(&self) -> bool {
|
||||
self.appid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_appid(&mut self, v: u32) {
|
||||
self.appid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 totalcount = 2;
|
||||
|
||||
pub fn totalcount(&self) -> i32 {
|
||||
self.totalcount.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_totalcount(&mut self) {
|
||||
self.totalcount = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_totalcount(&self) -> bool {
|
||||
self.totalcount.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_totalcount(&mut self, v: i32) {
|
||||
self.totalcount = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int64 totalsize = 3;
|
||||
|
||||
pub fn totalsize(&self) -> i64 {
|
||||
self.totalsize.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_totalsize(&mut self) {
|
||||
self.totalsize = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_totalsize(&self) -> bool {
|
||||
self.totalsize.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_totalsize(&mut self, v: i64) {
|
||||
self.totalsize = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for Apps {
|
||||
const NAME: &'static str = "Apps";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.appid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.totalcount = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
24 => {
|
||||
self.totalsize = ::std::option::Option::Some(is.read_int64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.appid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.totalcount {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.totalsize {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int64_size(3, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.appid {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.totalcount {
|
||||
os.write_int32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.totalsize {
|
||||
os.write_int64(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> Apps {
|
||||
Apps::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
self.totalcount = ::std::option::Option::None;
|
||||
self.totalsize = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static Apps {
|
||||
static instance: Apps = Apps {
|
||||
appid: ::std::option::Option::None,
|
||||
totalcount: ::std::option::Option::None,
|
||||
totalsize: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCloud_GetAppFileChangelist_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCloud_GetAppFileChangelist_Request {
|
||||
|
|
@ -10409,6 +9831,10 @@ pub struct CCloud_AppLaunchIntent_Request {
|
|||
pub machine_name: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CCloud_AppLaunchIntent_Request.ignore_pending_operations)
|
||||
pub ignore_pending_operations: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CCloud_AppLaunchIntent_Request.os_type)
|
||||
pub os_type: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CCloud_AppLaunchIntent_Request.device_type)
|
||||
pub device_type: ::std::option::Option<i32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCloud_AppLaunchIntent_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -10517,6 +9943,44 @@ impl CCloud_AppLaunchIntent_Request {
|
|||
pub fn set_ignore_pending_operations(&mut self, v: bool) {
|
||||
self.ignore_pending_operations = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 os_type = 5;
|
||||
|
||||
pub fn os_type(&self) -> i32 {
|
||||
self.os_type.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_os_type(&mut self) {
|
||||
self.os_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_os_type(&self) -> bool {
|
||||
self.os_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_os_type(&mut self, v: i32) {
|
||||
self.os_type = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 device_type = 6;
|
||||
|
||||
pub fn device_type(&self) -> i32 {
|
||||
self.device_type.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_device_type(&mut self) {
|
||||
self.device_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_device_type(&self) -> bool {
|
||||
self.device_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_device_type(&mut self, v: i32) {
|
||||
self.device_type = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCloud_AppLaunchIntent_Request {
|
||||
|
|
@ -10541,6 +10005,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CCloud_AppLaunchIntent_Req
|
|||
32 => {
|
||||
self.ignore_pending_operations = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
40 => {
|
||||
self.os_type = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
48 => {
|
||||
self.device_type = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -10565,6 +10035,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CCloud_AppLaunchIntent_Req
|
|||
if let Some(v) = self.ignore_pending_operations {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.os_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
|
||||
}
|
||||
if let Some(v) = self.device_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -10583,6 +10059,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CCloud_AppLaunchIntent_Req
|
|||
if let Some(v) = self.ignore_pending_operations {
|
||||
os.write_bool(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.os_type {
|
||||
os.write_int32(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.device_type {
|
||||
os.write_int32(6, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -10604,6 +10086,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CCloud_AppLaunchIntent_Req
|
|||
self.client_id = ::std::option::Option::None;
|
||||
self.machine_name = ::std::option::Option::None;
|
||||
self.ignore_pending_operations = ::std::option::Option::None;
|
||||
self.os_type = ::std::option::Option::None;
|
||||
self.device_type = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -10613,6 +10097,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CCloud_AppLaunchIntent_Req
|
|||
client_id: ::std::option::Option::None,
|
||||
machine_name: ::std::option::Option::None,
|
||||
ignore_pending_operations: ::std::option::Option::None,
|
||||
os_type: ::std::option::Option::None,
|
||||
device_type: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -11517,32 +11003,6 @@ for CCloud_ClientLogUploadComplete_Notification {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCloud_GetUploadServerInfo_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCloud_GetUploadServerInfo_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCloud_BeginHTTPUpload_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -11988,32 +11448,6 @@ for CCloud_ClientConflictResolution_Notification {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCloud_EnumerateUserApps_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCloud_EnumerateUserApps_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCloud_GetAppFileChangelist_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -12303,10 +11737,6 @@ impl ::steam_vent_proto_common::RpcMethod for CCloud_Delete_Request {
|
|||
const METHOD_NAME: &'static str = "Cloud.Delete#1";
|
||||
type Response = CCloud_Delete_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CCloud_EnumerateUserApps_Request {
|
||||
const METHOD_NAME: &'static str = "Cloud.EnumerateUserApps#1";
|
||||
type Response = CCloud_EnumerateUserApps_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CCloud_EnumerateUserFiles_Request {
|
||||
const METHOD_NAME: &'static str = "Cloud.EnumerateUserFiles#1";
|
||||
type Response = CCloud_EnumerateUserFiles_Response;
|
||||
|
|
@ -12328,7 +11758,3 @@ impl ::steam_vent_proto_common::RpcMethod for CCloud_GetFileDetails_Request {
|
|||
const METHOD_NAME: &'static str = "Cloud.GetFileDetails#1";
|
||||
type Response = CCloud_GetFileDetails_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CCloud_GetUploadServerInfo_Request {
|
||||
const METHOD_NAME: &'static str = "Cloud.GetUploadServerInfo#1";
|
||||
type Response = CCloud_GetUploadServerInfo_Response;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -3395,6 +3395,828 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_Ge
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CDepotContentDetection_GetAllDetectedAppContent_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CDepotContentDetection_GetAllDetectedAppContent_Request.detection_type)
|
||||
pub detection_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAppContentDetectionType>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CDepotContentDetection_GetAllDetectedAppContent_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
fn default() -> &'a CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
<CDepotContentDetection_GetAllDetectedAppContent_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
pub fn new() -> CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional .EAppContentDetectionType detection_type = 1;
|
||||
|
||||
pub fn detection_type(&self) -> EAppContentDetectionType {
|
||||
match self.detection_type {
|
||||
Some(e) => e.enum_value_or(EAppContentDetectionType::k_EAppContentDetectionType_None),
|
||||
None => EAppContentDetectionType::k_EAppContentDetectionType_None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_detection_type(&mut self) {
|
||||
self.detection_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_detection_type(&self) -> bool {
|
||||
self.detection_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_detection_type(&mut self, v: EAppContentDetectionType) {
|
||||
self.detection_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
const NAME: &'static str = "CDepotContentDetection_GetAllDetectedAppContent_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.detection_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.detection_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.detection_type {
|
||||
os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
CDepotContentDetection_GetAllDetectedAppContent_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.detection_type = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
static instance: CDepotContentDetection_GetAllDetectedAppContent_Request = CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
detection_type: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:DetectedAppContent)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct DetectedAppContent {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:DetectedAppContent.app_id)
|
||||
pub app_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:DetectedAppContent.depot_id)
|
||||
pub depot_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:DetectedAppContent.detected_content)
|
||||
pub detected_content: ::std::option::Option<i32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:DetectedAppContent.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a DetectedAppContent {
|
||||
fn default() -> &'a DetectedAppContent {
|
||||
<DetectedAppContent as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl DetectedAppContent {
|
||||
pub fn new() -> DetectedAppContent {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 app_id = 1;
|
||||
|
||||
pub fn app_id(&self) -> u32 {
|
||||
self.app_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_app_id(&mut self) {
|
||||
self.app_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_app_id(&self) -> bool {
|
||||
self.app_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_app_id(&mut self, v: u32) {
|
||||
self.app_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 depot_id = 2;
|
||||
|
||||
pub fn depot_id(&self) -> u32 {
|
||||
self.depot_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_depot_id(&mut self) {
|
||||
self.depot_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_depot_id(&self) -> bool {
|
||||
self.depot_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_depot_id(&mut self, v: u32) {
|
||||
self.depot_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 detected_content = 3;
|
||||
|
||||
pub fn detected_content(&self) -> i32 {
|
||||
self.detected_content.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_detected_content(&mut self) {
|
||||
self.detected_content = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_detected_content(&self) -> bool {
|
||||
self.detected_content.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_detected_content(&mut self, v: i32) {
|
||||
self.detected_content = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for DetectedAppContent {
|
||||
const NAME: &'static str = "DetectedAppContent";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.app_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.depot_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.detected_content = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.app_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.depot_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.detected_content {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.app_id {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.depot_id {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.detected_content {
|
||||
os.write_int32(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> DetectedAppContent {
|
||||
DetectedAppContent::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.app_id = ::std::option::Option::None;
|
||||
self.depot_id = ::std::option::Option::None;
|
||||
self.detected_content = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static DetectedAppContent {
|
||||
static instance: DetectedAppContent = DetectedAppContent {
|
||||
app_id: ::std::option::Option::None,
|
||||
depot_id: ::std::option::Option::None,
|
||||
detected_content: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CDepotContentDetection_GetAllDetectedAppContent_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CDepotContentDetection_GetAllDetectedAppContent_Response.detected_app_content)
|
||||
pub detected_app_content: ::std::vec::Vec<DetectedAppContent>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CDepotContentDetection_GetAllDetectedAppContent_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
fn default() -> &'a CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
<CDepotContentDetection_GetAllDetectedAppContent_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
pub fn new() -> CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
const NAME: &'static str = "CDepotContentDetection_GetAllDetectedAppContent_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.detected_app_content.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.detected_app_content {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.detected_app_content {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
CDepotContentDetection_GetAllDetectedAppContent_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.detected_app_content.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
static instance: CDepotContentDetection_GetAllDetectedAppContent_Response = CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
detected_app_content: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CDepotContentDetection_GetDetectedContentSingleApp_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CDepotContentDetection_GetDetectedContentSingleApp_Request.appid)
|
||||
pub appid: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CDepotContentDetection_GetDetectedContentSingleApp_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
fn default() -> &'a CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
<CDepotContentDetection_GetDetectedContentSingleApp_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
pub fn new() -> CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 appid = 1;
|
||||
|
||||
pub fn appid(&self) -> u32 {
|
||||
self.appid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_appid(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_appid(&self) -> bool {
|
||||
self.appid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_appid(&mut self, v: u32) {
|
||||
self.appid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
const NAME: &'static str = "CDepotContentDetection_GetDetectedContentSingleApp_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.appid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.appid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.appid {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
CDepotContentDetection_GetDetectedContentSingleApp_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
static instance: CDepotContentDetection_GetDetectedContentSingleApp_Request = CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
appid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CDepotContentDetection_GetDetectedContentSingleApp_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CDepotContentDetection_GetDetectedContentSingleApp_Response.detected_anticheat)
|
||||
pub detected_anticheat: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAppAntiCheatType>>,
|
||||
// @@protoc_insertion_point(field:CDepotContentDetection_GetDetectedContentSingleApp_Response.detected_gameengine)
|
||||
pub detected_gameengine: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAppGameEngineType>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CDepotContentDetection_GetDetectedContentSingleApp_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
fn default() -> &'a CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
<CDepotContentDetection_GetDetectedContentSingleApp_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
pub fn new() -> CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional .EAppAntiCheatType detected_anticheat = 1;
|
||||
|
||||
pub fn detected_anticheat(&self) -> EAppAntiCheatType {
|
||||
match self.detected_anticheat {
|
||||
Some(e) => e.enum_value_or(EAppAntiCheatType::k_EAppAntiCheatTypeNone),
|
||||
None => EAppAntiCheatType::k_EAppAntiCheatTypeNone,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_detected_anticheat(&mut self) {
|
||||
self.detected_anticheat = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_detected_anticheat(&self) -> bool {
|
||||
self.detected_anticheat.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_detected_anticheat(&mut self, v: EAppAntiCheatType) {
|
||||
self.detected_anticheat = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional .EAppGameEngineType detected_gameengine = 2;
|
||||
|
||||
pub fn detected_gameengine(&self) -> EAppGameEngineType {
|
||||
match self.detected_gameengine {
|
||||
Some(e) => e.enum_value_or(EAppGameEngineType::k_EAppGameEngineTypeNone),
|
||||
None => EAppGameEngineType::k_EAppGameEngineTypeNone,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_detected_gameengine(&mut self) {
|
||||
self.detected_gameengine = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_detected_gameengine(&self) -> bool {
|
||||
self.detected_gameengine.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_detected_gameengine(&mut self, v: EAppGameEngineType) {
|
||||
self.detected_gameengine = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
const NAME: &'static str = "CDepotContentDetection_GetDetectedContentSingleApp_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.detected_anticheat = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
16 => {
|
||||
self.detected_gameengine = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.detected_anticheat {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
|
||||
}
|
||||
if let Some(v) = self.detected_gameengine {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v.value());
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.detected_anticheat {
|
||||
os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.detected_gameengine {
|
||||
os.write_enum(2, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
CDepotContentDetection_GetDetectedContentSingleApp_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.detected_anticheat = ::std::option::Option::None;
|
||||
self.detected_gameengine = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
static instance: CDepotContentDetection_GetDetectedContentSingleApp_Response = CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
detected_anticheat: ::std::option::Option::None,
|
||||
detected_gameengine: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EAppContentDetectionType)
|
||||
pub enum EAppContentDetectionType {
|
||||
// @@protoc_insertion_point(enum_value:EAppContentDetectionType.k_EAppContentDetectionType_None)
|
||||
k_EAppContentDetectionType_None = 0,
|
||||
// @@protoc_insertion_point(enum_value:EAppContentDetectionType.k_EAppContentDetectionType_AntiCheat)
|
||||
k_EAppContentDetectionType_AntiCheat = 1,
|
||||
// @@protoc_insertion_point(enum_value:EAppContentDetectionType.k_EAppContentDetectionType_GameEngine)
|
||||
k_EAppContentDetectionType_GameEngine = 2,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EAppContentDetectionType {
|
||||
const NAME: &'static str = "EAppContentDetectionType";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EAppContentDetectionType> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(EAppContentDetectionType::k_EAppContentDetectionType_None),
|
||||
1 => ::std::option::Option::Some(EAppContentDetectionType::k_EAppContentDetectionType_AntiCheat),
|
||||
2 => ::std::option::Option::Some(EAppContentDetectionType::k_EAppContentDetectionType_GameEngine),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EAppContentDetectionType> {
|
||||
match str {
|
||||
"k_EAppContentDetectionType_None" => ::std::option::Option::Some(EAppContentDetectionType::k_EAppContentDetectionType_None),
|
||||
"k_EAppContentDetectionType_AntiCheat" => ::std::option::Option::Some(EAppContentDetectionType::k_EAppContentDetectionType_AntiCheat),
|
||||
"k_EAppContentDetectionType_GameEngine" => ::std::option::Option::Some(EAppContentDetectionType::k_EAppContentDetectionType_GameEngine),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EAppContentDetectionType] = &[
|
||||
EAppContentDetectionType::k_EAppContentDetectionType_None,
|
||||
EAppContentDetectionType::k_EAppContentDetectionType_AntiCheat,
|
||||
EAppContentDetectionType::k_EAppContentDetectionType_GameEngine,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for EAppContentDetectionType {
|
||||
fn default() -> Self {
|
||||
EAppContentDetectionType::k_EAppContentDetectionType_None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EAppAntiCheatType)
|
||||
pub enum EAppAntiCheatType {
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeNone)
|
||||
k_EAppAntiCheatTypeNone = 0,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeEasyAC)
|
||||
k_EAppAntiCheatTypeEasyAC = 1,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeDenuvo)
|
||||
k_EAppAntiCheatTypeDenuvo = 2,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeBattlEye)
|
||||
k_EAppAntiCheatTypeBattlEye = 3,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeXignCode)
|
||||
k_EAppAntiCheatTypeXignCode = 4,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypePunkBuster)
|
||||
k_EAppAntiCheatTypePunkBuster = 5,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeVAC)
|
||||
k_EAppAntiCheatTypeVAC = 6,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeGameGuard)
|
||||
k_EAppAntiCheatTypeGameGuard = 7,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeHackShield)
|
||||
k_EAppAntiCheatTypeHackShield = 8,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeAntiCheatExpert)
|
||||
k_EAppAntiCheatTypeAntiCheatExpert = 9,
|
||||
// @@protoc_insertion_point(enum_value:EAppAntiCheatType.k_EAppAntiCheatTypeOther)
|
||||
k_EAppAntiCheatTypeOther = 10,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EAppAntiCheatType {
|
||||
const NAME: &'static str = "EAppAntiCheatType";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EAppAntiCheatType> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeNone),
|
||||
1 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeEasyAC),
|
||||
2 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeDenuvo),
|
||||
3 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeBattlEye),
|
||||
4 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeXignCode),
|
||||
5 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypePunkBuster),
|
||||
6 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeVAC),
|
||||
7 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeGameGuard),
|
||||
8 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeHackShield),
|
||||
9 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeAntiCheatExpert),
|
||||
10 => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeOther),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EAppAntiCheatType> {
|
||||
match str {
|
||||
"k_EAppAntiCheatTypeNone" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeNone),
|
||||
"k_EAppAntiCheatTypeEasyAC" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeEasyAC),
|
||||
"k_EAppAntiCheatTypeDenuvo" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeDenuvo),
|
||||
"k_EAppAntiCheatTypeBattlEye" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeBattlEye),
|
||||
"k_EAppAntiCheatTypeXignCode" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeXignCode),
|
||||
"k_EAppAntiCheatTypePunkBuster" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypePunkBuster),
|
||||
"k_EAppAntiCheatTypeVAC" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeVAC),
|
||||
"k_EAppAntiCheatTypeGameGuard" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeGameGuard),
|
||||
"k_EAppAntiCheatTypeHackShield" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeHackShield),
|
||||
"k_EAppAntiCheatTypeAntiCheatExpert" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeAntiCheatExpert),
|
||||
"k_EAppAntiCheatTypeOther" => ::std::option::Option::Some(EAppAntiCheatType::k_EAppAntiCheatTypeOther),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EAppAntiCheatType] = &[
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeNone,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeEasyAC,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeDenuvo,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeBattlEye,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeXignCode,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypePunkBuster,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeVAC,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeGameGuard,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeHackShield,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeAntiCheatExpert,
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeOther,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for EAppAntiCheatType {
|
||||
fn default() -> Self {
|
||||
EAppAntiCheatType::k_EAppAntiCheatTypeNone
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EAppGameEngineType)
|
||||
pub enum EAppGameEngineType {
|
||||
// @@protoc_insertion_point(enum_value:EAppGameEngineType.k_EAppGameEngineTypeNone)
|
||||
k_EAppGameEngineTypeNone = 0,
|
||||
// @@protoc_insertion_point(enum_value:EAppGameEngineType.k_EAppGameEngineTypeUnreal)
|
||||
k_EAppGameEngineTypeUnreal = 1,
|
||||
// @@protoc_insertion_point(enum_value:EAppGameEngineType.k_EAppGameEngineTypeUnity)
|
||||
k_EAppGameEngineTypeUnity = 2,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EAppGameEngineType {
|
||||
const NAME: &'static str = "EAppGameEngineType";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EAppGameEngineType> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(EAppGameEngineType::k_EAppGameEngineTypeNone),
|
||||
1 => ::std::option::Option::Some(EAppGameEngineType::k_EAppGameEngineTypeUnreal),
|
||||
2 => ::std::option::Option::Some(EAppGameEngineType::k_EAppGameEngineTypeUnity),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EAppGameEngineType> {
|
||||
match str {
|
||||
"k_EAppGameEngineTypeNone" => ::std::option::Option::Some(EAppGameEngineType::k_EAppGameEngineTypeNone),
|
||||
"k_EAppGameEngineTypeUnreal" => ::std::option::Option::Some(EAppGameEngineType::k_EAppGameEngineTypeUnreal),
|
||||
"k_EAppGameEngineTypeUnity" => ::std::option::Option::Some(EAppGameEngineType::k_EAppGameEngineTypeUnity),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EAppGameEngineType] = &[
|
||||
EAppGameEngineType::k_EAppGameEngineTypeNone,
|
||||
EAppGameEngineType::k_EAppGameEngineTypeUnreal,
|
||||
EAppGameEngineType::k_EAppGameEngineTypeUnity,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for EAppGameEngineType {
|
||||
fn default() -> Self {
|
||||
EAppGameEngineType::k_EAppGameEngineTypeNone
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -3625,11 +4447,85 @@ for CContentServerDirectory_GetPeerContentInfo_Response {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for DetectedAppContent {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CDepotContentDetection_GetAllDetectedAppContent_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CDepotContentDetection_GetDetectedContentSingleApp_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
///
|
||||
struct ContentServerDirectory {}
|
||||
impl ::steam_vent_proto_common::RpcService for ContentServerDirectory {
|
||||
const SERVICE_NAME: &'static str = "ContentServerDirectory";
|
||||
}
|
||||
///
|
||||
struct DepotContentDetection {}
|
||||
impl ::steam_vent_proto_common::RpcService for DepotContentDetection {
|
||||
const SERVICE_NAME: &'static str = "DepotContentDetection";
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CContentServerDirectory_GetCDNAuthToken_Request {
|
||||
const METHOD_NAME: &'static str = "ContentServerDirectory.GetCDNAuthToken#1";
|
||||
|
|
@ -3665,3 +4561,13 @@ for CContentServerDirectory_RequestPeerContentServer_Request {
|
|||
const METHOD_NAME: &'static str = "ContentServerDirectory.RequestPeerContentServer#1";
|
||||
type Response = CContentServerDirectory_RequestPeerContentServer_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CDepotContentDetection_GetAllDetectedAppContent_Request {
|
||||
const METHOD_NAME: &'static str = "DepotContentDetection.GetAllDetectedAppContent#1";
|
||||
type Response = CDepotContentDetection_GetAllDetectedAppContent_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CDepotContentDetection_GetDetectedContentSingleApp_Request {
|
||||
const METHOD_NAME: &'static str = "DepotContentDetection.GetDetectedContentSingleApp#1";
|
||||
type Response = CDepotContentDetection_GetDetectedContentSingleApp_Response;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,339 +25,6 @@
|
|||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||
|
||||
// @@protoc_insertion_point(message:CCredentials_TestAvailablePassword_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCredentials_TestAvailablePassword_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCredentials_TestAvailablePassword_Request.password)
|
||||
pub password: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CCredentials_TestAvailablePassword_Request.sha_digest_password)
|
||||
pub sha_digest_password: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// @@protoc_insertion_point(field:CCredentials_TestAvailablePassword_Request.account_name)
|
||||
pub account_name: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCredentials_TestAvailablePassword_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCredentials_TestAvailablePassword_Request {
|
||||
fn default() -> &'a CCredentials_TestAvailablePassword_Request {
|
||||
<CCredentials_TestAvailablePassword_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCredentials_TestAvailablePassword_Request {
|
||||
pub fn new() -> CCredentials_TestAvailablePassword_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string password = 1;
|
||||
|
||||
pub fn password(&self) -> &str {
|
||||
match self.password.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_password(&mut self) {
|
||||
self.password = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_password(&self) -> bool {
|
||||
self.password.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_password(&mut self, v: ::std::string::String) {
|
||||
self.password = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_password(&mut self) -> &mut ::std::string::String {
|
||||
if self.password.is_none() {
|
||||
self.password = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.password.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_password(&mut self) -> ::std::string::String {
|
||||
self.password.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bytes sha_digest_password = 2;
|
||||
|
||||
pub fn sha_digest_password(&self) -> &[u8] {
|
||||
match self.sha_digest_password.as_ref() {
|
||||
Some(v) => v,
|
||||
None => &[],
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_sha_digest_password(&mut self) {
|
||||
self.sha_digest_password = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_sha_digest_password(&self) -> bool {
|
||||
self.sha_digest_password.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_sha_digest_password(&mut self, v: ::std::vec::Vec<u8>) {
|
||||
self.sha_digest_password = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_sha_digest_password(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||
if self.sha_digest_password.is_none() {
|
||||
self.sha_digest_password = ::std::option::Option::Some(::std::vec::Vec::new());
|
||||
}
|
||||
self.sha_digest_password.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_sha_digest_password(&mut self) -> ::std::vec::Vec<u8> {
|
||||
self.sha_digest_password.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||
}
|
||||
|
||||
// optional string account_name = 3;
|
||||
|
||||
pub fn account_name(&self) -> &str {
|
||||
match self.account_name.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_account_name(&mut self) {
|
||||
self.account_name = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_account_name(&self) -> bool {
|
||||
self.account_name.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_account_name(&mut self, v: ::std::string::String) {
|
||||
self.account_name = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_account_name(&mut self) -> &mut ::std::string::String {
|
||||
if self.account_name.is_none() {
|
||||
self.account_name = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.account_name.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_account_name(&mut self) -> ::std::string::String {
|
||||
self.account_name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCredentials_TestAvailablePassword_Request {
|
||||
const NAME: &'static str = "CCredentials_TestAvailablePassword_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.password = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.sha_digest_password = ::std::option::Option::Some(is.read_bytes()?);
|
||||
},
|
||||
26 => {
|
||||
self.account_name = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.password.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.sha_digest_password.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.account_name.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.password.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.sha_digest_password.as_ref() {
|
||||
os.write_bytes(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.account_name.as_ref() {
|
||||
os.write_string(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCredentials_TestAvailablePassword_Request {
|
||||
CCredentials_TestAvailablePassword_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.password = ::std::option::Option::None;
|
||||
self.sha_digest_password = ::std::option::Option::None;
|
||||
self.account_name = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCredentials_TestAvailablePassword_Request {
|
||||
static instance: CCredentials_TestAvailablePassword_Request = CCredentials_TestAvailablePassword_Request {
|
||||
password: ::std::option::Option::None,
|
||||
sha_digest_password: ::std::option::Option::None,
|
||||
account_name: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCredentials_TestAvailablePassword_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCredentials_TestAvailablePassword_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCredentials_TestAvailablePassword_Response.is_valid)
|
||||
pub is_valid: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCredentials_TestAvailablePassword_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCredentials_TestAvailablePassword_Response {
|
||||
fn default() -> &'a CCredentials_TestAvailablePassword_Response {
|
||||
<CCredentials_TestAvailablePassword_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCredentials_TestAvailablePassword_Response {
|
||||
pub fn new() -> CCredentials_TestAvailablePassword_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional bool is_valid = 3;
|
||||
|
||||
pub fn is_valid(&self) -> bool {
|
||||
self.is_valid.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_valid(&mut self) {
|
||||
self.is_valid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_valid(&self) -> bool {
|
||||
self.is_valid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_valid(&mut self, v: bool) {
|
||||
self.is_valid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCredentials_TestAvailablePassword_Response {
|
||||
const NAME: &'static str = "CCredentials_TestAvailablePassword_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
24 => {
|
||||
self.is_valid = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.is_valid {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.is_valid {
|
||||
os.write_bool(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCredentials_TestAvailablePassword_Response {
|
||||
CCredentials_TestAvailablePassword_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.is_valid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCredentials_TestAvailablePassword_Response {
|
||||
static instance: CCredentials_TestAvailablePassword_Response = CCredentials_TestAvailablePassword_Response {
|
||||
is_valid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCredentials_GetSteamGuardDetails_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCredentials_GetSteamGuardDetails_Request {
|
||||
|
|
@ -2748,34 +2415,6 @@ use crate::steammessages_base::*;
|
|||
#[allow(unused_imports)]
|
||||
use crate::steammessages_unified_base_steamclient::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CCredentials_TestAvailablePassword_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CCredentials_TestAvailablePassword_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CCredentials_GetSteamGuardDetails_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -2938,11 +2577,6 @@ for CCredentials_SteamGuardPhishingReport_Request {
|
|||
const METHOD_NAME: &'static str = "Credentials.SteamGuardPhishingReport#1";
|
||||
type Response = CCredentials_SteamGuardPhishingReport_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CCredentials_TestAvailablePassword_Request {
|
||||
const METHOD_NAME: &'static str = "Credentials.TestAvailablePassword#1";
|
||||
type Response = CCredentials_TestAvailablePassword_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CCredentials_ValidateEmailAddress_Request {
|
||||
const METHOD_NAME: &'static str = "Credentials.ValidateEmailAddress#1";
|
||||
type Response = CCredentials_ValidateEmailAddress_Response;
|
||||
|
|
|
|||
|
|
@ -506,6 +506,8 @@ pub struct CDataPublisher_ClientUpdateAppJob_Notification {
|
|||
pub is_workshop: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.is_shader)
|
||||
pub is_shader: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.seconds_not_played)
|
||||
pub seconds_not_played: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CDataPublisher_ClientUpdateAppJob_Notification.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -973,6 +975,25 @@ impl CDataPublisher_ClientUpdateAppJob_Notification {
|
|||
pub fn set_is_shader(&mut self, v: bool) {
|
||||
self.is_shader = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 seconds_not_played = 25;
|
||||
|
||||
pub fn seconds_not_played(&self) -> u32 {
|
||||
self.seconds_not_played.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_seconds_not_played(&mut self) {
|
||||
self.seconds_not_played = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_seconds_not_played(&self) -> bool {
|
||||
self.seconds_not_played.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_seconds_not_played(&mut self, v: u32) {
|
||||
self.seconds_not_played = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientUpdateAppJob_Notification {
|
||||
|
|
@ -1057,6 +1078,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientUpdat
|
|||
192 => {
|
||||
self.is_shader = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
200 => {
|
||||
self.seconds_not_played = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -1138,6 +1162,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientUpdat
|
|||
if let Some(v) = self.is_shader {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.seconds_not_played {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(25, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -1213,6 +1240,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientUpdat
|
|||
if let Some(v) = self.is_shader {
|
||||
os.write_bool(24, v)?;
|
||||
}
|
||||
if let Some(v) = self.seconds_not_played {
|
||||
os.write_uint32(25, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1253,6 +1283,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientUpdat
|
|||
self.cell_id = ::std::option::Option::None;
|
||||
self.is_workshop = ::std::option::Option::None;
|
||||
self.is_shader = ::std::option::Option::None;
|
||||
self.seconds_not_played = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1281,6 +1312,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientUpdat
|
|||
cell_id: ::std::option::Option::None,
|
||||
is_workshop: ::std::option::Option::None,
|
||||
is_shader: ::std::option::Option::None,
|
||||
seconds_not_played: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ pub struct CContentBuilder_InitDepotBuild_Request {
|
|||
pub for_local_cs: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_InitDepotBuild_Request.target_branch)
|
||||
pub target_branch: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_InitDepotBuild_Request.shader_depot)
|
||||
pub shader_depot: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CContentBuilder_InitDepotBuild_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -166,6 +168,25 @@ impl CContentBuilder_InitDepotBuild_Request {
|
|||
pub fn take_target_branch(&mut self) -> ::std::string::String {
|
||||
self.target_branch.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool shader_depot = 6;
|
||||
|
||||
pub fn shader_depot(&self) -> bool {
|
||||
self.shader_depot.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_shader_depot(&mut self) {
|
||||
self.shader_depot = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_shader_depot(&self) -> bool {
|
||||
self.shader_depot.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_shader_depot(&mut self, v: bool) {
|
||||
self.shader_depot = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotBuild_Request {
|
||||
|
|
@ -193,6 +214,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
42 => {
|
||||
self.target_branch = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
48 => {
|
||||
self.shader_depot = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -220,6 +244,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
if let Some(v) = self.target_branch.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
|
||||
}
|
||||
if let Some(v) = self.shader_depot {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -241,6 +268,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
if let Some(v) = self.target_branch.as_ref() {
|
||||
os.write_string(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.shader_depot {
|
||||
os.write_bool(6, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -263,6 +293,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
self.workshop_itemid = ::std::option::Option::None;
|
||||
self.for_local_cs = ::std::option::Option::None;
|
||||
self.target_branch = ::std::option::Option::None;
|
||||
self.shader_depot = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -273,6 +304,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
workshop_itemid: ::std::option::Option::None,
|
||||
for_local_cs: ::std::option::Option::None,
|
||||
target_branch: ::std::option::Option::None,
|
||||
shader_depot: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -305,6 +337,12 @@ pub struct CContentBuilder_InitDepotBuild_Response {
|
|||
pub offset_detection_max_distance_pre: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_InitDepotBuild_Response.offset_detection_max_distance_post)
|
||||
pub offset_detection_max_distance_post: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_InitDepotBuild_Response.compression_method)
|
||||
pub compression_method: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_InitDepotBuild_Response.download_host)
|
||||
pub download_host: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_InitDepotBuild_Response.manifest_request_code)
|
||||
pub manifest_request_code: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CContentBuilder_InitDepotBuild_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -580,6 +618,80 @@ impl CContentBuilder_InitDepotBuild_Response {
|
|||
pub fn set_offset_detection_max_distance_post(&mut self, v: u32) {
|
||||
self.offset_detection_max_distance_post = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 compression_method = 12;
|
||||
|
||||
pub fn compression_method(&self) -> u32 {
|
||||
self.compression_method.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_compression_method(&mut self) {
|
||||
self.compression_method = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_compression_method(&self) -> bool {
|
||||
self.compression_method.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_compression_method(&mut self, v: u32) {
|
||||
self.compression_method = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string download_host = 13;
|
||||
|
||||
pub fn download_host(&self) -> &str {
|
||||
match self.download_host.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_download_host(&mut self) {
|
||||
self.download_host = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_download_host(&self) -> bool {
|
||||
self.download_host.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_download_host(&mut self, v: ::std::string::String) {
|
||||
self.download_host = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_download_host(&mut self) -> &mut ::std::string::String {
|
||||
if self.download_host.is_none() {
|
||||
self.download_host = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.download_host.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_download_host(&mut self) -> ::std::string::String {
|
||||
self.download_host.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional uint64 manifest_request_code = 14;
|
||||
|
||||
pub fn manifest_request_code(&self) -> u64 {
|
||||
self.manifest_request_code.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_manifest_request_code(&mut self) {
|
||||
self.manifest_request_code = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_manifest_request_code(&self) -> bool {
|
||||
self.manifest_request_code.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_manifest_request_code(&mut self, v: u64) {
|
||||
self.manifest_request_code = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotBuild_Response {
|
||||
|
|
@ -625,6 +737,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
88 => {
|
||||
self.offset_detection_max_distance_post = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
96 => {
|
||||
self.compression_method = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
106 => {
|
||||
self.download_host = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
112 => {
|
||||
self.manifest_request_code = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -670,6 +791,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
if let Some(v) = self.offset_detection_max_distance_post {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
|
||||
}
|
||||
if let Some(v) = self.compression_method {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(12, v);
|
||||
}
|
||||
if let Some(v) = self.download_host.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(13, &v);
|
||||
}
|
||||
if let Some(v) = self.manifest_request_code {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(14, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -709,6 +839,15 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
if let Some(v) = self.offset_detection_max_distance_post {
|
||||
os.write_uint32(11, v)?;
|
||||
}
|
||||
if let Some(v) = self.compression_method {
|
||||
os.write_uint32(12, v)?;
|
||||
}
|
||||
if let Some(v) = self.download_host.as_ref() {
|
||||
os.write_string(13, v)?;
|
||||
}
|
||||
if let Some(v) = self.manifest_request_code {
|
||||
os.write_uint64(14, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -737,6 +876,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
self.offset_detection_blast_radius_post = ::std::option::Option::None;
|
||||
self.offset_detection_max_distance_pre = ::std::option::Option::None;
|
||||
self.offset_detection_max_distance_post = ::std::option::Option::None;
|
||||
self.compression_method = ::std::option::Option::None;
|
||||
self.download_host = ::std::option::Option::None;
|
||||
self.manifest_request_code = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -753,6 +895,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_InitDepotB
|
|||
offset_detection_blast_radius_post: ::std::option::Option::None,
|
||||
offset_detection_max_distance_pre: ::std::option::Option::None,
|
||||
offset_detection_max_distance_post: ::std::option::Option::None,
|
||||
compression_method: ::std::option::Option::None,
|
||||
download_host: ::std::option::Option::None,
|
||||
manifest_request_code: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -1711,6 +1856,8 @@ pub struct CContentBuilder_FinishDepotUpload_Response {
|
|||
pub manifestid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_FinishDepotUpload_Response.prev_reused)
|
||||
pub prev_reused: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_FinishDepotUpload_Response.manifest_request_code)
|
||||
pub manifest_request_code: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CContentBuilder_FinishDepotUpload_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1764,6 +1911,25 @@ impl CContentBuilder_FinishDepotUpload_Response {
|
|||
pub fn set_prev_reused(&mut self, v: bool) {
|
||||
self.prev_reused = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 manifest_request_code = 3;
|
||||
|
||||
pub fn manifest_request_code(&self) -> u64 {
|
||||
self.manifest_request_code.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_manifest_request_code(&mut self) {
|
||||
self.manifest_request_code = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_manifest_request_code(&self) -> bool {
|
||||
self.manifest_request_code.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_manifest_request_code(&mut self, v: u64) {
|
||||
self.manifest_request_code = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_FinishDepotUpload_Response {
|
||||
|
|
@ -1782,6 +1948,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_FinishDepo
|
|||
16 => {
|
||||
self.prev_reused = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
24 => {
|
||||
self.manifest_request_code = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -1800,6 +1969,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_FinishDepo
|
|||
if let Some(v) = self.prev_reused {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.manifest_request_code {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -1812,6 +1984,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_FinishDepo
|
|||
if let Some(v) = self.prev_reused {
|
||||
os.write_bool(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.manifest_request_code {
|
||||
os.write_uint64(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1831,6 +2006,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_FinishDepo
|
|||
fn clear(&mut self) {
|
||||
self.manifestid = ::std::option::Option::None;
|
||||
self.prev_reused = ::std::option::Option::None;
|
||||
self.manifest_request_code = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1838,6 +2014,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_FinishDepo
|
|||
static instance: CContentBuilder_FinishDepotUpload_Response = CContentBuilder_FinishDepotUpload_Response {
|
||||
manifestid: ::std::option::Option::None,
|
||||
prev_reused: ::std::option::Option::None,
|
||||
manifest_request_code: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -1856,6 +2033,8 @@ pub struct CContentBuilder_CommitAppBuild_Request {
|
|||
pub build_notes: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_CommitAppBuild_Request.live_branch)
|
||||
pub live_branch: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CContentBuilder_CommitAppBuild_Request.for_local_cs)
|
||||
pub for_local_cs: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CContentBuilder_CommitAppBuild_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1962,6 +2141,25 @@ impl CContentBuilder_CommitAppBuild_Request {
|
|||
pub fn take_live_branch(&mut self) -> ::std::string::String {
|
||||
self.live_branch.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool for_local_cs = 6;
|
||||
|
||||
pub fn for_local_cs(&self) -> bool {
|
||||
self.for_local_cs.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_for_local_cs(&mut self) {
|
||||
self.for_local_cs = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_for_local_cs(&self) -> bool {
|
||||
self.for_local_cs.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_for_local_cs(&mut self, v: bool) {
|
||||
self.for_local_cs = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_CommitAppBuild_Request {
|
||||
|
|
@ -1986,6 +2184,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_CommitAppB
|
|||
42 => {
|
||||
self.live_branch = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
48 => {
|
||||
self.for_local_cs = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2011,6 +2212,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_CommitAppB
|
|||
if let Some(v) = self.live_branch.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
|
||||
}
|
||||
if let Some(v) = self.for_local_cs {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -2029,6 +2233,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_CommitAppB
|
|||
if let Some(v) = self.live_branch.as_ref() {
|
||||
os.write_string(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.for_local_cs {
|
||||
os.write_bool(6, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2050,6 +2257,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_CommitAppB
|
|||
self.depot_manifests.clear();
|
||||
self.build_notes = ::std::option::Option::None;
|
||||
self.live_branch = ::std::option::Option::None;
|
||||
self.for_local_cs = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -2059,6 +2267,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CContentBuilder_CommitAppB
|
|||
depot_manifests: ::std::vec::Vec::new(),
|
||||
build_notes: ::std::option::Option::None,
|
||||
live_branch: ::std::option::Option::None,
|
||||
for_local_cs: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1392,6 +1392,8 @@ pub struct FamilyGroupPendingInviteForUser {
|
|||
pub inviter_steamid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:FamilyGroupPendingInviteForUser.awaiting_2fa)
|
||||
pub awaiting_2fa: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:FamilyGroupPendingInviteForUser.invite_id)
|
||||
pub invite_id: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:FamilyGroupPendingInviteForUser.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1486,6 +1488,25 @@ impl FamilyGroupPendingInviteForUser {
|
|||
pub fn set_awaiting_2fa(&mut self, v: bool) {
|
||||
self.awaiting_2fa = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 invite_id = 5;
|
||||
|
||||
pub fn invite_id(&self) -> u64 {
|
||||
self.invite_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_invite_id(&mut self) {
|
||||
self.invite_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_invite_id(&self) -> bool {
|
||||
self.invite_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_invite_id(&mut self, v: u64) {
|
||||
self.invite_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for FamilyGroupPendingInviteForUser {
|
||||
|
|
@ -1510,6 +1531,9 @@ impl ::steam_vent_proto_common::protobuf::Message for FamilyGroupPendingInviteFo
|
|||
32 => {
|
||||
self.awaiting_2fa = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
40 => {
|
||||
self.invite_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -1534,6 +1558,9 @@ impl ::steam_vent_proto_common::protobuf::Message for FamilyGroupPendingInviteFo
|
|||
if let Some(v) = self.awaiting_2fa {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.invite_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(5, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -1552,6 +1579,9 @@ impl ::steam_vent_proto_common::protobuf::Message for FamilyGroupPendingInviteFo
|
|||
if let Some(v) = self.awaiting_2fa {
|
||||
os.write_bool(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.invite_id {
|
||||
os.write_uint64(5, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1573,6 +1603,7 @@ impl ::steam_vent_proto_common::protobuf::Message for FamilyGroupPendingInviteFo
|
|||
self.role = ::std::option::Option::None;
|
||||
self.inviter_steamid = ::std::option::Option::None;
|
||||
self.awaiting_2fa = ::std::option::Option::None;
|
||||
self.invite_id = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1582,6 +1613,244 @@ impl ::steam_vent_proto_common::protobuf::Message for FamilyGroupPendingInviteFo
|
|||
role: ::std::option::Option::None,
|
||||
inviter_steamid: ::std::option::Option::None,
|
||||
awaiting_2fa: ::std::option::Option::None,
|
||||
invite_id: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:FamilyGroupMembership)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct FamilyGroupMembership {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:FamilyGroupMembership.family_groupid)
|
||||
pub family_groupid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:FamilyGroupMembership.rtime_joined)
|
||||
pub rtime_joined: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:FamilyGroupMembership.rtime_left)
|
||||
pub rtime_left: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:FamilyGroupMembership.role)
|
||||
pub role: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:FamilyGroupMembership.participated)
|
||||
pub participated: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:FamilyGroupMembership.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a FamilyGroupMembership {
|
||||
fn default() -> &'a FamilyGroupMembership {
|
||||
<FamilyGroupMembership as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl FamilyGroupMembership {
|
||||
pub fn new() -> FamilyGroupMembership {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint64 family_groupid = 1;
|
||||
|
||||
pub fn family_groupid(&self) -> u64 {
|
||||
self.family_groupid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_family_groupid(&mut self) {
|
||||
self.family_groupid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_family_groupid(&self) -> bool {
|
||||
self.family_groupid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_family_groupid(&mut self, v: u64) {
|
||||
self.family_groupid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rtime_joined = 2;
|
||||
|
||||
pub fn rtime_joined(&self) -> u32 {
|
||||
self.rtime_joined.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rtime_joined(&mut self) {
|
||||
self.rtime_joined = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rtime_joined(&self) -> bool {
|
||||
self.rtime_joined.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rtime_joined(&mut self, v: u32) {
|
||||
self.rtime_joined = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rtime_left = 3;
|
||||
|
||||
pub fn rtime_left(&self) -> u32 {
|
||||
self.rtime_left.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rtime_left(&mut self) {
|
||||
self.rtime_left = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rtime_left(&self) -> bool {
|
||||
self.rtime_left.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rtime_left(&mut self, v: u32) {
|
||||
self.rtime_left = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 role = 4;
|
||||
|
||||
pub fn role(&self) -> u32 {
|
||||
self.role.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_role(&mut self) {
|
||||
self.role = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_role(&self) -> bool {
|
||||
self.role.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_role(&mut self, v: u32) {
|
||||
self.role = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool participated = 5;
|
||||
|
||||
pub fn participated(&self) -> bool {
|
||||
self.participated.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_participated(&mut self) {
|
||||
self.participated = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_participated(&self) -> bool {
|
||||
self.participated.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_participated(&mut self, v: bool) {
|
||||
self.participated = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for FamilyGroupMembership {
|
||||
const NAME: &'static str = "FamilyGroupMembership";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.family_groupid = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
16 => {
|
||||
self.rtime_joined = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.rtime_left = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.role = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
40 => {
|
||||
self.participated = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.family_groupid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.rtime_joined {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.rtime_left {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.role {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.participated {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.family_groupid {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.rtime_joined {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.rtime_left {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.role {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.participated {
|
||||
os.write_bool(5, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> FamilyGroupMembership {
|
||||
FamilyGroupMembership::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.family_groupid = ::std::option::Option::None;
|
||||
self.rtime_joined = ::std::option::Option::None;
|
||||
self.rtime_left = ::std::option::Option::None;
|
||||
self.role = ::std::option::Option::None;
|
||||
self.participated = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static FamilyGroupMembership {
|
||||
static instance: FamilyGroupMembership = FamilyGroupMembership {
|
||||
family_groupid: ::std::option::Option::None,
|
||||
rtime_joined: ::std::option::Option::None,
|
||||
rtime_left: ::std::option::Option::None,
|
||||
role: ::std::option::Option::None,
|
||||
participated: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -1610,6 +1879,8 @@ pub struct CFamilyGroups_GetFamilyGroupForUser_Response {
|
|||
pub family_group: ::steam_vent_proto_common::protobuf::MessageField<CFamilyGroups_GetFamilyGroup_Response>,
|
||||
// @@protoc_insertion_point(field:CFamilyGroups_GetFamilyGroupForUser_Response.can_undelete_last_joined_family)
|
||||
pub can_undelete_last_joined_family: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CFamilyGroups_GetFamilyGroupForUser_Response.membership_history)
|
||||
pub membership_history: ::std::vec::Vec<FamilyGroupMembership>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFamilyGroups_GetFamilyGroupForUser_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1797,6 +2068,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_GetFamilyGro
|
|||
72 => {
|
||||
self.can_undelete_last_joined_family = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
82 => {
|
||||
self.membership_history.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -1838,6 +2112,10 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_GetFamilyGro
|
|||
if let Some(v) = self.can_undelete_last_joined_family {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
for value in &self.membership_history {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -1871,6 +2149,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_GetFamilyGro
|
|||
if let Some(v) = self.can_undelete_last_joined_family {
|
||||
os.write_bool(9, v)?;
|
||||
}
|
||||
for v in &self.membership_history {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(10, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1897,6 +2178,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_GetFamilyGro
|
|||
self.cooldown_seconds_remaining = ::std::option::Option::None;
|
||||
self.family_group.clear();
|
||||
self.can_undelete_last_joined_family = ::std::option::Option::None;
|
||||
self.membership_history.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1911,6 +2193,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_GetFamilyGro
|
|||
cooldown_seconds_remaining: ::std::option::Option::None,
|
||||
family_group: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
can_undelete_last_joined_family: ::std::option::Option::None,
|
||||
membership_history: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -3088,6 +3371,8 @@ pub struct CFamilyGroups_JoinFamilyGroup_Response {
|
|||
pub cooldown_skip_granted: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CFamilyGroups_JoinFamilyGroup_Response.invite_already_accepted)
|
||||
pub invite_already_accepted: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CFamilyGroups_JoinFamilyGroup_Response.cooldown_seconds_remaining)
|
||||
pub cooldown_seconds_remaining: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFamilyGroups_JoinFamilyGroup_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -3163,6 +3448,25 @@ impl CFamilyGroups_JoinFamilyGroup_Response {
|
|||
pub fn set_invite_already_accepted(&mut self, v: bool) {
|
||||
self.invite_already_accepted = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 cooldown_seconds_remaining = 5;
|
||||
|
||||
pub fn cooldown_seconds_remaining(&self) -> u32 {
|
||||
self.cooldown_seconds_remaining.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_cooldown_seconds_remaining(&mut self) {
|
||||
self.cooldown_seconds_remaining = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_cooldown_seconds_remaining(&self) -> bool {
|
||||
self.cooldown_seconds_remaining.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_cooldown_seconds_remaining(&mut self, v: u32) {
|
||||
self.cooldown_seconds_remaining = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_JoinFamilyGroup_Response {
|
||||
|
|
@ -3184,6 +3488,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_JoinFamilyGr
|
|||
32 => {
|
||||
self.invite_already_accepted = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
40 => {
|
||||
self.cooldown_seconds_remaining = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -3205,6 +3512,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_JoinFamilyGr
|
|||
if let Some(v) = self.invite_already_accepted {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.cooldown_seconds_remaining {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -3220,6 +3530,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_JoinFamilyGr
|
|||
if let Some(v) = self.invite_already_accepted {
|
||||
os.write_bool(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.cooldown_seconds_remaining {
|
||||
os.write_uint32(5, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -3240,6 +3553,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_JoinFamilyGr
|
|||
self.two_factor_method = ::std::option::Option::None;
|
||||
self.cooldown_skip_granted = ::std::option::Option::None;
|
||||
self.invite_already_accepted = ::std::option::Option::None;
|
||||
self.cooldown_seconds_remaining = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -3248,6 +3562,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_JoinFamilyGr
|
|||
two_factor_method: ::std::option::Option::None,
|
||||
cooldown_skip_granted: ::std::option::Option::None,
|
||||
invite_already_accepted: ::std::option::Option::None,
|
||||
cooldown_seconds_remaining: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -9200,6 +9515,223 @@ impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_ClearCooldow
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFamilyGroups_RollbackFamilyGroup_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CFamilyGroups_RollbackFamilyGroup_Request.family_groupid)
|
||||
pub family_groupid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CFamilyGroups_RollbackFamilyGroup_Request.rtime32_target)
|
||||
pub rtime32_target: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFamilyGroups_RollbackFamilyGroup_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
fn default() -> &'a CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
<CFamilyGroups_RollbackFamilyGroup_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
pub fn new() -> CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint64 family_groupid = 1;
|
||||
|
||||
pub fn family_groupid(&self) -> u64 {
|
||||
self.family_groupid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_family_groupid(&mut self) {
|
||||
self.family_groupid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_family_groupid(&self) -> bool {
|
||||
self.family_groupid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_family_groupid(&mut self, v: u64) {
|
||||
self.family_groupid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rtime32_target = 2;
|
||||
|
||||
pub fn rtime32_target(&self) -> u32 {
|
||||
self.rtime32_target.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rtime32_target(&mut self) {
|
||||
self.rtime32_target = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rtime32_target(&self) -> bool {
|
||||
self.rtime32_target.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rtime32_target(&mut self, v: u32) {
|
||||
self.rtime32_target = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
const NAME: &'static str = "CFamilyGroups_RollbackFamilyGroup_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.family_groupid = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
16 => {
|
||||
self.rtime32_target = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.family_groupid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.rtime32_target {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.family_groupid {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.rtime32_target {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
CFamilyGroups_RollbackFamilyGroup_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.family_groupid = ::std::option::Option::None;
|
||||
self.rtime32_target = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
static instance: CFamilyGroups_RollbackFamilyGroup_Request = CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
family_groupid: ::std::option::Option::None,
|
||||
rtime32_target: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFamilyGroups_RollbackFamilyGroup_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFamilyGroups_RollbackFamilyGroup_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
fn default() -> &'a CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
<CFamilyGroups_RollbackFamilyGroup_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
pub fn new() -> CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
const NAME: &'static str = "CFamilyGroups_RollbackFamilyGroup_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
CFamilyGroups_RollbackFamilyGroup_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
static instance: CFamilyGroups_RollbackFamilyGroup_Response = CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFamilyGroupsClient_NotifyRunningApps_Notification)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFamilyGroupsClient_NotifyRunningApps_Notification {
|
||||
|
|
@ -10417,6 +10949,19 @@ impl ::steam_vent_proto_common::RpcMessage for FamilyGroupPendingInviteForUser {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for FamilyGroupMembership {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CFamilyGroups_GetFamilyGroupForUser_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
|
|
@ -11088,6 +11633,34 @@ impl ::steam_vent_proto_common::RpcMessage for CFamilyGroups_ClearCooldownSkip_R
|
|||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CFamilyGroups_RollbackFamilyGroup_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CFamilyGroupsClient_NotifyRunningApps_Notification {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -11257,6 +11830,10 @@ for CFamilyGroups_RespondToRequestedPurchase_Request {
|
|||
const METHOD_NAME: &'static str = "FamilyGroups.RespondToRequestedPurchase#1";
|
||||
type Response = CFamilyGroups_RespondToRequestedPurchase_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CFamilyGroups_RollbackFamilyGroup_Request {
|
||||
const METHOD_NAME: &'static str = "FamilyGroups.RollbackFamilyGroup#1";
|
||||
type Response = CFamilyGroups_RollbackFamilyGroup_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CFamilyGroups_SetFamilyCooldownOverrides_Request {
|
||||
const METHOD_NAME: &'static str = "FamilyGroups.SetFamilyCooldownOverrides#1";
|
||||
|
|
|
|||
|
|
@ -2751,6 +2751,771 @@ impl ::steam_vent_proto_common::protobuf::Message for CFriendMessages_UpdateMess
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFriendMessages_ReportMessage_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFriendMessages_ReportMessage_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ReportMessage_Request.steamid_from)
|
||||
pub steamid_from: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ReportMessage_Request.steamid_to)
|
||||
pub steamid_to: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ReportMessage_Request.timestamp)
|
||||
pub timestamp: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ReportMessage_Request.ordinal)
|
||||
pub ordinal: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ReportMessage_Request.report_reason)
|
||||
pub report_reason: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums::EContentReportReason>>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ReportMessage_Request.report_text)
|
||||
pub report_text: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ReportMessage_Request.language)
|
||||
pub language: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFriendMessages_ReportMessage_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CFriendMessages_ReportMessage_Request {
|
||||
fn default() -> &'a CFriendMessages_ReportMessage_Request {
|
||||
<CFriendMessages_ReportMessage_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CFriendMessages_ReportMessage_Request {
|
||||
pub fn new() -> CFriendMessages_ReportMessage_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional fixed64 steamid_from = 1;
|
||||
|
||||
pub fn steamid_from(&self) -> u64 {
|
||||
self.steamid_from.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_steamid_from(&mut self) {
|
||||
self.steamid_from = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_steamid_from(&self) -> bool {
|
||||
self.steamid_from.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_steamid_from(&mut self, v: u64) {
|
||||
self.steamid_from = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 steamid_to = 2;
|
||||
|
||||
pub fn steamid_to(&self) -> u64 {
|
||||
self.steamid_to.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_steamid_to(&mut self) {
|
||||
self.steamid_to = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_steamid_to(&self) -> bool {
|
||||
self.steamid_to.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_steamid_to(&mut self, v: u64) {
|
||||
self.steamid_to = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 timestamp = 3;
|
||||
|
||||
pub fn timestamp(&self) -> u32 {
|
||||
self.timestamp.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_timestamp(&mut self) {
|
||||
self.timestamp = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_timestamp(&self) -> bool {
|
||||
self.timestamp.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_timestamp(&mut self, v: u32) {
|
||||
self.timestamp = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 ordinal = 4;
|
||||
|
||||
pub fn ordinal(&self) -> u32 {
|
||||
self.ordinal.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_ordinal(&mut self) {
|
||||
self.ordinal = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_ordinal(&self) -> bool {
|
||||
self.ordinal.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_ordinal(&mut self, v: u32) {
|
||||
self.ordinal = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .EContentReportReason report_reason = 5;
|
||||
|
||||
pub fn report_reason(&self) -> super::enums::EContentReportReason {
|
||||
match self.report_reason {
|
||||
Some(e) => e.enum_value_or(super::enums::EContentReportReason::k_EContentReportReason_Invalid),
|
||||
None => super::enums::EContentReportReason::k_EContentReportReason_Invalid,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_report_reason(&mut self) {
|
||||
self.report_reason = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_report_reason(&self) -> bool {
|
||||
self.report_reason.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_report_reason(&mut self, v: super::enums::EContentReportReason) {
|
||||
self.report_reason = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional string report_text = 6;
|
||||
|
||||
pub fn report_text(&self) -> &str {
|
||||
match self.report_text.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_report_text(&mut self) {
|
||||
self.report_text = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_report_text(&self) -> bool {
|
||||
self.report_text.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_report_text(&mut self, v: ::std::string::String) {
|
||||
self.report_text = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_report_text(&mut self) -> &mut ::std::string::String {
|
||||
if self.report_text.is_none() {
|
||||
self.report_text = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.report_text.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_report_text(&mut self) -> ::std::string::String {
|
||||
self.report_text.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string language = 7;
|
||||
|
||||
pub fn language(&self) -> &str {
|
||||
match self.language.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_language(&mut self) {
|
||||
self.language = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_language(&self) -> bool {
|
||||
self.language.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_language(&mut self, v: ::std::string::String) {
|
||||
self.language = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_language(&mut self) -> &mut ::std::string::String {
|
||||
if self.language.is_none() {
|
||||
self.language = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.language.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_language(&mut self) -> ::std::string::String {
|
||||
self.language.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CFriendMessages_ReportMessage_Request {
|
||||
const NAME: &'static str = "CFriendMessages_ReportMessage_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
9 => {
|
||||
self.steamid_from = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
17 => {
|
||||
self.steamid_to = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
24 => {
|
||||
self.timestamp = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.ordinal = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
40 => {
|
||||
self.report_reason = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
50 => {
|
||||
self.report_text = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
58 => {
|
||||
self.language = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.steamid_from {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.steamid_to {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.timestamp {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.ordinal {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.report_reason {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v.value());
|
||||
}
|
||||
if let Some(v) = self.report_text.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
|
||||
}
|
||||
if let Some(v) = self.language.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.steamid_from {
|
||||
os.write_fixed64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.steamid_to {
|
||||
os.write_fixed64(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.timestamp {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.ordinal {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.report_reason {
|
||||
os.write_enum(5, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.report_text.as_ref() {
|
||||
os.write_string(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.language.as_ref() {
|
||||
os.write_string(7, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CFriendMessages_ReportMessage_Request {
|
||||
CFriendMessages_ReportMessage_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.steamid_from = ::std::option::Option::None;
|
||||
self.steamid_to = ::std::option::Option::None;
|
||||
self.timestamp = ::std::option::Option::None;
|
||||
self.ordinal = ::std::option::Option::None;
|
||||
self.report_reason = ::std::option::Option::None;
|
||||
self.report_text = ::std::option::Option::None;
|
||||
self.language = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CFriendMessages_ReportMessage_Request {
|
||||
static instance: CFriendMessages_ReportMessage_Request = CFriendMessages_ReportMessage_Request {
|
||||
steamid_from: ::std::option::Option::None,
|
||||
steamid_to: ::std::option::Option::None,
|
||||
timestamp: ::std::option::Option::None,
|
||||
ordinal: ::std::option::Option::None,
|
||||
report_reason: ::std::option::Option::None,
|
||||
report_text: ::std::option::Option::None,
|
||||
language: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFriendMessages_ReportMessage_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFriendMessages_ReportMessage_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFriendMessages_ReportMessage_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CFriendMessages_ReportMessage_Response {
|
||||
fn default() -> &'a CFriendMessages_ReportMessage_Response {
|
||||
<CFriendMessages_ReportMessage_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CFriendMessages_ReportMessage_Response {
|
||||
pub fn new() -> CFriendMessages_ReportMessage_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CFriendMessages_ReportMessage_Response {
|
||||
const NAME: &'static str = "CFriendMessages_ReportMessage_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CFriendMessages_ReportMessage_Response {
|
||||
CFriendMessages_ReportMessage_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CFriendMessages_ReportMessage_Response {
|
||||
static instance: CFriendMessages_ReportMessage_Response = CFriendMessages_ReportMessage_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFriendMessages_ResolveReport_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFriendMessages_ResolveReport_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ResolveReport_Request.steamid_from)
|
||||
pub steamid_from: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ResolveReport_Request.steamid_to)
|
||||
pub steamid_to: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ResolveReport_Request.subject_group_id)
|
||||
pub subject_group_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ResolveReport_Request.subject_id)
|
||||
pub subject_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ResolveReport_Request.resolution)
|
||||
pub resolution: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums::EContentReportResolution>>,
|
||||
// @@protoc_insertion_point(field:CFriendMessages_ResolveReport_Request.reason)
|
||||
pub reason: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums::EContentReportReason>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFriendMessages_ResolveReport_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CFriendMessages_ResolveReport_Request {
|
||||
fn default() -> &'a CFriendMessages_ResolveReport_Request {
|
||||
<CFriendMessages_ResolveReport_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CFriendMessages_ResolveReport_Request {
|
||||
pub fn new() -> CFriendMessages_ResolveReport_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional fixed64 steamid_from = 1;
|
||||
|
||||
pub fn steamid_from(&self) -> u64 {
|
||||
self.steamid_from.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_steamid_from(&mut self) {
|
||||
self.steamid_from = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_steamid_from(&self) -> bool {
|
||||
self.steamid_from.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_steamid_from(&mut self, v: u64) {
|
||||
self.steamid_from = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 steamid_to = 2;
|
||||
|
||||
pub fn steamid_to(&self) -> u64 {
|
||||
self.steamid_to.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_steamid_to(&mut self) {
|
||||
self.steamid_to = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_steamid_to(&self) -> bool {
|
||||
self.steamid_to.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_steamid_to(&mut self, v: u64) {
|
||||
self.steamid_to = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 subject_group_id = 3;
|
||||
|
||||
pub fn subject_group_id(&self) -> u64 {
|
||||
self.subject_group_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_subject_group_id(&mut self) {
|
||||
self.subject_group_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_subject_group_id(&self) -> bool {
|
||||
self.subject_group_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_subject_group_id(&mut self, v: u64) {
|
||||
self.subject_group_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 subject_id = 4;
|
||||
|
||||
pub fn subject_id(&self) -> u64 {
|
||||
self.subject_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_subject_id(&mut self) {
|
||||
self.subject_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_subject_id(&self) -> bool {
|
||||
self.subject_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_subject_id(&mut self, v: u64) {
|
||||
self.subject_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .EContentReportResolution resolution = 5;
|
||||
|
||||
pub fn resolution(&self) -> super::enums::EContentReportResolution {
|
||||
match self.resolution {
|
||||
Some(e) => e.enum_value_or(super::enums::EContentReportResolution::k_EContentReportResolution_Unresolved),
|
||||
None => super::enums::EContentReportResolution::k_EContentReportResolution_Unresolved,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_resolution(&mut self) {
|
||||
self.resolution = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_resolution(&self) -> bool {
|
||||
self.resolution.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_resolution(&mut self, v: super::enums::EContentReportResolution) {
|
||||
self.resolution = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional .EContentReportReason reason = 6;
|
||||
|
||||
pub fn reason(&self) -> super::enums::EContentReportReason {
|
||||
match self.reason {
|
||||
Some(e) => e.enum_value_or(super::enums::EContentReportReason::k_EContentReportReason_Invalid),
|
||||
None => super::enums::EContentReportReason::k_EContentReportReason_Invalid,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_reason(&mut self) {
|
||||
self.reason = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_reason(&self) -> bool {
|
||||
self.reason.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_reason(&mut self, v: super::enums::EContentReportReason) {
|
||||
self.reason = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CFriendMessages_ResolveReport_Request {
|
||||
const NAME: &'static str = "CFriendMessages_ResolveReport_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
9 => {
|
||||
self.steamid_from = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
17 => {
|
||||
self.steamid_to = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
24 => {
|
||||
self.subject_group_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
32 => {
|
||||
self.subject_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
40 => {
|
||||
self.resolution = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
48 => {
|
||||
self.reason = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.steamid_from {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.steamid_to {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.subject_group_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.subject_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.resolution {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v.value());
|
||||
}
|
||||
if let Some(v) = self.reason {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v.value());
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.steamid_from {
|
||||
os.write_fixed64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.steamid_to {
|
||||
os.write_fixed64(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.subject_group_id {
|
||||
os.write_uint64(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.subject_id {
|
||||
os.write_uint64(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.resolution {
|
||||
os.write_enum(5, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.reason {
|
||||
os.write_enum(6, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CFriendMessages_ResolveReport_Request {
|
||||
CFriendMessages_ResolveReport_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.steamid_from = ::std::option::Option::None;
|
||||
self.steamid_to = ::std::option::Option::None;
|
||||
self.subject_group_id = ::std::option::Option::None;
|
||||
self.subject_id = ::std::option::Option::None;
|
||||
self.resolution = ::std::option::Option::None;
|
||||
self.reason = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CFriendMessages_ResolveReport_Request {
|
||||
static instance: CFriendMessages_ResolveReport_Request = CFriendMessages_ResolveReport_Request {
|
||||
steamid_from: ::std::option::Option::None,
|
||||
steamid_to: ::std::option::Option::None,
|
||||
subject_group_id: ::std::option::Option::None,
|
||||
subject_id: ::std::option::Option::None,
|
||||
resolution: ::std::option::Option::None,
|
||||
reason: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFriendMessages_ResolveReport_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFriendMessages_ResolveReport_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CFriendMessages_ResolveReport_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CFriendMessages_ResolveReport_Response {
|
||||
fn default() -> &'a CFriendMessages_ResolveReport_Response {
|
||||
<CFriendMessages_ResolveReport_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CFriendMessages_ResolveReport_Response {
|
||||
pub fn new() -> CFriendMessages_ResolveReport_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CFriendMessages_ResolveReport_Response {
|
||||
const NAME: &'static str = "CFriendMessages_ResolveReport_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CFriendMessages_ResolveReport_Response {
|
||||
CFriendMessages_ResolveReport_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CFriendMessages_ResolveReport_Response {
|
||||
static instance: CFriendMessages_ResolveReport_Response = CFriendMessages_ResolveReport_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CFriendMessages_IncomingMessage_Notification)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CFriendMessages_IncomingMessage_Notification {
|
||||
|
|
@ -3528,6 +4293,8 @@ const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
|||
use crate::steammessages_base::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::steammessages_unified_base_steamclient::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::enums::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CFriendMessages_GetRecentMessages_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
|
|
@ -3679,6 +4446,58 @@ for CFriendMessages_UpdateMessageReaction_Response {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CFriendMessages_ReportMessage_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CFriendMessages_ReportMessage_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CFriendMessages_ResolveReport_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CFriendMessages_ResolveReport_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CFriendMessages_IncomingMessage_Notification {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
|
|
@ -3739,6 +4558,14 @@ for CFriendMessages_MessageReaction_Notification {
|
|||
const METHOD_NAME: &'static str = "FriendMessagesClient.MessageReaction#1";
|
||||
type Response = ();
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CFriendMessages_ReportMessage_Request {
|
||||
const METHOD_NAME: &'static str = "FriendMessages.ReportMessage#1";
|
||||
type Response = CFriendMessages_ReportMessage_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CFriendMessages_ResolveReport_Request {
|
||||
const METHOD_NAME: &'static str = "FriendMessages.ResolveReport#1";
|
||||
type Response = CFriendMessages_ResolveReport_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CFriendMessages_SendMessage_Request {
|
||||
const METHOD_NAME: &'static str = "FriendMessages.SendMessage#1";
|
||||
type Response = CFriendMessages_SendMessage_Response;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -69,6 +69,8 @@ pub struct CHIDDeviceInfo {
|
|||
pub session_remote_play_together_appid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CHIDDeviceInfo.is_steamvr_device)
|
||||
pub is_steamvr_device: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CHIDDeviceInfo.caps_bits2)
|
||||
pub caps_bits2: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CHIDDeviceInfo.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -535,6 +537,25 @@ impl CHIDDeviceInfo {
|
|||
pub fn set_is_steamvr_device(&mut self, v: bool) {
|
||||
self.is_steamvr_device = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 caps_bits2 = 21;
|
||||
|
||||
pub fn caps_bits2(&self) -> u32 {
|
||||
self.caps_bits2.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_caps_bits2(&mut self) {
|
||||
self.caps_bits2 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_caps_bits2(&self) -> bool {
|
||||
self.caps_bits2.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_caps_bits2(&mut self, v: u32) {
|
||||
self.caps_bits2 = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CHIDDeviceInfo {
|
||||
|
|
@ -607,6 +628,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CHIDDeviceInfo {
|
|||
160 => {
|
||||
self.is_steamvr_device = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
168 => {
|
||||
self.caps_bits2 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -679,6 +703,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CHIDDeviceInfo {
|
|||
if let Some(v) = self.is_steamvr_device {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.caps_bits2 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(21, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -745,6 +772,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CHIDDeviceInfo {
|
|||
if let Some(v) = self.is_steamvr_device {
|
||||
os.write_bool(20, v)?;
|
||||
}
|
||||
if let Some(v) = self.caps_bits2 {
|
||||
os.write_uint32(21, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -782,6 +812,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CHIDDeviceInfo {
|
|||
self.is_xinput_device_OBSOLETE = ::std::option::Option::None;
|
||||
self.session_remote_play_together_appid = ::std::option::Option::None;
|
||||
self.is_steamvr_device = ::std::option::Option::None;
|
||||
self.caps_bits2 = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -807,6 +838,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CHIDDeviceInfo {
|
|||
is_xinput_device_OBSOLETE: ::std::option::Option::None,
|
||||
session_remote_play_together_appid: ::std::option::Option::None,
|
||||
is_steamvr_device: ::std::option::Option::None,
|
||||
caps_bits2: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -891,6 +891,10 @@ pub enum ESteamNotificationType {
|
|||
k_ESteamNotificationType_MobileConfirmation = 26,
|
||||
// @@protoc_insertion_point(enum_value:ESteamNotificationType.k_ESteamNotificationType_PartnerEvent)
|
||||
k_ESteamNotificationType_PartnerEvent = 27,
|
||||
// @@protoc_insertion_point(enum_value:ESteamNotificationType.k_ESteamNotificationType_PlaytestInvite)
|
||||
k_ESteamNotificationType_PlaytestInvite = 28,
|
||||
// @@protoc_insertion_point(enum_value:ESteamNotificationType.k_ESteamNotificationType_TradeReversal)
|
||||
k_ESteamNotificationType_TradeReversal = 29,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for ESteamNotificationType {
|
||||
|
|
@ -930,6 +934,8 @@ impl ::steam_vent_proto_common::protobuf::Enum for ESteamNotificationType {
|
|||
25 => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_2FAPrompt),
|
||||
26 => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_MobileConfirmation),
|
||||
27 => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_PartnerEvent),
|
||||
28 => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_PlaytestInvite),
|
||||
29 => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_TradeReversal),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -964,6 +970,8 @@ impl ::steam_vent_proto_common::protobuf::Enum for ESteamNotificationType {
|
|||
"k_ESteamNotificationType_2FAPrompt" => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_2FAPrompt),
|
||||
"k_ESteamNotificationType_MobileConfirmation" => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_MobileConfirmation),
|
||||
"k_ESteamNotificationType_PartnerEvent" => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_PartnerEvent),
|
||||
"k_ESteamNotificationType_PlaytestInvite" => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_PlaytestInvite),
|
||||
"k_ESteamNotificationType_TradeReversal" => ::std::option::Option::Some(ESteamNotificationType::k_ESteamNotificationType_TradeReversal),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -997,6 +1005,8 @@ impl ::steam_vent_proto_common::protobuf::Enum for ESteamNotificationType {
|
|||
ESteamNotificationType::k_ESteamNotificationType_2FAPrompt,
|
||||
ESteamNotificationType::k_ESteamNotificationType_MobileConfirmation,
|
||||
ESteamNotificationType::k_ESteamNotificationType_PartnerEvent,
|
||||
ESteamNotificationType::k_ESteamNotificationType_PlaytestInvite,
|
||||
ESteamNotificationType::k_ESteamNotificationType_TradeReversal,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1883,8 +1883,6 @@ impl ::steam_vent_proto_common::protobuf::Message for ParentalPlaytimeRequest {
|
|||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use crate::steammessages_base::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::enums::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for ParentalApp {
|
||||
|
|
|
|||
|
|
@ -2307,223 +2307,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CParental_RequestRecoveryC
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CParental_DisableWithRecoveryCode_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CParental_DisableWithRecoveryCode_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CParental_DisableWithRecoveryCode_Request.recovery_code)
|
||||
pub recovery_code: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CParental_DisableWithRecoveryCode_Request.steamid)
|
||||
pub steamid: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CParental_DisableWithRecoveryCode_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CParental_DisableWithRecoveryCode_Request {
|
||||
fn default() -> &'a CParental_DisableWithRecoveryCode_Request {
|
||||
<CParental_DisableWithRecoveryCode_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CParental_DisableWithRecoveryCode_Request {
|
||||
pub fn new() -> CParental_DisableWithRecoveryCode_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 recovery_code = 1;
|
||||
|
||||
pub fn recovery_code(&self) -> u32 {
|
||||
self.recovery_code.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_recovery_code(&mut self) {
|
||||
self.recovery_code = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_recovery_code(&self) -> bool {
|
||||
self.recovery_code.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_recovery_code(&mut self, v: u32) {
|
||||
self.recovery_code = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 steamid = 10;
|
||||
|
||||
pub fn steamid(&self) -> u64 {
|
||||
self.steamid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_steamid(&mut self) {
|
||||
self.steamid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_steamid(&self) -> bool {
|
||||
self.steamid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_steamid(&mut self, v: u64) {
|
||||
self.steamid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CParental_DisableWithRecoveryCode_Request {
|
||||
const NAME: &'static str = "CParental_DisableWithRecoveryCode_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.recovery_code = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
81 => {
|
||||
self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.recovery_code {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.steamid {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.recovery_code {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.steamid {
|
||||
os.write_fixed64(10, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CParental_DisableWithRecoveryCode_Request {
|
||||
CParental_DisableWithRecoveryCode_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.recovery_code = ::std::option::Option::None;
|
||||
self.steamid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CParental_DisableWithRecoveryCode_Request {
|
||||
static instance: CParental_DisableWithRecoveryCode_Request = CParental_DisableWithRecoveryCode_Request {
|
||||
recovery_code: ::std::option::Option::None,
|
||||
steamid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CParental_DisableWithRecoveryCode_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CParental_DisableWithRecoveryCode_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CParental_DisableWithRecoveryCode_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CParental_DisableWithRecoveryCode_Response {
|
||||
fn default() -> &'a CParental_DisableWithRecoveryCode_Response {
|
||||
<CParental_DisableWithRecoveryCode_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CParental_DisableWithRecoveryCode_Response {
|
||||
pub fn new() -> CParental_DisableWithRecoveryCode_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CParental_DisableWithRecoveryCode_Response {
|
||||
const NAME: &'static str = "CParental_DisableWithRecoveryCode_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CParental_DisableWithRecoveryCode_Response {
|
||||
CParental_DisableWithRecoveryCode_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CParental_DisableWithRecoveryCode_Response {
|
||||
static instance: CParental_DisableWithRecoveryCode_Response = CParental_DisableWithRecoveryCode_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CParental_RequestFeatureAccess_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CParental_RequestFeatureAccess_Request {
|
||||
|
|
@ -5072,34 +4855,6 @@ impl ::steam_vent_proto_common::RpcMessage for CParental_RequestRecoveryCode_Res
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CParental_DisableWithRecoveryCode_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CParental_DisableWithRecoveryCode_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CParental_RequestFeatureAccess_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -5333,10 +5088,6 @@ impl ::steam_vent_proto_common::RpcMethod for CParental_DisableParentalSettings_
|
|||
const METHOD_NAME: &'static str = "Parental.DisableParentalSettings#1";
|
||||
type Response = CParental_DisableParentalSettings_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CParental_DisableWithRecoveryCode_Request {
|
||||
const METHOD_NAME: &'static str = "Parental.DisableWithRecoveryCode#1";
|
||||
type Response = CParental_DisableWithRecoveryCode_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CParental_EnableParentalSettings_Request {
|
||||
const METHOD_NAME: &'static str = "Parental.EnableParentalSettings#1";
|
||||
type Response = CParental_EnableParentalSettings_Response;
|
||||
|
|
|
|||
|
|
@ -5114,6 +5114,8 @@ pub struct ProfileItem {
|
|||
pub equipped_flags: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:ProfileItem.profile_colors)
|
||||
pub profile_colors: ::std::vec::Vec<profile_item::ProfileColor>,
|
||||
// @@protoc_insertion_point(field:ProfileItem.tiled)
|
||||
pub tiled: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:ProfileItem.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -5548,6 +5550,25 @@ impl ProfileItem {
|
|||
pub fn set_equipped_flags(&mut self, v: u32) {
|
||||
self.equipped_flags = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool tiled = 16;
|
||||
|
||||
pub fn tiled(&self) -> bool {
|
||||
self.tiled.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_tiled(&mut self) {
|
||||
self.tiled = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_tiled(&self) -> bool {
|
||||
self.tiled.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_tiled(&mut self, v: bool) {
|
||||
self.tiled = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for ProfileItem {
|
||||
|
|
@ -5605,6 +5626,9 @@ impl ::steam_vent_proto_common::protobuf::Message for ProfileItem {
|
|||
122 => {
|
||||
self.profile_colors.push(is.read_message()?);
|
||||
},
|
||||
128 => {
|
||||
self.tiled = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -5663,6 +5687,9 @@ impl ::steam_vent_proto_common::protobuf::Message for ProfileItem {
|
|||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
if let Some(v) = self.tiled {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -5714,6 +5741,9 @@ impl ::steam_vent_proto_common::protobuf::Message for ProfileItem {
|
|||
for v in &self.profile_colors {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(15, v, os)?;
|
||||
};
|
||||
if let Some(v) = self.tiled {
|
||||
os.write_bool(16, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -5746,6 +5776,7 @@ impl ::steam_vent_proto_common::protobuf::Message for ProfileItem {
|
|||
self.movie_mp4_small = ::std::option::Option::None;
|
||||
self.equipped_flags = ::std::option::Option::None;
|
||||
self.profile_colors.clear();
|
||||
self.tiled = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -5766,6 +5797,7 @@ impl ::steam_vent_proto_common::protobuf::Message for ProfileItem {
|
|||
movie_mp4_small: ::std::option::Option::None,
|
||||
equipped_flags: ::std::option::Option::None,
|
||||
profile_colors: ::std::vec::Vec::new(),
|
||||
tiled: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
|
|
@ -6734,6 +6734,12 @@ pub mod published_file_details {
|
|||
pub votes_up: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:PublishedFileDetails.VoteData.votes_down)
|
||||
pub votes_down: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:PublishedFileDetails.VoteData.trusted_score)
|
||||
pub trusted_score: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:PublishedFileDetails.VoteData.trusted_votes_up)
|
||||
pub trusted_votes_up: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:PublishedFileDetails.VoteData.trusted_votes_down)
|
||||
pub trusted_votes_down: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:PublishedFileDetails.VoteData.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -6806,6 +6812,63 @@ pub mod published_file_details {
|
|||
pub fn set_votes_down(&mut self, v: u32) {
|
||||
self.votes_down = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float trusted_score = 4;
|
||||
|
||||
pub fn trusted_score(&self) -> f32 {
|
||||
self.trusted_score.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_trusted_score(&mut self) {
|
||||
self.trusted_score = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_trusted_score(&self) -> bool {
|
||||
self.trusted_score.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_trusted_score(&mut self, v: f32) {
|
||||
self.trusted_score = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 trusted_votes_up = 5;
|
||||
|
||||
pub fn trusted_votes_up(&self) -> u32 {
|
||||
self.trusted_votes_up.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_trusted_votes_up(&mut self) {
|
||||
self.trusted_votes_up = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_trusted_votes_up(&self) -> bool {
|
||||
self.trusted_votes_up.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_trusted_votes_up(&mut self, v: u32) {
|
||||
self.trusted_votes_up = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 trusted_votes_down = 6;
|
||||
|
||||
pub fn trusted_votes_down(&self) -> u32 {
|
||||
self.trusted_votes_down.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_trusted_votes_down(&mut self) {
|
||||
self.trusted_votes_down = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_trusted_votes_down(&self) -> bool {
|
||||
self.trusted_votes_down.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_trusted_votes_down(&mut self, v: u32) {
|
||||
self.trusted_votes_down = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for VoteData {
|
||||
|
|
@ -6827,6 +6890,15 @@ pub mod published_file_details {
|
|||
24 => {
|
||||
self.votes_down = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
37 => {
|
||||
self.trusted_score = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
40 => {
|
||||
self.trusted_votes_up = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
48 => {
|
||||
self.trusted_votes_down = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -6848,6 +6920,15 @@ pub mod published_file_details {
|
|||
if let Some(v) = self.votes_down {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.trusted_score {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.trusted_votes_up {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
|
||||
}
|
||||
if let Some(v) = self.trusted_votes_down {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -6863,6 +6944,15 @@ pub mod published_file_details {
|
|||
if let Some(v) = self.votes_down {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.trusted_score {
|
||||
os.write_float(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.trusted_votes_up {
|
||||
os.write_uint32(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.trusted_votes_down {
|
||||
os.write_uint32(6, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -6883,6 +6973,9 @@ pub mod published_file_details {
|
|||
self.score = ::std::option::Option::None;
|
||||
self.votes_up = ::std::option::Option::None;
|
||||
self.votes_down = ::std::option::Option::None;
|
||||
self.trusted_score = ::std::option::Option::None;
|
||||
self.trusted_votes_up = ::std::option::Option::None;
|
||||
self.trusted_votes_down = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -6891,6 +6984,9 @@ pub mod published_file_details {
|
|||
score: ::std::option::Option::None,
|
||||
votes_up: ::std::option::Option::None,
|
||||
votes_down: ::std::option::Option::None,
|
||||
trusted_score: ::std::option::Option::None,
|
||||
trusted_votes_up: ::std::option::Option::None,
|
||||
trusted_votes_down: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -11540,6 +11636,8 @@ pub struct CPublishedFile_GetChangeHistoryEntry_Response {
|
|||
pub snapshot_game_branch_max: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CPublishedFile_GetChangeHistoryEntry_Response.manifest_id)
|
||||
pub manifest_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CPublishedFile_GetChangeHistoryEntry_Response.accountid)
|
||||
pub accountid: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CPublishedFile_GetChangeHistoryEntry_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -11720,6 +11818,25 @@ impl CPublishedFile_GetChangeHistoryEntry_Response {
|
|||
pub fn set_manifest_id(&mut self, v: u64) {
|
||||
self.manifest_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 accountid = 7;
|
||||
|
||||
pub fn accountid(&self) -> u32 {
|
||||
self.accountid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_accountid(&mut self) {
|
||||
self.accountid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_accountid(&self) -> bool {
|
||||
self.accountid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_accountid(&mut self, v: u32) {
|
||||
self.accountid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHistoryEntry_Response {
|
||||
|
|
@ -11750,6 +11867,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHi
|
|||
49 => {
|
||||
self.manifest_id = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
56 => {
|
||||
self.accountid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -11780,6 +11900,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHi
|
|||
if let Some(v) = self.manifest_id {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.accountid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -11804,6 +11927,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHi
|
|||
if let Some(v) = self.manifest_id {
|
||||
os.write_fixed64(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.accountid {
|
||||
os.write_uint32(7, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -11827,6 +11953,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHi
|
|||
self.snapshot_game_branch_min = ::std::option::Option::None;
|
||||
self.snapshot_game_branch_max = ::std::option::Option::None;
|
||||
self.manifest_id = ::std::option::Option::None;
|
||||
self.accountid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -11838,6 +11965,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHi
|
|||
snapshot_game_branch_min: ::std::option::Option::None,
|
||||
snapshot_game_branch_max: ::std::option::Option::None,
|
||||
manifest_id: ::std::option::Option::None,
|
||||
accountid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -12224,6 +12352,8 @@ pub mod cpublished_file_get_change_history_response {
|
|||
pub snapshot_game_branch_max: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CPublishedFile_GetChangeHistory_Response.ChangeLog.manifest_id)
|
||||
pub manifest_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CPublishedFile_GetChangeHistory_Response.ChangeLog.accountid)
|
||||
pub accountid: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CPublishedFile_GetChangeHistory_Response.ChangeLog.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -12423,6 +12553,25 @@ pub mod cpublished_file_get_change_history_response {
|
|||
pub fn set_manifest_id(&mut self, v: u64) {
|
||||
self.manifest_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 accountid = 8;
|
||||
|
||||
pub fn accountid(&self) -> u32 {
|
||||
self.accountid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_accountid(&mut self) {
|
||||
self.accountid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_accountid(&self) -> bool {
|
||||
self.accountid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_accountid(&mut self, v: u32) {
|
||||
self.accountid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for ChangeLog {
|
||||
|
|
@ -12456,6 +12605,9 @@ pub mod cpublished_file_get_change_history_response {
|
|||
57 => {
|
||||
self.manifest_id = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
64 => {
|
||||
self.accountid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -12489,6 +12641,9 @@ pub mod cpublished_file_get_change_history_response {
|
|||
if let Some(v) = self.manifest_id {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.accountid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -12516,6 +12671,9 @@ pub mod cpublished_file_get_change_history_response {
|
|||
if let Some(v) = self.manifest_id {
|
||||
os.write_fixed64(7, v)?;
|
||||
}
|
||||
if let Some(v) = self.accountid {
|
||||
os.write_uint32(8, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -12540,6 +12698,7 @@ pub mod cpublished_file_get_change_history_response {
|
|||
self.snapshot_game_branch_min = ::std::option::Option::None;
|
||||
self.snapshot_game_branch_max = ::std::option::Option::None;
|
||||
self.manifest_id = ::std::option::Option::None;
|
||||
self.accountid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -12552,6 +12711,7 @@ pub mod cpublished_file_get_change_history_response {
|
|||
snapshot_game_branch_min: ::std::option::Option::None,
|
||||
snapshot_game_branch_max: ::std::option::Option::None,
|
||||
manifest_id: ::std::option::Option::None,
|
||||
accountid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
|
|
@ -2787,6 +2787,213 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientStreamingE
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgRemoteClientWifiAPStatus)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgRemoteClientWifiAPStatus {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgRemoteClientWifiAPStatus.ssid)
|
||||
pub ssid: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgRemoteClientWifiAPStatus.password)
|
||||
pub password: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgRemoteClientWifiAPStatus.wpa2)
|
||||
pub wpa2: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgRemoteClientWifiAPStatus.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgRemoteClientWifiAPStatus {
|
||||
fn default() -> &'a CMsgRemoteClientWifiAPStatus {
|
||||
<CMsgRemoteClientWifiAPStatus as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgRemoteClientWifiAPStatus {
|
||||
pub fn new() -> CMsgRemoteClientWifiAPStatus {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string ssid = 1;
|
||||
|
||||
pub fn ssid(&self) -> &str {
|
||||
match self.ssid.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_ssid(&mut self) {
|
||||
self.ssid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_ssid(&self) -> bool {
|
||||
self.ssid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_ssid(&mut self, v: ::std::string::String) {
|
||||
self.ssid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_ssid(&mut self) -> &mut ::std::string::String {
|
||||
if self.ssid.is_none() {
|
||||
self.ssid = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.ssid.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_ssid(&mut self) -> ::std::string::String {
|
||||
self.ssid.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string password = 2;
|
||||
|
||||
pub fn password(&self) -> &str {
|
||||
match self.password.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_password(&mut self) {
|
||||
self.password = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_password(&self) -> bool {
|
||||
self.password.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_password(&mut self, v: ::std::string::String) {
|
||||
self.password = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_password(&mut self) -> &mut ::std::string::String {
|
||||
if self.password.is_none() {
|
||||
self.password = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.password.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_password(&mut self) -> ::std::string::String {
|
||||
self.password.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool wpa2 = 3;
|
||||
|
||||
pub fn wpa2(&self) -> bool {
|
||||
self.wpa2.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_wpa2(&mut self) {
|
||||
self.wpa2 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_wpa2(&self) -> bool {
|
||||
self.wpa2.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_wpa2(&mut self, v: bool) {
|
||||
self.wpa2 = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientWifiAPStatus {
|
||||
const NAME: &'static str = "CMsgRemoteClientWifiAPStatus";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.ssid = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.password = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
24 => {
|
||||
self.wpa2 = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.ssid.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.password.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.wpa2 {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.ssid.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.password.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.wpa2 {
|
||||
os.write_bool(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgRemoteClientWifiAPStatus {
|
||||
CMsgRemoteClientWifiAPStatus::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.ssid = ::std::option::Option::None;
|
||||
self.password = ::std::option::Option::None;
|
||||
self.wpa2 = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgRemoteClientWifiAPStatus {
|
||||
static instance: CMsgRemoteClientWifiAPStatus = CMsgRemoteClientWifiAPStatus {
|
||||
ssid: ::std::option::Option::None,
|
||||
password: ::std::option::Option::None,
|
||||
wpa2: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -2964,3 +3171,20 @@ impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientStreaming
|
|||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientStreamingEnabled;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgRemoteClientWifiAPStatus {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgRemoteClientWifiAPStatus {
|
||||
type KindEnum = crate::enums_clientserver::EMsg;
|
||||
const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgRemoteClientWifiAPStatus;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -334,6 +334,10 @@ pub struct CMsgRemoteClientBroadcastStatus {
|
|||
pub steam_version: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgRemoteClientBroadcastStatus.vr_link_caps)
|
||||
pub vr_link_caps: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EVRLinkCaps>>,
|
||||
// @@protoc_insertion_point(field:CMsgRemoteClientBroadcastStatus.vr_link_invite_client_id)
|
||||
pub vr_link_invite_client_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgRemoteClientBroadcastStatus.connected_wifi_ap_client_id)
|
||||
pub connected_wifi_ap_client_id: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgRemoteClientBroadcastStatus.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -785,6 +789,44 @@ impl CMsgRemoteClientBroadcastStatus {
|
|||
pub fn set_vr_link_caps(&mut self, v: EVRLinkCaps) {
|
||||
self.vr_link_caps = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional fixed64 vr_link_invite_client_id = 27;
|
||||
|
||||
pub fn vr_link_invite_client_id(&self) -> u64 {
|
||||
self.vr_link_invite_client_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_vr_link_invite_client_id(&mut self) {
|
||||
self.vr_link_invite_client_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_vr_link_invite_client_id(&self) -> bool {
|
||||
self.vr_link_invite_client_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_vr_link_invite_client_id(&mut self, v: u64) {
|
||||
self.vr_link_invite_client_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 connected_wifi_ap_client_id = 28;
|
||||
|
||||
pub fn connected_wifi_ap_client_id(&self) -> u64 {
|
||||
self.connected_wifi_ap_client_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_connected_wifi_ap_client_id(&mut self) {
|
||||
self.connected_wifi_ap_client_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_connected_wifi_ap_client_id(&self) -> bool {
|
||||
self.connected_wifi_ap_client_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_connected_wifi_ap_client_id(&mut self, v: u64) {
|
||||
self.connected_wifi_ap_client_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientBroadcastStatus {
|
||||
|
|
@ -869,6 +911,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientBroadcastS
|
|||
208 => {
|
||||
self.vr_link_caps = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
217 => {
|
||||
self.vr_link_invite_client_id = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
225 => {
|
||||
self.connected_wifi_ap_client_id = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -954,6 +1002,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientBroadcastS
|
|||
if let Some(v) = self.vr_link_caps {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(26, v.value());
|
||||
}
|
||||
if let Some(v) = self.vr_link_invite_client_id {
|
||||
my_size += 2 + 8;
|
||||
}
|
||||
if let Some(v) = self.connected_wifi_ap_client_id {
|
||||
my_size += 2 + 8;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -1032,6 +1086,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientBroadcastS
|
|||
if let Some(v) = self.vr_link_caps {
|
||||
os.write_enum(26, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.vr_link_invite_client_id {
|
||||
os.write_fixed64(27, v)?;
|
||||
}
|
||||
if let Some(v) = self.connected_wifi_ap_client_id {
|
||||
os.write_fixed64(28, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1073,6 +1133,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientBroadcastS
|
|||
self.steam_deck = ::std::option::Option::None;
|
||||
self.steam_version = ::std::option::Option::None;
|
||||
self.vr_link_caps = ::std::option::Option::None;
|
||||
self.vr_link_invite_client_id = ::std::option::Option::None;
|
||||
self.connected_wifi_ap_client_id = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1102,6 +1164,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgRemoteClientBroadcastS
|
|||
steam_deck: ::std::option::Option::None,
|
||||
steam_version: ::std::option::Option::None,
|
||||
vr_link_caps: ::std::option::Option::None,
|
||||
vr_link_invite_client_id: ::std::option::Option::None,
|
||||
connected_wifi_ap_client_id: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
|
|
@ -1874,8 +1874,8 @@ pub struct CStreamingClientCaps {
|
|||
pub maximum_decode_bitrate_kbps: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.maximum_burst_bitrate_kbps)
|
||||
pub maximum_burst_bitrate_kbps: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.supports_video_hevc)
|
||||
pub supports_video_hevc: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.supports_video_hevc_OBSOLETE)
|
||||
pub supports_video_hevc_OBSOLETE: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.disable_steam_store)
|
||||
pub disable_steam_store: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.disable_client_cursor)
|
||||
|
|
@ -1892,6 +1892,10 @@ pub struct CStreamingClientCaps {
|
|||
pub has_on_screen_keyboard: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.supported_colorspaces)
|
||||
pub supported_colorspaces: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<EStreamColorspace>>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.supported_audio_codecs)
|
||||
pub supported_audio_codecs: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<EStreamAudioCodec>>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientCaps.supported_video_codecs)
|
||||
pub supported_video_codecs: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<EStreamVideoCodec>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStreamingClientCaps.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2001,23 +2005,23 @@ impl CStreamingClientCaps {
|
|||
self.maximum_burst_bitrate_kbps = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool supports_video_hevc = 5;
|
||||
// optional bool supports_video_hevc_OBSOLETE = 5;
|
||||
|
||||
pub fn supports_video_hevc(&self) -> bool {
|
||||
self.supports_video_hevc.unwrap_or(false)
|
||||
pub fn supports_video_hevc_OBSOLETE(&self) -> bool {
|
||||
self.supports_video_hevc_OBSOLETE.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_supports_video_hevc(&mut self) {
|
||||
self.supports_video_hevc = ::std::option::Option::None;
|
||||
pub fn clear_supports_video_hevc_OBSOLETE(&mut self) {
|
||||
self.supports_video_hevc_OBSOLETE = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_supports_video_hevc(&self) -> bool {
|
||||
self.supports_video_hevc.is_some()
|
||||
pub fn has_supports_video_hevc_OBSOLETE(&self) -> bool {
|
||||
self.supports_video_hevc_OBSOLETE.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_supports_video_hevc(&mut self, v: bool) {
|
||||
self.supports_video_hevc = ::std::option::Option::Some(v);
|
||||
pub fn set_supports_video_hevc_OBSOLETE(&mut self, v: bool) {
|
||||
self.supports_video_hevc_OBSOLETE = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool disable_steam_store = 6;
|
||||
|
|
@ -2177,7 +2181,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
self.maximum_burst_bitrate_kbps = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
40 => {
|
||||
self.supports_video_hevc = ::std::option::Option::Some(is.read_bool()?);
|
||||
self.supports_video_hevc_OBSOLETE = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
48 => {
|
||||
self.disable_steam_store = ::std::option::Option::Some(is.read_bool()?);
|
||||
|
|
@ -2206,6 +2210,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
106 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.supported_colorspaces)?
|
||||
},
|
||||
112 => {
|
||||
self.supported_audio_codecs.push(is.read_enum_or_unknown()?);
|
||||
},
|
||||
114 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.supported_audio_codecs)?
|
||||
},
|
||||
120 => {
|
||||
self.supported_video_codecs.push(is.read_enum_or_unknown()?);
|
||||
},
|
||||
122 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.supported_video_codecs)?
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2230,7 +2246,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
if let Some(v) = self.maximum_burst_bitrate_kbps {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.supports_video_hevc {
|
||||
if let Some(v) = self.supports_video_hevc_OBSOLETE {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.disable_steam_store {
|
||||
|
|
@ -2257,6 +2273,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
for value in &self.supported_colorspaces {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(13, value.value());
|
||||
};
|
||||
for value in &self.supported_audio_codecs {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(14, value.value());
|
||||
};
|
||||
for value in &self.supported_video_codecs {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(15, value.value());
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -2275,7 +2297,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
if let Some(v) = self.maximum_burst_bitrate_kbps {
|
||||
os.write_int32(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.supports_video_hevc {
|
||||
if let Some(v) = self.supports_video_hevc_OBSOLETE {
|
||||
os.write_bool(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.disable_steam_store {
|
||||
|
|
@ -2302,6 +2324,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
for v in &self.supported_colorspaces {
|
||||
os.write_enum(13, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
|
||||
};
|
||||
for v in &self.supported_audio_codecs {
|
||||
os.write_enum(14, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
|
||||
};
|
||||
for v in &self.supported_video_codecs {
|
||||
os.write_enum(15, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2323,7 +2351,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
self.system_can_suspend = ::std::option::Option::None;
|
||||
self.maximum_decode_bitrate_kbps = ::std::option::Option::None;
|
||||
self.maximum_burst_bitrate_kbps = ::std::option::Option::None;
|
||||
self.supports_video_hevc = ::std::option::Option::None;
|
||||
self.supports_video_hevc_OBSOLETE = ::std::option::Option::None;
|
||||
self.disable_steam_store = ::std::option::Option::None;
|
||||
self.disable_client_cursor = ::std::option::Option::None;
|
||||
self.disable_intel_hardware_encoding = ::std::option::Option::None;
|
||||
|
|
@ -2332,6 +2360,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
self.form_factor = ::std::option::Option::None;
|
||||
self.has_on_screen_keyboard = ::std::option::Option::None;
|
||||
self.supported_colorspaces.clear();
|
||||
self.supported_audio_codecs.clear();
|
||||
self.supported_video_codecs.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -2341,7 +2371,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
system_can_suspend: ::std::option::Option::None,
|
||||
maximum_decode_bitrate_kbps: ::std::option::Option::None,
|
||||
maximum_burst_bitrate_kbps: ::std::option::Option::None,
|
||||
supports_video_hevc: ::std::option::Option::None,
|
||||
supports_video_hevc_OBSOLETE: ::std::option::Option::None,
|
||||
disable_steam_store: ::std::option::Option::None,
|
||||
disable_client_cursor: ::std::option::Option::None,
|
||||
disable_intel_hardware_encoding: ::std::option::Option::None,
|
||||
|
|
@ -2350,6 +2380,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientCaps {
|
|||
form_factor: ::std::option::Option::None,
|
||||
has_on_screen_keyboard: ::std::option::Option::None,
|
||||
supported_colorspaces: ::std::vec::Vec::new(),
|
||||
supported_audio_codecs: ::std::vec::Vec::new(),
|
||||
supported_video_codecs: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -2408,6 +2440,8 @@ pub struct CStreamingClientConfig {
|
|||
pub decoder_limit: ::std::vec::Vec<CStreamVideoLimit>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientConfig.enable_unreliable_fec)
|
||||
pub enable_unreliable_fec: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CStreamingClientConfig.enable_video_av1)
|
||||
pub enable_video_av1: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStreamingClientConfig.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2826,6 +2860,25 @@ impl CStreamingClientConfig {
|
|||
pub fn set_enable_unreliable_fec(&mut self, v: bool) {
|
||||
self.enable_unreliable_fec = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool enable_video_av1 = 26;
|
||||
|
||||
pub fn enable_video_av1(&self) -> bool {
|
||||
self.enable_video_av1.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_enable_video_av1(&mut self) {
|
||||
self.enable_video_av1 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_enable_video_av1(&self) -> bool {
|
||||
self.enable_video_av1.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_enable_video_av1(&mut self, v: bool) {
|
||||
self.enable_video_av1 = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientConfig {
|
||||
|
|
@ -2930,6 +2983,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientConfig {
|
|||
200 => {
|
||||
self.enable_unreliable_fec = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
208 => {
|
||||
self.enable_video_av1 = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -3018,6 +3074,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientConfig {
|
|||
if let Some(v) = self.enable_unreliable_fec {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.enable_video_av1 {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -3096,6 +3155,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientConfig {
|
|||
if let Some(v) = self.enable_unreliable_fec {
|
||||
os.write_bool(25, v)?;
|
||||
}
|
||||
if let Some(v) = self.enable_video_av1 {
|
||||
os.write_bool(26, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -3137,6 +3199,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientConfig {
|
|||
self.runtime_limit.clear();
|
||||
self.decoder_limit.clear();
|
||||
self.enable_unreliable_fec = ::std::option::Option::None;
|
||||
self.enable_video_av1 = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -3166,6 +3229,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStreamingClientConfig {
|
|||
runtime_limit: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
decoder_limit: ::std::vec::Vec::new(),
|
||||
enable_unreliable_fec: ::std::option::Option::None,
|
||||
enable_video_av1: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -6714,6 +6778,8 @@ pub struct CInputTouchFingerUpMsg {
|
|||
pub x_normalized: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CInputTouchFingerUpMsg.y_normalized)
|
||||
pub y_normalized: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CInputTouchFingerUpMsg.canceled)
|
||||
pub canceled: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CInputTouchFingerUpMsg.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -6805,6 +6871,25 @@ impl CInputTouchFingerUpMsg {
|
|||
pub fn set_y_normalized(&mut self, v: f32) {
|
||||
self.y_normalized = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool canceled = 5;
|
||||
|
||||
pub fn canceled(&self) -> bool {
|
||||
self.canceled.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_canceled(&mut self) {
|
||||
self.canceled = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_canceled(&self) -> bool {
|
||||
self.canceled.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_canceled(&mut self, v: bool) {
|
||||
self.canceled = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CInputTouchFingerUpMsg {
|
||||
|
|
@ -6829,6 +6914,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputTouchFingerUpMsg {
|
|||
37 => {
|
||||
self.y_normalized = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
40 => {
|
||||
self.canceled = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -6853,6 +6941,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputTouchFingerUpMsg {
|
|||
if let Some(v) = self.y_normalized {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.canceled {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -6871,6 +6962,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputTouchFingerUpMsg {
|
|||
if let Some(v) = self.y_normalized {
|
||||
os.write_float(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.canceled {
|
||||
os.write_bool(5, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -6892,6 +6986,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputTouchFingerUpMsg {
|
|||
self.fingerid = ::std::option::Option::None;
|
||||
self.x_normalized = ::std::option::Option::None;
|
||||
self.y_normalized = ::std::option::Option::None;
|
||||
self.canceled = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -6901,6 +6996,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputTouchFingerUpMsg {
|
|||
fingerid: ::std::option::Option::None,
|
||||
x_normalized: ::std::option::Option::None,
|
||||
y_normalized: ::std::option::Option::None,
|
||||
canceled: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -7625,6 +7721,10 @@ pub struct CInputKeyDownMsg {
|
|||
pub input_mark: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CInputKeyDownMsg.scancode)
|
||||
pub scancode: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CInputKeyDownMsg.modifiers)
|
||||
pub modifiers: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CInputKeyDownMsg.keycode)
|
||||
pub keycode: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CInputKeyDownMsg.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -7678,6 +7778,44 @@ impl CInputKeyDownMsg {
|
|||
pub fn set_scancode(&mut self, v: u32) {
|
||||
self.scancode = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 modifiers = 3;
|
||||
|
||||
pub fn modifiers(&self) -> u32 {
|
||||
self.modifiers.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_modifiers(&mut self) {
|
||||
self.modifiers = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_modifiers(&self) -> bool {
|
||||
self.modifiers.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_modifiers(&mut self, v: u32) {
|
||||
self.modifiers = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 keycode = 4;
|
||||
|
||||
pub fn keycode(&self) -> u32 {
|
||||
self.keycode.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_keycode(&mut self) {
|
||||
self.keycode = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_keycode(&self) -> bool {
|
||||
self.keycode.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_keycode(&mut self, v: u32) {
|
||||
self.keycode = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CInputKeyDownMsg {
|
||||
|
|
@ -7699,6 +7837,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyDownMsg {
|
|||
16 => {
|
||||
self.scancode = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.keycode = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -7717,6 +7861,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyDownMsg {
|
|||
if let Some(v) = self.scancode {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.modifiers {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.keycode {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -7729,6 +7879,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyDownMsg {
|
|||
if let Some(v) = self.scancode {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.modifiers {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.keycode {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -7748,6 +7904,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyDownMsg {
|
|||
fn clear(&mut self) {
|
||||
self.input_mark = ::std::option::Option::None;
|
||||
self.scancode = ::std::option::Option::None;
|
||||
self.modifiers = ::std::option::Option::None;
|
||||
self.keycode = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -7755,6 +7913,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyDownMsg {
|
|||
static instance: CInputKeyDownMsg = CInputKeyDownMsg {
|
||||
input_mark: ::std::option::Option::None,
|
||||
scancode: ::std::option::Option::None,
|
||||
modifiers: ::std::option::Option::None,
|
||||
keycode: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -7769,6 +7929,10 @@ pub struct CInputKeyUpMsg {
|
|||
pub input_mark: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CInputKeyUpMsg.scancode)
|
||||
pub scancode: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CInputKeyUpMsg.modifiers)
|
||||
pub modifiers: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CInputKeyUpMsg.keycode)
|
||||
pub keycode: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CInputKeyUpMsg.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -7822,6 +7986,44 @@ impl CInputKeyUpMsg {
|
|||
pub fn set_scancode(&mut self, v: u32) {
|
||||
self.scancode = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 modifiers = 3;
|
||||
|
||||
pub fn modifiers(&self) -> u32 {
|
||||
self.modifiers.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_modifiers(&mut self) {
|
||||
self.modifiers = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_modifiers(&self) -> bool {
|
||||
self.modifiers.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_modifiers(&mut self, v: u32) {
|
||||
self.modifiers = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 keycode = 4;
|
||||
|
||||
pub fn keycode(&self) -> u32 {
|
||||
self.keycode.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_keycode(&mut self) {
|
||||
self.keycode = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_keycode(&self) -> bool {
|
||||
self.keycode.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_keycode(&mut self, v: u32) {
|
||||
self.keycode = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CInputKeyUpMsg {
|
||||
|
|
@ -7843,6 +8045,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyUpMsg {
|
|||
16 => {
|
||||
self.scancode = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.keycode = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -7861,6 +8069,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyUpMsg {
|
|||
if let Some(v) = self.scancode {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.modifiers {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.keycode {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -7873,6 +8087,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyUpMsg {
|
|||
if let Some(v) = self.scancode {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.modifiers {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.keycode {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -7892,6 +8112,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyUpMsg {
|
|||
fn clear(&mut self) {
|
||||
self.input_mark = ::std::option::Option::None;
|
||||
self.scancode = ::std::option::Option::None;
|
||||
self.modifiers = ::std::option::Option::None;
|
||||
self.keycode = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -7899,6 +8121,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CInputKeyUpMsg {
|
|||
static instance: CInputKeyUpMsg = CInputKeyUpMsg {
|
||||
input_mark: ::std::option::Option::None,
|
||||
scancode: ::std::option::Option::None,
|
||||
modifiers: ::std::option::Option::None,
|
||||
keycode: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -14634,6 +14858,8 @@ pub struct CRemotePlayTogetherGroupUpdateMsg {
|
|||
pub game_name: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CRemotePlayTogetherGroupUpdateMsg.avatar_location)
|
||||
pub avatar_location: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CRemotePlayTogetherGroupUpdateMsg.direct_input)
|
||||
pub direct_input: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CRemotePlayTogetherGroupUpdateMsg.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -14776,6 +15002,25 @@ impl CRemotePlayTogetherGroupUpdateMsg {
|
|||
pub fn take_avatar_location(&mut self) -> ::std::string::String {
|
||||
self.avatar_location.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool direct_input = 6;
|
||||
|
||||
pub fn direct_input(&self) -> bool {
|
||||
self.direct_input.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_direct_input(&mut self) {
|
||||
self.direct_input = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_direct_input(&self) -> bool {
|
||||
self.direct_input.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_direct_input(&mut self, v: bool) {
|
||||
self.direct_input = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CRemotePlayTogetherGroupUpdateMsg {
|
||||
|
|
@ -14803,6 +15048,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CRemotePlayTogetherGroupUp
|
|||
42 => {
|
||||
self.avatar_location = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
48 => {
|
||||
self.direct_input = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -14831,6 +15079,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CRemotePlayTogetherGroupUp
|
|||
if let Some(v) = self.avatar_location.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
|
||||
}
|
||||
if let Some(v) = self.direct_input {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -14852,6 +15103,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CRemotePlayTogetherGroupUp
|
|||
if let Some(v) = self.avatar_location.as_ref() {
|
||||
os.write_string(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.direct_input {
|
||||
os.write_bool(6, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -14874,6 +15128,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CRemotePlayTogetherGroupUp
|
|||
self.miniprofile_location = ::std::option::Option::None;
|
||||
self.game_name = ::std::option::Option::None;
|
||||
self.avatar_location = ::std::option::Option::None;
|
||||
self.direct_input = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -14884,6 +15139,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CRemotePlayTogetherGroupUp
|
|||
miniprofile_location: ::std::option::Option::None,
|
||||
game_name: ::std::option::Option::None,
|
||||
avatar_location: ::std::option::Option::None,
|
||||
direct_input: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -20628,6 +20884,8 @@ pub enum EStreamVideoCodec {
|
|||
k_EStreamVideoCodecORBX1 = 6,
|
||||
// @@protoc_insertion_point(enum_value:EStreamVideoCodec.k_EStreamVideoCodecORBX2)
|
||||
k_EStreamVideoCodecORBX2 = 7,
|
||||
// @@protoc_insertion_point(enum_value:EStreamVideoCodec.k_EStreamVideoCodecAV1)
|
||||
k_EStreamVideoCodecAV1 = 8,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EStreamVideoCodec {
|
||||
|
|
@ -20647,6 +20905,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EStreamVideoCodec {
|
|||
5 => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecHEVC),
|
||||
6 => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecORBX1),
|
||||
7 => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecORBX2),
|
||||
8 => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecAV1),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -20661,6 +20920,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EStreamVideoCodec {
|
|||
"k_EStreamVideoCodecHEVC" => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecHEVC),
|
||||
"k_EStreamVideoCodecORBX1" => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecORBX1),
|
||||
"k_EStreamVideoCodecORBX2" => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecORBX2),
|
||||
"k_EStreamVideoCodecAV1" => ::std::option::Option::Some(EStreamVideoCodec::k_EStreamVideoCodecAV1),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -20674,6 +20934,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EStreamVideoCodec {
|
|||
EStreamVideoCodec::k_EStreamVideoCodecHEVC,
|
||||
EStreamVideoCodec::k_EStreamVideoCodecORBX1,
|
||||
EStreamVideoCodec::k_EStreamVideoCodecORBX2,
|
||||
EStreamVideoCodec::k_EStreamVideoCodecAV1,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1251,6 +1251,497 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_RegisterCDKey_Respo
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CStore_GetRecommendedTagsForUser_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CStore_GetRecommendedTagsForUser_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CStore_GetRecommendedTagsForUser_Request.language)
|
||||
pub language: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CStore_GetRecommendedTagsForUser_Request.country_code)
|
||||
pub country_code: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CStore_GetRecommendedTagsForUser_Request.favor_rarer_tags)
|
||||
pub favor_rarer_tags: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_GetRecommendedTagsForUser_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CStore_GetRecommendedTagsForUser_Request {
|
||||
fn default() -> &'a CStore_GetRecommendedTagsForUser_Request {
|
||||
<CStore_GetRecommendedTagsForUser_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CStore_GetRecommendedTagsForUser_Request {
|
||||
pub fn new() -> CStore_GetRecommendedTagsForUser_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string language = 2;
|
||||
|
||||
pub fn language(&self) -> &str {
|
||||
match self.language.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_language(&mut self) {
|
||||
self.language = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_language(&self) -> bool {
|
||||
self.language.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_language(&mut self, v: ::std::string::String) {
|
||||
self.language = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_language(&mut self) -> &mut ::std::string::String {
|
||||
if self.language.is_none() {
|
||||
self.language = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.language.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_language(&mut self) -> ::std::string::String {
|
||||
self.language.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string country_code = 3;
|
||||
|
||||
pub fn country_code(&self) -> &str {
|
||||
match self.country_code.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_country_code(&mut self) {
|
||||
self.country_code = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_country_code(&self) -> bool {
|
||||
self.country_code.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_country_code(&mut self, v: ::std::string::String) {
|
||||
self.country_code = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_country_code(&mut self) -> &mut ::std::string::String {
|
||||
if self.country_code.is_none() {
|
||||
self.country_code = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.country_code.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_country_code(&mut self) -> ::std::string::String {
|
||||
self.country_code.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool favor_rarer_tags = 4;
|
||||
|
||||
pub fn favor_rarer_tags(&self) -> bool {
|
||||
self.favor_rarer_tags.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_favor_rarer_tags(&mut self) {
|
||||
self.favor_rarer_tags = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_favor_rarer_tags(&self) -> bool {
|
||||
self.favor_rarer_tags.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_favor_rarer_tags(&mut self, v: bool) {
|
||||
self.favor_rarer_tags = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CStore_GetRecommendedTagsForUser_Request {
|
||||
const NAME: &'static str = "CStore_GetRecommendedTagsForUser_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
18 => {
|
||||
self.language = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
26 => {
|
||||
self.country_code = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
32 => {
|
||||
self.favor_rarer_tags = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.language.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.country_code.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
|
||||
}
|
||||
if let Some(v) = self.favor_rarer_tags {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.language.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.country_code.as_ref() {
|
||||
os.write_string(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.favor_rarer_tags {
|
||||
os.write_bool(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CStore_GetRecommendedTagsForUser_Request {
|
||||
CStore_GetRecommendedTagsForUser_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.language = ::std::option::Option::None;
|
||||
self.country_code = ::std::option::Option::None;
|
||||
self.favor_rarer_tags = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CStore_GetRecommendedTagsForUser_Request {
|
||||
static instance: CStore_GetRecommendedTagsForUser_Request = CStore_GetRecommendedTagsForUser_Request {
|
||||
language: ::std::option::Option::None,
|
||||
country_code: ::std::option::Option::None,
|
||||
favor_rarer_tags: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CStore_GetRecommendedTagsForUser_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CStore_GetRecommendedTagsForUser_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CStore_GetRecommendedTagsForUser_Response.tags)
|
||||
pub tags: ::std::vec::Vec<cstore_get_recommended_tags_for_user_response::Tag>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_GetRecommendedTagsForUser_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CStore_GetRecommendedTagsForUser_Response {
|
||||
fn default() -> &'a CStore_GetRecommendedTagsForUser_Response {
|
||||
<CStore_GetRecommendedTagsForUser_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CStore_GetRecommendedTagsForUser_Response {
|
||||
pub fn new() -> CStore_GetRecommendedTagsForUser_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CStore_GetRecommendedTagsForUser_Response {
|
||||
const NAME: &'static str = "CStore_GetRecommendedTagsForUser_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.tags.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.tags {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.tags {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CStore_GetRecommendedTagsForUser_Response {
|
||||
CStore_GetRecommendedTagsForUser_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.tags.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CStore_GetRecommendedTagsForUser_Response {
|
||||
static instance: CStore_GetRecommendedTagsForUser_Response = CStore_GetRecommendedTagsForUser_Response {
|
||||
tags: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CStore_GetRecommendedTagsForUser_Response`
|
||||
pub mod cstore_get_recommended_tags_for_user_response {
|
||||
// @@protoc_insertion_point(message:CStore_GetRecommendedTagsForUser_Response.Tag)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct Tag {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CStore_GetRecommendedTagsForUser_Response.Tag.tagid)
|
||||
pub tagid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CStore_GetRecommendedTagsForUser_Response.Tag.name)
|
||||
pub name: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CStore_GetRecommendedTagsForUser_Response.Tag.weight)
|
||||
pub weight: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_GetRecommendedTagsForUser_Response.Tag.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a Tag {
|
||||
fn default() -> &'a Tag {
|
||||
<Tag as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl Tag {
|
||||
pub fn new() -> Tag {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 tagid = 1;
|
||||
|
||||
pub fn tagid(&self) -> u32 {
|
||||
self.tagid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_tagid(&mut self) {
|
||||
self.tagid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_tagid(&self) -> bool {
|
||||
self.tagid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_tagid(&mut self, v: u32) {
|
||||
self.tagid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string name = 2;
|
||||
|
||||
pub fn name(&self) -> &str {
|
||||
match self.name.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_name(&mut self) {
|
||||
self.name = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_name(&self) -> bool {
|
||||
self.name.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_name(&mut self, v: ::std::string::String) {
|
||||
self.name = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_name(&mut self) -> &mut ::std::string::String {
|
||||
if self.name.is_none() {
|
||||
self.name = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.name.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_name(&mut self) -> ::std::string::String {
|
||||
self.name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional float weight = 3;
|
||||
|
||||
pub fn weight(&self) -> f32 {
|
||||
self.weight.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_weight(&mut self) {
|
||||
self.weight = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_weight(&self) -> bool {
|
||||
self.weight.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_weight(&mut self, v: f32) {
|
||||
self.weight = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for Tag {
|
||||
const NAME: &'static str = "Tag";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.tagid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
18 => {
|
||||
self.name = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
29 => {
|
||||
self.weight = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.tagid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.name.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.weight {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.tagid {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.name.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.weight {
|
||||
os.write_float(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> Tag {
|
||||
Tag::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.tagid = ::std::option::Option::None;
|
||||
self.name = ::std::option::Option::None;
|
||||
self.weight = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static Tag {
|
||||
static instance: Tag = Tag {
|
||||
tagid: ::std::option::Option::None,
|
||||
name: ::std::option::Option::None,
|
||||
weight: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CStore_GetMostPopularTags_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CStore_GetMostPopularTags_Request {
|
||||
|
|
@ -3084,6 +3575,10 @@ pub struct CStore_GetDiscoveryQueue_Request {
|
|||
pub debug_get_solr_query: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CStore_GetDiscoveryQueue_Request.store_page_filter)
|
||||
pub store_page_filter: ::steam_vent_proto_common::protobuf::MessageField<super::contenthubs::CStorePageFilter>,
|
||||
// @@protoc_insertion_point(field:CStore_GetDiscoveryQueue_Request.context)
|
||||
pub context: ::steam_vent_proto_common::protobuf::MessageField<super::steammessages_storebrowse_steamclient::StoreBrowseContext>,
|
||||
// @@protoc_insertion_point(field:CStore_GetDiscoveryQueue_Request.data_request)
|
||||
pub data_request: ::steam_vent_proto_common::protobuf::MessageField<super::steammessages_storebrowse_steamclient::StoreBrowseItemDataRequest>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_GetDiscoveryQueue_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -3335,6 +3830,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
98 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.store_page_filter)?;
|
||||
},
|
||||
106 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.context)?;
|
||||
},
|
||||
114 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.data_request)?;
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -3382,6 +3883,14 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.context.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.data_request.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -3421,6 +3930,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
if let Some(v) = self.store_page_filter.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(12, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.context.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(13, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.data_request.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(14, v, os)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -3449,6 +3964,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
self.experimental_cohort = ::std::option::Option::None;
|
||||
self.debug_get_solr_query = ::std::option::Option::None;
|
||||
self.store_page_filter.clear();
|
||||
self.context.clear();
|
||||
self.data_request.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -3465,6 +3982,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
experimental_cohort: ::std::option::Option::None,
|
||||
debug_get_solr_query: ::std::option::Option::None,
|
||||
store_page_filter: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
context: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
data_request: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -3489,6 +4008,8 @@ pub struct CStore_GetDiscoveryQueue_Response {
|
|||
pub experimental_cohort: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CStore_GetDiscoveryQueue_Response.debug_solr_query)
|
||||
pub debug_solr_query: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CStore_GetDiscoveryQueue_Response.store_items)
|
||||
pub store_items: ::std::vec::Vec<super::steammessages_storebrowse_steamclient::StoreItem>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_GetDiscoveryQueue_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -3669,6 +4190,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
58 => {
|
||||
self.debug_solr_query = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
66 => {
|
||||
self.store_items.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -3703,6 +4227,10 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
if let Some(v) = self.debug_solr_query.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
|
||||
}
|
||||
for value in &self.store_items {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -3730,6 +4258,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
if let Some(v) = self.debug_solr_query.as_ref() {
|
||||
os.write_string(7, v)?;
|
||||
}
|
||||
for v in &self.store_items {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(8, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -3754,6 +4285,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
self.exhausted = ::std::option::Option::None;
|
||||
self.experimental_cohort = ::std::option::Option::None;
|
||||
self.debug_solr_query = ::std::option::Option::None;
|
||||
self.store_items.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -3766,6 +4298,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetDiscoveryQueue_R
|
|||
exhausted: ::std::option::Option::None,
|
||||
experimental_cohort: ::std::option::Option::None,
|
||||
debug_solr_query: ::std::option::Option::None,
|
||||
store_items: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -5593,6 +6126,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_ReportApp_Response
|
|||
// @@protoc_insertion_point(message:CStore_GetStorePreferences_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CStore_GetStorePreferences_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CStore_GetStorePreferences_Request.country_code)
|
||||
pub country_code: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_GetStorePreferences_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -5608,6 +6144,42 @@ impl CStore_GetStorePreferences_Request {
|
|||
pub fn new() -> CStore_GetStorePreferences_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string country_code = 1;
|
||||
|
||||
pub fn country_code(&self) -> &str {
|
||||
match self.country_code.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_country_code(&mut self) {
|
||||
self.country_code = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_country_code(&self) -> bool {
|
||||
self.country_code.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_country_code(&mut self, v: ::std::string::String) {
|
||||
self.country_code = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_country_code(&mut self) -> &mut ::std::string::String {
|
||||
if self.country_code.is_none() {
|
||||
self.country_code = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.country_code.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_country_code(&mut self) -> ::std::string::String {
|
||||
self.country_code.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CStore_GetStorePreferences_Request {
|
||||
|
|
@ -5620,6 +6192,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetStorePreferences
|
|||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.country_code = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -5632,12 +6207,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetStorePreferences
|
|||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.country_code.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.country_code.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -5655,11 +6236,13 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetStorePreferences
|
|||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.country_code = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CStore_GetStorePreferences_Request {
|
||||
static instance: CStore_GetStorePreferences_Request = CStore_GetStorePreferences_Request {
|
||||
country_code: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -7346,6 +7929,8 @@ pub struct CStore_GetWishlistDemoEmailStatus_Request {
|
|||
pub appid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CStore_GetWishlistDemoEmailStatus_Request.demo_appid)
|
||||
pub demo_appid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CStore_GetWishlistDemoEmailStatus_Request.allow_late_firing)
|
||||
pub allow_late_firing: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_GetWishlistDemoEmailStatus_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -7399,6 +7984,25 @@ impl CStore_GetWishlistDemoEmailStatus_Request {
|
|||
pub fn set_demo_appid(&mut self, v: u32) {
|
||||
self.demo_appid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool allow_late_firing = 3;
|
||||
|
||||
pub fn allow_late_firing(&self) -> bool {
|
||||
self.allow_late_firing.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_allow_late_firing(&mut self) {
|
||||
self.allow_late_firing = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_allow_late_firing(&self) -> bool {
|
||||
self.allow_late_firing.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_allow_late_firing(&mut self, v: bool) {
|
||||
self.allow_late_firing = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CStore_GetWishlistDemoEmailStatus_Request {
|
||||
|
|
@ -7417,6 +8021,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetWishlistDemoEmai
|
|||
16 => {
|
||||
self.demo_appid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.allow_late_firing = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -7435,6 +8042,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetWishlistDemoEmai
|
|||
if let Some(v) = self.demo_appid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.allow_late_firing {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -7447,6 +8057,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetWishlistDemoEmai
|
|||
if let Some(v) = self.demo_appid {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.allow_late_firing {
|
||||
os.write_bool(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -7466,6 +8079,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetWishlistDemoEmai
|
|||
fn clear(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
self.demo_appid = ::std::option::Option::None;
|
||||
self.allow_late_firing = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -7473,6 +8087,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_GetWishlistDemoEmai
|
|||
static instance: CStore_GetWishlistDemoEmailStatus_Request = CStore_GetWishlistDemoEmailStatus_Request {
|
||||
appid: ::std::option::Option::None,
|
||||
demo_appid: ::std::option::Option::None,
|
||||
allow_late_firing: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -7660,6 +8275,8 @@ pub struct CStore_QueueWishlistDemoEmailToFire_Request {
|
|||
pub appid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CStore_QueueWishlistDemoEmailToFire_Request.demo_appid)
|
||||
pub demo_appid: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CStore_QueueWishlistDemoEmailToFire_Request.allow_late_firing)
|
||||
pub allow_late_firing: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CStore_QueueWishlistDemoEmailToFire_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -7713,6 +8330,25 @@ impl CStore_QueueWishlistDemoEmailToFire_Request {
|
|||
pub fn set_demo_appid(&mut self, v: u32) {
|
||||
self.demo_appid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool allow_late_firing = 3;
|
||||
|
||||
pub fn allow_late_firing(&self) -> bool {
|
||||
self.allow_late_firing.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_allow_late_firing(&mut self) {
|
||||
self.allow_late_firing = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_allow_late_firing(&self) -> bool {
|
||||
self.allow_late_firing.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_allow_late_firing(&mut self, v: bool) {
|
||||
self.allow_late_firing = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CStore_QueueWishlistDemoEmailToFire_Request {
|
||||
|
|
@ -7731,6 +8367,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_QueueWishlistDemoEm
|
|||
16 => {
|
||||
self.demo_appid = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.allow_late_firing = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -7749,6 +8388,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_QueueWishlistDemoEm
|
|||
if let Some(v) = self.demo_appid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.allow_late_firing {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -7761,6 +8403,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_QueueWishlistDemoEm
|
|||
if let Some(v) = self.demo_appid {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.allow_late_firing {
|
||||
os.write_bool(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -7780,6 +8425,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_QueueWishlistDemoEm
|
|||
fn clear(&mut self) {
|
||||
self.appid = ::std::option::Option::None;
|
||||
self.demo_appid = ::std::option::Option::None;
|
||||
self.allow_late_firing = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -7787,6 +8433,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CStore_QueueWishlistDemoEm
|
|||
static instance: CStore_QueueWishlistDemoEmailToFire_Request = CStore_QueueWishlistDemoEmailToFire_Request {
|
||||
appid: ::std::option::Option::None,
|
||||
demo_appid: ::std::option::Option::None,
|
||||
allow_late_firing: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -9535,8 +10182,10 @@ pub enum EStoreDiscoveryQueueType {
|
|||
k_EStoreDiscoveryQueueTypeDLCNewReleases = 13,
|
||||
// @@protoc_insertion_point(enum_value:EStoreDiscoveryQueueType.k_EStoreDiscoveryQueueTypeDLCTopSellers)
|
||||
k_EStoreDiscoveryQueueTypeDLCTopSellers = 14,
|
||||
// @@protoc_insertion_point(enum_value:EStoreDiscoveryQueueType.k_EStoreDiscoveryQueueTypeDLCUpcoming)
|
||||
k_EStoreDiscoveryQueueTypeDLCUpcoming = 15,
|
||||
// @@protoc_insertion_point(enum_value:EStoreDiscoveryQueueType.k_EStoreDiscoveryQueueTypeMAX)
|
||||
k_EStoreDiscoveryQueueTypeMAX = 15,
|
||||
k_EStoreDiscoveryQueueTypeMAX = 16,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EStoreDiscoveryQueueType {
|
||||
|
|
@ -9562,7 +10211,8 @@ impl ::steam_vent_proto_common::protobuf::Enum for EStoreDiscoveryQueueType {
|
|||
12 => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeRecommendedDemos),
|
||||
13 => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCNewReleases),
|
||||
14 => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCTopSellers),
|
||||
15 => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeMAX),
|
||||
15 => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCUpcoming),
|
||||
16 => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeMAX),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -9583,6 +10233,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EStoreDiscoveryQueueType {
|
|||
"k_EStoreDiscoveryQueueTypeRecommendedDemos" => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeRecommendedDemos),
|
||||
"k_EStoreDiscoveryQueueTypeDLCNewReleases" => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCNewReleases),
|
||||
"k_EStoreDiscoveryQueueTypeDLCTopSellers" => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCTopSellers),
|
||||
"k_EStoreDiscoveryQueueTypeDLCUpcoming" => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCUpcoming),
|
||||
"k_EStoreDiscoveryQueueTypeMAX" => ::std::option::Option::Some(EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeMAX),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
|
|
@ -9603,6 +10254,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EStoreDiscoveryQueueType {
|
|||
EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeRecommendedDemos,
|
||||
EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCNewReleases,
|
||||
EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCTopSellers,
|
||||
EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeDLCUpcoming,
|
||||
EStoreDiscoveryQueueType::k_EStoreDiscoveryQueueTypeMAX,
|
||||
];
|
||||
}
|
||||
|
|
@ -9625,6 +10277,8 @@ pub enum EPlaytestStatus {
|
|||
k_ETesterStatusInvited = 2,
|
||||
// @@protoc_insertion_point(enum_value:EPlaytestStatus.k_ETesterStatusGranted)
|
||||
k_ETesterStatusGranted = 3,
|
||||
// @@protoc_insertion_point(enum_value:EPlaytestStatus.k_ETesterStatusExpired)
|
||||
k_ETesterStatusExpired = 4,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EPlaytestStatus {
|
||||
|
|
@ -9640,6 +10294,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EPlaytestStatus {
|
|||
1 => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusPending),
|
||||
2 => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusInvited),
|
||||
3 => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusGranted),
|
||||
4 => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusExpired),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -9650,6 +10305,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EPlaytestStatus {
|
|||
"k_ETesterStatusPending" => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusPending),
|
||||
"k_ETesterStatusInvited" => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusInvited),
|
||||
"k_ETesterStatusGranted" => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusGranted),
|
||||
"k_ETesterStatusExpired" => ::std::option::Option::Some(EPlaytestStatus::k_ETesterStatusExpired),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -9659,6 +10315,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EPlaytestStatus {
|
|||
EPlaytestStatus::k_ETesterStatusPending,
|
||||
EPlaytestStatus::k_ETesterStatusInvited,
|
||||
EPlaytestStatus::k_ETesterStatusGranted,
|
||||
EPlaytestStatus::k_ETesterStatusExpired,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -9894,6 +10551,8 @@ use crate::steammessages_unified_base_steamclient::*;
|
|||
#[allow(unused_imports)]
|
||||
use crate::contenthubs::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::steammessages_storebrowse_steamclient::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::enums::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for CStore_RegisterCDKey_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
|
|
@ -9934,6 +10593,33 @@ impl ::steam_vent_proto_common::RpcMessage for CStore_RegisterCDKey_Response {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CStore_GetRecommendedTagsForUser_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CStore_GetRecommendedTagsForUser_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CStore_GetMostPopularTags_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -10593,6 +11279,10 @@ impl ::steam_vent_proto_common::RpcMethod for CStore_GetMostPopularTags_Request
|
|||
const METHOD_NAME: &'static str = "Store.GetMostPopularTags#1";
|
||||
type Response = CStore_GetMostPopularTags_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CStore_GetRecommendedTagsForUser_Request {
|
||||
const METHOD_NAME: &'static str = "Store.GetRecommendedTagsForUser#1";
|
||||
type Response = CStore_GetRecommendedTagsForUser_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CStore_GetStorePreferences_Request {
|
||||
const METHOD_NAME: &'static str = "Store.GetStorePreferences#1";
|
||||
type Response = CStore_GetStorePreferences_Response;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -505,6 +505,8 @@ pub struct CTwoFactor_Status_Request {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:CTwoFactor_Status_Request.steamid)
|
||||
pub steamid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_Status_Request.include)
|
||||
pub include: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<ETwoFactorStatusFieldFlag>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CTwoFactor_Status_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -539,6 +541,28 @@ impl CTwoFactor_Status_Request {
|
|||
pub fn set_steamid(&mut self, v: u64) {
|
||||
self.steamid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .ETwoFactorStatusFieldFlag include = 2;
|
||||
|
||||
pub fn include(&self) -> ETwoFactorStatusFieldFlag {
|
||||
match self.include {
|
||||
Some(e) => e.enum_value_or(ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_None),
|
||||
None => ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_include(&mut self) {
|
||||
self.include = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_include(&self) -> bool {
|
||||
self.include.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_include(&mut self, v: ETwoFactorStatusFieldFlag) {
|
||||
self.include = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Request {
|
||||
|
|
@ -554,6 +578,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Request
|
|||
9 => {
|
||||
self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
16 => {
|
||||
self.include = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -569,6 +596,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Request
|
|||
if let Some(v) = self.steamid {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.include {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v.value());
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -578,6 +608,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Request
|
|||
if let Some(v) = self.steamid {
|
||||
os.write_fixed64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.include {
|
||||
os.write_enum(2, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -596,12 +629,222 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Request
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.steamid = ::std::option::Option::None;
|
||||
self.include = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CTwoFactor_Status_Request {
|
||||
static instance: CTwoFactor_Status_Request = CTwoFactor_Status_Request {
|
||||
steamid: ::std::option::Option::None,
|
||||
include: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CTwoFactor_UsageEvent)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CTwoFactor_UsageEvent {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CTwoFactor_UsageEvent.time)
|
||||
pub time: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_UsageEvent.usage_type)
|
||||
pub usage_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<ETwoFactorUsageType>>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_UsageEvent.confirmation_type)
|
||||
pub confirmation_type: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_UsageEvent.confirmation_action)
|
||||
pub confirmation_action: ::std::option::Option<i32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CTwoFactor_UsageEvent.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CTwoFactor_UsageEvent {
|
||||
fn default() -> &'a CTwoFactor_UsageEvent {
|
||||
<CTwoFactor_UsageEvent as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CTwoFactor_UsageEvent {
|
||||
pub fn new() -> CTwoFactor_UsageEvent {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 time = 1;
|
||||
|
||||
pub fn time(&self) -> u32 {
|
||||
self.time.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_time(&mut self) {
|
||||
self.time = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_time(&self) -> bool {
|
||||
self.time.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_time(&mut self, v: u32) {
|
||||
self.time = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .ETwoFactorUsageType usage_type = 2;
|
||||
|
||||
pub fn usage_type(&self) -> ETwoFactorUsageType {
|
||||
match self.usage_type {
|
||||
Some(e) => e.enum_value_or(ETwoFactorUsageType::k_ETwoFactorUsageType_Unknown),
|
||||
None => ETwoFactorUsageType::k_ETwoFactorUsageType_Unknown,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_usage_type(&mut self) {
|
||||
self.usage_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_usage_type(&self) -> bool {
|
||||
self.usage_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_usage_type(&mut self, v: ETwoFactorUsageType) {
|
||||
self.usage_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional int32 confirmation_type = 3;
|
||||
|
||||
pub fn confirmation_type(&self) -> i32 {
|
||||
self.confirmation_type.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_confirmation_type(&mut self) {
|
||||
self.confirmation_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_confirmation_type(&self) -> bool {
|
||||
self.confirmation_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_confirmation_type(&mut self, v: i32) {
|
||||
self.confirmation_type = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 confirmation_action = 4;
|
||||
|
||||
pub fn confirmation_action(&self) -> i32 {
|
||||
self.confirmation_action.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_confirmation_action(&mut self) {
|
||||
self.confirmation_action = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_confirmation_action(&self) -> bool {
|
||||
self.confirmation_action.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_confirmation_action(&mut self, v: i32) {
|
||||
self.confirmation_action = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_UsageEvent {
|
||||
const NAME: &'static str = "CTwoFactor_UsageEvent";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.time = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.usage_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
24 => {
|
||||
self.confirmation_type = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
32 => {
|
||||
self.confirmation_action = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.time {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.usage_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v.value());
|
||||
}
|
||||
if let Some(v) = self.confirmation_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.confirmation_action {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.time {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.usage_type {
|
||||
os.write_enum(2, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.confirmation_type {
|
||||
os.write_int32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.confirmation_action {
|
||||
os.write_int32(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CTwoFactor_UsageEvent {
|
||||
CTwoFactor_UsageEvent::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.time = ::std::option::Option::None;
|
||||
self.usage_type = ::std::option::Option::None;
|
||||
self.confirmation_type = ::std::option::Option::None;
|
||||
self.confirmation_action = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CTwoFactor_UsageEvent {
|
||||
static instance: CTwoFactor_UsageEvent = CTwoFactor_UsageEvent {
|
||||
time: ::std::option::Option::None,
|
||||
usage_type: ::std::option::Option::None,
|
||||
confirmation_type: ::std::option::Option::None,
|
||||
confirmation_action: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -640,6 +883,10 @@ pub struct CTwoFactor_Status_Response {
|
|||
pub time_transferred: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_Status_Response.version)
|
||||
pub version: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_Status_Response.last_seen_auth_token_id)
|
||||
pub last_seen_auth_token_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_Status_Response.usages)
|
||||
pub usages: ::std::vec::Vec<CTwoFactor_UsageEvent>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CTwoFactor_Status_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -972,6 +1219,25 @@ impl CTwoFactor_Status_Response {
|
|||
pub fn set_version(&mut self, v: u32) {
|
||||
self.version = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed64 last_seen_auth_token_id = 15;
|
||||
|
||||
pub fn last_seen_auth_token_id(&self) -> u64 {
|
||||
self.last_seen_auth_token_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_last_seen_auth_token_id(&mut self) {
|
||||
self.last_seen_auth_token_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_last_seen_auth_token_id(&self) -> bool {
|
||||
self.last_seen_auth_token_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_last_seen_auth_token_id(&mut self, v: u64) {
|
||||
self.last_seen_auth_token_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Response {
|
||||
|
|
@ -1026,6 +1292,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Response
|
|||
112 => {
|
||||
self.version = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
121 => {
|
||||
self.last_seen_auth_token_id = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
130 => {
|
||||
self.usages.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -1080,6 +1352,13 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Response
|
|||
if let Some(v) = self.version {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(14, v);
|
||||
}
|
||||
if let Some(v) = self.last_seen_auth_token_id {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
for value in &self.usages {
|
||||
let len = value.compute_size();
|
||||
my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -1128,6 +1407,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Response
|
|||
if let Some(v) = self.version {
|
||||
os.write_uint32(14, v)?;
|
||||
}
|
||||
if let Some(v) = self.last_seen_auth_token_id {
|
||||
os.write_fixed64(15, v)?;
|
||||
}
|
||||
for v in &self.usages {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(16, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1159,6 +1444,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Response
|
|||
self.allow_external_authenticator = ::std::option::Option::None;
|
||||
self.time_transferred = ::std::option::Option::None;
|
||||
self.version = ::std::option::Option::None;
|
||||
self.last_seen_auth_token_id = ::std::option::Option::None;
|
||||
self.usages.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1178,6 +1465,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_Status_Response
|
|||
allow_external_authenticator: ::std::option::Option::None,
|
||||
time_transferred: ::std::option::Option::None,
|
||||
version: ::std::option::Option::None,
|
||||
last_seen_auth_token_id: ::std::option::Option::None,
|
||||
usages: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -2080,255 +2369,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_AddAuthenticato
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CTwoFactor_SendEmail_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CTwoFactor_SendEmail_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CTwoFactor_SendEmail_Request.steamid)
|
||||
pub steamid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_SendEmail_Request.email_type)
|
||||
pub email_type: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CTwoFactor_SendEmail_Request.include_activation_code)
|
||||
pub include_activation_code: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CTwoFactor_SendEmail_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CTwoFactor_SendEmail_Request {
|
||||
fn default() -> &'a CTwoFactor_SendEmail_Request {
|
||||
<CTwoFactor_SendEmail_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CTwoFactor_SendEmail_Request {
|
||||
pub fn new() -> CTwoFactor_SendEmail_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional fixed64 steamid = 1;
|
||||
|
||||
pub fn steamid(&self) -> u64 {
|
||||
self.steamid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_steamid(&mut self) {
|
||||
self.steamid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_steamid(&self) -> bool {
|
||||
self.steamid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_steamid(&mut self, v: u64) {
|
||||
self.steamid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 email_type = 2;
|
||||
|
||||
pub fn email_type(&self) -> u32 {
|
||||
self.email_type.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_email_type(&mut self) {
|
||||
self.email_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_email_type(&self) -> bool {
|
||||
self.email_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_email_type(&mut self, v: u32) {
|
||||
self.email_type = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool include_activation_code = 3;
|
||||
|
||||
pub fn include_activation_code(&self) -> bool {
|
||||
self.include_activation_code.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_include_activation_code(&mut self) {
|
||||
self.include_activation_code = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_include_activation_code(&self) -> bool {
|
||||
self.include_activation_code.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_include_activation_code(&mut self, v: bool) {
|
||||
self.include_activation_code = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_SendEmail_Request {
|
||||
const NAME: &'static str = "CTwoFactor_SendEmail_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
9 => {
|
||||
self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
16 => {
|
||||
self.email_type = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.include_activation_code = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.steamid {
|
||||
my_size += 1 + 8;
|
||||
}
|
||||
if let Some(v) = self.email_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.include_activation_code {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.steamid {
|
||||
os.write_fixed64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.email_type {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.include_activation_code {
|
||||
os.write_bool(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CTwoFactor_SendEmail_Request {
|
||||
CTwoFactor_SendEmail_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.steamid = ::std::option::Option::None;
|
||||
self.email_type = ::std::option::Option::None;
|
||||
self.include_activation_code = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CTwoFactor_SendEmail_Request {
|
||||
static instance: CTwoFactor_SendEmail_Request = CTwoFactor_SendEmail_Request {
|
||||
steamid: ::std::option::Option::None,
|
||||
email_type: ::std::option::Option::None,
|
||||
include_activation_code: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CTwoFactor_SendEmail_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CTwoFactor_SendEmail_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CTwoFactor_SendEmail_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CTwoFactor_SendEmail_Response {
|
||||
fn default() -> &'a CTwoFactor_SendEmail_Response {
|
||||
<CTwoFactor_SendEmail_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CTwoFactor_SendEmail_Response {
|
||||
pub fn new() -> CTwoFactor_SendEmail_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_SendEmail_Response {
|
||||
const NAME: &'static str = "CTwoFactor_SendEmail_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CTwoFactor_SendEmail_Response {
|
||||
CTwoFactor_SendEmail_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CTwoFactor_SendEmail_Response {
|
||||
static instance: CTwoFactor_SendEmail_Response = CTwoFactor_SendEmail_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CTwoFactor_FinalizeAddAuthenticator_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CTwoFactor_FinalizeAddAuthenticator_Request {
|
||||
|
|
@ -4525,6 +4565,106 @@ impl ::steam_vent_proto_common::protobuf::Message for CTwoFactor_RemoveAuthentic
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:ETwoFactorStatusFieldFlag)
|
||||
pub enum ETwoFactorStatusFieldFlag {
|
||||
// @@protoc_insertion_point(enum_value:ETwoFactorStatusFieldFlag.k_ETwoFactorStatusFieldFlag_None)
|
||||
k_ETwoFactorStatusFieldFlag_None = 0,
|
||||
// @@protoc_insertion_point(enum_value:ETwoFactorStatusFieldFlag.k_ETwoFactorStatusFieldFlag_LastUsage)
|
||||
k_ETwoFactorStatusFieldFlag_LastUsage = 1,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for ETwoFactorStatusFieldFlag {
|
||||
const NAME: &'static str = "ETwoFactorStatusFieldFlag";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<ETwoFactorStatusFieldFlag> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_None),
|
||||
1 => ::std::option::Option::Some(ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_LastUsage),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<ETwoFactorStatusFieldFlag> {
|
||||
match str {
|
||||
"k_ETwoFactorStatusFieldFlag_None" => ::std::option::Option::Some(ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_None),
|
||||
"k_ETwoFactorStatusFieldFlag_LastUsage" => ::std::option::Option::Some(ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_LastUsage),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [ETwoFactorStatusFieldFlag] = &[
|
||||
ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_None,
|
||||
ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_LastUsage,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for ETwoFactorStatusFieldFlag {
|
||||
fn default() -> Self {
|
||||
ETwoFactorStatusFieldFlag::k_ETwoFactorStatusFieldFlag_None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:ETwoFactorUsageType)
|
||||
pub enum ETwoFactorUsageType {
|
||||
// @@protoc_insertion_point(enum_value:ETwoFactorUsageType.k_ETwoFactorUsageType_Unknown)
|
||||
k_ETwoFactorUsageType_Unknown = 0,
|
||||
// @@protoc_insertion_point(enum_value:ETwoFactorUsageType.k_ETwoFactorUsageType_None)
|
||||
k_ETwoFactorUsageType_None = 1,
|
||||
// @@protoc_insertion_point(enum_value:ETwoFactorUsageType.k_ETwoFactorUsageType_MobileConfirmation)
|
||||
k_ETwoFactorUsageType_MobileConfirmation = 2,
|
||||
// @@protoc_insertion_point(enum_value:ETwoFactorUsageType.k_ETwoFactorUsageType_Login)
|
||||
k_ETwoFactorUsageType_Login = 3,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for ETwoFactorUsageType {
|
||||
const NAME: &'static str = "ETwoFactorUsageType";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<ETwoFactorUsageType> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_Unknown),
|
||||
1 => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_None),
|
||||
2 => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_MobileConfirmation),
|
||||
3 => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_Login),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<ETwoFactorUsageType> {
|
||||
match str {
|
||||
"k_ETwoFactorUsageType_Unknown" => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_Unknown),
|
||||
"k_ETwoFactorUsageType_None" => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_None),
|
||||
"k_ETwoFactorUsageType_MobileConfirmation" => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_MobileConfirmation),
|
||||
"k_ETwoFactorUsageType_Login" => ::std::option::Option::Some(ETwoFactorUsageType::k_ETwoFactorUsageType_Login),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [ETwoFactorUsageType] = &[
|
||||
ETwoFactorUsageType::k_ETwoFactorUsageType_Unknown,
|
||||
ETwoFactorUsageType::k_ETwoFactorUsageType_None,
|
||||
ETwoFactorUsageType::k_ETwoFactorUsageType_MobileConfirmation,
|
||||
ETwoFactorUsageType::k_ETwoFactorUsageType_Login,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for ETwoFactorUsageType {
|
||||
fn default() -> Self {
|
||||
ETwoFactorUsageType::k_ETwoFactorUsageType_Unknown
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -4571,6 +4711,19 @@ impl ::steam_vent_proto_common::RpcMessage for CTwoFactor_Status_Request {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CTwoFactor_UsageEvent {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CTwoFactor_Status_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -4610,32 +4763,6 @@ impl ::steam_vent_proto_common::RpcMessage for CTwoFactor_AddAuthenticator_Respo
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CTwoFactor_SendEmail_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CTwoFactor_SendEmail_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CTwoFactor_FinalizeAddAuthenticator_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
|
|
@ -4814,10 +4941,6 @@ impl ::steam_vent_proto_common::RpcMethod for CTwoFactor_RemoveAuthenticator_Req
|
|||
const METHOD_NAME: &'static str = "TwoFactor.RemoveAuthenticator#1";
|
||||
type Response = CTwoFactor_RemoveAuthenticator_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CTwoFactor_SendEmail_Request {
|
||||
const METHOD_NAME: &'static str = "TwoFactor.SendEmail#1";
|
||||
type Response = CTwoFactor_SendEmail_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CTwoFactor_Status_Request {
|
||||
const METHOD_NAME: &'static str = "TwoFactor.QueryStatus#1";
|
||||
type Response = CTwoFactor_Status_Response;
|
||||
|
|
|
|||
|
|
@ -781,6 +781,224 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgTest_NotifyServer_Noti
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgTest_TestClientCall_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgTest_TestClientCall_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgTest_TestClientCall_Request.param)
|
||||
pub param: ::std::option::Option<i32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgTest_TestClientCall_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgTest_TestClientCall_Request {
|
||||
fn default() -> &'a CMsgTest_TestClientCall_Request {
|
||||
<CMsgTest_TestClientCall_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgTest_TestClientCall_Request {
|
||||
pub fn new() -> CMsgTest_TestClientCall_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional int32 param = 1;
|
||||
|
||||
pub fn param(&self) -> i32 {
|
||||
self.param.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_param(&mut self) {
|
||||
self.param = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_param(&self) -> bool {
|
||||
self.param.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_param(&mut self, v: i32) {
|
||||
self.param = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgTest_TestClientCall_Request {
|
||||
const NAME: &'static str = "CMsgTest_TestClientCall_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.param = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.param {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.param {
|
||||
os.write_int32(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgTest_TestClientCall_Request {
|
||||
CMsgTest_TestClientCall_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.param = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgTest_TestClientCall_Request {
|
||||
static instance: CMsgTest_TestClientCall_Request = CMsgTest_TestClientCall_Request {
|
||||
param: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgTest_TestClientCall_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgTest_TestClientCall_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgTest_TestClientCall_Response.result)
|
||||
pub result: ::std::option::Option<i32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgTest_TestClientCall_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgTest_TestClientCall_Response {
|
||||
fn default() -> &'a CMsgTest_TestClientCall_Response {
|
||||
<CMsgTest_TestClientCall_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgTest_TestClientCall_Response {
|
||||
pub fn new() -> CMsgTest_TestClientCall_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional int32 result = 1;
|
||||
|
||||
pub fn result(&self) -> i32 {
|
||||
self.result.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_result(&mut self) {
|
||||
self.result = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_result(&self) -> bool {
|
||||
self.result.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_result(&mut self, v: i32) {
|
||||
self.result = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgTest_TestClientCall_Response {
|
||||
const NAME: &'static str = "CMsgTest_TestClientCall_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.result = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.result {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.result {
|
||||
os.write_int32(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgTest_TestClientCall_Response {
|
||||
CMsgTest_TestClientCall_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.result = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgTest_TestClientCall_Response {
|
||||
static instance: CMsgTest_TestClientCall_Response = CMsgTest_TestClientCall_Response {
|
||||
result: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgTest_NoBody_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgTest_NoBody_Request {
|
||||
|
|
@ -1051,6 +1269,32 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgTest_NotifyServer_Notificatio
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgTest_TestClientCall_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgTest_TestClientCall_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgTest_NoBody_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -1112,3 +1356,7 @@ impl ::steam_vent_proto_common::RpcMethod for CMsgTest_NotifyServer_Notification
|
|||
const METHOD_NAME: &'static str = "TestServerFromClient.NotifyServer#1";
|
||||
type Response = ();
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CMsgTest_TestClientCall_Request {
|
||||
const METHOD_NAME: &'static str = "TestServerFromClient.ClientCallAuthed1#1";
|
||||
type Response = CMsgTest_TestClientCall_Response;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3835,700 +3835,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CUserAccount_RegisterCompa
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CAccountLinking_GetLinkedAccountInfo_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Request.account_type)
|
||||
pub account_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EInternalAccountType>>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Request.account_id)
|
||||
pub account_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Request.filter)
|
||||
pub filter: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EExternalAccountType>>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Request.return_access_token)
|
||||
pub return_access_token: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAccountLinking_GetLinkedAccountInfo_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
fn default() -> &'a CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
<CAccountLinking_GetLinkedAccountInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
pub fn new() -> CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional .EInternalAccountType account_type = 1;
|
||||
|
||||
pub fn account_type(&self) -> EInternalAccountType {
|
||||
match self.account_type {
|
||||
Some(e) => e.enum_value_or(EInternalAccountType::k_EInternalSteamAccountType),
|
||||
None => EInternalAccountType::k_EInternalSteamAccountType,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_account_type(&mut self) {
|
||||
self.account_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_account_type(&self) -> bool {
|
||||
self.account_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_account_type(&mut self, v: EInternalAccountType) {
|
||||
self.account_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional uint64 account_id = 2;
|
||||
|
||||
pub fn account_id(&self) -> u64 {
|
||||
self.account_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_account_id(&mut self) {
|
||||
self.account_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_account_id(&self) -> bool {
|
||||
self.account_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_account_id(&mut self, v: u64) {
|
||||
self.account_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .EExternalAccountType filter = 3;
|
||||
|
||||
pub fn filter(&self) -> EExternalAccountType {
|
||||
match self.filter {
|
||||
Some(e) => e.enum_value_or(EExternalAccountType::k_EExternalNone),
|
||||
None => EExternalAccountType::k_EExternalNone,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_filter(&mut self) {
|
||||
self.filter = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_filter(&self) -> bool {
|
||||
self.filter.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_filter(&mut self, v: EExternalAccountType) {
|
||||
self.filter = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional bool return_access_token = 4;
|
||||
|
||||
pub fn return_access_token(&self) -> bool {
|
||||
self.return_access_token.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_return_access_token(&mut self) {
|
||||
self.return_access_token = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_return_access_token(&self) -> bool {
|
||||
self.return_access_token.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_return_access_token(&mut self, v: bool) {
|
||||
self.return_access_token = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
const NAME: &'static str = "CAccountLinking_GetLinkedAccountInfo_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.account_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
16 => {
|
||||
self.account_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
24 => {
|
||||
self.filter = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
32 => {
|
||||
self.return_access_token = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.account_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
|
||||
}
|
||||
if let Some(v) = self.account_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.filter {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v.value());
|
||||
}
|
||||
if let Some(v) = self.return_access_token {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.account_type {
|
||||
os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.account_id {
|
||||
os.write_uint64(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.filter {
|
||||
os.write_enum(3, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.return_access_token {
|
||||
os.write_bool(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
CAccountLinking_GetLinkedAccountInfo_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.account_type = ::std::option::Option::None;
|
||||
self.account_id = ::std::option::Option::None;
|
||||
self.filter = ::std::option::Option::None;
|
||||
self.return_access_token = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
static instance: CAccountLinking_GetLinkedAccountInfo_Request = CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
account_type: ::std::option::Option::None,
|
||||
account_id: ::std::option::Option::None,
|
||||
filter: ::std::option::Option::None,
|
||||
return_access_token: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CAccountLinking_GetLinkedAccountInfo_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.external_accounts)
|
||||
pub external_accounts: ::std::vec::Vec<caccount_linking_get_linked_account_info_response::CExternalAccountTuple_Response>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAccountLinking_GetLinkedAccountInfo_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
fn default() -> &'a CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
<CAccountLinking_GetLinkedAccountInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
pub fn new() -> CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
const NAME: &'static str = "CAccountLinking_GetLinkedAccountInfo_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.external_accounts.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.external_accounts {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.external_accounts {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
CAccountLinking_GetLinkedAccountInfo_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.external_accounts.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
static instance: CAccountLinking_GetLinkedAccountInfo_Response = CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
external_accounts: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CAccountLinking_GetLinkedAccountInfo_Response`
|
||||
pub mod caccount_linking_get_linked_account_info_response {
|
||||
// @@protoc_insertion_point(message:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CExternalAccountTuple_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_type)
|
||||
pub external_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::EExternalAccountType>>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_id)
|
||||
pub external_id: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_user_name)
|
||||
pub external_user_name: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_url)
|
||||
pub external_url: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.access_token)
|
||||
pub access_token: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.access_token_secret)
|
||||
pub access_token_secret: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.is_valid)
|
||||
pub is_valid: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CExternalAccountTuple_Response {
|
||||
fn default() -> &'a CExternalAccountTuple_Response {
|
||||
<CExternalAccountTuple_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CExternalAccountTuple_Response {
|
||||
pub fn new() -> CExternalAccountTuple_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional .EExternalAccountType external_type = 1;
|
||||
|
||||
pub fn external_type(&self) -> super::EExternalAccountType {
|
||||
match self.external_type {
|
||||
Some(e) => e.enum_value_or(super::EExternalAccountType::k_EExternalNone),
|
||||
None => super::EExternalAccountType::k_EExternalNone,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_external_type(&mut self) {
|
||||
self.external_type = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_external_type(&self) -> bool {
|
||||
self.external_type.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_external_type(&mut self, v: super::EExternalAccountType) {
|
||||
self.external_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
|
||||
// optional string external_id = 2;
|
||||
|
||||
pub fn external_id(&self) -> &str {
|
||||
match self.external_id.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_external_id(&mut self) {
|
||||
self.external_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_external_id(&self) -> bool {
|
||||
self.external_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_external_id(&mut self, v: ::std::string::String) {
|
||||
self.external_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_external_id(&mut self) -> &mut ::std::string::String {
|
||||
if self.external_id.is_none() {
|
||||
self.external_id = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.external_id.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_external_id(&mut self) -> ::std::string::String {
|
||||
self.external_id.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string external_user_name = 3;
|
||||
|
||||
pub fn external_user_name(&self) -> &str {
|
||||
match self.external_user_name.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_external_user_name(&mut self) {
|
||||
self.external_user_name = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_external_user_name(&self) -> bool {
|
||||
self.external_user_name.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_external_user_name(&mut self, v: ::std::string::String) {
|
||||
self.external_user_name = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_external_user_name(&mut self) -> &mut ::std::string::String {
|
||||
if self.external_user_name.is_none() {
|
||||
self.external_user_name = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.external_user_name.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_external_user_name(&mut self) -> ::std::string::String {
|
||||
self.external_user_name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string external_url = 4;
|
||||
|
||||
pub fn external_url(&self) -> &str {
|
||||
match self.external_url.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_external_url(&mut self) {
|
||||
self.external_url = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_external_url(&self) -> bool {
|
||||
self.external_url.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_external_url(&mut self, v: ::std::string::String) {
|
||||
self.external_url = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_external_url(&mut self) -> &mut ::std::string::String {
|
||||
if self.external_url.is_none() {
|
||||
self.external_url = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.external_url.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_external_url(&mut self) -> ::std::string::String {
|
||||
self.external_url.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string access_token = 5;
|
||||
|
||||
pub fn access_token(&self) -> &str {
|
||||
match self.access_token.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_access_token(&mut self) {
|
||||
self.access_token = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_access_token(&self) -> bool {
|
||||
self.access_token.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_access_token(&mut self, v: ::std::string::String) {
|
||||
self.access_token = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_access_token(&mut self) -> &mut ::std::string::String {
|
||||
if self.access_token.is_none() {
|
||||
self.access_token = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.access_token.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_access_token(&mut self) -> ::std::string::String {
|
||||
self.access_token.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string access_token_secret = 6;
|
||||
|
||||
pub fn access_token_secret(&self) -> &str {
|
||||
match self.access_token_secret.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_access_token_secret(&mut self) {
|
||||
self.access_token_secret = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_access_token_secret(&self) -> bool {
|
||||
self.access_token_secret.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_access_token_secret(&mut self, v: ::std::string::String) {
|
||||
self.access_token_secret = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_access_token_secret(&mut self) -> &mut ::std::string::String {
|
||||
if self.access_token_secret.is_none() {
|
||||
self.access_token_secret = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.access_token_secret.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_access_token_secret(&mut self) -> ::std::string::String {
|
||||
self.access_token_secret.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool is_valid = 7;
|
||||
|
||||
pub fn is_valid(&self) -> bool {
|
||||
self.is_valid.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_valid(&mut self) {
|
||||
self.is_valid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_valid(&self) -> bool {
|
||||
self.is_valid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_valid(&mut self, v: bool) {
|
||||
self.is_valid = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CExternalAccountTuple_Response {
|
||||
const NAME: &'static str = "CExternalAccountTuple_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.external_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
18 => {
|
||||
self.external_id = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
26 => {
|
||||
self.external_user_name = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
34 => {
|
||||
self.external_url = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
42 => {
|
||||
self.access_token = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
50 => {
|
||||
self.access_token_secret = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
56 => {
|
||||
self.is_valid = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.external_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
|
||||
}
|
||||
if let Some(v) = self.external_id.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.external_user_name.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
|
||||
}
|
||||
if let Some(v) = self.external_url.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
|
||||
}
|
||||
if let Some(v) = self.access_token.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
|
||||
}
|
||||
if let Some(v) = self.access_token_secret.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
|
||||
}
|
||||
if let Some(v) = self.is_valid {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.external_type {
|
||||
os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
if let Some(v) = self.external_id.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.external_user_name.as_ref() {
|
||||
os.write_string(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.external_url.as_ref() {
|
||||
os.write_string(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.access_token.as_ref() {
|
||||
os.write_string(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.access_token_secret.as_ref() {
|
||||
os.write_string(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_valid {
|
||||
os.write_bool(7, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CExternalAccountTuple_Response {
|
||||
CExternalAccountTuple_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.external_type = ::std::option::Option::None;
|
||||
self.external_id = ::std::option::Option::None;
|
||||
self.external_user_name = ::std::option::Option::None;
|
||||
self.external_url = ::std::option::Option::None;
|
||||
self.access_token = ::std::option::Option::None;
|
||||
self.access_token_secret = ::std::option::Option::None;
|
||||
self.is_valid = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CExternalAccountTuple_Response {
|
||||
static instance: CExternalAccountTuple_Response = CExternalAccountTuple_Response {
|
||||
external_type: ::std::option::Option::None,
|
||||
external_id: ::std::option::Option::None,
|
||||
external_user_name: ::std::option::Option::None,
|
||||
external_url: ::std::option::Option::None,
|
||||
access_token: ::std::option::Option::None,
|
||||
access_token_secret: ::std::option::Option::None,
|
||||
is_valid: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CEmbeddedClient_AuthorizeCurrentDevice_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CEmbeddedClient_AuthorizeCurrentDevice_Request {
|
||||
|
|
@ -5096,137 +4402,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CEmbeddedClient_AuthorizeD
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EInternalAccountType)
|
||||
pub enum EInternalAccountType {
|
||||
// @@protoc_insertion_point(enum_value:EInternalAccountType.k_EInternalSteamAccountType)
|
||||
k_EInternalSteamAccountType = 1,
|
||||
// @@protoc_insertion_point(enum_value:EInternalAccountType.k_EInternalClanType)
|
||||
k_EInternalClanType = 2,
|
||||
// @@protoc_insertion_point(enum_value:EInternalAccountType.k_EInternalAppType)
|
||||
k_EInternalAppType = 3,
|
||||
// @@protoc_insertion_point(enum_value:EInternalAccountType.k_EInternalBroadcastChannelType)
|
||||
k_EInternalBroadcastChannelType = 4,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EInternalAccountType {
|
||||
const NAME: &'static str = "EInternalAccountType";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EInternalAccountType> {
|
||||
match value {
|
||||
1 => ::std::option::Option::Some(EInternalAccountType::k_EInternalSteamAccountType),
|
||||
2 => ::std::option::Option::Some(EInternalAccountType::k_EInternalClanType),
|
||||
3 => ::std::option::Option::Some(EInternalAccountType::k_EInternalAppType),
|
||||
4 => ::std::option::Option::Some(EInternalAccountType::k_EInternalBroadcastChannelType),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EInternalAccountType> {
|
||||
match str {
|
||||
"k_EInternalSteamAccountType" => ::std::option::Option::Some(EInternalAccountType::k_EInternalSteamAccountType),
|
||||
"k_EInternalClanType" => ::std::option::Option::Some(EInternalAccountType::k_EInternalClanType),
|
||||
"k_EInternalAppType" => ::std::option::Option::Some(EInternalAccountType::k_EInternalAppType),
|
||||
"k_EInternalBroadcastChannelType" => ::std::option::Option::Some(EInternalAccountType::k_EInternalBroadcastChannelType),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EInternalAccountType] = &[
|
||||
EInternalAccountType::k_EInternalSteamAccountType,
|
||||
EInternalAccountType::k_EInternalClanType,
|
||||
EInternalAccountType::k_EInternalAppType,
|
||||
EInternalAccountType::k_EInternalBroadcastChannelType,
|
||||
];
|
||||
}
|
||||
|
||||
// Note, `Default` is implemented although default value is not 0
|
||||
impl ::std::default::Default for EInternalAccountType {
|
||||
fn default() -> Self {
|
||||
EInternalAccountType::k_EInternalSteamAccountType
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EExternalAccountType)
|
||||
pub enum EExternalAccountType {
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalNone)
|
||||
k_EExternalNone = 0,
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalSteamAccount)
|
||||
k_EExternalSteamAccount = 1,
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalGoogleAccount)
|
||||
k_EExternalGoogleAccount = 2,
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalFacebookAccount)
|
||||
k_EExternalFacebookAccount = 3,
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalTwitterAccount)
|
||||
k_EExternalTwitterAccount = 4,
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalTwitchAccount)
|
||||
k_EExternalTwitchAccount = 5,
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalYouTubeChannelAccount)
|
||||
k_EExternalYouTubeChannelAccount = 6,
|
||||
// @@protoc_insertion_point(enum_value:EExternalAccountType.k_EExternalFacebookPage)
|
||||
k_EExternalFacebookPage = 7,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EExternalAccountType {
|
||||
const NAME: &'static str = "EExternalAccountType";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EExternalAccountType> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(EExternalAccountType::k_EExternalNone),
|
||||
1 => ::std::option::Option::Some(EExternalAccountType::k_EExternalSteamAccount),
|
||||
2 => ::std::option::Option::Some(EExternalAccountType::k_EExternalGoogleAccount),
|
||||
3 => ::std::option::Option::Some(EExternalAccountType::k_EExternalFacebookAccount),
|
||||
4 => ::std::option::Option::Some(EExternalAccountType::k_EExternalTwitterAccount),
|
||||
5 => ::std::option::Option::Some(EExternalAccountType::k_EExternalTwitchAccount),
|
||||
6 => ::std::option::Option::Some(EExternalAccountType::k_EExternalYouTubeChannelAccount),
|
||||
7 => ::std::option::Option::Some(EExternalAccountType::k_EExternalFacebookPage),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EExternalAccountType> {
|
||||
match str {
|
||||
"k_EExternalNone" => ::std::option::Option::Some(EExternalAccountType::k_EExternalNone),
|
||||
"k_EExternalSteamAccount" => ::std::option::Option::Some(EExternalAccountType::k_EExternalSteamAccount),
|
||||
"k_EExternalGoogleAccount" => ::std::option::Option::Some(EExternalAccountType::k_EExternalGoogleAccount),
|
||||
"k_EExternalFacebookAccount" => ::std::option::Option::Some(EExternalAccountType::k_EExternalFacebookAccount),
|
||||
"k_EExternalTwitterAccount" => ::std::option::Option::Some(EExternalAccountType::k_EExternalTwitterAccount),
|
||||
"k_EExternalTwitchAccount" => ::std::option::Option::Some(EExternalAccountType::k_EExternalTwitchAccount),
|
||||
"k_EExternalYouTubeChannelAccount" => ::std::option::Option::Some(EExternalAccountType::k_EExternalYouTubeChannelAccount),
|
||||
"k_EExternalFacebookPage" => ::std::option::Option::Some(EExternalAccountType::k_EExternalFacebookPage),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EExternalAccountType] = &[
|
||||
EExternalAccountType::k_EExternalNone,
|
||||
EExternalAccountType::k_EExternalSteamAccount,
|
||||
EExternalAccountType::k_EExternalGoogleAccount,
|
||||
EExternalAccountType::k_EExternalFacebookAccount,
|
||||
EExternalAccountType::k_EExternalTwitterAccount,
|
||||
EExternalAccountType::k_EExternalTwitchAccount,
|
||||
EExternalAccountType::k_EExternalYouTubeChannelAccount,
|
||||
EExternalAccountType::k_EExternalFacebookPage,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for EExternalAccountType {
|
||||
fn default() -> Self {
|
||||
EExternalAccountType::k_EExternalNone
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -5537,34 +4712,6 @@ impl ::steam_vent_proto_common::RpcMessage for CUserAccount_RegisterCompatTool_R
|
|||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CAccountLinking_GetLinkedAccountInfo_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CEmbeddedClient_AuthorizeCurrentDevice_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -5610,21 +4757,11 @@ impl ::steam_vent_proto_common::RpcService for UserAccount {
|
|||
const SERVICE_NAME: &'static str = "UserAccount";
|
||||
}
|
||||
///
|
||||
struct AccountLinking {}
|
||||
impl ::steam_vent_proto_common::RpcService for AccountLinking {
|
||||
const SERVICE_NAME: &'static str = "AccountLinking";
|
||||
}
|
||||
///
|
||||
struct EmbeddedClient {}
|
||||
impl ::steam_vent_proto_common::RpcService for EmbeddedClient {
|
||||
const SERVICE_NAME: &'static str = "EmbeddedClient";
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CAccountLinking_GetLinkedAccountInfo_Request {
|
||||
const METHOD_NAME: &'static str = "AccountLinking.GetLinkedAccountInfo#1";
|
||||
type Response = CAccountLinking_GetLinkedAccountInfo_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CEmbeddedClient_AuthorizeCurrentDevice_Request {
|
||||
const METHOD_NAME: &'static str = "EmbeddedClient.AuthorizeCurrentDevice#1";
|
||||
type Response = CEmbeddedClient_AuthorizeDevice_Response;
|
||||
|
|
|
|||
|
|
@ -1078,62 +1078,6 @@ pub struct CMsgSteamDatagramLinkLifetimeStats {
|
|||
pub jitter_histogram_10: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_20)
|
||||
pub jitter_histogram_20: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_max)
|
||||
pub txspeed_max: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_16)
|
||||
pub txspeed_histogram_16: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_32)
|
||||
pub txspeed_histogram_32: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_64)
|
||||
pub txspeed_histogram_64: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_128)
|
||||
pub txspeed_histogram_128: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_256)
|
||||
pub txspeed_histogram_256: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_512)
|
||||
pub txspeed_histogram_512: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_1024)
|
||||
pub txspeed_histogram_1024: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_histogram_max)
|
||||
pub txspeed_histogram_max: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_ntile_5th)
|
||||
pub txspeed_ntile_5th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_ntile_50th)
|
||||
pub txspeed_ntile_50th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_ntile_75th)
|
||||
pub txspeed_ntile_75th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_ntile_95th)
|
||||
pub txspeed_ntile_95th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.txspeed_ntile_98th)
|
||||
pub txspeed_ntile_98th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_max)
|
||||
pub rxspeed_max: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_16)
|
||||
pub rxspeed_histogram_16: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_32)
|
||||
pub rxspeed_histogram_32: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_64)
|
||||
pub rxspeed_histogram_64: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_128)
|
||||
pub rxspeed_histogram_128: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_256)
|
||||
pub rxspeed_histogram_256: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_512)
|
||||
pub rxspeed_histogram_512: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_1024)
|
||||
pub rxspeed_histogram_1024: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_histogram_max)
|
||||
pub rxspeed_histogram_max: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_ntile_5th)
|
||||
pub rxspeed_ntile_5th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_ntile_50th)
|
||||
pub rxspeed_ntile_50th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_ntile_75th)
|
||||
pub rxspeed_ntile_75th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_ntile_95th)
|
||||
pub rxspeed_ntile_95th: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramLinkLifetimeStats.rxspeed_ntile_98th)
|
||||
pub rxspeed_ntile_98th: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgSteamDatagramLinkLifetimeStats.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2004,538 +1948,6 @@ impl CMsgSteamDatagramLinkLifetimeStats {
|
|||
pub fn set_jitter_histogram_20(&mut self, v: u32) {
|
||||
self.jitter_histogram_20 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_max = 67;
|
||||
|
||||
pub fn txspeed_max(&self) -> u32 {
|
||||
self.txspeed_max.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_max(&mut self) {
|
||||
self.txspeed_max = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_max(&self) -> bool {
|
||||
self.txspeed_max.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_max(&mut self, v: u32) {
|
||||
self.txspeed_max = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_16 = 68;
|
||||
|
||||
pub fn txspeed_histogram_16(&self) -> u32 {
|
||||
self.txspeed_histogram_16.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_16(&mut self) {
|
||||
self.txspeed_histogram_16 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_16(&self) -> bool {
|
||||
self.txspeed_histogram_16.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_16(&mut self, v: u32) {
|
||||
self.txspeed_histogram_16 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_32 = 69;
|
||||
|
||||
pub fn txspeed_histogram_32(&self) -> u32 {
|
||||
self.txspeed_histogram_32.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_32(&mut self) {
|
||||
self.txspeed_histogram_32 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_32(&self) -> bool {
|
||||
self.txspeed_histogram_32.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_32(&mut self, v: u32) {
|
||||
self.txspeed_histogram_32 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_64 = 70;
|
||||
|
||||
pub fn txspeed_histogram_64(&self) -> u32 {
|
||||
self.txspeed_histogram_64.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_64(&mut self) {
|
||||
self.txspeed_histogram_64 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_64(&self) -> bool {
|
||||
self.txspeed_histogram_64.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_64(&mut self, v: u32) {
|
||||
self.txspeed_histogram_64 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_128 = 71;
|
||||
|
||||
pub fn txspeed_histogram_128(&self) -> u32 {
|
||||
self.txspeed_histogram_128.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_128(&mut self) {
|
||||
self.txspeed_histogram_128 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_128(&self) -> bool {
|
||||
self.txspeed_histogram_128.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_128(&mut self, v: u32) {
|
||||
self.txspeed_histogram_128 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_256 = 72;
|
||||
|
||||
pub fn txspeed_histogram_256(&self) -> u32 {
|
||||
self.txspeed_histogram_256.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_256(&mut self) {
|
||||
self.txspeed_histogram_256 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_256(&self) -> bool {
|
||||
self.txspeed_histogram_256.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_256(&mut self, v: u32) {
|
||||
self.txspeed_histogram_256 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_512 = 73;
|
||||
|
||||
pub fn txspeed_histogram_512(&self) -> u32 {
|
||||
self.txspeed_histogram_512.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_512(&mut self) {
|
||||
self.txspeed_histogram_512 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_512(&self) -> bool {
|
||||
self.txspeed_histogram_512.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_512(&mut self, v: u32) {
|
||||
self.txspeed_histogram_512 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_1024 = 74;
|
||||
|
||||
pub fn txspeed_histogram_1024(&self) -> u32 {
|
||||
self.txspeed_histogram_1024.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_1024(&mut self) {
|
||||
self.txspeed_histogram_1024 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_1024(&self) -> bool {
|
||||
self.txspeed_histogram_1024.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_1024(&mut self, v: u32) {
|
||||
self.txspeed_histogram_1024 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_histogram_max = 75;
|
||||
|
||||
pub fn txspeed_histogram_max(&self) -> u32 {
|
||||
self.txspeed_histogram_max.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_histogram_max(&mut self) {
|
||||
self.txspeed_histogram_max = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_histogram_max(&self) -> bool {
|
||||
self.txspeed_histogram_max.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_histogram_max(&mut self, v: u32) {
|
||||
self.txspeed_histogram_max = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_ntile_5th = 76;
|
||||
|
||||
pub fn txspeed_ntile_5th(&self) -> u32 {
|
||||
self.txspeed_ntile_5th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_ntile_5th(&mut self) {
|
||||
self.txspeed_ntile_5th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_ntile_5th(&self) -> bool {
|
||||
self.txspeed_ntile_5th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_ntile_5th(&mut self, v: u32) {
|
||||
self.txspeed_ntile_5th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_ntile_50th = 77;
|
||||
|
||||
pub fn txspeed_ntile_50th(&self) -> u32 {
|
||||
self.txspeed_ntile_50th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_ntile_50th(&mut self) {
|
||||
self.txspeed_ntile_50th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_ntile_50th(&self) -> bool {
|
||||
self.txspeed_ntile_50th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_ntile_50th(&mut self, v: u32) {
|
||||
self.txspeed_ntile_50th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_ntile_75th = 78;
|
||||
|
||||
pub fn txspeed_ntile_75th(&self) -> u32 {
|
||||
self.txspeed_ntile_75th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_ntile_75th(&mut self) {
|
||||
self.txspeed_ntile_75th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_ntile_75th(&self) -> bool {
|
||||
self.txspeed_ntile_75th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_ntile_75th(&mut self, v: u32) {
|
||||
self.txspeed_ntile_75th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_ntile_95th = 79;
|
||||
|
||||
pub fn txspeed_ntile_95th(&self) -> u32 {
|
||||
self.txspeed_ntile_95th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_ntile_95th(&mut self) {
|
||||
self.txspeed_ntile_95th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_ntile_95th(&self) -> bool {
|
||||
self.txspeed_ntile_95th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_ntile_95th(&mut self, v: u32) {
|
||||
self.txspeed_ntile_95th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 txspeed_ntile_98th = 80;
|
||||
|
||||
pub fn txspeed_ntile_98th(&self) -> u32 {
|
||||
self.txspeed_ntile_98th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_txspeed_ntile_98th(&mut self) {
|
||||
self.txspeed_ntile_98th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_txspeed_ntile_98th(&self) -> bool {
|
||||
self.txspeed_ntile_98th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_txspeed_ntile_98th(&mut self, v: u32) {
|
||||
self.txspeed_ntile_98th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_max = 81;
|
||||
|
||||
pub fn rxspeed_max(&self) -> u32 {
|
||||
self.rxspeed_max.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_max(&mut self) {
|
||||
self.rxspeed_max = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_max(&self) -> bool {
|
||||
self.rxspeed_max.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_max(&mut self, v: u32) {
|
||||
self.rxspeed_max = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_16 = 82;
|
||||
|
||||
pub fn rxspeed_histogram_16(&self) -> u32 {
|
||||
self.rxspeed_histogram_16.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_16(&mut self) {
|
||||
self.rxspeed_histogram_16 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_16(&self) -> bool {
|
||||
self.rxspeed_histogram_16.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_16(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_16 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_32 = 83;
|
||||
|
||||
pub fn rxspeed_histogram_32(&self) -> u32 {
|
||||
self.rxspeed_histogram_32.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_32(&mut self) {
|
||||
self.rxspeed_histogram_32 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_32(&self) -> bool {
|
||||
self.rxspeed_histogram_32.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_32(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_32 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_64 = 84;
|
||||
|
||||
pub fn rxspeed_histogram_64(&self) -> u32 {
|
||||
self.rxspeed_histogram_64.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_64(&mut self) {
|
||||
self.rxspeed_histogram_64 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_64(&self) -> bool {
|
||||
self.rxspeed_histogram_64.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_64(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_64 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_128 = 85;
|
||||
|
||||
pub fn rxspeed_histogram_128(&self) -> u32 {
|
||||
self.rxspeed_histogram_128.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_128(&mut self) {
|
||||
self.rxspeed_histogram_128 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_128(&self) -> bool {
|
||||
self.rxspeed_histogram_128.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_128(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_128 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_256 = 86;
|
||||
|
||||
pub fn rxspeed_histogram_256(&self) -> u32 {
|
||||
self.rxspeed_histogram_256.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_256(&mut self) {
|
||||
self.rxspeed_histogram_256 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_256(&self) -> bool {
|
||||
self.rxspeed_histogram_256.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_256(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_256 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_512 = 87;
|
||||
|
||||
pub fn rxspeed_histogram_512(&self) -> u32 {
|
||||
self.rxspeed_histogram_512.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_512(&mut self) {
|
||||
self.rxspeed_histogram_512 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_512(&self) -> bool {
|
||||
self.rxspeed_histogram_512.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_512(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_512 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_1024 = 88;
|
||||
|
||||
pub fn rxspeed_histogram_1024(&self) -> u32 {
|
||||
self.rxspeed_histogram_1024.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_1024(&mut self) {
|
||||
self.rxspeed_histogram_1024 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_1024(&self) -> bool {
|
||||
self.rxspeed_histogram_1024.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_1024(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_1024 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_histogram_max = 89;
|
||||
|
||||
pub fn rxspeed_histogram_max(&self) -> u32 {
|
||||
self.rxspeed_histogram_max.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_histogram_max(&mut self) {
|
||||
self.rxspeed_histogram_max = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_histogram_max(&self) -> bool {
|
||||
self.rxspeed_histogram_max.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_histogram_max(&mut self, v: u32) {
|
||||
self.rxspeed_histogram_max = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_ntile_5th = 90;
|
||||
|
||||
pub fn rxspeed_ntile_5th(&self) -> u32 {
|
||||
self.rxspeed_ntile_5th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_ntile_5th(&mut self) {
|
||||
self.rxspeed_ntile_5th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_ntile_5th(&self) -> bool {
|
||||
self.rxspeed_ntile_5th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_ntile_5th(&mut self, v: u32) {
|
||||
self.rxspeed_ntile_5th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_ntile_50th = 91;
|
||||
|
||||
pub fn rxspeed_ntile_50th(&self) -> u32 {
|
||||
self.rxspeed_ntile_50th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_ntile_50th(&mut self) {
|
||||
self.rxspeed_ntile_50th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_ntile_50th(&self) -> bool {
|
||||
self.rxspeed_ntile_50th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_ntile_50th(&mut self, v: u32) {
|
||||
self.rxspeed_ntile_50th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_ntile_75th = 92;
|
||||
|
||||
pub fn rxspeed_ntile_75th(&self) -> u32 {
|
||||
self.rxspeed_ntile_75th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_ntile_75th(&mut self) {
|
||||
self.rxspeed_ntile_75th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_ntile_75th(&self) -> bool {
|
||||
self.rxspeed_ntile_75th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_ntile_75th(&mut self, v: u32) {
|
||||
self.rxspeed_ntile_75th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_ntile_95th = 93;
|
||||
|
||||
pub fn rxspeed_ntile_95th(&self) -> u32 {
|
||||
self.rxspeed_ntile_95th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_ntile_95th(&mut self) {
|
||||
self.rxspeed_ntile_95th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_ntile_95th(&self) -> bool {
|
||||
self.rxspeed_ntile_95th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_ntile_95th(&mut self, v: u32) {
|
||||
self.rxspeed_ntile_95th = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 rxspeed_ntile_98th = 94;
|
||||
|
||||
pub fn rxspeed_ntile_98th(&self) -> u32 {
|
||||
self.rxspeed_ntile_98th.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_rxspeed_ntile_98th(&mut self) {
|
||||
self.rxspeed_ntile_98th = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_rxspeed_ntile_98th(&self) -> bool {
|
||||
self.rxspeed_ntile_98th.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_rxspeed_ntile_98th(&mut self, v: u32) {
|
||||
self.rxspeed_ntile_98th = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramLinkLifetimeStats {
|
||||
|
|
@ -2695,90 +2107,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramLinkLifet
|
|||
528 => {
|
||||
self.jitter_histogram_20 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
536 => {
|
||||
self.txspeed_max = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
544 => {
|
||||
self.txspeed_histogram_16 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
552 => {
|
||||
self.txspeed_histogram_32 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
560 => {
|
||||
self.txspeed_histogram_64 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
568 => {
|
||||
self.txspeed_histogram_128 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
576 => {
|
||||
self.txspeed_histogram_256 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
584 => {
|
||||
self.txspeed_histogram_512 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
592 => {
|
||||
self.txspeed_histogram_1024 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
600 => {
|
||||
self.txspeed_histogram_max = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
608 => {
|
||||
self.txspeed_ntile_5th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
616 => {
|
||||
self.txspeed_ntile_50th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
624 => {
|
||||
self.txspeed_ntile_75th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
632 => {
|
||||
self.txspeed_ntile_95th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
640 => {
|
||||
self.txspeed_ntile_98th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
648 => {
|
||||
self.rxspeed_max = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
656 => {
|
||||
self.rxspeed_histogram_16 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
664 => {
|
||||
self.rxspeed_histogram_32 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
672 => {
|
||||
self.rxspeed_histogram_64 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
680 => {
|
||||
self.rxspeed_histogram_128 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
688 => {
|
||||
self.rxspeed_histogram_256 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
696 => {
|
||||
self.rxspeed_histogram_512 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
704 => {
|
||||
self.rxspeed_histogram_1024 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
712 => {
|
||||
self.rxspeed_histogram_max = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
720 => {
|
||||
self.rxspeed_ntile_5th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
728 => {
|
||||
self.rxspeed_ntile_50th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
736 => {
|
||||
self.rxspeed_ntile_75th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
744 => {
|
||||
self.rxspeed_ntile_95th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
752 => {
|
||||
self.rxspeed_ntile_98th = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2932,90 +2260,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramLinkLifet
|
|||
if let Some(v) = self.jitter_histogram_20 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(66, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_max {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(67, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_16 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(68, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_32 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(69, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_64 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(70, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_128 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(71, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_256 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(72, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_512 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(73, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_1024 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(74, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_max {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(75, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_5th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(76, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_50th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(77, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_75th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(78, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_95th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(79, v);
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_98th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(80, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_max {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(81, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_16 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(82, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_32 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(83, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_64 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(84, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_128 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(85, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_256 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(86, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_512 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(87, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_1024 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(88, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_max {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(89, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_5th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(90, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_50th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(91, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_75th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(92, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_95th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(93, v);
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_98th {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(94, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -3163,90 +2407,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramLinkLifet
|
|||
if let Some(v) = self.jitter_histogram_20 {
|
||||
os.write_uint32(66, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_max {
|
||||
os.write_uint32(67, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_16 {
|
||||
os.write_uint32(68, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_32 {
|
||||
os.write_uint32(69, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_64 {
|
||||
os.write_uint32(70, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_128 {
|
||||
os.write_uint32(71, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_256 {
|
||||
os.write_uint32(72, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_512 {
|
||||
os.write_uint32(73, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_1024 {
|
||||
os.write_uint32(74, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_histogram_max {
|
||||
os.write_uint32(75, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_5th {
|
||||
os.write_uint32(76, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_50th {
|
||||
os.write_uint32(77, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_75th {
|
||||
os.write_uint32(78, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_95th {
|
||||
os.write_uint32(79, v)?;
|
||||
}
|
||||
if let Some(v) = self.txspeed_ntile_98th {
|
||||
os.write_uint32(80, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_max {
|
||||
os.write_uint32(81, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_16 {
|
||||
os.write_uint32(82, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_32 {
|
||||
os.write_uint32(83, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_64 {
|
||||
os.write_uint32(84, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_128 {
|
||||
os.write_uint32(85, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_256 {
|
||||
os.write_uint32(86, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_512 {
|
||||
os.write_uint32(87, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_1024 {
|
||||
os.write_uint32(88, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_histogram_max {
|
||||
os.write_uint32(89, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_5th {
|
||||
os.write_uint32(90, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_50th {
|
||||
os.write_uint32(91, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_75th {
|
||||
os.write_uint32(92, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_95th {
|
||||
os.write_uint32(93, v)?;
|
||||
}
|
||||
if let Some(v) = self.rxspeed_ntile_98th {
|
||||
os.write_uint32(94, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -3311,34 +2471,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramLinkLifet
|
|||
self.jitter_histogram_5 = ::std::option::Option::None;
|
||||
self.jitter_histogram_10 = ::std::option::Option::None;
|
||||
self.jitter_histogram_20 = ::std::option::Option::None;
|
||||
self.txspeed_max = ::std::option::Option::None;
|
||||
self.txspeed_histogram_16 = ::std::option::Option::None;
|
||||
self.txspeed_histogram_32 = ::std::option::Option::None;
|
||||
self.txspeed_histogram_64 = ::std::option::Option::None;
|
||||
self.txspeed_histogram_128 = ::std::option::Option::None;
|
||||
self.txspeed_histogram_256 = ::std::option::Option::None;
|
||||
self.txspeed_histogram_512 = ::std::option::Option::None;
|
||||
self.txspeed_histogram_1024 = ::std::option::Option::None;
|
||||
self.txspeed_histogram_max = ::std::option::Option::None;
|
||||
self.txspeed_ntile_5th = ::std::option::Option::None;
|
||||
self.txspeed_ntile_50th = ::std::option::Option::None;
|
||||
self.txspeed_ntile_75th = ::std::option::Option::None;
|
||||
self.txspeed_ntile_95th = ::std::option::Option::None;
|
||||
self.txspeed_ntile_98th = ::std::option::Option::None;
|
||||
self.rxspeed_max = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_16 = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_32 = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_64 = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_128 = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_256 = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_512 = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_1024 = ::std::option::Option::None;
|
||||
self.rxspeed_histogram_max = ::std::option::Option::None;
|
||||
self.rxspeed_ntile_5th = ::std::option::Option::None;
|
||||
self.rxspeed_ntile_50th = ::std::option::Option::None;
|
||||
self.rxspeed_ntile_75th = ::std::option::Option::None;
|
||||
self.rxspeed_ntile_95th = ::std::option::Option::None;
|
||||
self.rxspeed_ntile_98th = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -3391,34 +2523,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramLinkLifet
|
|||
jitter_histogram_5: ::std::option::Option::None,
|
||||
jitter_histogram_10: ::std::option::Option::None,
|
||||
jitter_histogram_20: ::std::option::Option::None,
|
||||
txspeed_max: ::std::option::Option::None,
|
||||
txspeed_histogram_16: ::std::option::Option::None,
|
||||
txspeed_histogram_32: ::std::option::Option::None,
|
||||
txspeed_histogram_64: ::std::option::Option::None,
|
||||
txspeed_histogram_128: ::std::option::Option::None,
|
||||
txspeed_histogram_256: ::std::option::Option::None,
|
||||
txspeed_histogram_512: ::std::option::Option::None,
|
||||
txspeed_histogram_1024: ::std::option::Option::None,
|
||||
txspeed_histogram_max: ::std::option::Option::None,
|
||||
txspeed_ntile_5th: ::std::option::Option::None,
|
||||
txspeed_ntile_50th: ::std::option::Option::None,
|
||||
txspeed_ntile_75th: ::std::option::Option::None,
|
||||
txspeed_ntile_95th: ::std::option::Option::None,
|
||||
txspeed_ntile_98th: ::std::option::Option::None,
|
||||
rxspeed_max: ::std::option::Option::None,
|
||||
rxspeed_histogram_16: ::std::option::Option::None,
|
||||
rxspeed_histogram_32: ::std::option::Option::None,
|
||||
rxspeed_histogram_64: ::std::option::Option::None,
|
||||
rxspeed_histogram_128: ::std::option::Option::None,
|
||||
rxspeed_histogram_256: ::std::option::Option::None,
|
||||
rxspeed_histogram_512: ::std::option::Option::None,
|
||||
rxspeed_histogram_1024: ::std::option::Option::None,
|
||||
rxspeed_histogram_max: ::std::option::Option::None,
|
||||
rxspeed_ntile_5th: ::std::option::Option::None,
|
||||
rxspeed_ntile_50th: ::std::option::Option::None,
|
||||
rxspeed_ntile_75th: ::std::option::Option::None,
|
||||
rxspeed_ntile_95th: ::std::option::Option::None,
|
||||
rxspeed_ntile_98th: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
|
|
@ -31,8 +31,6 @@ pub struct CMsgSteamNetworkingIdentityLegacyBinary {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgSteamNetworkingIdentityLegacyBinary.steam_id)
|
||||
pub steam_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamNetworkingIdentityLegacyBinary.xbox_pairwise_id)
|
||||
pub xbox_pairwise_id: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes)
|
||||
pub generic_bytes: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamNetworkingIdentityLegacyBinary.generic_string)
|
||||
|
|
@ -74,42 +72,6 @@ impl CMsgSteamNetworkingIdentityLegacyBinary {
|
|||
self.steam_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string xbox_pairwise_id = 17;
|
||||
|
||||
pub fn xbox_pairwise_id(&self) -> &str {
|
||||
match self.xbox_pairwise_id.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_xbox_pairwise_id(&mut self) {
|
||||
self.xbox_pairwise_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_xbox_pairwise_id(&self) -> bool {
|
||||
self.xbox_pairwise_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_xbox_pairwise_id(&mut self, v: ::std::string::String) {
|
||||
self.xbox_pairwise_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_xbox_pairwise_id(&mut self) -> &mut ::std::string::String {
|
||||
if self.xbox_pairwise_id.is_none() {
|
||||
self.xbox_pairwise_id = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.xbox_pairwise_id.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_xbox_pairwise_id(&mut self) -> ::std::string::String {
|
||||
self.xbox_pairwise_id.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bytes generic_bytes = 2;
|
||||
|
||||
pub fn generic_bytes(&self) -> &[u8] {
|
||||
|
|
@ -232,9 +194,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamNetworkingIdentit
|
|||
129 => {
|
||||
self.steam_id = ::std::option::Option::Some(is.read_fixed64()?);
|
||||
},
|
||||
138 => {
|
||||
self.xbox_pairwise_id = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.generic_bytes = ::std::option::Option::Some(is.read_bytes()?);
|
||||
},
|
||||
|
|
@ -259,9 +218,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamNetworkingIdentit
|
|||
if let Some(v) = self.steam_id {
|
||||
my_size += 2 + 8;
|
||||
}
|
||||
if let Some(v) = self.xbox_pairwise_id.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(17, &v);
|
||||
}
|
||||
if let Some(v) = self.generic_bytes.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
|
||||
}
|
||||
|
|
@ -280,9 +236,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamNetworkingIdentit
|
|||
if let Some(v) = self.steam_id {
|
||||
os.write_fixed64(16, v)?;
|
||||
}
|
||||
if let Some(v) = self.xbox_pairwise_id.as_ref() {
|
||||
os.write_string(17, v)?;
|
||||
}
|
||||
if let Some(v) = self.generic_bytes.as_ref() {
|
||||
os.write_bytes(2, v)?;
|
||||
}
|
||||
|
|
@ -310,7 +263,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamNetworkingIdentit
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.steam_id = ::std::option::Option::None;
|
||||
self.xbox_pairwise_id = ::std::option::Option::None;
|
||||
self.generic_bytes = ::std::option::Option::None;
|
||||
self.generic_string = ::std::option::Option::None;
|
||||
self.ipv6_and_port = ::std::option::Option::None;
|
||||
|
|
@ -320,7 +272,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamNetworkingIdentit
|
|||
fn default_instance() -> &'static CMsgSteamNetworkingIdentityLegacyBinary {
|
||||
static instance: CMsgSteamNetworkingIdentityLegacyBinary = CMsgSteamNetworkingIdentityLegacyBinary {
|
||||
steam_id: ::std::option::Option::None,
|
||||
xbox_pairwise_id: ::std::option::Option::None,
|
||||
generic_bytes: ::std::option::Option::None,
|
||||
generic_string: ::std::option::Option::None,
|
||||
ipv6_and_port: ::std::option::Option::None,
|
||||
|
|
|
|||
|
|
@ -1291,6 +1291,8 @@ pub struct CMsgBluetoothManagerDeviceDetails {
|
|||
pub battery_percent: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgBluetoothManagerDeviceDetails.operation_in_progress)
|
||||
pub operation_in_progress: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgBluetoothManagerDeviceDetails.is_trusted)
|
||||
pub is_trusted: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgBluetoothManagerDeviceDetails.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1571,6 +1573,25 @@ impl CMsgBluetoothManagerDeviceDetails {
|
|||
pub fn set_operation_in_progress(&mut self, v: bool) {
|
||||
self.operation_in_progress = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_trusted = 13;
|
||||
|
||||
pub fn is_trusted(&self) -> bool {
|
||||
self.is_trusted.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_trusted(&mut self) {
|
||||
self.is_trusted = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_trusted(&self) -> bool {
|
||||
self.is_trusted.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_trusted(&mut self, v: bool) {
|
||||
self.is_trusted = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgBluetoothManagerDeviceDetails {
|
||||
|
|
@ -1619,6 +1640,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgBluetoothManagerDevice
|
|||
96 => {
|
||||
self.operation_in_progress = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
104 => {
|
||||
self.is_trusted = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -1667,6 +1691,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgBluetoothManagerDevice
|
|||
if let Some(v) = self.operation_in_progress {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_trusted {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -1709,6 +1736,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgBluetoothManagerDevice
|
|||
if let Some(v) = self.operation_in_progress {
|
||||
os.write_bool(12, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_trusted {
|
||||
os.write_bool(13, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1738,6 +1768,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgBluetoothManagerDevice
|
|||
self.wake_allowed_supported = ::std::option::Option::None;
|
||||
self.battery_percent = ::std::option::Option::None;
|
||||
self.operation_in_progress = ::std::option::Option::None;
|
||||
self.is_trusted = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1755,6 +1786,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgBluetoothManagerDevice
|
|||
wake_allowed_supported: ::std::option::Option::None,
|
||||
battery_percent: ::std::option::Option::None,
|
||||
operation_in_progress: ::std::option::Option::None,
|
||||
is_trusted: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -3255,6 +3287,223 @@ impl ::steam_vent_proto_common::protobuf::Message for CBluetoothManager_SetWakeA
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CBluetoothManager_SetTrusted_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CBluetoothManager_SetTrusted_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CBluetoothManager_SetTrusted_Request.device)
|
||||
pub device: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CBluetoothManager_SetTrusted_Request.trusted)
|
||||
pub trusted: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CBluetoothManager_SetTrusted_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CBluetoothManager_SetTrusted_Request {
|
||||
fn default() -> &'a CBluetoothManager_SetTrusted_Request {
|
||||
<CBluetoothManager_SetTrusted_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CBluetoothManager_SetTrusted_Request {
|
||||
pub fn new() -> CBluetoothManager_SetTrusted_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 device = 1;
|
||||
|
||||
pub fn device(&self) -> u32 {
|
||||
self.device.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_device(&mut self) {
|
||||
self.device = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_device(&self) -> bool {
|
||||
self.device.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_device(&mut self, v: u32) {
|
||||
self.device = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool trusted = 2;
|
||||
|
||||
pub fn trusted(&self) -> bool {
|
||||
self.trusted.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_trusted(&mut self) {
|
||||
self.trusted = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_trusted(&self) -> bool {
|
||||
self.trusted.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_trusted(&mut self, v: bool) {
|
||||
self.trusted = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CBluetoothManager_SetTrusted_Request {
|
||||
const NAME: &'static str = "CBluetoothManager_SetTrusted_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.device = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.trusted = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.device {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.trusted {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.device {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.trusted {
|
||||
os.write_bool(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CBluetoothManager_SetTrusted_Request {
|
||||
CBluetoothManager_SetTrusted_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.device = ::std::option::Option::None;
|
||||
self.trusted = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CBluetoothManager_SetTrusted_Request {
|
||||
static instance: CBluetoothManager_SetTrusted_Request = CBluetoothManager_SetTrusted_Request {
|
||||
device: ::std::option::Option::None,
|
||||
trusted: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CBluetoothManager_SetTrusted_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CBluetoothManager_SetTrusted_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CBluetoothManager_SetTrusted_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CBluetoothManager_SetTrusted_Response {
|
||||
fn default() -> &'a CBluetoothManager_SetTrusted_Response {
|
||||
<CBluetoothManager_SetTrusted_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CBluetoothManager_SetTrusted_Response {
|
||||
pub fn new() -> CBluetoothManager_SetTrusted_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CBluetoothManager_SetTrusted_Response {
|
||||
const NAME: &'static str = "CBluetoothManager_SetTrusted_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CBluetoothManager_SetTrusted_Response {
|
||||
CBluetoothManager_SetTrusted_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CBluetoothManager_SetTrusted_Response {
|
||||
static instance: CBluetoothManager_SetTrusted_Response = CBluetoothManager_SetTrusted_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -3596,6 +3845,32 @@ for CBluetoothManager_SetWakeAllowed_Response {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CBluetoothManager_SetTrusted_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CBluetoothManager_SetTrusted_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
///
|
||||
struct BluetoothManager {}
|
||||
impl ::steam_vent_proto_common::RpcService for BluetoothManager {
|
||||
|
|
@ -3639,6 +3914,10 @@ impl ::steam_vent_proto_common::RpcMethod for CBluetoothManager_SetDiscovering_R
|
|||
const METHOD_NAME: &'static str = "BluetoothManager.SetDiscovering#1";
|
||||
type Response = CBluetoothManager_SetDiscovering_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CBluetoothManager_SetTrusted_Request {
|
||||
const METHOD_NAME: &'static str = "BluetoothManager.SetTrusted#1";
|
||||
type Response = CBluetoothManager_SetTrusted_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CBluetoothManager_SetWakeAllowed_Request {
|
||||
const METHOD_NAME: &'static str = "BluetoothManager.SetWakeAllowed#1";
|
||||
type Response = CBluetoothManager_SetWakeAllowed_Response;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -37,8 +37,6 @@ pub struct CGameRecordingFile {
|
|||
pub temporary_clips: ::std::vec::Vec<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingFile.tags)
|
||||
pub tags: ::std::vec::Vec<CGameRecordingTag>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingFile.phases)
|
||||
pub phases: ::std::vec::Vec<CGameRecordingPhase>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGameRecordingFile.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -78,9 +76,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingFile {
|
|||
34 => {
|
||||
self.tags.push(is.read_message()?);
|
||||
},
|
||||
42 => {
|
||||
self.phases.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -108,10 +103,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingFile {
|
|||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
for value in &self.phases {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -130,9 +121,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingFile {
|
|||
for v in &self.tags {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
|
||||
};
|
||||
for v in &self.phases {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(5, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -154,7 +142,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingFile {
|
|||
self.postgame_events.clear();
|
||||
self.temporary_clips.clear();
|
||||
self.tags.clear();
|
||||
self.phases.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -164,7 +151,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingFile {
|
|||
postgame_events: ::std::vec::Vec::new(),
|
||||
temporary_clips: ::std::vec::Vec::new(),
|
||||
tags: ::std::vec::Vec::new(),
|
||||
phases: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -724,6 +710,8 @@ pub struct CGameRecordingTimelineMetadata {
|
|||
pub recordings: ::std::vec::Vec<cgame_recording_timeline_metadata::Recording>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingTimelineMetadata.phases)
|
||||
pub phases: ::std::vec::Vec<CGameRecordingPhase>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingTimelineMetadata.significant_events)
|
||||
pub significant_events: ::std::vec::Vec<CGameRecordingTimelineEvent>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGameRecordingTimelineMetadata.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -862,6 +850,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingTimelineMeta
|
|||
50 => {
|
||||
self.phases.push(is.read_message()?);
|
||||
},
|
||||
58 => {
|
||||
self.significant_events.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -894,6 +885,10 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingTimelineMeta
|
|||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
for value in &self.significant_events {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -918,6 +913,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingTimelineMeta
|
|||
for v in &self.phases {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(6, v, os)?;
|
||||
};
|
||||
for v in &self.significant_events {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(7, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -941,6 +939,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingTimelineMeta
|
|||
self.duration_ms = ::std::option::Option::None;
|
||||
self.recordings.clear();
|
||||
self.phases.clear();
|
||||
self.significant_events.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -952,6 +951,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingTimelineMeta
|
|||
duration_ms: ::std::option::Option::None,
|
||||
recordings: ::std::vec::Vec::new(),
|
||||
phases: ::std::vec::Vec::new(),
|
||||
significant_events: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -2539,12 +2539,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingTagInstance
|
|||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CGameRecordingPhase {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CGameRecordingPhase.title)
|
||||
pub title: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingPhase.desc)
|
||||
pub desc: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingPhase.icon)
|
||||
pub icon: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingPhase.phase_id)
|
||||
pub phase_id: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingPhase.duration_ms)
|
||||
|
|
@ -2555,6 +2549,8 @@ pub struct CGameRecordingPhase {
|
|||
pub contained_tags: ::std::vec::Vec<cgame_recording_phase::Tag>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingPhase.background_timeline_offset)
|
||||
pub background_timeline_offset: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CGameRecordingPhase.attributes)
|
||||
pub attributes: ::std::vec::Vec<CPhaseAttribute>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGameRecordingPhase.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -2571,114 +2567,6 @@ impl CGameRecordingPhase {
|
|||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string title = 1;
|
||||
|
||||
pub fn title(&self) -> &str {
|
||||
match self.title.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_title(&mut self) {
|
||||
self.title = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_title(&self) -> bool {
|
||||
self.title.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_title(&mut self, v: ::std::string::String) {
|
||||
self.title = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_title(&mut self) -> &mut ::std::string::String {
|
||||
if self.title.is_none() {
|
||||
self.title = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.title.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_title(&mut self) -> ::std::string::String {
|
||||
self.title.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string desc = 2;
|
||||
|
||||
pub fn desc(&self) -> &str {
|
||||
match self.desc.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_desc(&mut self) {
|
||||
self.desc = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_desc(&self) -> bool {
|
||||
self.desc.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_desc(&mut self, v: ::std::string::String) {
|
||||
self.desc = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_desc(&mut self) -> &mut ::std::string::String {
|
||||
if self.desc.is_none() {
|
||||
self.desc = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.desc.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_desc(&mut self) -> ::std::string::String {
|
||||
self.desc.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string icon = 3;
|
||||
|
||||
pub fn icon(&self) -> &str {
|
||||
match self.icon.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_icon(&mut self) {
|
||||
self.icon = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_icon(&self) -> bool {
|
||||
self.icon.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_icon(&mut self, v: ::std::string::String) {
|
||||
self.icon = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_icon(&mut self) -> &mut ::std::string::String {
|
||||
if self.icon.is_none() {
|
||||
self.icon = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.icon.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_icon(&mut self) -> ::std::string::String {
|
||||
self.icon.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string phase_id = 4;
|
||||
|
||||
pub fn phase_id(&self) -> &str {
|
||||
|
|
@ -2764,15 +2652,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingPhase {
|
|||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.title = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.desc = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
26 => {
|
||||
self.icon = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
34 => {
|
||||
self.phase_id = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
|
|
@ -2788,6 +2667,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingPhase {
|
|||
64 => {
|
||||
self.background_timeline_offset = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
74 => {
|
||||
self.attributes.push(is.read_message()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2800,15 +2682,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingPhase {
|
|||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.title.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.desc.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.icon.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
|
||||
}
|
||||
if let Some(v) = self.phase_id.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
|
||||
}
|
||||
|
|
@ -2826,21 +2699,16 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingPhase {
|
|||
if let Some(v) = self.background_timeline_offset {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
|
||||
}
|
||||
for value in &self.attributes {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.title.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.desc.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.icon.as_ref() {
|
||||
os.write_string(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.phase_id.as_ref() {
|
||||
os.write_string(4, v)?;
|
||||
}
|
||||
|
|
@ -2856,6 +2724,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingPhase {
|
|||
if let Some(v) = self.background_timeline_offset {
|
||||
os.write_uint64(8, v)?;
|
||||
}
|
||||
for v in &self.attributes {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(9, v, os)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2873,27 +2744,23 @@ impl ::steam_vent_proto_common::protobuf::Message for CGameRecordingPhase {
|
|||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.title = ::std::option::Option::None;
|
||||
self.desc = ::std::option::Option::None;
|
||||
self.icon = ::std::option::Option::None;
|
||||
self.phase_id = ::std::option::Option::None;
|
||||
self.duration_ms = ::std::option::Option::None;
|
||||
self.tags.clear();
|
||||
self.contained_tags.clear();
|
||||
self.background_timeline_offset = ::std::option::Option::None;
|
||||
self.attributes.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CGameRecordingPhase {
|
||||
static instance: CGameRecordingPhase = CGameRecordingPhase {
|
||||
title: ::std::option::Option::None,
|
||||
desc: ::std::option::Option::None,
|
||||
icon: ::std::option::Option::None,
|
||||
phase_id: ::std::option::Option::None,
|
||||
duration_ms: ::std::option::Option::None,
|
||||
tags: ::std::vec::Vec::new(),
|
||||
contained_tags: ::std::vec::Vec::new(),
|
||||
background_timeline_offset: ::std::option::Option::None,
|
||||
attributes: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -3334,6 +3201,213 @@ impl ::steam_vent_proto_common::protobuf::Message for CTimelineTag {
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CPhaseAttribute)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CPhaseAttribute {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CPhaseAttribute.group)
|
||||
pub group: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CPhaseAttribute.value)
|
||||
pub value: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CPhaseAttribute.priority)
|
||||
pub priority: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CPhaseAttribute.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CPhaseAttribute {
|
||||
fn default() -> &'a CPhaseAttribute {
|
||||
<CPhaseAttribute as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CPhaseAttribute {
|
||||
pub fn new() -> CPhaseAttribute {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string group = 1;
|
||||
|
||||
pub fn group(&self) -> &str {
|
||||
match self.group.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_group(&mut self) {
|
||||
self.group = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_group(&self) -> bool {
|
||||
self.group.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_group(&mut self, v: ::std::string::String) {
|
||||
self.group = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_group(&mut self) -> &mut ::std::string::String {
|
||||
if self.group.is_none() {
|
||||
self.group = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.group.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_group(&mut self) -> ::std::string::String {
|
||||
self.group.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string value = 2;
|
||||
|
||||
pub fn value(&self) -> &str {
|
||||
match self.value.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_value(&mut self) {
|
||||
self.value = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_value(&self) -> bool {
|
||||
self.value.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_value(&mut self, v: ::std::string::String) {
|
||||
self.value = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_value(&mut self) -> &mut ::std::string::String {
|
||||
if self.value.is_none() {
|
||||
self.value = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.value.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_value(&mut self) -> ::std::string::String {
|
||||
self.value.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional uint32 priority = 3;
|
||||
|
||||
pub fn priority(&self) -> u32 {
|
||||
self.priority.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_priority(&mut self) {
|
||||
self.priority = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_priority(&self) -> bool {
|
||||
self.priority.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_priority(&mut self, v: u32) {
|
||||
self.priority = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CPhaseAttribute {
|
||||
const NAME: &'static str = "CPhaseAttribute";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.group = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.value = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
24 => {
|
||||
self.priority = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.group.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.value.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.priority {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.group.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.value.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.priority {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CPhaseAttribute {
|
||||
CPhaseAttribute::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.group = ::std::option::Option::None;
|
||||
self.value = ::std::option::Option::None;
|
||||
self.priority = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CPhaseAttribute {
|
||||
static instance: CPhaseAttribute = CPhaseAttribute {
|
||||
group: ::std::option::Option::None,
|
||||
value: ::std::option::Option::None,
|
||||
priority: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -3460,3 +3534,16 @@ impl ::steam_vent_proto_common::RpcMessage for CTimelineTag {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CPhaseAttribute {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ pub struct CMsgDisplayInfo {
|
|||
pub is_hdr_capable: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgDisplayInfo.is_vrr_capable)
|
||||
pub is_vrr_capable: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgDisplayInfo.display_state)
|
||||
pub display_state: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EDisplayPowerState>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgDisplayInfo.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -225,6 +227,28 @@ impl CMsgDisplayInfo {
|
|||
pub fn set_is_vrr_capable(&mut self, v: bool) {
|
||||
self.is_vrr_capable = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional .EDisplayPowerState display_state = 9;
|
||||
|
||||
pub fn display_state(&self) -> EDisplayPowerState {
|
||||
match self.display_state {
|
||||
Some(e) => e.enum_value_or(EDisplayPowerState::k_EDisplayPowerState_Invalid),
|
||||
None => EDisplayPowerState::k_EDisplayPowerState_Invalid,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_display_state(&mut self) {
|
||||
self.display_state = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_display_state(&self) -> bool {
|
||||
self.display_state.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_display_state(&mut self, v: EDisplayPowerState) {
|
||||
self.display_state = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgDisplayInfo {
|
||||
|
|
@ -267,6 +291,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgDisplayInfo {
|
|||
64 => {
|
||||
self.is_vrr_capable = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
72 => {
|
||||
self.display_state = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -303,6 +330,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgDisplayInfo {
|
|||
if let Some(v) = self.is_vrr_capable {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.display_state {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(9, v.value());
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -333,6 +363,9 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgDisplayInfo {
|
|||
if let Some(v) = self.is_vrr_capable {
|
||||
os.write_bool(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.display_state {
|
||||
os.write_enum(9, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -358,6 +391,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgDisplayInfo {
|
|||
self.is_external = ::std::option::Option::None;
|
||||
self.is_hdr_capable = ::std::option::Option::None;
|
||||
self.is_vrr_capable = ::std::option::Option::None;
|
||||
self.display_state = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -371,6 +405,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgDisplayInfo {
|
|||
is_external: ::std::option::Option::None,
|
||||
is_hdr_capable: ::std::option::Option::None,
|
||||
is_vrr_capable: ::std::option::Option::None,
|
||||
display_state: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -401,6 +436,14 @@ pub struct CMsgGamescopeState {
|
|||
pub is_hdr_visualization_supported: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgGamescopeState.is_mura_correction_supported)
|
||||
pub is_mura_correction_supported: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgGamescopeState.is_global_action_binding_supported)
|
||||
pub is_global_action_binding_supported: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgGamescopeState.is_look_supported)
|
||||
pub is_look_supported: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgGamescopeState.look_names)
|
||||
pub look_names: ::std::vec::Vec<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgGamescopeState.is_display_state_management_supported)
|
||||
pub is_display_state_management_supported: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgGamescopeState.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -587,6 +630,63 @@ impl CMsgGamescopeState {
|
|||
pub fn set_is_mura_correction_supported(&mut self, v: bool) {
|
||||
self.is_mura_correction_supported = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_global_action_binding_supported = 11;
|
||||
|
||||
pub fn is_global_action_binding_supported(&self) -> bool {
|
||||
self.is_global_action_binding_supported.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_global_action_binding_supported(&mut self) {
|
||||
self.is_global_action_binding_supported = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_global_action_binding_supported(&self) -> bool {
|
||||
self.is_global_action_binding_supported.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_global_action_binding_supported(&mut self, v: bool) {
|
||||
self.is_global_action_binding_supported = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_look_supported = 12;
|
||||
|
||||
pub fn is_look_supported(&self) -> bool {
|
||||
self.is_look_supported.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_look_supported(&mut self) {
|
||||
self.is_look_supported = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_look_supported(&self) -> bool {
|
||||
self.is_look_supported.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_look_supported(&mut self, v: bool) {
|
||||
self.is_look_supported = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_display_state_management_supported = 14;
|
||||
|
||||
pub fn is_display_state_management_supported(&self) -> bool {
|
||||
self.is_display_state_management_supported.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_display_state_management_supported(&mut self) {
|
||||
self.is_display_state_management_supported = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_display_state_management_supported(&self) -> bool {
|
||||
self.is_display_state_management_supported.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_display_state_management_supported(&mut self, v: bool) {
|
||||
self.is_display_state_management_supported = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgGamescopeState {
|
||||
|
|
@ -629,6 +729,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGamescopeState {
|
|||
80 => {
|
||||
self.is_mura_correction_supported = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
88 => {
|
||||
self.is_global_action_binding_supported = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
96 => {
|
||||
self.is_look_supported = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
106 => {
|
||||
self.look_names.push(is.read_string()?);
|
||||
},
|
||||
112 => {
|
||||
self.is_display_state_management_supported = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -672,6 +784,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGamescopeState {
|
|||
if let Some(v) = self.is_mura_correction_supported {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_global_action_binding_supported {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_look_supported {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
for value in &self.look_names {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(13, &value);
|
||||
};
|
||||
if let Some(v) = self.is_display_state_management_supported {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -708,6 +832,18 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGamescopeState {
|
|||
if let Some(v) = self.is_mura_correction_supported {
|
||||
os.write_bool(10, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_global_action_binding_supported {
|
||||
os.write_bool(11, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_look_supported {
|
||||
os.write_bool(12, v)?;
|
||||
}
|
||||
for v in &self.look_names {
|
||||
os.write_string(13, &v)?;
|
||||
};
|
||||
if let Some(v) = self.is_display_state_management_supported {
|
||||
os.write_bool(14, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -735,6 +871,10 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGamescopeState {
|
|||
self.is_refresh_rate_switching_restricted = ::std::option::Option::None;
|
||||
self.is_hdr_visualization_supported = ::std::option::Option::None;
|
||||
self.is_mura_correction_supported = ::std::option::Option::None;
|
||||
self.is_global_action_binding_supported = ::std::option::Option::None;
|
||||
self.is_look_supported = ::std::option::Option::None;
|
||||
self.look_names.clear();
|
||||
self.is_display_state_management_supported = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -750,6 +890,10 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGamescopeState {
|
|||
is_refresh_rate_switching_restricted: ::std::option::Option::None,
|
||||
is_hdr_visualization_supported: ::std::option::Option::None,
|
||||
is_mura_correction_supported: ::std::option::Option::None,
|
||||
is_global_action_binding_supported: ::std::option::Option::None,
|
||||
is_look_supported: ::std::option::Option::None,
|
||||
look_names: ::std::vec::Vec::new(),
|
||||
is_display_state_management_supported: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -1251,6 +1395,396 @@ impl ::steam_vent_proto_common::protobuf::Message for CGamescope_SetBlurParams_R
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CGamescope_ReArmMuraCalibration_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CGamescope_ReArmMuraCalibration_Request {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGamescope_ReArmMuraCalibration_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CGamescope_ReArmMuraCalibration_Request {
|
||||
fn default() -> &'a CGamescope_ReArmMuraCalibration_Request {
|
||||
<CGamescope_ReArmMuraCalibration_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CGamescope_ReArmMuraCalibration_Request {
|
||||
pub fn new() -> CGamescope_ReArmMuraCalibration_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CGamescope_ReArmMuraCalibration_Request {
|
||||
const NAME: &'static str = "CGamescope_ReArmMuraCalibration_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CGamescope_ReArmMuraCalibration_Request {
|
||||
CGamescope_ReArmMuraCalibration_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CGamescope_ReArmMuraCalibration_Request {
|
||||
static instance: CGamescope_ReArmMuraCalibration_Request = CGamescope_ReArmMuraCalibration_Request {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CGamescope_ReArmMuraCalibration_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CGamescope_ReArmMuraCalibration_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGamescope_ReArmMuraCalibration_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CGamescope_ReArmMuraCalibration_Response {
|
||||
fn default() -> &'a CGamescope_ReArmMuraCalibration_Response {
|
||||
<CGamescope_ReArmMuraCalibration_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CGamescope_ReArmMuraCalibration_Response {
|
||||
pub fn new() -> CGamescope_ReArmMuraCalibration_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CGamescope_ReArmMuraCalibration_Response {
|
||||
const NAME: &'static str = "CGamescope_ReArmMuraCalibration_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CGamescope_ReArmMuraCalibration_Response {
|
||||
CGamescope_ReArmMuraCalibration_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CGamescope_ReArmMuraCalibration_Response {
|
||||
static instance: CGamescope_ReArmMuraCalibration_Response = CGamescope_ReArmMuraCalibration_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CGamescope_SetDisplayPowerState_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CGamescope_SetDisplayPowerState_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CGamescope_SetDisplayPowerState_Request.estate)
|
||||
pub estate: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EDisplayPowerState>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGamescope_SetDisplayPowerState_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CGamescope_SetDisplayPowerState_Request {
|
||||
fn default() -> &'a CGamescope_SetDisplayPowerState_Request {
|
||||
<CGamescope_SetDisplayPowerState_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CGamescope_SetDisplayPowerState_Request {
|
||||
pub fn new() -> CGamescope_SetDisplayPowerState_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional .EDisplayPowerState estate = 1;
|
||||
|
||||
pub fn estate(&self) -> EDisplayPowerState {
|
||||
match self.estate {
|
||||
Some(e) => e.enum_value_or(EDisplayPowerState::k_EDisplayPowerState_Invalid),
|
||||
None => EDisplayPowerState::k_EDisplayPowerState_Invalid,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_estate(&mut self) {
|
||||
self.estate = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_estate(&self) -> bool {
|
||||
self.estate.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_estate(&mut self, v: EDisplayPowerState) {
|
||||
self.estate = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CGamescope_SetDisplayPowerState_Request {
|
||||
const NAME: &'static str = "CGamescope_SetDisplayPowerState_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.estate = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.estate {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.estate {
|
||||
os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CGamescope_SetDisplayPowerState_Request {
|
||||
CGamescope_SetDisplayPowerState_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.estate = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CGamescope_SetDisplayPowerState_Request {
|
||||
static instance: CGamescope_SetDisplayPowerState_Request = CGamescope_SetDisplayPowerState_Request {
|
||||
estate: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CGamescope_SetDisplayPowerState_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CGamescope_SetDisplayPowerState_Response {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGamescope_SetDisplayPowerState_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CGamescope_SetDisplayPowerState_Response {
|
||||
fn default() -> &'a CGamescope_SetDisplayPowerState_Response {
|
||||
<CGamescope_SetDisplayPowerState_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CGamescope_SetDisplayPowerState_Response {
|
||||
pub fn new() -> CGamescope_SetDisplayPowerState_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CGamescope_SetDisplayPowerState_Response {
|
||||
const NAME: &'static str = "CGamescope_SetDisplayPowerState_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CGamescope_SetDisplayPowerState_Response {
|
||||
CGamescope_SetDisplayPowerState_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CGamescope_SetDisplayPowerState_Response {
|
||||
static instance: CGamescope_SetDisplayPowerState_Response = CGamescope_SetDisplayPowerState_Response {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EDisplayPowerState)
|
||||
pub enum EDisplayPowerState {
|
||||
// @@protoc_insertion_point(enum_value:EDisplayPowerState.k_EDisplayPowerState_Invalid)
|
||||
k_EDisplayPowerState_Invalid = 0,
|
||||
// @@protoc_insertion_point(enum_value:EDisplayPowerState.k_EDisplayPowerState_Off)
|
||||
k_EDisplayPowerState_Off = 1,
|
||||
// @@protoc_insertion_point(enum_value:EDisplayPowerState.k_EDisplayPowerState_On)
|
||||
k_EDisplayPowerState_On = 2,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EDisplayPowerState {
|
||||
const NAME: &'static str = "EDisplayPowerState";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EDisplayPowerState> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(EDisplayPowerState::k_EDisplayPowerState_Invalid),
|
||||
1 => ::std::option::Option::Some(EDisplayPowerState::k_EDisplayPowerState_Off),
|
||||
2 => ::std::option::Option::Some(EDisplayPowerState::k_EDisplayPowerState_On),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EDisplayPowerState> {
|
||||
match str {
|
||||
"k_EDisplayPowerState_Invalid" => ::std::option::Option::Some(EDisplayPowerState::k_EDisplayPowerState_Invalid),
|
||||
"k_EDisplayPowerState_Off" => ::std::option::Option::Some(EDisplayPowerState::k_EDisplayPowerState_Off),
|
||||
"k_EDisplayPowerState_On" => ::std::option::Option::Some(EDisplayPowerState::k_EDisplayPowerState_On),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EDisplayPowerState] = &[
|
||||
EDisplayPowerState::k_EDisplayPowerState_Invalid,
|
||||
EDisplayPowerState::k_EDisplayPowerState_Off,
|
||||
EDisplayPowerState::k_EDisplayPowerState_On,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for EDisplayPowerState {
|
||||
fn default() -> Self {
|
||||
EDisplayPowerState::k_EDisplayPowerState_Invalid
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -1351,6 +1885,58 @@ impl ::steam_vent_proto_common::RpcMessage for CGamescope_SetBlurParams_Response
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CGamescope_ReArmMuraCalibration_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CGamescope_ReArmMuraCalibration_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CGamescope_SetDisplayPowerState_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CGamescope_SetDisplayPowerState_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
///
|
||||
struct Gamescope {}
|
||||
impl ::steam_vent_proto_common::RpcService for Gamescope {
|
||||
|
|
@ -1360,10 +1946,18 @@ impl ::steam_vent_proto_common::RpcMethod for CGamescope_GetState_Request {
|
|||
const METHOD_NAME: &'static str = "Gamescope.GetState#1";
|
||||
type Response = CGamescope_GetState_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CGamescope_ReArmMuraCalibration_Request {
|
||||
const METHOD_NAME: &'static str = "Gamescope.ReArmMuraCalibration#1";
|
||||
type Response = CGamescope_ReArmMuraCalibration_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CGamescope_SetBlurParams_Request {
|
||||
const METHOD_NAME: &'static str = "Gamescope.SetBlurParams#1";
|
||||
type Response = CGamescope_SetBlurParams_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CGamescope_SetDisplayPowerState_Request {
|
||||
const METHOD_NAME: &'static str = "Gamescope.SetDisplayPowerState#1";
|
||||
type Response = CGamescope_SetDisplayPowerState_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CGamescope_StateChanged_Notification {
|
||||
const METHOD_NAME: &'static str = "Gamescope.NotifyStateChanged#1";
|
||||
type Response = WebUINoResponse;
|
||||
|
|
|
|||
1335
steam/src/generated/webuimessages_hardwareupdate.rs
Normal file
1335
steam/src/generated/webuimessages_hardwareupdate.rs
Normal file
File diff suppressed because it is too large
Load diff
2358
steam/src/generated/webuimessages_leds.rs
Normal file
2358
steam/src/generated/webuimessages_leds.rs
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
702
steam/src/generated/webuimessages_sleep.rs
Normal file
702
steam/src/generated/webuimessages_sleep.rs
Normal file
|
|
@ -0,0 +1,702 @@
|
|||
// This file is generated by rust-protobuf 3.5.1. Do not edit
|
||||
// .proto file is parsed by pure
|
||||
// @generated
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||
#![allow(unknown_lints)]
|
||||
#![allow(clippy::all)]
|
||||
|
||||
#![allow(unused_attributes)]
|
||||
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(trivial_casts)]
|
||||
#![allow(unused_results)]
|
||||
#![allow(unused_mut)]
|
||||
|
||||
//! Generated file from `webuimessages_sleep.proto`
|
||||
// Generated for lite runtime
|
||||
|
||||
/// Generated files are compatible only with the same version
|
||||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgSleepManagerState)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgSleepManagerState {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgSleepManagerState.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgSleepManagerState {
|
||||
fn default() -> &'a CMsgSleepManagerState {
|
||||
<CMsgSleepManagerState as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgSleepManagerState {
|
||||
pub fn new() -> CMsgSleepManagerState {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgSleepManagerState {
|
||||
const NAME: &'static str = "CMsgSleepManagerState";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgSleepManagerState {
|
||||
CMsgSleepManagerState::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgSleepManagerState {
|
||||
static instance: CMsgSleepManagerState = CMsgSleepManagerState {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSleepManager_GetState_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSleepManager_GetState_Request {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSleepManager_GetState_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSleepManager_GetState_Request {
|
||||
fn default() -> &'a CSleepManager_GetState_Request {
|
||||
<CSleepManager_GetState_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSleepManager_GetState_Request {
|
||||
pub fn new() -> CSleepManager_GetState_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSleepManager_GetState_Request {
|
||||
const NAME: &'static str = "CSleepManager_GetState_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSleepManager_GetState_Request {
|
||||
CSleepManager_GetState_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSleepManager_GetState_Request {
|
||||
static instance: CSleepManager_GetState_Request = CSleepManager_GetState_Request {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSleepManager_GetState_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSleepManager_GetState_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CSleepManager_GetState_Response.state)
|
||||
pub state: ::steam_vent_proto_common::protobuf::MessageField<CMsgSleepManagerState>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSleepManager_GetState_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSleepManager_GetState_Response {
|
||||
fn default() -> &'a CSleepManager_GetState_Response {
|
||||
<CSleepManager_GetState_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSleepManager_GetState_Response {
|
||||
pub fn new() -> CSleepManager_GetState_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSleepManager_GetState_Response {
|
||||
const NAME: &'static str = "CSleepManager_GetState_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.state)?;
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.state.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.state.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSleepManager_GetState_Response {
|
||||
CSleepManager_GetState_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.state.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSleepManager_GetState_Response {
|
||||
static instance: CSleepManager_GetState_Response = CSleepManager_GetState_Response {
|
||||
state: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSleepManager_StateChanged_Notification)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSleepManager_StateChanged_Notification {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSleepManager_StateChanged_Notification.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSleepManager_StateChanged_Notification {
|
||||
fn default() -> &'a CSleepManager_StateChanged_Notification {
|
||||
<CSleepManager_StateChanged_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSleepManager_StateChanged_Notification {
|
||||
pub fn new() -> CSleepManager_StateChanged_Notification {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSleepManager_StateChanged_Notification {
|
||||
const NAME: &'static str = "CSleepManager_StateChanged_Notification";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSleepManager_StateChanged_Notification {
|
||||
CSleepManager_StateChanged_Notification::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSleepManager_StateChanged_Notification {
|
||||
static instance: CSleepManager_StateChanged_Notification = CSleepManager_StateChanged_Notification {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSleepManager_RequestSuspend_Notification)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSleepManager_RequestSuspend_Notification {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSleepManager_RequestSuspend_Notification.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSleepManager_RequestSuspend_Notification {
|
||||
fn default() -> &'a CSleepManager_RequestSuspend_Notification {
|
||||
<CSleepManager_RequestSuspend_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSleepManager_RequestSuspend_Notification {
|
||||
pub fn new() -> CSleepManager_RequestSuspend_Notification {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSleepManager_RequestSuspend_Notification {
|
||||
const NAME: &'static str = "CSleepManager_RequestSuspend_Notification";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSleepManager_RequestSuspend_Notification {
|
||||
CSleepManager_RequestSuspend_Notification::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSleepManager_RequestSuspend_Notification {
|
||||
static instance: CSleepManager_RequestSuspend_Notification = CSleepManager_RequestSuspend_Notification {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSleepManager_ResumeFromSuspend_Notification)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSleepManager_ResumeFromSuspend_Notification {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSleepManager_ResumeFromSuspend_Notification.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSleepManager_ResumeFromSuspend_Notification {
|
||||
fn default() -> &'a CSleepManager_ResumeFromSuspend_Notification {
|
||||
<CSleepManager_ResumeFromSuspend_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSleepManager_ResumeFromSuspend_Notification {
|
||||
pub fn new() -> CSleepManager_ResumeFromSuspend_Notification {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSleepManager_ResumeFromSuspend_Notification {
|
||||
const NAME: &'static str = "CSleepManager_ResumeFromSuspend_Notification";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSleepManager_ResumeFromSuspend_Notification {
|
||||
CSleepManager_ResumeFromSuspend_Notification::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSleepManager_ResumeFromSuspend_Notification {
|
||||
static instance: CSleepManager_ResumeFromSuspend_Notification = CSleepManager_ResumeFromSuspend_Notification {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSleepManager_ShowPowerMenu_Notification)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSleepManager_ShowPowerMenu_Notification {
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSleepManager_ShowPowerMenu_Notification.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSleepManager_ShowPowerMenu_Notification {
|
||||
fn default() -> &'a CSleepManager_ShowPowerMenu_Notification {
|
||||
<CSleepManager_ShowPowerMenu_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSleepManager_ShowPowerMenu_Notification {
|
||||
pub fn new() -> CSleepManager_ShowPowerMenu_Notification {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSleepManager_ShowPowerMenu_Notification {
|
||||
const NAME: &'static str = "CSleepManager_ShowPowerMenu_Notification";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSleepManager_ShowPowerMenu_Notification {
|
||||
CSleepManager_ShowPowerMenu_Notification::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSleepManager_ShowPowerMenu_Notification {
|
||||
static instance: CSleepManager_ShowPowerMenu_Notification = CSleepManager_ShowPowerMenu_Notification {
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use crate::enums::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::steammessages_base::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::webuimessages_base::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgSleepManagerState {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CSleepManager_GetState_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CSleepManager_GetState_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CSleepManager_StateChanged_Notification {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CSleepManager_RequestSuspend_Notification {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CSleepManager_ResumeFromSuspend_Notification {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CSleepManager_ShowPowerMenu_Notification {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
///
|
||||
struct SleepManager {}
|
||||
impl ::steam_vent_proto_common::RpcService for SleepManager {
|
||||
const SERVICE_NAME: &'static str = "SleepManager";
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CSleepManager_GetState_Request {
|
||||
const METHOD_NAME: &'static str = "SleepManager.GetState#1";
|
||||
type Response = CSleepManager_GetState_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CSleepManager_RequestSuspend_Notification {
|
||||
const METHOD_NAME: &'static str = "SleepManager.NotifyRequestSuspend#1";
|
||||
type Response = WebUINoResponse;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CSleepManager_ResumeFromSuspend_Notification {
|
||||
const METHOD_NAME: &'static str = "SleepManager.NotifyResumeFromSuspend#1";
|
||||
type Response = WebUINoResponse;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CSleepManager_ShowPowerMenu_Notification {
|
||||
const METHOD_NAME: &'static str = "SleepManager.NotifyShowPowerMenu#1";
|
||||
type Response = WebUINoResponse;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod for CSleepManager_StateChanged_Notification {
|
||||
const METHOD_NAME: &'static str = "SleepManager.NotifyStateChanged#1";
|
||||
type Response = WebUINoResponse;
|
||||
}
|
||||
|
|
@ -912,6 +912,404 @@ impl ::steam_vent_proto_common::protobuf::Message for CSteamEngine_GetGameIDForP
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSteamEngine_SetOverlayEscapeKeyHandling_Notification)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CSteamEngine_SetOverlayEscapeKeyHandling_Notification.gameid)
|
||||
pub gameid: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CSteamEngine_SetOverlayEscapeKeyHandling_Notification.should_handle)
|
||||
pub should_handle: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSteamEngine_SetOverlayEscapeKeyHandling_Notification.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
fn default() -> &'a CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
<CSteamEngine_SetOverlayEscapeKeyHandling_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
pub fn new() -> CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// required uint64 gameid = 1;
|
||||
|
||||
pub fn gameid(&self) -> u64 {
|
||||
self.gameid.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_gameid(&mut self) {
|
||||
self.gameid = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_gameid(&self) -> bool {
|
||||
self.gameid.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_gameid(&mut self, v: u64) {
|
||||
self.gameid = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// required bool should_handle = 2;
|
||||
|
||||
pub fn should_handle(&self) -> bool {
|
||||
self.should_handle.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_should_handle(&mut self) {
|
||||
self.should_handle = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_should_handle(&self) -> bool {
|
||||
self.should_handle.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_should_handle(&mut self, v: bool) {
|
||||
self.should_handle = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
const NAME: &'static str = "CSteamEngine_SetOverlayEscapeKeyHandling_Notification";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
if self.gameid.is_none() {
|
||||
return false;
|
||||
}
|
||||
if self.should_handle.is_none() {
|
||||
return false;
|
||||
}
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.gameid = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
16 => {
|
||||
self.should_handle = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.gameid {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.should_handle {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.gameid {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.should_handle {
|
||||
os.write_bool(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
CSteamEngine_SetOverlayEscapeKeyHandling_Notification::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.gameid = ::std::option::Option::None;
|
||||
self.should_handle = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
static instance: CSteamEngine_SetOverlayEscapeKeyHandling_Notification = CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
gameid: ::std::option::Option::None,
|
||||
should_handle: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSteamEngine_SearchAppDataCacheByStoreKeywords_Request)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CSteamEngine_SearchAppDataCacheByStoreKeywords_Request.search_term)
|
||||
pub search_term: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CSteamEngine_SearchAppDataCacheByStoreKeywords_Request.max_results)
|
||||
pub max_results: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSteamEngine_SearchAppDataCacheByStoreKeywords_Request.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
fn default() -> &'a CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
<CSteamEngine_SearchAppDataCacheByStoreKeywords_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
pub fn new() -> CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string search_term = 1;
|
||||
|
||||
pub fn search_term(&self) -> &str {
|
||||
match self.search_term.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_search_term(&mut self) {
|
||||
self.search_term = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_search_term(&self) -> bool {
|
||||
self.search_term.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_search_term(&mut self, v: ::std::string::String) {
|
||||
self.search_term = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_search_term(&mut self) -> &mut ::std::string::String {
|
||||
if self.search_term.is_none() {
|
||||
self.search_term = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.search_term.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_search_term(&mut self) -> ::std::string::String {
|
||||
self.search_term.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional uint32 max_results = 2;
|
||||
|
||||
pub fn max_results(&self) -> u32 {
|
||||
self.max_results.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_max_results(&mut self) {
|
||||
self.max_results = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_max_results(&self) -> bool {
|
||||
self.max_results.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_max_results(&mut self, v: u32) {
|
||||
self.max_results = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
const NAME: &'static str = "CSteamEngine_SearchAppDataCacheByStoreKeywords_Request";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.search_term = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
16 => {
|
||||
self.max_results = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.search_term.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.max_results {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.search_term.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.max_results {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
CSteamEngine_SearchAppDataCacheByStoreKeywords_Request::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.search_term = ::std::option::Option::None;
|
||||
self.max_results = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
static instance: CSteamEngine_SearchAppDataCacheByStoreKeywords_Request = CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
search_term: ::std::option::Option::None,
|
||||
max_results: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSteamEngine_SearchAppDataCacheByStoreKeywords_Response)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CSteamEngine_SearchAppDataCacheByStoreKeywords_Response.appids)
|
||||
pub appids: ::std::vec::Vec<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSteamEngine_SearchAppDataCacheByStoreKeywords_Response.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
fn default() -> &'a CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
<CSteamEngine_SearchAppDataCacheByStoreKeywords_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
pub fn new() -> CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
const NAME: &'static str = "CSteamEngine_SearchAppDataCacheByStoreKeywords_Response";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
is.read_repeated_packed_uint32_into(&mut self.appids)?;
|
||||
},
|
||||
8 => {
|
||||
self.appids.push(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.appids {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, *value);
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.appids {
|
||||
os.write_uint32(1, *v)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
CSteamEngine_SearchAppDataCacheByStoreKeywords_Response::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.appids.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
static instance: CSteamEngine_SearchAppDataCacheByStoreKeywords_Response = CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
appids: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
@ -1001,6 +1399,48 @@ impl ::steam_vent_proto_common::RpcMessage for CSteamEngine_GetGameIDForPID_Resp
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CSteamEngine_SearchAppDataCacheByStoreKeywords_Response {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
///
|
||||
struct SteamEngine {}
|
||||
impl ::steam_vent_proto_common::RpcService for SteamEngine {
|
||||
|
|
@ -1016,6 +1456,16 @@ for CSteamEngine_GetTextFilterDictionary_Request {
|
|||
type Response = CSteamEngine_GetTextFilterDictionary_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CSteamEngine_SearchAppDataCacheByStoreKeywords_Request {
|
||||
const METHOD_NAME: &'static str = "SteamEngine.SearchAppDataCacheByStoreKeywords#1";
|
||||
type Response = CSteamEngine_SearchAppDataCacheByStoreKeywords_Response;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
|
||||
const METHOD_NAME: &'static str = "SteamEngine.SetOverlayEscapeKeyHandling#1";
|
||||
type Response = WebUINoResponse;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMethod
|
||||
for CSteamEngine_TextFilterDictionaryChanged_Notification {
|
||||
const METHOD_NAME: &'static str = "SteamEngine.NotifyTextFilterDictionaryChanged#1";
|
||||
type Response = WebUINoResponse;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -260,6 +260,34 @@ pub struct CSteamOSManagerState {
|
|||
pub is_wifi_debug_force_disabled: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.is_wifi_force_wpa_supplicant_supported)
|
||||
pub is_wifi_force_wpa_supplicant_supported: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.is_manual_gpu_clock_available)
|
||||
pub is_manual_gpu_clock_available: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.manual_gpu_clock_min)
|
||||
pub manual_gpu_clock_min: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.manual_gpu_clock_max)
|
||||
pub manual_gpu_clock_max: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.platform_performance_profiles_available)
|
||||
pub platform_performance_profiles_available: ::std::vec::Vec<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.platform_performance_profile_default)
|
||||
pub platform_performance_profile_default: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.is_charge_limit_available)
|
||||
pub is_charge_limit_available: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.charge_limit_min)
|
||||
pub charge_limit_min: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.charge_limit_max)
|
||||
pub charge_limit_max: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.charge_limit_default)
|
||||
pub charge_limit_default: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.is_screen_reader_supported)
|
||||
pub is_screen_reader_supported: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.screen_reader_locales_available)
|
||||
pub screen_reader_locales_available: ::std::vec::Vec<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.screen_reader_locale_default)
|
||||
pub screen_reader_locale_default: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.is_system_tracing_available)
|
||||
pub is_system_tracing_available: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSteamOSManagerState.is_vrs_available)
|
||||
pub is_vrs_available: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSteamOSManagerState.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -523,6 +551,268 @@ impl CSteamOSManagerState {
|
|||
pub fn set_is_wifi_force_wpa_supplicant_supported(&mut self, v: bool) {
|
||||
self.is_wifi_force_wpa_supplicant_supported = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_manual_gpu_clock_available = 14;
|
||||
|
||||
pub fn is_manual_gpu_clock_available(&self) -> bool {
|
||||
self.is_manual_gpu_clock_available.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_manual_gpu_clock_available(&mut self) {
|
||||
self.is_manual_gpu_clock_available = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_manual_gpu_clock_available(&self) -> bool {
|
||||
self.is_manual_gpu_clock_available.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_manual_gpu_clock_available(&mut self, v: bool) {
|
||||
self.is_manual_gpu_clock_available = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 manual_gpu_clock_min = 15;
|
||||
|
||||
pub fn manual_gpu_clock_min(&self) -> i32 {
|
||||
self.manual_gpu_clock_min.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_manual_gpu_clock_min(&mut self) {
|
||||
self.manual_gpu_clock_min = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_manual_gpu_clock_min(&self) -> bool {
|
||||
self.manual_gpu_clock_min.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_manual_gpu_clock_min(&mut self, v: i32) {
|
||||
self.manual_gpu_clock_min = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 manual_gpu_clock_max = 16;
|
||||
|
||||
pub fn manual_gpu_clock_max(&self) -> i32 {
|
||||
self.manual_gpu_clock_max.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_manual_gpu_clock_max(&mut self) {
|
||||
self.manual_gpu_clock_max = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_manual_gpu_clock_max(&self) -> bool {
|
||||
self.manual_gpu_clock_max.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_manual_gpu_clock_max(&mut self, v: i32) {
|
||||
self.manual_gpu_clock_max = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string platform_performance_profile_default = 18;
|
||||
|
||||
pub fn platform_performance_profile_default(&self) -> &str {
|
||||
match self.platform_performance_profile_default.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_platform_performance_profile_default(&mut self) {
|
||||
self.platform_performance_profile_default = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_platform_performance_profile_default(&self) -> bool {
|
||||
self.platform_performance_profile_default.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_platform_performance_profile_default(&mut self, v: ::std::string::String) {
|
||||
self.platform_performance_profile_default = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_platform_performance_profile_default(&mut self) -> &mut ::std::string::String {
|
||||
if self.platform_performance_profile_default.is_none() {
|
||||
self.platform_performance_profile_default = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.platform_performance_profile_default.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_platform_performance_profile_default(&mut self) -> ::std::string::String {
|
||||
self.platform_performance_profile_default.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool is_charge_limit_available = 20;
|
||||
|
||||
pub fn is_charge_limit_available(&self) -> bool {
|
||||
self.is_charge_limit_available.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_charge_limit_available(&mut self) {
|
||||
self.is_charge_limit_available = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_charge_limit_available(&self) -> bool {
|
||||
self.is_charge_limit_available.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_charge_limit_available(&mut self, v: bool) {
|
||||
self.is_charge_limit_available = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 charge_limit_min = 21;
|
||||
|
||||
pub fn charge_limit_min(&self) -> i32 {
|
||||
self.charge_limit_min.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_charge_limit_min(&mut self) {
|
||||
self.charge_limit_min = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_charge_limit_min(&self) -> bool {
|
||||
self.charge_limit_min.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_charge_limit_min(&mut self, v: i32) {
|
||||
self.charge_limit_min = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 charge_limit_max = 22;
|
||||
|
||||
pub fn charge_limit_max(&self) -> i32 {
|
||||
self.charge_limit_max.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_charge_limit_max(&mut self) {
|
||||
self.charge_limit_max = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_charge_limit_max(&self) -> bool {
|
||||
self.charge_limit_max.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_charge_limit_max(&mut self, v: i32) {
|
||||
self.charge_limit_max = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 charge_limit_default = 23;
|
||||
|
||||
pub fn charge_limit_default(&self) -> i32 {
|
||||
self.charge_limit_default.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_charge_limit_default(&mut self) {
|
||||
self.charge_limit_default = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_charge_limit_default(&self) -> bool {
|
||||
self.charge_limit_default.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_charge_limit_default(&mut self, v: i32) {
|
||||
self.charge_limit_default = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_screen_reader_supported = 24;
|
||||
|
||||
pub fn is_screen_reader_supported(&self) -> bool {
|
||||
self.is_screen_reader_supported.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_screen_reader_supported(&mut self) {
|
||||
self.is_screen_reader_supported = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_screen_reader_supported(&self) -> bool {
|
||||
self.is_screen_reader_supported.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_screen_reader_supported(&mut self, v: bool) {
|
||||
self.is_screen_reader_supported = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string screen_reader_locale_default = 26;
|
||||
|
||||
pub fn screen_reader_locale_default(&self) -> &str {
|
||||
match self.screen_reader_locale_default.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_screen_reader_locale_default(&mut self) {
|
||||
self.screen_reader_locale_default = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_screen_reader_locale_default(&self) -> bool {
|
||||
self.screen_reader_locale_default.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_screen_reader_locale_default(&mut self, v: ::std::string::String) {
|
||||
self.screen_reader_locale_default = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_screen_reader_locale_default(&mut self) -> &mut ::std::string::String {
|
||||
if self.screen_reader_locale_default.is_none() {
|
||||
self.screen_reader_locale_default = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.screen_reader_locale_default.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_screen_reader_locale_default(&mut self) -> ::std::string::String {
|
||||
self.screen_reader_locale_default.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional bool is_system_tracing_available = 27;
|
||||
|
||||
pub fn is_system_tracing_available(&self) -> bool {
|
||||
self.is_system_tracing_available.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_system_tracing_available(&mut self) {
|
||||
self.is_system_tracing_available = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_system_tracing_available(&self) -> bool {
|
||||
self.is_system_tracing_available.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_system_tracing_available(&mut self, v: bool) {
|
||||
self.is_system_tracing_available = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_vrs_available = 28;
|
||||
|
||||
pub fn is_vrs_available(&self) -> bool {
|
||||
self.is_vrs_available.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_vrs_available(&mut self) {
|
||||
self.is_vrs_available = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_vrs_available(&self) -> bool {
|
||||
self.is_vrs_available.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_vrs_available(&mut self, v: bool) {
|
||||
self.is_vrs_available = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSteamOSManagerState {
|
||||
|
|
@ -574,6 +864,48 @@ impl ::steam_vent_proto_common::protobuf::Message for CSteamOSManagerState {
|
|||
104 => {
|
||||
self.is_wifi_force_wpa_supplicant_supported = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
112 => {
|
||||
self.is_manual_gpu_clock_available = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
120 => {
|
||||
self.manual_gpu_clock_min = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
128 => {
|
||||
self.manual_gpu_clock_max = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
138 => {
|
||||
self.platform_performance_profiles_available.push(is.read_string()?);
|
||||
},
|
||||
146 => {
|
||||
self.platform_performance_profile_default = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
160 => {
|
||||
self.is_charge_limit_available = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
168 => {
|
||||
self.charge_limit_min = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
176 => {
|
||||
self.charge_limit_max = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
184 => {
|
||||
self.charge_limit_default = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
192 => {
|
||||
self.is_screen_reader_supported = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
202 => {
|
||||
self.screen_reader_locales_available.push(is.read_string()?);
|
||||
},
|
||||
210 => {
|
||||
self.screen_reader_locale_default = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
216 => {
|
||||
self.is_system_tracing_available = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
224 => {
|
||||
self.is_vrs_available = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -626,6 +958,48 @@ impl ::steam_vent_proto_common::protobuf::Message for CSteamOSManagerState {
|
|||
if let Some(v) = self.is_wifi_force_wpa_supplicant_supported {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_manual_gpu_clock_available {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.manual_gpu_clock_min {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(15, v);
|
||||
}
|
||||
if let Some(v) = self.manual_gpu_clock_max {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(16, v);
|
||||
}
|
||||
for value in &self.platform_performance_profiles_available {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(17, &value);
|
||||
};
|
||||
if let Some(v) = self.platform_performance_profile_default.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(18, &v);
|
||||
}
|
||||
if let Some(v) = self.is_charge_limit_available {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.charge_limit_min {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(21, v);
|
||||
}
|
||||
if let Some(v) = self.charge_limit_max {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(22, v);
|
||||
}
|
||||
if let Some(v) = self.charge_limit_default {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(23, v);
|
||||
}
|
||||
if let Some(v) = self.is_screen_reader_supported {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
for value in &self.screen_reader_locales_available {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(25, &value);
|
||||
};
|
||||
if let Some(v) = self.screen_reader_locale_default.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(26, &v);
|
||||
}
|
||||
if let Some(v) = self.is_system_tracing_available {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_vrs_available {
|
||||
my_size += 2 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -671,6 +1045,48 @@ impl ::steam_vent_proto_common::protobuf::Message for CSteamOSManagerState {
|
|||
if let Some(v) = self.is_wifi_force_wpa_supplicant_supported {
|
||||
os.write_bool(13, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_manual_gpu_clock_available {
|
||||
os.write_bool(14, v)?;
|
||||
}
|
||||
if let Some(v) = self.manual_gpu_clock_min {
|
||||
os.write_int32(15, v)?;
|
||||
}
|
||||
if let Some(v) = self.manual_gpu_clock_max {
|
||||
os.write_int32(16, v)?;
|
||||
}
|
||||
for v in &self.platform_performance_profiles_available {
|
||||
os.write_string(17, &v)?;
|
||||
};
|
||||
if let Some(v) = self.platform_performance_profile_default.as_ref() {
|
||||
os.write_string(18, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_charge_limit_available {
|
||||
os.write_bool(20, v)?;
|
||||
}
|
||||
if let Some(v) = self.charge_limit_min {
|
||||
os.write_int32(21, v)?;
|
||||
}
|
||||
if let Some(v) = self.charge_limit_max {
|
||||
os.write_int32(22, v)?;
|
||||
}
|
||||
if let Some(v) = self.charge_limit_default {
|
||||
os.write_int32(23, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_screen_reader_supported {
|
||||
os.write_bool(24, v)?;
|
||||
}
|
||||
for v in &self.screen_reader_locales_available {
|
||||
os.write_string(25, &v)?;
|
||||
};
|
||||
if let Some(v) = self.screen_reader_locale_default.as_ref() {
|
||||
os.write_string(26, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_system_tracing_available {
|
||||
os.write_bool(27, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_vrs_available {
|
||||
os.write_bool(28, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -701,6 +1117,20 @@ impl ::steam_vent_proto_common::protobuf::Message for CSteamOSManagerState {
|
|||
self.is_wifi_debug_supported = ::std::option::Option::None;
|
||||
self.is_wifi_debug_force_disabled = ::std::option::Option::None;
|
||||
self.is_wifi_force_wpa_supplicant_supported = ::std::option::Option::None;
|
||||
self.is_manual_gpu_clock_available = ::std::option::Option::None;
|
||||
self.manual_gpu_clock_min = ::std::option::Option::None;
|
||||
self.manual_gpu_clock_max = ::std::option::Option::None;
|
||||
self.platform_performance_profiles_available.clear();
|
||||
self.platform_performance_profile_default = ::std::option::Option::None;
|
||||
self.is_charge_limit_available = ::std::option::Option::None;
|
||||
self.charge_limit_min = ::std::option::Option::None;
|
||||
self.charge_limit_max = ::std::option::Option::None;
|
||||
self.charge_limit_default = ::std::option::Option::None;
|
||||
self.is_screen_reader_supported = ::std::option::Option::None;
|
||||
self.screen_reader_locales_available.clear();
|
||||
self.screen_reader_locale_default = ::std::option::Option::None;
|
||||
self.is_system_tracing_available = ::std::option::Option::None;
|
||||
self.is_vrs_available = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -719,6 +1149,20 @@ impl ::steam_vent_proto_common::protobuf::Message for CSteamOSManagerState {
|
|||
is_wifi_debug_supported: ::std::option::Option::None,
|
||||
is_wifi_debug_force_disabled: ::std::option::Option::None,
|
||||
is_wifi_force_wpa_supplicant_supported: ::std::option::Option::None,
|
||||
is_manual_gpu_clock_available: ::std::option::Option::None,
|
||||
manual_gpu_clock_min: ::std::option::Option::None,
|
||||
manual_gpu_clock_max: ::std::option::Option::None,
|
||||
platform_performance_profiles_available: ::std::vec::Vec::new(),
|
||||
platform_performance_profile_default: ::std::option::Option::None,
|
||||
is_charge_limit_available: ::std::option::Option::None,
|
||||
charge_limit_min: ::std::option::Option::None,
|
||||
charge_limit_max: ::std::option::Option::None,
|
||||
charge_limit_default: ::std::option::Option::None,
|
||||
is_screen_reader_supported: ::std::option::Option::None,
|
||||
screen_reader_locales_available: ::std::vec::Vec::new(),
|
||||
screen_reader_locale_default: ::std::option::Option::None,
|
||||
is_system_tracing_available: ::std::option::Option::None,
|
||||
is_vrs_available: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue