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 #1230

Merged
merged 2 commits into from
Aug 4, 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
11,077 changes: 3,960 additions & 7,117 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 130 files
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