Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update protobufs #1184

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,421 changes: 1,267 additions & 154 deletions Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommon.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,29 @@ public uint app_type
public void Resetapp_type() => __pbn__app_type = null;
private uint? __pbn__app_type;

[global::ProtoBuf.ProtoMember(15)]
public bool has_adult_content_sex
{
get => __pbn__has_adult_content_sex.GetValueOrDefault();
set => __pbn__has_adult_content_sex = value;
}
public bool ShouldSerializehas_adult_content_sex() => __pbn__has_adult_content_sex != null;
public void Resethas_adult_content_sex() => __pbn__has_adult_content_sex = null;
private bool? __pbn__has_adult_content_sex;

[global::ProtoBuf.ProtoMember(16)]
public bool has_adult_content_violence
{
get => __pbn__has_adult_content_violence.GetValueOrDefault();
set => __pbn__has_adult_content_violence = value;
}
public bool ShouldSerializehas_adult_content_violence() => __pbn__has_adult_content_violence != null;
public void Resethas_adult_content_violence() => __pbn__has_adult_content_violence = null;
private bool? __pbn__has_adult_content_violence;

[global::ProtoBuf.ProtoMember(17)]
public global::System.Collections.Generic.List<uint> content_descriptorids { get; } = new global::System.Collections.Generic.List<uint>();

}

[global::ProtoBuf.ProtoContract()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,16 @@ public uint appid
public void Resetappid() => __pbn__appid = null;
private uint? __pbn__appid;

[global::ProtoBuf.ProtoMember(2)]
public bool include_already_seen
{
get => __pbn__include_already_seen.GetValueOrDefault();
set => __pbn__include_already_seen = value;
}
public bool ShouldSerializeinclude_already_seen() => __pbn__include_already_seen != null;
public void Resetinclude_already_seen() => __pbn__include_already_seen = null;
private bool? __pbn__include_already_seen;

}

[global::ProtoBuf.ProtoContract()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,16 @@ public bool comments_disabled
public void Resetcomments_disabled() => __pbn__comments_disabled = null;
private bool? __pbn__comments_disabled;

[global::ProtoBuf.ProtoMember(9)]
public bool hide_in_steam_china
{
get => __pbn__hide_in_steam_china.GetValueOrDefault();
set => __pbn__hide_in_steam_china = value;
}
public bool ShouldSerializehide_in_steam_china() => __pbn__hide_in_steam_china != null;
public void Resethide_in_steam_china() => __pbn__hide_in_steam_china = null;
private bool? __pbn__hide_in_steam_china;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -640,6 +650,27 @@ public string ipaddress
public void Resetipaddress() => __pbn__ipaddress = null;
private string __pbn__ipaddress;

[global::ProtoBuf.ProtoMember(42)]
public bool hidden_in_steam_china
{
get => __pbn__hidden_in_steam_china.GetValueOrDefault();
set => __pbn__hidden_in_steam_china = value;
}
public bool ShouldSerializehidden_in_steam_china() => __pbn__hidden_in_steam_china != null;
public void Resethidden_in_steam_china() => __pbn__hidden_in_steam_china = null;
private bool? __pbn__hidden_in_steam_china;

[global::ProtoBuf.ProtoMember(43)]
[global::System.ComponentModel.DefaultValue("")]
public string steam_china_location
{
get => __pbn__steam_china_location ?? "";
set => __pbn__steam_china_location = value;
}
public bool ShouldSerializesteam_china_location() => __pbn__steam_china_location != null;
public void Resetsteam_china_location() => __pbn__steam_china_location = null;
private string __pbn__steam_china_location;

}

public interface IUserReviews
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static class MessageTypeOverrides

{ EMsg.AMGameServerUpdate, typeof(CMsgGameServerData) },

{ EMsg.ClientDPUpdateAppJobReport, typeof(CMsgClientUpdateAppJobReport) },
{ EMsg.ClientDPUpdateAppJobReport, typeof(Protobufs.CMsgClientUpdateAppJobReport) },

