Skip to content

Commit

Permalink
Update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Jun 27, 2024
1 parent 88e62ee commit 3e35b17
Show file tree
Hide file tree
Showing 47 changed files with 5,608 additions and 4,291 deletions.
2 changes: 2 additions & 0 deletions Resources/ProtobufGen/protos.csv
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ steam,steammessages_lobbymatchmaking.steamclient.proto,SteamMsgLobbyMatchmaking.
steam,steammessages_market.steamclient.proto,SteamMsgMarket.cs,SteamKit2.Internal
steam,steammessages_marketingmessages.steamclient.proto,SteamMsgMarketingMessages.cs,SteamKit2.Internal
steam,steammessages_offline.steamclient.proto,SteamMsgOffline.cs,SteamKit2.Internal
steam,steammessages_parental_objects.proto,SteamMsgParentalObjects.cs,SteamKit2.Internal
steam,steammessages_parental.steamclient.proto,SteamMsgParental.cs,SteamKit2.Internal
steam,steammessages_parties.steamclient.proto,SteamMsgParties.cs,SteamKit2.Internal
steam,steammessages_partnerapps.steamclient.proto,SteamMsgPartnerApps.cs,SteamKit2.Internal
Expand Down Expand Up @@ -91,6 +92,7 @@ dota2,dota_gcmessages_common.proto,GC\Dota\MsgGCCommon.cs,SteamKit2.GC.Dota.Inte
dota2,dota_gcmessages_common_league.proto,GC\Dota\MsgGCCommonLeague.cs,SteamKit2.GC.Dota.Internal
dota2,dota_gcmessages_common_lobby.proto,GC\Dota\MsgGCCommonLobby.cs,SteamKit2.GC.Dota.Internal
dota2,dota_gcmessages_common_match_management.proto,GC\Dota\MsgGCCommonMatchMgmt.cs,SteamKit2.GC.Dota.Internal
dota2,dota_gcmessages_common_overworld.proto,GC\Dota\MsgGCCommonOverworld.cs,SteamKit2.GC.Dota.Internal
dota2,dota_gcmessages_msgid.proto,GC\Dota\MsgGCMsgId.cs,SteamKit2.GC.Dota.Internal
dota2,dota_gcmessages_server.proto,GC\Dota\MsgGCServer.cs,SteamKit2.GC.Dota.Internal
dota2,dota_match_metadata.proto,GC\Dota\MsgMatchMetadata.cs,SteamKit2.GC.Dota.Internal
Expand Down
2 changes: 1 addition & 1 deletion Resources/Protobufs
Submodule Protobufs updated 111 files
96 changes: 86 additions & 10 deletions SteamKit2/SteamKit2/Base/Generated/ClientObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,36 @@ public int strength_raw
public void Resetstrength_raw() => __pbn__strength_raw = null;
private int? __pbn__strength_raw;

[global::ProtoBuf.ProtoMember(9)]
public bool wake_allowed
{
get => __pbn__wake_allowed.GetValueOrDefault();
set => __pbn__wake_allowed = value;
}
public bool ShouldSerializewake_allowed() => __pbn__wake_allowed != null;
public void Resetwake_allowed() => __pbn__wake_allowed = null;
private bool? __pbn__wake_allowed;

[global::ProtoBuf.ProtoMember(10)]
public bool wake_allowed_supported
{
get => __pbn__wake_allowed_supported.GetValueOrDefault();
set => __pbn__wake_allowed_supported = value;
}
public bool ShouldSerializewake_allowed_supported() => __pbn__wake_allowed_supported != null;
public void Resetwake_allowed_supported() => __pbn__wake_allowed_supported = null;
private bool? __pbn__wake_allowed_supported;

[global::ProtoBuf.ProtoMember(11)]
public int battery_percent
{
get => __pbn__battery_percent.GetValueOrDefault();
set => __pbn__battery_percent = value;
}
public bool ShouldSerializebattery_percent() => __pbn__battery_percent != null;
public void Resetbattery_percent() => __pbn__battery_percent = null;
private int? __pbn__battery_percent;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -1481,16 +1511,6 @@ public int display_external_refresh_manual_hz_max
[global::ProtoBuf.ProtoMember(21)]
public global::System.Collections.Generic.List<int> fps_limit_options_external { get; } = new global::System.Collections.Generic.List<int>();

