Skip to content

Commit

Permalink
Update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Sep 15, 2024
1 parent 223468c commit 83cdb03
Show file tree
Hide file tree
Showing 25 changed files with 936 additions and 867 deletions.
2 changes: 1 addition & 1 deletion Resources/Protobufs
Submodule Protobufs updated 117 files
40 changes: 20 additions & 20 deletions SteamKit2/SteamKit2/Base/Generated/ClientObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,26 @@ public uint time_last_updated
public void Resettime_last_updated() => __pbn__time_last_updated = null;
private uint? __pbn__time_last_updated;

[global::ProtoBuf.ProtoMember(5)]
public int os_type
{
get => __pbn__os_type.GetValueOrDefault();
set => __pbn__os_type = value;
}
public bool ShouldSerializeos_type() => __pbn__os_type != null;
public void Resetos_type() => __pbn__os_type = null;
private int? __pbn__os_type;

[global::ProtoBuf.ProtoMember(6)]
public int device_type
{
get => __pbn__device_type.GetValueOrDefault();
set => __pbn__device_type = value;
}
public bool ShouldSerializedevice_type() => __pbn__device_type != null;
public void Resetdevice_type() => __pbn__device_type = null;
private int? __pbn__device_type;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -1983,26 +2003,6 @@ public bool is_vrr_enabled
public void Resetis_vrr_enabled() => __pbn__is_vrr_enabled = null;
private bool? __pbn__is_vrr_enabled;

[global::ProtoBuf.ProtoMember(21)]
public bool is_composite_debug_enabled
{
get => __pbn__is_composite_debug_enabled.GetValueOrDefault();
set => __pbn__is_composite_debug_enabled = value;
}
public bool ShouldSerializeis_composite_debug_enabled() => __pbn__is_composite_debug_enabled != null;
public void Resetis_composite_debug_enabled() => __pbn__is_composite_debug_enabled = null;
private bool? __pbn__is_composite_debug_enabled;

[global::ProtoBuf.ProtoMember(22)]
public bool force_composite
{
get => __pbn__force_composite.GetValueOrDefault();
set => __pbn__force_composite = value;
}
public bool ShouldSerializeforce_composite() => __pbn__force_composite != null;
public void Resetforce_composite() => __pbn__force_composite = null;
private bool? __pbn__force_composite;

[global::ProtoBuf.ProtoMember(23)]
public bool use_dynamic_refresh_rate_in_steam
{
Expand Down
1 change: 1 addition & 0 deletions SteamKit2/SteamKit2/Base/Generated/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ public enum ECompromiseDetectionType
k_ECompromiseDetectionType_None = 0,
k_ECompromiseDetectionType_TradeEvent = 1,
k_ECompromiseDetectionType_ApiCallRate = 2,
k_ECompromiseDetectionType_Manual = 3,
}

[global::ProtoBuf.ProtoContract()]
Expand Down
3 changes: 3 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5142,6 +5142,9 @@ public uint petindex
public void Resetpetindex() => __pbn__petindex = null;
private uint? __pbn__petindex;

[global::ProtoBuf.ProtoMember(20)]
public global::System.Collections.Generic.List<Sticker> keychains { get; } = new global::System.Collections.Generic.List<Sticker>();

