Skip to content

Commit

Permalink
Update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Jun 21, 2020
1 parent f626a64 commit 79cb01e
Show file tree
Hide file tree
Showing 13 changed files with 461 additions and 55 deletions.
70 changes: 70 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,9 @@ public string error
[global::ProtoBuf.ProtoMember(17)]
public global::System.Collections.Generic.List<uint> launcher_mismatch_sessions { get; } = new global::System.Collections.Generic.List<uint>();

[global::ProtoBuf.ProtoMember(18)]
public global::System.Collections.Generic.List<uint> insecure_account_id_sessions { get; } = new global::System.Collections.Generic.List<uint>();

[global::ProtoBuf.ProtoContract()]
public partial class Note : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -6960,6 +6963,27 @@ public uint process_id
public void Resetprocess_id() => __pbn__process_id = null;
private uint? __pbn__process_id;

[global::ProtoBuf.ProtoMember(9)]
public int osversion
{
get { return __pbn__osversion.GetValueOrDefault(); }
set { __pbn__osversion = value; }
}
public bool ShouldSerializeosversion() => __pbn__osversion != null;
public void Resetosversion() => __pbn__osversion = null;
private int? __pbn__osversion;

[global::ProtoBuf.ProtoMember(10)]
[global::System.ComponentModel.DefaultValue(EClientReportingVersion.k_EClientReportingVersion_SupportsSecureMode)]
public EClientReportingVersion clientreportversion
{
get { return __pbn__clientreportversion ?? EClientReportingVersion.k_EClientReportingVersion_SupportsSecureMode; }
set { __pbn__clientreportversion = value; }
}
public bool ShouldSerializeclientreportversion() => __pbn__clientreportversion != null;
public void Resetclientreportversion() => __pbn__clientreportversion = null;
private EClientReportingVersion? __pbn__clientreportversion;

}

[global::ProtoBuf.ProtoContract()]
Expand All @@ -6980,6 +7004,46 @@ public string file_report
public void Resetfile_report() => __pbn__file_report = null;
private string __pbn__file_report;

[global::ProtoBuf.ProtoMember(2)]
public bool offer_insecure_mode
{
get { return __pbn__offer_insecure_mode.GetValueOrDefault(); }
set { __pbn__offer_insecure_mode = value; }
}
public bool ShouldSerializeoffer_insecure_mode() => __pbn__offer_insecure_mode != null;
public void Resetoffer_insecure_mode() => __pbn__offer_insecure_mode = null;
private bool? __pbn__offer_insecure_mode;

[global::ProtoBuf.ProtoMember(3)]
public bool offer_secure_mode
{
get { return __pbn__offer_secure_mode.GetValueOrDefault(); }
set { __pbn__offer_secure_mode = value; }
}
public bool ShouldSerializeoffer_secure_mode() => __pbn__offer_secure_mode != null;
public void Resetoffer_secure_mode() => __pbn__offer_secure_mode = null;
private bool? __pbn__offer_secure_mode;

[global::ProtoBuf.ProtoMember(4)]
public bool show_unsigned_ui
{
get { return __pbn__show_unsigned_ui.GetValueOrDefault(); }
set { __pbn__show_unsigned_ui = value; }
}
public bool ShouldSerializeshow_unsigned_ui() => __pbn__show_unsigned_ui != null;
public void Resetshow_unsigned_ui() => __pbn__show_unsigned_ui = null;
private bool? __pbn__show_unsigned_ui;

[global::ProtoBuf.ProtoMember(5)]
public bool kick_user
{
get { return __pbn__kick_user.GetValueOrDefault(); }
set { __pbn__kick_user = value; }
}
public bool ShouldSerializekick_user() => __pbn__kick_user != null;
public void Resetkick_user() => __pbn__kick_user = null;
private bool? __pbn__kick_user;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -7117,6 +7181,12 @@ public enum ECsgoSteamUserStat
k_ECsgoSteamUserStat_SurvivedDangerZone = 3,
}

