Update to latest proto definitions from SteamDatabase/Protobufs

From commit 085746bbf6b48d1b89b7a63e7876932793f4c08f
This commit is contained in:
TBK 2025-10-17 13:20:53 +02:00
commit 7a06decd61
No known key found for this signature in database
GPG key ID: 4F205025B48377EB
19 changed files with 189 additions and 44378 deletions

View file

@ -5,15 +5,7 @@ pub mod econ_gcmessages;
pub mod enums_clientserver;
pub mod gcsdk_gcmessages;
pub mod gcsystemmsgs;
pub mod steamdatagram_auth_messages;
pub mod steamdatagram_messages;
pub mod steamdatagram_messages_auth;
pub mod steamdatagram_messages_sdr;
pub mod steammessages;
pub mod steammessages_base;
pub mod steammessages_gamenetworkingui;
pub mod steamnetworkingsockets_messages;
pub mod steamnetworkingsockets_messages_certs;
pub mod steamnetworkingsockets_messages_udp;
pub mod tf_gcmessages;
pub mod tf_proto_def_messages;

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

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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -11566,6 +11566,167 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPartyClearPendingPlaye
}
}
// @@protoc_insertion_point(message:CMsgPartyMMError)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgPartyMMError {
// message fields
// @@protoc_insertion_point(field:CMsgPartyMMError.type)
pub type_: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<cmsg_party_mmerror::Type>>,
// special fields
// @@protoc_insertion_point(special_field:CMsgPartyMMError.special_fields)
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a CMsgPartyMMError {
fn default() -> &'a CMsgPartyMMError {
<CMsgPartyMMError as ::steam_vent_proto_common::protobuf::Message>::default_instance()
}
}
impl CMsgPartyMMError {
pub fn new() -> CMsgPartyMMError {
::std::default::Default::default()
}
// optional .CMsgPartyMMError.Type type = 1;
pub fn type_(&self) -> cmsg_party_mmerror::Type {
match self.type_ {
Some(e) => e.enum_value_or(cmsg_party_mmerror::Type::QUEUE_KICK_NO_PING),
None => cmsg_party_mmerror::Type::QUEUE_KICK_NO_PING,
}
}
pub fn clear_type_(&mut self) {
self.type_ = ::std::option::Option::None;
}
pub fn has_type(&self) -> bool {
self.type_.is_some()
}
// Param is passed by value, moved
pub fn set_type(&mut self, v: cmsg_party_mmerror::Type) {
self.type_ = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
}
}
impl ::steam_vent_proto_common::protobuf::Message for CMsgPartyMMError {
const NAME: &'static str = "CMsgPartyMMError";
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.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.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.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() -> CMsgPartyMMError {
CMsgPartyMMError::new()
}
fn clear(&mut self) {
self.type_ = ::std::option::Option::None;
self.special_fields.clear();
}
fn default_instance() -> &'static CMsgPartyMMError {
static instance: CMsgPartyMMError = CMsgPartyMMError {
type_: ::std::option::Option::None,
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
};
&instance
}
}
/// Nested message and enums of message `CMsgPartyMMError`
pub mod cmsg_party_mmerror {
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
// @@protoc_insertion_point(enum:CMsgPartyMMError.Type)
pub enum Type {
// @@protoc_insertion_point(enum_value:CMsgPartyMMError.Type.QUEUE_KICK_NO_PING)
QUEUE_KICK_NO_PING = 1,
// @@protoc_insertion_point(enum_value:CMsgPartyMMError.Type.QUEUE_KICK_AUTH)
QUEUE_KICK_AUTH = 2,
}
impl ::steam_vent_proto_common::protobuf::Enum for Type {
const NAME: &'static str = "Type";
fn value(&self) -> i32 {
*self as i32
}
fn from_i32(value: i32) -> ::std::option::Option<Type> {
match value {
1 => ::std::option::Option::Some(Type::QUEUE_KICK_NO_PING),
2 => ::std::option::Option::Some(Type::QUEUE_KICK_AUTH),
_ => ::std::option::Option::None
}
}
fn from_str(str: &str) -> ::std::option::Option<Type> {
match str {
"QUEUE_KICK_NO_PING" => ::std::option::Option::Some(Type::QUEUE_KICK_NO_PING),
"QUEUE_KICK_AUTH" => ::std::option::Option::Some(Type::QUEUE_KICK_AUTH),
_ => ::std::option::Option::None
}
}
const VALUES: &'static [Type] = &[
Type::QUEUE_KICK_NO_PING,
Type::QUEUE_KICK_AUTH,
];
}
// Note, `Default` is implemented although default value is not 0
impl ::std::default::Default for Type {
fn default() -> Self {
Type::QUEUE_KICK_NO_PING
}
}
}
// @@protoc_insertion_point(message:CMsgPartyClearPendingPlayerResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgPartyClearPendingPlayerResponse {
@ -37012,6 +37173,8 @@ pub enum ETFGCMsg {
k_EMsgGCToGC_SendAccountBannedNotifications = 6584,
// @@protoc_insertion_point(enum_value:ETFGCMsg.k_EMsgGCToGC_SendNotification)
k_EMsgGCToGC_SendNotification = 6585,
// @@protoc_insertion_point(enum_value:ETFGCMsg.k_EMsgGCParty_MMError)
k_EMsgGCParty_MMError = 6586,
// @@protoc_insertion_point(enum_value:ETFGCMsg.k_EMsgGCDev_GrantWarKill)
k_EMsgGCDev_GrantWarKill = 10001,
}
@ -37191,6 +37354,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for ETFGCMsg {
6582 => ::std::option::Option::Some(ETFGCMsg::k_EMsgGC_ProcessMatchVoteKickResponse),
6584 => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCToGC_SendAccountBannedNotifications),
6585 => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCToGC_SendNotification),
6586 => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCParty_MMError),
10001 => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCDev_GrantWarKill),
_ => ::std::option::Option::None
}
@ -37364,6 +37528,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for ETFGCMsg {
"k_EMsgGC_ProcessMatchVoteKickResponse" => ::std::option::Option::Some(ETFGCMsg::k_EMsgGC_ProcessMatchVoteKickResponse),
"k_EMsgGCToGC_SendAccountBannedNotifications" => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCToGC_SendAccountBannedNotifications),
"k_EMsgGCToGC_SendNotification" => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCToGC_SendNotification),
"k_EMsgGCParty_MMError" => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCParty_MMError),
"k_EMsgGCDev_GrantWarKill" => ::std::option::Option::Some(ETFGCMsg::k_EMsgGCDev_GrantWarKill),
_ => ::std::option::Option::None
}
@ -37536,6 +37701,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for ETFGCMsg {
ETFGCMsg::k_EMsgGC_ProcessMatchVoteKickResponse,
ETFGCMsg::k_EMsgGCToGC_SendAccountBannedNotifications,
ETFGCMsg::k_EMsgGCToGC_SendNotification,
ETFGCMsg::k_EMsgGCParty_MMError,
ETFGCMsg::k_EMsgGCDev_GrantWarKill,
];
}
@ -39362,6 +39528,19 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgPartyClearPendingPlayer {
self.compute_size() as usize
}
}
impl ::steam_vent_proto_common::RpcMessage for CMsgPartyMMError {
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 CMsgPartyClearPendingPlayerResponse {
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)