[global::ProtoBuf.ProtoMember(22)]
public bool is_tearing_supported
{
get => __pbn__is_tearing_supported.GetValueOrDefault();
set => __pbn__is_tearing_supported = value;
}
public bool ShouldSerializeis_tearing_supported() => __pbn__is_tearing_supported != null;
public void Resetis_tearing_supported() => __pbn__is_tearing_supported = null;
private bool? __pbn__is_tearing_supported;

[global::ProtoBuf.ProtoMember(23)]
public bool is_vrr_supported
{
Expand Down Expand Up @@ -2341,6 +2361,43 @@ public CMsgSystemPerfSettings settings_delta

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgSystemPerfLegacySettingEntry : 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 ulong profile_game_id
{
get => __pbn__profile_game_id.GetValueOrDefault();
set => __pbn__profile_game_id = value;
}
public bool ShouldSerializeprofile_game_id() => __pbn__profile_game_id != null;
public void Resetprofile_game_id() => __pbn__profile_game_id = null;
private ulong? __pbn__profile_game_id;

[global::ProtoBuf.ProtoMember(2)]
public CMsgSystemPerfSettingsPerApp settings { get; set; }

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgSystemPerfLegacySettings : 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 CMsgSystemPerfSettingsGlobal global { get; set; }

[global::ProtoBuf.ProtoMember(2)]
public global::System.Collections.Generic.List<CMsgSystemPerfLegacySettingEntry> per_app_settings { get; } = new global::System.Collections.Generic.List<CMsgSystemPerfLegacySettingEntry>();

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgSystemDockUpdateState : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -4159,6 +4216,25 @@ public string auth_key

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgWebUITransportFailure : 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 connect_count
{
get => __pbn__connect_count.GetValueOrDefault();
set => __pbn__connect_count = value;
}
public bool ShouldSerializeconnect_count() => __pbn__connect_count != null;
public void Resetconnect_count() => __pbn__connect_count = null;
private uint? __pbn__connect_count;

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgClientShaderHitCacheEntry : global::ProtoBuf.IExtensible
{
Expand Down
91 changes: 89 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ public enum EColorGamutLabelSet
k_ColorGamutLabelSet_Native_sRGB_Boosted = 2,
}

[global::ProtoBuf.ProtoContract()]
public enum EWindowStackingOrder
{
k_EWindowStackingOrder_Invalid = 0,
k_EWindowStackingOrder_Top = 1,
k_EWindowStackingOrder_Bottom = 2,
}

[global::ProtoBuf.ProtoContract()]
public enum EBluetoothDeviceType
{
Expand Down Expand Up @@ -456,8 +464,10 @@ public enum EOSBranch
k_EOSBranch_ReleaseCandidate = 2,
k_EOSBranch_Beta = 3,
k_EOSBranch_BetaCandidate = 4,
k_EOSBranch_Main = 5,
k_EOSBranch_Staging = 6,
k_EOSBranch_Preview = 5,
k_EOSBranch_PreviewCandidate = 6,
k_EOSBranch_Main = 7,
k_EOSBranch_Staging = 8,
}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -536,6 +546,20 @@ public enum ENewSteamAnnouncementState
k_ENewSteamAnnouncementState_FeaturedAnnouncement = 3,
}

[global::ProtoBuf.ProtoContract()]
public enum EForumType
{
k_EForumType_Invalid = 0,
k_EForumType_General = 1,
k_EForumType_ReportedPosts = 2,
k_EForumType_Workshop = 3,
k_EForumType_PublishedFile = 4,
k_EForumType_Trading = 5,
k_EForumType_PlayTest = 6,
k_EForumType_Event = 7,
k_EForumType_Max = 8,
}

