Skip to content

Commit

Permalink
Merge pull request #858 from xPaw/protos
Browse files Browse the repository at this point in the history
Update protobufs
  • Loading branch information
yaakov-h authored Jun 4, 2020
2 parents 7cfdb0f + 0568d1b commit 5ac234a
Show file tree
Hide file tree
Showing 24 changed files with 6,979 additions and 517 deletions.
2 changes: 2 additions & 0 deletions Resources/ProtobufGen/protos.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ProtoDir,ProtoFileName,ClassFilePath,Namespace
steam,content_manifest.proto,ContentManifest.cs,SteamKit2.Internal
steam,encrypted_app_ticket.proto,SteamMsgAppTicket.cs,SteamKit2.Internal
steam,steammessages_accounthardware.steamclient.proto,SteamMsgAccountHardware.cs,SteamKit2.Internal
steam,steammessages_auth.steamclient.proto,SteamMsgAuth.cs,SteamKit2.Internal
steam,steammessages_base.proto,SteamMsgBase.cs,SteamKit2.Internal
steam,steammessages_broadcast.steamclient.proto,SteamMsgBroadcast.cs,SteamKit2.Internal
steam,steammessages_chat.steamclient.proto,SteamMsgChat.cs,SteamKit2.Internal
Expand Down Expand Up @@ -33,6 +34,7 @@ steam,steammessages_shader.steamclient.proto,SteamMsgShader.cs,SteamKit2.Interna
steam,steammessages_site_license.steamclient.proto,SteamMsgSiteLicense.cs,SteamKit2.Internal
steam,steammessages_sitelicenseclient.proto,SteamMsgSiteLicenseClient.cs,SteamKit2.Internal
steam,steammessages_store.steamclient.proto,SteamMsgStore.cs,SteamKit2.Internal
steam,steammessages_timedtrial.steamclient.proto,SteamMsgTimedTrial.cs,SteamKit2.Internal
steam,steammessages_twofactor.steamclient.proto,SteamMsgTwoFactor.cs,SteamKit2.Internal
steam,steammessages_unified_base.steamclient.proto,SteamMsgUnifiedBase.cs,SteamKit2.Internal
steam,steammessages_useraccount.steamclient.proto,SteamMsgUserAccount.cs,SteamKit2.Internal
Expand Down
2 changes: 1 addition & 1 deletion Resources/Protobufs
Submodule Protobufs updated 45 files
+36 −0 csgo/cstrike15_gcmessages.proto
+20 −0 csgo/gcsdk_gcmessages.proto
+3 −0 csgo/steammessages.proto
+25 −0 dota2/dota_clientmessages.proto
+26 −0 dota2/dota_commonmessages.proto
+174 −70 dota2/dota_gcmessages_client.proto
+654 −0 dota2/dota_gcmessages_client_guild.proto
+191 −0 dota2/dota_gcmessages_client_guild_events.proto
+2 −0 dota2/dota_gcmessages_client_match_management.proto
+95 −0 dota2/dota_gcmessages_common.proto
+310 −6 dota2/dota_gcmessages_common_match_management.proto
+85 −4 dota2/dota_gcmessages_msgid.proto
+60 −9 dota2/dota_gcmessages_server.proto
+71 −1 dota2/dota_match_metadata.proto
+4 −1 dota2/dota_shared_enums.proto
+55 −2 dota2/dota_usermessages.proto
+1 −0 dota2/econ_gcmessages.proto
+5 −0 dota2/gcsdk_gcmessages.proto
+8 −0 dota2/netmessages.proto
+55 −39 dota2/steamdatagram_messages_sdr.proto
+63 −0 dota2/steamnetworkingsockets_messages.proto
+1 −3 dota2/steamnetworkingsockets_messages_udp.proto
+9 −0 dota2/usermessages.proto
+2 −0 steam/htmlmessages.proto
+45 −39 steam/steamdatagram_messages_sdr.proto
+1 −0 steam/steammessages_appoverview.proto
+40 −0 steam/steammessages_auth.steamclient.proto
+3 −0 steam/steammessages_base.proto
+3 −0 steam/steammessages_chat.steamclient.proto
+2 −0 steam/steammessages_inventory.steamclient.proto
+209 −0 steam/steammessages_player.steamclient.proto
+9 −0 steam/steammessages_publishedfile.steamclient.proto
+47 −0 steam/steammessages_timedtrial.steamclient.proto
+3 −0 steam/steammessages_useraccount.steamclient.proto
+63 −0 steam/steamnetworkingsockets_messages.proto
+1 −3 steam/steamnetworkingsockets_messages_udp.proto
+9 −0 steam/stream.proto
+2 −0 underlords/dac_gamemessages.proto
+2 −0 webui/community.proto
+97 −0 webui/curator_admin.proto
+28 −93 webui/friends.proto
+30 −0 webui/friends_mobile.proto
+529 −0 webui/steamui_broadcast.proto
+117 −34 webui/steamui_libraryroot.proto
+213 −0 webui/store.proto
215 changes: 215 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6790,6 +6790,217 @@ public string json_featured

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgGCCStrike15_v2_ClientPerfReport : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
public global::System.Collections.Generic.List<Entry> entries { get; } = new global::System.Collections.Generic.List<Entry>();