[global::ProtoBuf.ProtoContract()]
public partial class Sticker : global::ProtoBuf.IExtensible
{
Expand Down
10 changes: 10 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ public string instance_name
private string __pbn__instance_name;

[global::ProtoBuf.ProtoMember(3)]
public ulong context
{
get => __pbn__context.GetValueOrDefault();
set => __pbn__context = value;
}
public bool ShouldSerializecontext() => __pbn__context != null;
public void Resetcontext() => __pbn__context = null;
private ulong? __pbn__context;

[global::ProtoBuf.ProtoMember(4)]
public ulong id
{
get => __pbn__id.GetValueOrDefault();
Expand Down
39 changes: 39 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2879,6 +2879,45 @@ public uint eresult

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgDOTACompendiumRemoveAllSelections : 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 leagueid
{
get => __pbn__leagueid.GetValueOrDefault();
set => __pbn__leagueid = value;
}
public bool ShouldSerializeleagueid() => __pbn__leagueid != null;
public void Resetleagueid() => __pbn__leagueid = null;
private uint? __pbn__leagueid;

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgDOTACompendiumRemoveAllSelectionsResponse : 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(2u)]
public uint eresult
{
get => __pbn__eresult ?? 2u;
set => __pbn__eresult = value;
}
public bool ShouldSerializeeresult() => __pbn__eresult != null;
public void Reseteresult() => __pbn__eresult = null;
private uint? __pbn__eresult;

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgDOTACompendiumData : global::ProtoBuf.IExtensible
{
Expand Down
72 changes: 0 additions & 72 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -570,16 +570,6 @@ public bool fill_with_bots
public void Resetfill_with_bots() => __pbn__fill_with_bots = null;
private bool? __pbn__fill_with_bots;

[global::ProtoBuf.ProtoMember(12)]
public bool intro_mode
{
get => __pbn__intro_mode.GetValueOrDefault();
set => __pbn__intro_mode = value;
}
public bool ShouldSerializeintro_mode() => __pbn__intro_mode != null;
public void Resetintro_mode() => __pbn__intro_mode = null;
private bool? __pbn__intro_mode;

[global::ProtoBuf.ProtoMember(13)]
public bool allow_spectating
{
Expand Down Expand Up @@ -631,16 +621,6 @@ public uint penalty_level_dire
public void Resetpenalty_level_dire() => __pbn__penalty_level_dire = null;
private uint? __pbn__penalty_level_dire;

[global::ProtoBuf.ProtoMember(19)]
public uint load_game_id
{
get => __pbn__load_game_id.GetValueOrDefault();
set => __pbn__load_game_id = value;
}
public bool ShouldSerializeload_game_id() => __pbn__load_game_id != null;
public void Resetload_game_id() => __pbn__load_game_id = null;
private uint? __pbn__load_game_id;

[global::ProtoBuf.ProtoMember(20)]
public uint series_type
{
Expand Down Expand Up @@ -972,58 +952,6 @@ public uint client_version
[global::ProtoBuf.ProtoMember(7)]
public CMsgPracticeLobbySetDetails lobby_details { get; set; }

[global::ProtoBuf.ProtoMember(8)]
public SaveGame save_game { get; set; }

[global::ProtoBuf.ProtoContract()]
public partial class SaveGame : 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 byte[] data
{
get => __pbn__data;
set => __pbn__data = value;
}
public bool ShouldSerializedata() => __pbn__data != null;
public void Resetdata() => __pbn__data = null;
private byte[] __pbn__data;

[global::ProtoBuf.ProtoMember(2)]
public int version
{
get => __pbn__version.GetValueOrDefault();
set => __pbn__version = value;
}
public bool ShouldSerializeversion() => __pbn__version != null;
public void Resetversion() => __pbn__version = null;
private int? __pbn__version;

[global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
public ulong steam_id
{
get => __pbn__steam_id.GetValueOrDefault();
set => __pbn__steam_id = value;
}
public bool ShouldSerializesteam_id() => __pbn__steam_id != null;
public void Resetsteam_id() => __pbn__steam_id = null;
private ulong? __pbn__steam_id;

[global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
public ulong signature
{
get => __pbn__signature.GetValueOrDefault();
set => __pbn__signature = value;
}
public bool ShouldSerializesignature() => __pbn__signature != null;
public void Resetsignature() => __pbn__signature = null;
private ulong? __pbn__signature;

}

}

[global::ProtoBuf.ProtoContract()]
Expand Down
55 changes: 55 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4910,6 +4910,16 @@ public EEvent reward_event
public void Resetreward_event() => __pbn__reward_event = null;
private EEvent? __pbn__reward_event;

[global::ProtoBuf.ProtoMember(20)]
public uint league_node_id
{
get => __pbn__league_node_id.GetValueOrDefault();
set => __pbn__league_node_id = value;
}
public bool ShouldSerializeleague_node_id() => __pbn__league_node_id != null;
public void Resetleague_node_id() => __pbn__league_node_id = null;
private uint? __pbn__league_node_id;

[global::ProtoBuf.ProtoContract()]
public partial class Answers : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -9867,6 +9877,51 @@ public int neutral_item_tier
public void Resetneutral_item_tier() => __pbn__neutral_item_tier = null;
private int? __pbn__neutral_item_tier;

[global::ProtoBuf.ProtoMember(6)]
public bool is_pregame_suggested
{
get => __pbn__is_pregame_suggested.GetValueOrDefault();
set => __pbn__is_pregame_suggested = value;
}
public bool ShouldSerializeis_pregame_suggested() => __pbn__is_pregame_suggested != null;
public void Resetis_pregame_suggested() => __pbn__is_pregame_suggested = null;
private bool? __pbn__is_pregame_suggested;

[global::ProtoBuf.ProtoMember(7)]
public bool is_earlygame_suggested
{
get => __pbn__is_earlygame_suggested.GetValueOrDefault();
set => __pbn__is_earlygame_suggested = value;
}
public bool ShouldSerializeis_earlygame_suggested() => __pbn__is_earlygame_suggested != null;
public void Resetis_earlygame_suggested() => __pbn__is_earlygame_suggested = null;
private bool? __pbn__is_earlygame_suggested;

[global::ProtoBuf.ProtoMember(8)]
public bool is_lategame_suggested
{
get => __pbn__is_lategame_suggested.GetValueOrDefault();
set => __pbn__is_lategame_suggested = value;
}
public bool ShouldSerializeis_lategame_suggested() => __pbn__is_lategame_suggested != null;
public void Resetis_lategame_suggested() => __pbn__is_lategame_suggested = null;
private bool? __pbn__is_lategame_suggested;

[global::ProtoBuf.ProtoMember(9)]
public global::System.Collections.Generic.List<Recipe> recipes { get; } = new global::System.Collections.Generic.List<Recipe>();

[global::ProtoBuf.ProtoContract()]
public partial class Recipe : 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<int> items { get; } = new global::System.Collections.Generic.List<int>();

}

}

}
Expand Down
Loading

0 comments on commit 83cdb03

Please sign in to comment.