[global::ProtoBuf.ProtoContract()]
public enum EClientReportingVersion
{
k_EClientReportingVersion_SupportsSecureMode = 1,
}

}

#pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
62 changes: 62 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16318,6 +16318,58 @@ public uint slot_id

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgClientToGCUnderDraftRollBackBench : 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 event_id
{
get { return __pbn__event_id.GetValueOrDefault(); }
set { __pbn__event_id = value; }
}
public bool ShouldSerializeevent_id() => __pbn__event_id != null;
public void Resetevent_id() => __pbn__event_id = null;
private uint? __pbn__event_id;

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgClientToGCUnderDraftRollBackBenchResponse : 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(EUnderDraftResponse.k_eInternalError)]
public EUnderDraftResponse result
{
get { return __pbn__result ?? EUnderDraftResponse.k_eInternalError; }
set { __pbn__result = value; }
}
public bool ShouldSerializeresult() => __pbn__result != null;
public void Resetresult() => __pbn__result = null;
private EUnderDraftResponse? __pbn__result;

[global::ProtoBuf.ProtoMember(2)]
public uint event_id
{
get { return __pbn__event_id.GetValueOrDefault(); }
set { __pbn__event_id = value; }
}
public bool ShouldSerializeevent_id() => __pbn__event_id != null;
public void Resetevent_id() => __pbn__event_id = null;
private uint? __pbn__event_id;

[global::ProtoBuf.ProtoMember(3)]
public CMsgUnderDraftData draft_data { get; set; }

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgClientToGCUnderDraftSell : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -16909,6 +16961,15 @@ public uint dire_votes

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgClientToGCApplyGauntletTicket : 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.ProtoContract()]
public enum DOTA_WatchReplayType
{
Expand Down Expand Up @@ -17048,6 +17109,7 @@ public enum EUnderDraftResponse
k_eHasBigReward = 8,
k_eNoGCConnection = 9,
k_eTooBusy = 10,
k_eCantRollBack = 11,
}

[global::ProtoBuf.ProtoContract()]
Expand Down
11 changes: 11 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,16 @@ public uint member_joined_timestamp
public void Resetmember_joined_timestamp() => __pbn__member_joined_timestamp = null;
private uint? __pbn__member_joined_timestamp;

[global::ProtoBuf.ProtoMember(4)]
public uint member_last_active_timestamp
{
get { return __pbn__member_last_active_timestamp.GetValueOrDefault(); }
set { __pbn__member_last_active_timestamp = value; }
}
public bool ShouldSerializemember_last_active_timestamp() => __pbn__member_last_active_timestamp != null;
public void Resetmember_last_active_timestamp() => __pbn__member_last_active_timestamp = null;
private uint? __pbn__member_last_active_timestamp;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -2145,6 +2155,7 @@ public enum EGuildAuditAction
k_EGuildAuditAction_GuildTagChanged = 23,
k_EGuildAuditAction_AdminWhitelisted = 24,
k_EGuildAuditAction_AdminBlacklisted = 25,
k_EGuildAuditAction_AdminBannedUser = 26,
}

[global::ProtoBuf.ProtoContract()]
Expand Down
10 changes: 10 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9517,6 +9517,16 @@ public uint total_gold
public void Resettotal_gold() => __pbn__total_gold = null;
private uint? __pbn__total_gold;

[global::ProtoBuf.ProtoMember(5)]
public bool not_restorable
{
get { return __pbn__not_restorable.GetValueOrDefault(); }
set { __pbn__not_restorable = value; }
}
public bool ShouldSerializenot_restorable() => __pbn__not_restorable != null;
public void Resetnot_restorable() => __pbn__not_restorable = null;
private bool? __pbn__not_restorable;