[global::ProtoBuf.ProtoContract()]
public partial class Entry : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
public uint perfcounter
{
get { return __pbn__perfcounter.GetValueOrDefault(); }
set { __pbn__perfcounter = value; }
}
public bool ShouldSerializeperfcounter() => __pbn__perfcounter != null;
public void Resetperfcounter() => __pbn__perfcounter = null;
private uint? __pbn__perfcounter;

[global::ProtoBuf.ProtoMember(2)]
public uint length
{
get { return __pbn__length.GetValueOrDefault(); }
set { __pbn__length = value; }
}
public bool ShouldSerializelength() => __pbn__length != null;
public void Resetlength() => __pbn__length = null;
private uint? __pbn__length;

[global::ProtoBuf.ProtoMember(3)]
public byte[] reference
{
get { return __pbn__reference; }
set { __pbn__reference = value; }
}
public bool ShouldSerializereference() => __pbn__reference != null;
public void Resetreference() => __pbn__reference = null;
private byte[] __pbn__reference;

[global::ProtoBuf.ProtoMember(4)]
public byte[] actual
{
get { return __pbn__actual; }
set { __pbn__actual = value; }
}
public bool ShouldSerializeactual() => __pbn__actual != null;
public void Resetactual() => __pbn__actual = null;
private byte[] __pbn__actual;

[global::ProtoBuf.ProtoMember(5)]
public uint sourceid
{
get { return __pbn__sourceid.GetValueOrDefault(); }
set { __pbn__sourceid = value; }
}
public bool ShouldSerializesourceid() => __pbn__sourceid != null;
public void Resetsourceid() => __pbn__sourceid = null;
private uint? __pbn__sourceid;

[global::ProtoBuf.ProtoMember(6)]
public uint status
{
get { return __pbn__status.GetValueOrDefault(); }
set { __pbn__status = value; }
}
public bool ShouldSerializestatus() => __pbn__status != null;
public void Resetstatus() => __pbn__status = null;
private uint? __pbn__status;

}

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgGCCStrike15_v2_ClientReportValidation : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
[global::System.ComponentModel.DefaultValue("")]
public string file_report
{
get { return __pbn__file_report ?? ""; }
set { __pbn__file_report = value; }
}
public bool ShouldSerializefile_report() => __pbn__file_report != null;
public void Resetfile_report() => __pbn__file_report = null;
private string __pbn__file_report;

[global::ProtoBuf.ProtoMember(2)]
[global::System.ComponentModel.DefaultValue("")]
public string command_line
{
get { return __pbn__command_line ?? ""; }
set { __pbn__command_line = value; }
}
public bool ShouldSerializecommand_line() => __pbn__command_line != null;
public void Resetcommand_line() => __pbn__command_line = null;
private string __pbn__command_line;

[global::ProtoBuf.ProtoMember(3)]
public uint total_files
{
get { return __pbn__total_files.GetValueOrDefault(); }
set { __pbn__total_files = value; }
}
public bool ShouldSerializetotal_files() => __pbn__total_files != null;
public void Resettotal_files() => __pbn__total_files = null;
private uint? __pbn__total_files;

[global::ProtoBuf.ProtoMember(4)]
public uint internal_error
{
get { return __pbn__internal_error.GetValueOrDefault(); }
set { __pbn__internal_error = value; }
}
public bool ShouldSerializeinternal_error() => __pbn__internal_error != null;
public void Resetinternal_error() => __pbn__internal_error = null;
private uint? __pbn__internal_error;