[global::ProtoBuf.ProtoContract()]
public enum ECommentThreadType
{
Expand Down Expand Up @@ -613,6 +637,69 @@ public enum EAsyncGameSessionUserVisibility
k_EAsyncGameSessionUserVisibilityDismissed = 2,
}

[global::ProtoBuf.ProtoContract()]
public enum EGameRecordingType
{
k_EGameRecordingType_Unknown = 0,
k_EGameRecordingType_NotRecording = 1,
k_EGameRecordingType_ManualRecording = 2,
k_EGameRecordingType_BackgroundRecording = 3,
k_EGameRecordingType_Clip = 4,
}

[global::ProtoBuf.ProtoContract()]
public enum EProtoAppType
{
k_EAppTypeInvalid = 0,
k_EAppTypeGame = 1,
k_EAppTypeApplication = 2,
k_EAppTypeTool = 4,
k_EAppTypeDemo = 8,
k_EAppTypeDeprected = 16,
k_EAppTypeDLC = 32,
k_EAppTypeGuide = 64,
k_EAppTypeDriver = 128,
k_EAppTypeConfig = 256,
k_EAppTypeHardware = 512,
k_EAppTypeFranchise = 1024,
k_EAppTypeVideo = 2048,
k_EAppTypePlugin = 4096,
k_EAppTypeMusicAlbum = 8192,
k_EAppTypeSeries = 16384,
k_EAppTypeComic = 32768,
k_EAppTypeBeta = 65536,
k_EAppTypeShortcut = 1073741824,
k_EAppTypeDepotOnly = -2147483648,
}

[global::ProtoBuf.ProtoContract()]
public enum EWindowsUpdateInstallationImpact
{
k_EWindowsUpdateInstallationImpact_Unknown = -1,
k_EWindowsUpdateInstallationImpact_Normal = 0,
k_EWindowsUpdateInstallationImpact_Minor = 1,
k_EWindowsUpdateInstallationImpact_ExclusiveHandling = 2,
}

[global::ProtoBuf.ProtoContract()]
public enum EWindowsUpdateRebootBehavior
{
k_EWindowsUpdateRebootBehavior_Unknown = -1,
k_EWindowsUpdateRebootBehavior_NeverNeedsReboot = 0,
k_EWindowsUpdateRebootBehavior_AlwaysNeedsReboot = 1,
k_EWindowsUpdateRebootBehavior_MightNeedReboot = 2,
}

[global::ProtoBuf.ProtoContract()]
public enum EExternalSaleEventType
{
k_EExternalSaleEventType_Unknown = 0,
k_EExternalSaleEventType_Publisher = 1,
k_EExternalSaleEventType_Showcase = 2,
k_EExternalSaleEventType_Region = 3,
k_EExternalSaleEventType_Theme = 4,
}

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
Expand Down
20 changes: 20 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3402,6 +3402,16 @@ public int player_xp_bonus_flags
[global::ProtoBuf.ProtoMember(20)]
public global::System.Collections.Generic.List<PlayerRankingInfo> rankings { get; } = new global::System.Collections.Generic.List<PlayerRankingInfo>();

[global::ProtoBuf.ProtoMember(21)]
public ulong owcaseid
{
get => __pbn__owcaseid.GetValueOrDefault();
set => __pbn__owcaseid = value;
}
public bool ShouldSerializeowcaseid() => __pbn__owcaseid != null;
public void Resetowcaseid() => __pbn__owcaseid = null;
private ulong? __pbn__owcaseid;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -5112,6 +5122,16 @@ public int entindex
public void Resetentindex() => __pbn__entindex = null;
private int? __pbn__entindex;

[global::ProtoBuf.ProtoMember(19)]
public uint petindex
{
get => __pbn__petindex.GetValueOrDefault();
set => __pbn__petindex = value;
}
public bool ShouldSerializepetindex() => __pbn__petindex != null;
public void Resetpetindex() => __pbn__petindex = null;
private uint? __pbn__petindex;

[global::ProtoBuf.ProtoContract()]
public partial class Sticker : global::ProtoBuf.IExtensible
{
Expand Down
Loading

0 comments on commit 3e35b17

Please sign in to comment.