Skip to content

Commit

Permalink
Update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Jun 5, 2023
1 parent e4ad6a1 commit a2074ff
Show file tree
Hide file tree
Showing 37 changed files with 3,067 additions and 324 deletions.
904 changes: 819 additions & 85 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 @@ -579,14 +579,14 @@ public ulong steamid
private ulong? __pbn__steamid;

[global::ProtoBuf.ProtoMember(2)]
public uint comment_thread_type
public int comment_thread_type
{
get => __pbn__comment_thread_type.GetValueOrDefault();
set => __pbn__comment_thread_type = value;
}
public bool ShouldSerializecomment_thread_type() => __pbn__comment_thread_type != null;
public void Resetcomment_thread_type() => __pbn__comment_thread_type = null;
private uint? __pbn__comment_thread_type;
private int? __pbn__comment_thread_type;

[global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
public ulong gidfeature
Expand Down Expand Up @@ -977,14 +977,14 @@ public ulong steamid
private ulong? __pbn__steamid;

[global::ProtoBuf.ProtoMember(2)]
public uint comment_thread_type
public int comment_thread_type
{
get => __pbn__comment_thread_type.GetValueOrDefault();
set => __pbn__comment_thread_type = value;
}
public bool ShouldSerializecomment_thread_type() => __pbn__comment_thread_type != null;
public void Resetcomment_thread_type() => __pbn__comment_thread_type = null;
private uint? __pbn__comment_thread_type;
private int? __pbn__comment_thread_type;

[global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
public ulong gidfeature
Expand Down Expand Up @@ -1847,14 +1847,14 @@ public ulong steamid
private ulong? __pbn__steamid;

[global::ProtoBuf.ProtoMember(2)]
public uint comment_thread_type
public int comment_thread_type
{
get => __pbn__comment_thread_type.GetValueOrDefault();
set => __pbn__comment_thread_type = value;
}
public bool ShouldSerializecomment_thread_type() => __pbn__comment_thread_type != null;
public void Resetcomment_thread_type() => __pbn__comment_thread_type = null;
private uint? __pbn__comment_thread_type;
private int? __pbn__comment_thread_type;

[global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
public ulong gidfeature
Expand Down
2 changes: 1 addition & 1 deletion Resources/Protobufs
Submodule Protobufs updated 98 files
+529 −0 csgo/base_gcmessages_csgo.proto
+55 −0 csgo/c_peer2peer_netmessages.proto
+48 −0 csgo/clientmessages.proto
+19 −0 csgo/connectionless_netmessages.proto
+32 −0 csgo/cs_gameevents.proto
+34 −0 csgo/cs_usercmd.proto
+21 −10 csgo/cstrike15_gcmessages.proto
+131 −169 csgo/cstrike15_usermessages.proto
+151 −0 csgo/demo.proto
+4 −3 csgo/econ_gcmessages.proto
+0 −2 csgo/engine_gcmessages.proto
+1,529 −0 csgo/enums_clientserver.proto
+2 −2 csgo/fatdemo.proto
+120 −0 csgo/gameevents.proto
+24 −3 csgo/gcsdk_gcmessages.proto
+0 −4 csgo/gcsystemmsgs.proto
+392 −287 csgo/netmessages.proto
+67 −10 csgo/network_connection.proto
+243 −0 csgo/networkbasetypes.proto
+17 −0 csgo/networksystem_protomessages.proto
+7 −3 csgo/steamdatagram_messages_sdr.proto
+0 −4 csgo/steammessages.proto
+222 −4 csgo/steammessages_base.proto
+68 −0 csgo/steammessages_cloud.steamworkssdk.proto
+22 −0 csgo/steammessages_helprequest.steamworkssdk.proto
+18 −0 csgo/steammessages_oauth.steamworkssdk.proto
+254 −0 csgo/steammessages_player.steamworkssdk.proto
+233 −0 csgo/steammessages_publishedfile.steamworkssdk.proto
+258 −0 csgo/steammessages_steamlearn.steamworkssdk.proto
+30 −0 csgo/steammessages_unified_base.steamworkssdk.proto
+1 −0 csgo/steamnetworkingsockets_messages_certs.proto
+256 −0 csgo/te.proto
+0 −3 csgo/uifontfile_format.proto
+37 −0 csgo/usercmd.proto
+664 −0 csgo/usermessages.proto
+17 −0 csgo/valveextensions.proto
+28 −0 dota2/dota_clientmessages.proto
+37 −0 dota2/dota_gcmessages_client.proto
+7 −0 dota2/dota_gcmessages_client_chat.proto
+1 −0 dota2/dota_gcmessages_client_match_management.proto
+34 −7 dota2/dota_gcmessages_common.proto
+1 −0 dota2/dota_gcmessages_common_lobby.proto
+7 −0 dota2/dota_gcmessages_msgid.proto
+54 −1 dota2/dota_gcmessages_server.proto
+14 −1 dota2/dota_gcmessages_webapi.proto
+1 −0 dota2/dota_match_metadata.proto
+5 −1 dota2/dota_shared_enums.proto
+13 −0 dota2/dota_usermessages.proto
+7 −1 dota2/gcsdk_gcmessages.proto
+1 −0 dota2/netmessages.proto
+1 −0 dota2/networkbasetypes.proto
+57 −0 dota2/steammessages_steamlearn.steamworkssdk.proto
+1 −0 dota2/usercmd.proto
+12 −7 dota2/usermessages.proto
+44 −7 steam/enums.proto
+6 −2 steam/enums_clientserver.proto
+3 −3 steam/enums_productinfo.proto
+17 −20 steam/htmlmessages.proto
+6 −1 steam/steamdatagram_messages_sdr.proto
+24 −0 steam/steammessages_auth.steamclient.proto
+18 −0 steam/steammessages_base.proto
+1 −0 steam/steammessages_broadcast.steamclient.proto
+19 −5 steam/steammessages_client_objects.proto
+28 −0 steam/steammessages_clientnotificationtypes.proto
+1 −1 steam/steammessages_clientserver.proto
+1 −0 steam/steammessages_clientserver_2.proto
+1 −0 steam/steammessages_clientserver_appinfo.proto
+24 −4 steam/steammessages_clientsettings.proto
+1 −0 steam/steammessages_contentsystem.steamclient.proto
+50 −0 steam/steammessages_datapublisher.steamclient.proto
+18 −0 steam/steammessages_gamenetworkingui.proto
+1 −0 steam/steammessages_hiddevices.proto
+14 −0 steam/steammessages_marketingmessages.steamclient.proto
+1 −0 steam/steammessages_partnerapps.steamclient.proto
+2 −0 steam/steammessages_player.steamclient.proto
+2 −1 steam/steammessages_publishedfile.steamclient.proto
+21 −11 steam/steammessages_store.steamclient.proto
+8 −0 steam/steammessages_storebrowse.steamclient.proto
+1 −0 steam/steamnetworkingsockets_messages.proto
+24 −0 steam/webuimessages_base.proto
+101 −0 steam/webuimessages_services.proto
+131 −16 webui/common.proto
+8 −0 webui/service_authentication.proto
+1 −0 webui/service_clanfaqs.proto
+6 −3 webui/service_community.proto
+3 −0 webui/service_player.proto
+28 −0 webui/service_promotionplanning.proto
+1 −0 webui/service_publishedfile.proto
+129 −6 webui/service_steamlearn.proto
+6 −1 webui/service_steamnotification.proto
+39 −0 webui/service_steamvrvoicechat.proto
+18 −0 webui/service_store.proto
+1 −0 webui/service_storequery.proto
+6 −0 webui/service_test_transporterror.proto
+12 −0 webui/service_transportauth.proto
+60 −0 webui/service_transportvalidation.proto
+14 −0 webui/service_twofactor.proto
+2 −0 webui/service_webrtc.proto
193 changes: 146 additions & 47 deletions SteamKit2/SteamKit2/Base/Generated/ClientObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,16 @@ public bool is_hdr_supported
public void Resetis_hdr_supported() => __pbn__is_hdr_supported = null;
private bool? __pbn__is_hdr_supported;

[global::ProtoBuf.ProtoMember(29)]
public int display_refresh_manual_hz_oc_max
{
get => __pbn__display_refresh_manual_hz_oc_max.GetValueOrDefault();
set => __pbn__display_refresh_manual_hz_oc_max = value;
}
public bool ShouldSerializedisplay_refresh_manual_hz_oc_max() => __pbn__display_refresh_manual_hz_oc_max != null;
public void Resetdisplay_refresh_manual_hz_oc_max() => __pbn__display_refresh_manual_hz_oc_max = null;
private int? __pbn__display_refresh_manual_hz_oc_max;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -1640,16 +1650,6 @@ public bool is_hdr_enabled
public void Resetis_hdr_enabled() => __pbn__is_hdr_enabled = null;
private bool? __pbn__is_hdr_enabled;

[global::ProtoBuf.ProtoMember(11)]
public bool force_hdr_10pq_output_debug
{
get => __pbn__force_hdr_10pq_output_debug.GetValueOrDefault();
set => __pbn__force_hdr_10pq_output_debug = value;
}
public bool ShouldSerializeforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug != null;
public void Resetforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug = null;
private bool? __pbn__force_hdr_10pq_output_debug;

[global::ProtoBuf.ProtoMember(12)]
[global::System.ComponentModel.DefaultValue(EHDRToneMapOperator.k_EHDRToneMapOperator_Invalid)]
public EHDRToneMapOperator hdr_on_sdr_tonemap_operator
Expand All @@ -1671,16 +1671,6 @@ public bool is_hdr_debug_heatmap_enabled
public void Resetis_hdr_debug_heatmap_enabled() => __pbn__is_hdr_debug_heatmap_enabled = null;
private bool? __pbn__is_hdr_debug_heatmap_enabled;

[global::ProtoBuf.ProtoMember(14)]
public bool debug_force_hdr_support
{
get => __pbn__debug_force_hdr_support.GetValueOrDefault();
set => __pbn__debug_force_hdr_support = value;
}
public bool ShouldSerializedebug_force_hdr_support() => __pbn__debug_force_hdr_support != null;
public void Resetdebug_force_hdr_support() => __pbn__debug_force_hdr_support = null;
private bool? __pbn__debug_force_hdr_support;

[global::ProtoBuf.ProtoMember(15)]
[global::System.ComponentModel.DefaultValue(true)]
public bool force_hdr_wide_gammut_for_sdr
Expand Down Expand Up @@ -1712,6 +1702,46 @@ public float sdr_to_hdr_brightness
public void Resetsdr_to_hdr_brightness() => __pbn__sdr_to_hdr_brightness = null;
private float? __pbn__sdr_to_hdr_brightness;

[global::ProtoBuf.ProtoMember(18)]
public bool debug_force_hdr_support
{
get => __pbn__debug_force_hdr_support.GetValueOrDefault();
set => __pbn__debug_force_hdr_support = value;
}
public bool ShouldSerializedebug_force_hdr_support() => __pbn__debug_force_hdr_support != null;
public void Resetdebug_force_hdr_support() => __pbn__debug_force_hdr_support = null;
private bool? __pbn__debug_force_hdr_support;

[global::ProtoBuf.ProtoMember(19)]
public bool force_hdr_10pq_output_debug
{
get => __pbn__force_hdr_10pq_output_debug.GetValueOrDefault();
set => __pbn__force_hdr_10pq_output_debug = value;
}
public bool ShouldSerializeforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug != null;
public void Resetforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug = null;
private bool? __pbn__force_hdr_10pq_output_debug;

[global::ProtoBuf.ProtoMember(20)]
public bool is_display_oc_enabled
{
get => __pbn__is_display_oc_enabled.GetValueOrDefault();
set => __pbn__is_display_oc_enabled = value;
}
public bool ShouldSerializeis_display_oc_enabled() => __pbn__is_display_oc_enabled != null;
public void Resetis_display_oc_enabled() => __pbn__is_display_oc_enabled = null;
private bool? __pbn__is_display_oc_enabled;

[global::ProtoBuf.ProtoMember(21)]
public bool is_color_management_enabled
{
get => __pbn__is_color_management_enabled.GetValueOrDefault();
set => __pbn__is_color_management_enabled = value;
}
public bool ShouldSerializeis_color_management_enabled() => __pbn__is_color_management_enabled != null;
public void Resetis_color_management_enabled() => __pbn__is_color_management_enabled = null;
private bool? __pbn__is_color_management_enabled;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -2269,6 +2299,16 @@ public ulong gameid
public void Resetgameid() => __pbn__gameid = null;
private ulong? __pbn__gameid;

[global::ProtoBuf.ProtoMember(4)]
public bool skip_storage_update
{
get => __pbn__skip_storage_update.GetValueOrDefault();
set => __pbn__skip_storage_update = value;
}
public bool ShouldSerializeskip_storage_update() => __pbn__skip_storage_update != null;
public void Resetskip_storage_update() => __pbn__skip_storage_update = null;
private bool? __pbn__skip_storage_update;

[global::ProtoBuf.ProtoMember(2)]
public bool reset_to_default
{
Expand Down Expand Up @@ -3202,27 +3242,6 @@ public bool display_adaptive_brightness_enabled
public void Resetdisplay_adaptive_brightness_enabled() => __pbn__display_adaptive_brightness_enabled = null;
private bool? __pbn__display_adaptive_brightness_enabled;

[global::ProtoBuf.ProtoMember(8)]
public bool is_display_colorprofile_available
{
get => __pbn__is_display_colorprofile_available.GetValueOrDefault();
set => __pbn__is_display_colorprofile_available = value;
}
public bool ShouldSerializeis_display_colorprofile_available() => __pbn__is_display_colorprofile_available != null;
public void Resetis_display_colorprofile_available() => __pbn__is_display_colorprofile_available = null;
private bool? __pbn__is_display_colorprofile_available;

[global::ProtoBuf.ProtoMember(9)]
[global::System.ComponentModel.DefaultValue(EColorProfile.k_EColorProfile_Invalid)]
public EColorProfile display_colorprofile
{
get => __pbn__display_colorprofile ?? EColorProfile.k_EColorProfile_Invalid;
set => __pbn__display_colorprofile = value;
}
public bool ShouldSerializedisplay_colorprofile() => __pbn__display_colorprofile != null;
public void Resetdisplay_colorprofile() => __pbn__display_colorprofile = null;
private EColorProfile? __pbn__display_colorprofile;

[global::ProtoBuf.ProtoMember(10)]
public bool display_nightmode_enabled
{
Expand Down Expand Up @@ -3354,14 +3373,14 @@ public float als_lux_median
private float? __pbn__als_lux_median;

[global::ProtoBuf.ProtoMember(23)]
public float display_brightness_linear
public float display_backlight_raw
{
get => __pbn__display_brightness_linear.GetValueOrDefault();
set => __pbn__display_brightness_linear = value;
get => __pbn__display_backlight_raw.GetValueOrDefault();
set => __pbn__display_backlight_raw = value;
}
public bool ShouldSerializedisplay_brightness_linear() => __pbn__display_brightness_linear != null;
public void Resetdisplay_brightness_linear() => __pbn__display_brightness_linear = null;
private float? __pbn__display_brightness_linear;
public bool ShouldSerializedisplay_backlight_raw() => __pbn__display_backlight_raw != null;
public void Resetdisplay_backlight_raw() => __pbn__display_backlight_raw = null;
private float? __pbn__display_backlight_raw;

[global::ProtoBuf.ProtoMember(24)]
public float display_brightness_adaptivemin
Expand Down Expand Up @@ -3414,6 +3433,36 @@ public ESystemFanControlMode fan_control_mode
public void Resetfan_control_mode() => __pbn__fan_control_mode = null;
private ESystemFanControlMode? __pbn__fan_control_mode;

[global::ProtoBuf.ProtoMember(29)]
public bool is_display_brightness_available
{
get => __pbn__is_display_brightness_available.GetValueOrDefault();
set => __pbn__is_display_brightness_available = value;
}
public bool ShouldSerializeis_display_brightness_available() => __pbn__is_display_brightness_available != null;
public void Resetis_display_brightness_available() => __pbn__is_display_brightness_available = null;
private bool? __pbn__is_display_brightness_available;

[global::ProtoBuf.ProtoMember(31)]
public bool is_display_colormanagement_available
{
get => __pbn__is_display_colormanagement_available.GetValueOrDefault();
set => __pbn__is_display_colormanagement_available = value;
}
public bool ShouldSerializeis_display_colormanagement_available() => __pbn__is_display_colormanagement_available != null;
public void Resetis_display_colormanagement_available() => __pbn__is_display_colormanagement_available = null;
private bool? __pbn__is_display_colormanagement_available;

[global::ProtoBuf.ProtoMember(32)]
public float display_colorgamut
{
get => __pbn__display_colorgamut.GetValueOrDefault();
set => __pbn__display_colorgamut = value;
}
public bool ShouldSerializedisplay_colorgamut() => __pbn__display_colorgamut != null;
public void Resetdisplay_colorgamut() => __pbn__display_colorgamut = null;
private float? __pbn__display_colorgamut;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -3966,6 +4015,56 @@ public partial class MonitorInfo : global::ProtoBuf.IExtensible

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgGenerateSystemReportReply : 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 report_id
{
get => __pbn__report_id ?? "";
set => __pbn__report_id = value;
}
public bool ShouldSerializereport_id() => __pbn__report_id != null;
public void Resetreport_id() => __pbn__report_id = null;
private string __pbn__report_id;

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgWebUITransportInfo : 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 port
{
get => __pbn__port.GetValueOrDefault();
set => __pbn__port = value;
}
public bool ShouldSerializeport() => __pbn__port != null;
public void Resetport() => __pbn__port = null;
private uint? __pbn__port;

[global::ProtoBuf.ProtoMember(2)]
[global::System.ComponentModel.DefaultValue("")]
public string auth_key
{
get => __pbn__auth_key ?? "";
set => __pbn__auth_key = value;
}
public bool ShouldSerializeauth_key() => __pbn__auth_key != null;
public void Resetauth_key() => __pbn__auth_key = null;
private string __pbn__auth_key;

}

[global::ProtoBuf.ProtoContract()]
public enum ECloudPendingRemoteOperation
{
Expand Down
61 changes: 52 additions & 9 deletions SteamKit2/SteamKit2/Base/Generated/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,6 @@ public enum ESystemFanControlMode
k_SystemFanControlMode_Default = 2,
}

[global::ProtoBuf.ProtoContract()]
public enum EColorProfile
{
k_EColorProfile_Invalid = 0,
k_EColorProfile_Native = 1,
k_EColorProfile_Standard = 2,
k_EColorProfile_Vivid = 3,
}

[global::ProtoBuf.ProtoContract()]
public enum EBluetoothDeviceType
{
Expand Down Expand Up @@ -477,6 +468,58 @@ public enum ENewSteamAnnouncementState
k_ENewSteamAnnouncementState_FeaturedAnnouncement = 3,
}

[global::ProtoBuf.ProtoContract()]
public enum ECommentThreadType
{
k_ECommentThreadTypeInvalid = 0,
k_ECommentThreadTypeScreenshot_Deprecated = 1,
k_ECommentThreadTypeWorkshopAccount_Developer = 2,
k_ECommentThreadTypeWorkshopAccount_Public = 3,
k_ECommentThreadTypePublishedFile_Developer = 4,
k_ECommentThreadTypePublishedFile_Public = 5,
k_ECommentThreadTypeTest = 6,
k_ECommentThreadTypeForumTopic = 7,
k_ECommentThreadTypeRecommendation = 8,
k_ECommentThreadTypeVideo_Deprecated = 9,
k_ECommentThreadTypeProfile = 10,
k_ECommentThreadTypeNewsPost = 11,
k_ECommentThreadTypeClan = 12,
k_ECommentThreadTypeClanAnnouncement = 13,
k_ECommentThreadTypeClanEvent = 14,
k_ECommentThreadTypeUserStatusPublished = 15,
k_ECommentThreadTypeUserReceivedNewGame = 16,
k_ECommentThreadTypePublishedFile_Announcement = 17,
k_ECommentThreadTypeModeratorMessage = 18,
k_ECommentThreadTypeClanCuratedApp = 19,
k_ECommentThreadTypeQAndASession = 20,
k_ECommentThreadTypeMax = 21,
}

[global::ProtoBuf.ProtoContract()]
public enum EBroadcastPermission
{
k_EBroadcastPermissionDisabled = 0,
k_EBroadcastPermissionFriendsApprove = 1,
k_EBroadcastPermissionFriendsAllowed = 2,
k_EBroadcastPermissionPublic = 3,
k_EBroadcastPermissionSubscribers = 4,
}

[global::ProtoBuf.ProtoContract()]
public enum EBroadcastEncoderSetting
{
k_EBroadcastEncoderBestQuality = 0,
k_EBroadcastEncoderBestPerformance = 1,
}

[global::ProtoBuf.ProtoContract()]
public enum ECloudGamingPlatform
{
k_ECloudGamingPlatformNone = 0,
k_ECloudGamingPlatformValve = 1,
k_ECloudGamingPlatformNVIDIA = 2,
}

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
Expand Down
Loading

0 comments on commit a2074ff

Please sign in to comment.