[global::ProtoBuf.ProtoMember(5)]
public uint trust_time
{
get { return __pbn__trust_time.GetValueOrDefault(); }
set { __pbn__trust_time = value; }
}
public bool ShouldSerializetrust_time() => __pbn__trust_time != null;
public void Resettrust_time() => __pbn__trust_time = null;
private uint? __pbn__trust_time;

[global::ProtoBuf.ProtoMember(6)]
public uint count_pending
{
get { return __pbn__count_pending.GetValueOrDefault(); }
set { __pbn__count_pending = value; }
}
public bool ShouldSerializecount_pending() => __pbn__count_pending != null;
public void Resetcount_pending() => __pbn__count_pending = null;
private uint? __pbn__count_pending;

[global::ProtoBuf.ProtoMember(7)]
public uint count_completed
{
get { return __pbn__count_completed.GetValueOrDefault(); }
set { __pbn__count_completed = value; }
}
public bool ShouldSerializecount_completed() => __pbn__count_completed != null;
public void Resetcount_completed() => __pbn__count_completed = null;
private uint? __pbn__count_completed;

[global::ProtoBuf.ProtoMember(8)]
public uint process_id
{
get { return __pbn__process_id.GetValueOrDefault(); }
set { __pbn__process_id = value; }
}
public bool ShouldSerializeprocess_id() => __pbn__process_id != null;
public void Resetprocess_id() => __pbn__process_id = null;
private uint? __pbn__process_id;

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
[global::System.ComponentModel.DefaultValue("")]
public string file_report
{
get { return __pbn__file_report ?? ""; }
set { __pbn__file_report = value; }
}
public bool ShouldSerializefile_report() => __pbn__file_report != null;
public void Resetfile_report() => __pbn__file_report = null;
private string __pbn__file_report;

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgGCCStrike15_v2_GC2ClientRequestValidation : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
public bool full_report
{
get { return __pbn__full_report.GetValueOrDefault(); }
set { __pbn__full_report = value; }
}
public bool ShouldSerializefull_report() => __pbn__full_report != null;
public void Resetfull_report() => __pbn__full_report = null;
private bool? __pbn__full_report;

}

[global::ProtoBuf.ProtoContract()]
public enum ECsgoGCMsg
{
Expand Down Expand Up @@ -6890,8 +7101,12 @@ public enum ECsgoGCMsg
k_EMsgGCCStrike15_v2_MatchmakingServerMatchEndPartial = 9199,
k_EMsgGCCStrike15_v2_SetEventFavorite = 9200,
k_EMsgGCCStrike15_v2_GetEventFavorites_Request = 9201,
k_EMsgGCCStrike15_v2_ClientPerfReport = 9202,
k_EMsgGCCStrike15_v2_GetEventFavorites_Response = 9203,
k_EMsgGCCStrike15_v2_ClientRequestSouvenir = 9204,
k_EMsgGCCStrike15_v2_ClientReportValidation = 9205,
k_EMsgGCCStrike15_v2_GC2ClientRefuseSecureMode = 9206,
k_EMsgGCCStrike15_v2_GC2ClientRequestValidation = 9207,
}

[global::ProtoBuf.ProtoContract()]
Expand Down
31 changes: 31 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2705,6 +2705,37 @@ public uint nexonid
public void Resetnexonid() => __pbn__nexonid = null;
private uint? __pbn__nexonid;

[global::ProtoBuf.ProtoMember(3)]
public int ageclass
{
get { return __pbn__ageclass.GetValueOrDefault(); }
set { __pbn__ageclass = value; }
}
public bool ShouldSerializeageclass() => __pbn__ageclass != null;
public void Resetageclass() => __pbn__ageclass = null;
private int? __pbn__ageclass;

[global::ProtoBuf.ProtoMember(4)]
[global::System.ComponentModel.DefaultValue(true)]
public bool id_verified
{
get { return __pbn__id_verified ?? true; }
set { __pbn__id_verified = value; }
}
public bool ShouldSerializeid_verified() => __pbn__id_verified != null;
public void Resetid_verified() => __pbn__id_verified = null;
private bool? __pbn__id_verified;

[global::ProtoBuf.ProtoMember(5)]
public bool is_adult
{
get { return __pbn__is_adult.GetValueOrDefault(); }
set { __pbn__is_adult = value; }
}
public bool ShouldSerializeis_adult() => __pbn__is_adult != null;
public void Resetis_adult() => __pbn__is_adult = null;
private bool? __pbn__is_adult;

}

[global::ProtoBuf.ProtoContract()]
Expand Down
Loading

0 comments on commit 5ac234a

Please sign in to comment.