[global::ProtoBuf.ProtoContract()]
public partial class BenchSlot : global::ProtoBuf.IExtensible
{
Expand Down
72 changes: 34 additions & 38 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1222,16 +1222,6 @@ public uint channel
public void Resetchannel() => __pbn__channel = null;
private uint? __pbn__channel;

[global::ProtoBuf.ProtoMember(18)]
public uint prize_def_index
{
get { return __pbn__prize_def_index.GetValueOrDefault(); }
set { __pbn__prize_def_index = value; }
}
public bool ShouldSerializeprize_def_index() => __pbn__prize_def_index != null;
public void Resetprize_def_index() => __pbn__prize_def_index = null;
private uint? __pbn__prize_def_index;

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

Expand Down Expand Up @@ -1323,16 +1313,6 @@ public bool cameraman
[global::ProtoBuf.ProtoMember(31)]
public global::System.Collections.Generic.List<uint> custom_game_product_ids { get; } = new global::System.Collections.Generic.List<uint>();

[global::ProtoBuf.ProtoMember(32)]
public uint lobby_mvp_vote_account_id
{
get { return __pbn__lobby_mvp_vote_account_id.GetValueOrDefault(); }
set { __pbn__lobby_mvp_vote_account_id = value; }
}
public bool ShouldSerializelobby_mvp_vote_account_id() => __pbn__lobby_mvp_vote_account_id != null;
public void Resetlobby_mvp_vote_account_id() => __pbn__lobby_mvp_vote_account_id = null;
private uint? __pbn__lobby_mvp_vote_account_id;

[global::ProtoBuf.ProtoMember(33)]
[global::System.ComponentModel.DefaultValue(MatchType.MATCH_TYPE_CASUAL)]
public MatchType search_match_type
Expand Down Expand Up @@ -1452,9 +1432,6 @@ public int rank_tier
public void Resetrank_tier() => __pbn__rank_tier = null;
private int? __pbn__rank_tier;

[global::ProtoBuf.ProtoMember(49)]
public global::System.Collections.Generic.List<CMsgLobbyMemberGuildInfo> guild_info { get; } = new global::System.Collections.Generic.List<CMsgLobbyMemberGuildInfo>();

[global::ProtoBuf.ProtoMember(50)]
public uint title
{
Expand All @@ -1465,6 +1442,16 @@ public uint title
public void Resettitle() => __pbn__title = null;
private uint? __pbn__title;

[global::ProtoBuf.ProtoMember(51)]
public uint guild_id
{
get { return __pbn__guild_id.GetValueOrDefault(); }
set { __pbn__guild_id = value; }
}
public bool ShouldSerializeguild_id() => __pbn__guild_id != null;
public void Resetguild_id() => __pbn__guild_id = null;
private uint? __pbn__guild_id;

[global::ProtoBuf.ProtoContract()]
public partial class CDOTALobbyMemberXPBonus : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -1649,7 +1636,7 @@ public string team_logo_url
}

[global::ProtoBuf.ProtoContract()]
public partial class CLobbyTeamGuildDetails : global::ProtoBuf.IExtensible
public partial class CLobbyGuildDetails : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
Expand Down Expand Up @@ -1735,6 +1722,28 @@ public uint guild_flags
public void Resetguild_flags() => __pbn__guild_flags = null;
private uint? __pbn__guild_flags;

[global::ProtoBuf.ProtoMember(9)]
[global::System.ComponentModel.DefaultValue(DOTA_GC_TEAM.DOTA_GC_TEAM_GOOD_GUYS)]
public DOTA_GC_TEAM team_for_guild
{
get { return __pbn__team_for_guild ?? DOTA_GC_TEAM.DOTA_GC_TEAM_GOOD_GUYS; }
set { __pbn__team_for_guild = value; }
}
public bool ShouldSerializeteam_for_guild() => __pbn__team_for_guild != null;
public void Resetteam_for_guild() => __pbn__team_for_guild = null;
private DOTA_GC_TEAM? __pbn__team_for_guild;

[global::ProtoBuf.ProtoMember(10)]
[global::System.ComponentModel.DefaultValue("")]
public string guild_tag
{
get { return __pbn__guild_tag ?? ""; }
set { __pbn__guild_tag = value; }
}
public bool ShouldSerializeguild_tag() => __pbn__guild_tag != null;
public void Resetguild_tag() => __pbn__guild_tag = null;
private string __pbn__guild_tag;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -2705,16 +2714,6 @@ public EEvent current_primary_event
public void Resetcurrent_primary_event() => __pbn__current_primary_event = null;
private EEvent? __pbn__current_primary_event;

[global::ProtoBuf.ProtoMember(104)]
public bool lowpri_deprecated
{
get { return __pbn__lowpri_deprecated.GetValueOrDefault(); }
set { __pbn__lowpri_deprecated = value; }
}
public bool ShouldSerializelowpri_deprecated() => __pbn__lowpri_deprecated != null;
public void Resetlowpri_deprecated() => __pbn__lowpri_deprecated = null;
private bool? __pbn__lowpri_deprecated;

[global::ProtoBuf.ProtoMember(105)]
public global::System.Collections.Generic.List<uint> emergency_disabled_hero_ids { get; } = new global::System.Collections.Generic.List<uint>();

Expand All @@ -2738,9 +2737,6 @@ public bool custom_game_penalties
public void Resetcustom_game_penalties() => __pbn__custom_game_penalties = null;
private bool? __pbn__custom_game_penalties;

[global::ProtoBuf.ProtoMember(108)]
public global::System.Collections.Generic.List<uint> mutations { get; } = new global::System.Collections.Generic.List<uint>();

[global::ProtoBuf.ProtoMember(109)]
[global::System.ComponentModel.DefaultValue("")]
public string lan_host_ping_location
Expand Down Expand Up @@ -2816,7 +2812,7 @@ public bool experimental_gameplay_enabled
public global::System.Collections.Generic.List<CLobbyGuildChallenge> guild_challenges { get; } = new global::System.Collections.Generic.List<CLobbyGuildChallenge>();

[global::ProtoBuf.ProtoMember(118)]
public global::System.Collections.Generic.List<CLobbyTeamGuildDetails> guild_team_details { get; } = new global::System.Collections.Generic.List<CLobbyTeamGuildDetails>();
public global::System.Collections.Generic.List<CLobbyGuildDetails> guild_details { get; } = new global::System.Collections.Generic.List<CLobbyGuildDetails>();

[global::ProtoBuf.ProtoContract()]
public partial class CExtraMsg : global::ProtoBuf.IExtensible
Expand Down
6 changes: 6 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ public enum EDOTAGCMsg
k_EMsgGCToClientPartySearchInvites = 7680,
k_EMsgGCToClientRequestMMInfo = 7681,
k_EMsgClientToGCMMInfo = 7682,
k_EMsgSignOutTextMuteInfo = 7683,
k_EMsgGCDev_GrantWarKill = 8001,
k_EMsgServerToGCLockCharmTrading = 8004,
k_EMsgClientToGCPlayerStatsRequest = 8006,
Expand Down Expand Up @@ -917,6 +918,11 @@ public enum EDOTAGCMsg
k_EMsgClientToGCSubmitDraftTriviaMatchAnswer = 8736,
k_EMsgClientToGCSubmitDraftTriviaMatchAnswerResponse = 8737,
k_EMsgGCToGCSignoutSpendBounty = 8738,
k_EMsgClientToGCApplyGauntletTicket = 8739,
k_EMsgClientToGCUnderDraftRollBackBench = 8740,
k_EMsgClientToGCUnderDraftRollBackBenchResponse = 8741,
k_EMsgServerToGCGetGuildContracts = 8744,
k_EMsgServerToGCGetGuildContractsResponse = 8745,
}

}
Expand Down
Loading

0 comments on commit 79cb01e

Please sign in to comment.