{ EMsg.ClientPlayingSessionState, typeof(CMsgClientPlayingSessionState) },

Expand Down
32 changes: 31 additions & 1 deletion Resources/ProtobufGen/gc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ enum GCProtoBufMsgSrc {
GCProtoBufMsgSrc_FromSteamID = 2;
GCProtoBufMsgSrc_FromGC = 3;
GCProtoBufMsgSrc_ReplySystem = 4;
GCProtoBufMsgSrc_SpoofedSteamID = 5;
}

message CMsgGCRoutingProtoBufHeader {
optional uint64 dst_gcid_queue = 1;
optional uint32 dst_gc_dir_index = 2;
}

message CMsgProtoBufHeader {
Expand All @@ -13,9 +19,33 @@ message CMsgProtoBufHeader {
optional fixed64 job_id_source = 10 [default = 18446744073709551615];
optional fixed64 job_id_target = 11 [default = 18446744073709551615];
optional string target_job_name = 12;
optional int32 seq_num = 24;
optional int32 eresult = 13 [default = 2];
optional string error_message = 14;
optional uint32 ip = 15;
optional uint32 auth_account_flags = 16;
optional uint32 token_source = 22;
optional bool admin_spoofing_user = 23;
optional int32 transport_error = 17 [default = 1];
optional uint64 messageid = 18 [default = 18446744073709551615];
optional uint32 publisher_group_id = 19;
optional uint32 sysid = 20;
optional uint64 trace_tag = 21;
optional uint32 webapi_key_id = 25;
optional bool is_from_external_source = 26;
repeated uint32 forward_to_sysid = 27;
optional uint32 cm_sysid = 28;
optional uint32 launcher_type = 31 [default = 0];
optional uint32 realm = 32 [default = 0];
optional int32 timeout_ms = 33 [default = -1];
optional string debug_source = 34;
optional uint32 debug_source_string_index = 35;
optional uint64 token_id = 36;
optional .CMsgGCRoutingProtoBufHeader routing_gc = 37;
optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
optional uint32 gc_dir_index_source = 201;

oneof ip_addr {
uint32 ip = 15;
bytes ip_v6 = 29;
}
}
2 changes: 2 additions & 0 deletions Resources/ProtobufGen/protos.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ steam,enums.proto,Enums.cs,SteamKit2.Internal
steam,enums_productinfo.proto,EnumsProductInfo.cs,SteamKit2.Internal
steam,content_manifest.proto,ContentManifest.cs,SteamKit2.Internal
steam,clientmetrics.proto,ClientMetrics.cs,SteamKit2.Internal
steam,contenthubs.proto,SteamMsgContentHubs.cs,SteamKit2.Internal
steam,encrypted_app_ticket.proto,SteamMsgAppTicket.cs,SteamKit2.Internal
steam,offline_ticket.proto,OfflineTicket.cs,SteamKit2.Internal
steam,steammessages_client_objects.proto,ClientObjects.cs,SteamKit2.Internal
Expand Down Expand Up @@ -109,6 +110,7 @@ dota2,gcsdk_gcmessages.proto,GC\Dota\SteamMsgGCSDK.cs,SteamKit2.GC.Dota.Internal
dota2,gcsystemmsgs.proto,GC\Dota\SteamMsgGCSystem.cs,SteamKit2.GC.Dota.Internal
dota2,network_connection.proto,GC\Dota\NetworkConnection.cs,SteamKit2.GC.Dota.Internal
dota2,steammessages.proto,GC\Dota\SteamMsgBase.cs,SteamKit2.GC.Dota.Internal
dota2,steammessages_steamlearn.steamworkssdk.proto,GC\Dota\SteamMsgSteamLearnSteamworks.cs,SteamKit2.GC.Dota.Internal
dota2,steammessages_oauth.steamworkssdk.proto,Steamworks\SteamMsgOAuthSteamworks.cs,SteamKit2.Internal.Steamworks
tf2,base_gcmessages.proto,GC\TF2\SteamMsgGC.cs,SteamKit2.GC.TF2.Internal
tf2,econ_gcmessages.proto,GC\TF2\SteamMsgGCEcon.cs,SteamKit2.GC.TF2.Internal
Expand Down
2 changes: 1 addition & 1 deletion Resources/Protobufs
Submodule Protobufs updated 85 files
+31 −0 csgo/cstrike15_usermessages.proto
+18 −3 dota2/base_gcmessages.proto
+113 −0 dota2/dota_gcmessages_client.proto
+164 −14 dota2/dota_gcmessages_client_candy_shop.proto
+17 −18 dota2/dota_gcmessages_common.proto
+5 −9 dota2/dota_gcmessages_common_lobby.proto
+30 −2 dota2/dota_gcmessages_msgid.proto
+94 −2 dota2/dota_gcmessages_server.proto
+11 −0 dota2/dota_gcmessages_webapi.proto
+9 −0 dota2/dota_match_metadata.proto
+9 −1 dota2/dota_shared_enums.proto
+2 −0 dota2/dota_usermessages.proto
+1 −0 dota2/gameevents.proto
+2 −0 dota2/gcsdk_gcmessages.proto
+201 −0 dota2/steammessages_steamlearn.steamworkssdk.proto
+8 −0 dota2/usercmd.proto
+26 −0 dota2/usermessages.proto
+1 −0 dota2/valveextensions.proto
+41 −0 steam/contenthubs.proto
+47 −0 steam/enums.proto
+31 −19 steam/enums_clientserver.proto
+40 −20 steam/htmlmessages.proto
+2 −0 steam/steamdatagram_messages_sdr.proto
+13 −0 steam/steammessages_accounthardware.steamclient.proto
+2 −1 steam/steammessages_appoverview.proto
+91 −0 steam/steammessages_auth.steamclient.proto
+11 −0 steam/steammessages_base.proto
+2 −0 steam/steammessages_broadcast.steamclient.proto
+80 −0 steam/steammessages_client_objects.proto
+16 −0 steam/steammessages_clientlanp2p.proto
+18 −0 steam/steammessages_clientmetrics.steamclient.proto
+16 −5 steam/steammessages_clientnotificationtypes.proto
+7 −0 steam/steammessages_clientserver.proto
+17 −45 steam/steammessages_clientserver_2.proto
+2 −38 steam/steammessages_clientserver_appinfo.proto
+2 −1 steam/steammessages_clientserver_login.proto
+24 −4 steam/steammessages_clientserver_uds.proto
+25 −0 steam/steammessages_contentsystem.steamclient.proto
+0 −26 steam/steammessages_credentials.steamclient.proto
+0 −1 steam/steammessages_datapublisher.steamclient.proto
+3 −0 steam/steammessages_deviceauth.steamclient.proto
+2 −2 steam/steammessages_hiddevices.proto
+24 −0 steam/steammessages_marketingmessages.steamclient.proto
+1 −0 steam/steammessages_partnerapps.steamclient.proto
+85 −2 steam/steammessages_player.steamclient.proto
+24 −0 steam/steammessages_publishedfile.steamclient.proto
+1 −0 steam/steammessages_remoteclient_discovery.proto
+1 −0 steam/steammessages_remoteclient_service_messages.proto
+27 −1 steam/steammessages_remoteplay.proto
+19 −2 steam/steammessages_store.steamclient.proto
+59 −0 steam/steammessages_storebrowse.steamclient.proto
+2 −0 steam/steammessages_twofactor.steamclient.proto
+1 −1 steam/steammessages_virtualcontroller.proto
+1 −0 steam/steamnetworkingsockets_messages_certs.proto
+0 −1 update.sh
+231 −62 webui/common.proto
+61 −0 webui/service_authentication.proto
+26 −0 webui/service_authenticationsupport.proto
+1 −0 webui/service_broadcast.proto
+150 −0 webui/service_clientcomm.proto
+1 −0 webui/service_clientmetrics.proto
+3 −0 webui/service_community.proto
+2 −6 webui/service_loyaltyrewards.proto
+5 −0 webui/service_marketingmessages.proto
+8 −0 webui/service_mobileauth.proto
+1 −6 webui/service_partnerstorebrowse.proto
+60 −2 webui/service_player.proto
+34 −2 webui/service_promotioneventinvites.proto
+14 −0 webui/service_publishing.proto
+11 −0 webui/service_quest.proto
+255 −8 webui/service_salefeature.proto
+27 −0 webui/service_saleitemrewards.proto
+71 −0 webui/service_steamcharts.proto
+387 −0 webui/service_steamlearn.proto
+15 −0 webui/service_steamnotification.proto
+40 −0 webui/service_steamvrwebrtc.proto
+15 −0 webui/service_store.proto
+5 −4 webui/service_storeappsimilarity.proto
+40 −0 webui/service_storebrowse.proto
+5 −1 webui/service_storequery.proto
+44 −0 webui/service_storetopsellers.proto
+1 −0 webui/service_twofactor.proto
+1 −0 webui/service_usernews.proto
+3 −0 webui/service_userreviews.proto
+1 −0 webui/service_voicechat.proto
12 changes: 12 additions & 0 deletions Resources/SteamLanguage/emsg.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ enum EMsg
ExpectShellRestart = 336;
HotFixProgress = 337;
GMStatsForwardToAdminConnections = 338;
GMGetModifiedConVars = 339;
GMGetModifiedConVarsResponse = 340;

BaseAIS = 400;
AISRefreshContentDescription = 401; removed
Expand Down Expand Up @@ -713,6 +715,9 @@ enum EMsg
GCHAppCheersReceived = 2242;
GCHAppCheersGetAllowedTypes = 2243;
GCHAppCheersGetAllowedTypesResponse = 2244;
GCHRoutingRulesFromGCHtoGM = 2245;
GCHRoutingRulesToGCHfromGM = 2246;
UpdateCMMessageRateRules = 2247;

BaseP2P = 2500;
P2PIntroducerMessage = 2502;
Expand Down Expand Up @@ -1232,6 +1237,7 @@ enum EMsg
AMPerfectWorldPaymentResponse = 4422;
AMECommPayPayment = 4423;
AMECommPayPaymentResponse = 4424;
AMSetRemoteClientID = 4425;

BasePSRange = 5000;
PSCreateShoppingCart = 5001;
Expand Down Expand Up @@ -1382,6 +1388,8 @@ enum EMsg
ClientOGSWriteRow = 5494;
ClientDRMTest = 5495;
ClientDRMTestResult = 5496;
ClientStartPeerContentServer = 5497;
ClientStartPeerContentServerResponse = 5498;
ClientServerUnavailable = 5500;
ClientServersAvailable = 5501;
ClientRegisterAuthTicketWithCM = 5502;
Expand Down Expand Up @@ -1999,10 +2007,14 @@ enum EMsg
ClientServerTimestampResponse = 9803;
ServiceMethodCallFromClientNonAuthed = 9804;
ClientHello = 9805;
ClientEnableOrDisableDownloads = 9806;
ClientEnableOrDisableDownloadsResponse = 9807;

ClientLANP2PBase = 9900;
ClientLANP2PRequestChunk = 9900;
ClientLANP2PRequestChunkResponse = 9901;
ClientPeerChunkRequest = 9902;
ClientPeerChunkResponse = 9903;
ClientLANP2PMax = 9999;

BaseWatchdogServer = 10000;
Expand Down
Loading