Skip to content

Commit

Permalink
Add client parties proto generation. Add missing generated files.
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Nov 26, 2018
1 parent aa01a37 commit a12aad9
Show file tree
Hide file tree
Showing 8 changed files with 10,701 additions and 0 deletions.
1 change: 1 addition & 0 deletions Resources/Protogen/protos.csv
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ steam,steammessages_linkfilter.steamclient.proto,Unified\SteamMsgLinkFilter.cs,S
steam,steammessages_market.steamclient.proto,Unified\SteamMsgMarket.cs,SteamKit2.Unified.Internal
steam,steammessages_offline.steamclient.proto,Unified\SteamMsgOffline.cs,SteamKit2.Unified.Internal
steam,steammessages_parental.steamclient.proto,Unified\SteamMsgParental.cs,SteamKit2.Unified.Internal
steam,steammessages_parties.steamclient.proto,Unified\SteamMsgParties.cs,SteamKit2.Unified.Internal
steam,steammessages_partnerapps.steamclient.proto,Unified\SteamMsgPartnerApps.cs,SteamKit2.Unified.Internal
steam,steammessages_player.steamclient.proto,Unified\SteamMsgPlayer.cs,SteamKit2.Unified.Internal
steam,steammessages_publishedfile.steamclient.proto,Unified\SteamMsgPublishedFile.cs,SteamKit2.Unified.Internal
Expand Down
873 changes: 873 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs

Large diffs are not rendered by default.

7,569 changes: 7,569 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs

Large diffs are not rendered by default.

225 changes: 225 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable 1591

// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled

// Generated from: steammessages_market.steamclient.proto
// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto
namespace SteamKit2.Unified.Internal
{
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CEconMarket_IsMarketplaceAllowed_Request")]
public partial class CEconMarket_IsMarketplaceAllowed_Request : global::ProtoBuf.IExtensible
{
public CEconMarket_IsMarketplaceAllowed_Request() {}


private string _webcookie;
[global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"webcookie", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string webcookie
{
get { return _webcookie?? ""; }
set { _webcookie = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool webcookieSpecified
{
get { return _webcookie != null; }
set { if (value == (_webcookie== null)) _webcookie = value ? this.webcookie : (string)null; }
}
private bool ShouldSerializewebcookie() { return webcookieSpecified; }
private void Resetwebcookie() { webcookieSpecified = false; }

private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}

[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CEconMarket_IsMarketplaceAllowed_Response")]
public partial class CEconMarket_IsMarketplaceAllowed_Response : global::ProtoBuf.IExtensible
{
public CEconMarket_IsMarketplaceAllowed_Response() {}


private bool? _allowed;
[global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"allowed", DataFormat = global::ProtoBuf.DataFormat.Default)]
public bool allowed
{
get { return _allowed?? default(bool); }
set { _allowed = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool allowedSpecified
{
get { return _allowed != null; }
set { if (value == (_allowed== null)) _allowed = value ? this.allowed : (bool?)null; }
}
private bool ShouldSerializeallowed() { return allowedSpecified; }
private void Resetallowed() { allowedSpecified = false; }


private uint? _reason;
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"reason", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public uint reason
{
get { return _reason?? default(uint); }
set { _reason = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool reasonSpecified
{
get { return _reason != null; }
set { if (value == (_reason== null)) _reason = value ? this.reason : (uint?)null; }
}
private bool ShouldSerializereason() { return reasonSpecified; }
private void Resetreason() { reasonSpecified = false; }


private uint? _allowed_at_time;
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"allowed_at_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public uint allowed_at_time
{
get { return _allowed_at_time?? default(uint); }
set { _allowed_at_time = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool allowed_at_timeSpecified
{
get { return _allowed_at_time != null; }
set { if (value == (_allowed_at_time== null)) _allowed_at_time = value ? this.allowed_at_time : (uint?)null; }
}
private bool ShouldSerializeallowed_at_time() { return allowed_at_timeSpecified; }
private void Resetallowed_at_time() { allowed_at_timeSpecified = false; }


private uint? _steamguard_required_days;
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"steamguard_required_days", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public uint steamguard_required_days
{
get { return _steamguard_required_days?? default(uint); }
set { _steamguard_required_days = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool steamguard_required_daysSpecified
{
get { return _steamguard_required_days != null; }
set { if (value == (_steamguard_required_days== null)) _steamguard_required_days = value ? this.steamguard_required_days : (uint?)null; }
}
private bool ShouldSerializesteamguard_required_days() { return steamguard_required_daysSpecified; }
private void Resetsteamguard_required_days() { steamguard_required_daysSpecified = false; }


private int? _sales_this_year;
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"sales_this_year", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int sales_this_year
{
get { return _sales_this_year?? default(int); }
set { _sales_this_year = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool sales_this_yearSpecified
{
get { return _sales_this_year != null; }
set { if (value == (_sales_this_year== null)) _sales_this_year = value ? this.sales_this_year : (int?)null; }
}
private bool ShouldSerializesales_this_year() { return sales_this_yearSpecified; }
private void Resetsales_this_year() { sales_this_yearSpecified = false; }


private int? _max_sales_per_year;
[global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"max_sales_per_year", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int max_sales_per_year
{
get { return _max_sales_per_year?? default(int); }
set { _max_sales_per_year = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool max_sales_per_yearSpecified
{
get { return _max_sales_per_year != null; }
set { if (value == (_max_sales_per_year== null)) _max_sales_per_year = value ? this.max_sales_per_year : (int?)null; }
}
private bool ShouldSerializemax_sales_per_year() { return max_sales_per_yearSpecified; }
private void Resetmax_sales_per_year() { max_sales_per_yearSpecified = false; }


private bool? _forms_requested;
[global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"forms_requested", DataFormat = global::ProtoBuf.DataFormat.Default)]
public bool forms_requested
{
get { return _forms_requested?? default(bool); }
set { _forms_requested = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool forms_requestedSpecified
{
get { return _forms_requested != null; }
set { if (value == (_forms_requested== null)) _forms_requested = value ? this.forms_requested : (bool?)null; }
}
private bool ShouldSerializeforms_requested() { return forms_requestedSpecified; }
private void Resetforms_requested() { forms_requestedSpecified = false; }


private bool? _forms_require_verification;
[global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"forms_require_verification", DataFormat = global::ProtoBuf.DataFormat.Default)]
public bool forms_require_verification
{
get { return _forms_require_verification?? default(bool); }
set { _forms_require_verification = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool forms_require_verificationSpecified
{
get { return _forms_require_verification != null; }
set { if (value == (_forms_require_verification== null)) _forms_require_verification = value ? this.forms_require_verification : (bool?)null; }
}
private bool ShouldSerializeforms_require_verification() { return forms_require_verificationSpecified; }
private void Resetforms_require_verification() { forms_require_verificationSpecified = false; }


private uint? _new_device_cooldown_days;
[global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"new_device_cooldown_days", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public uint new_device_cooldown_days
{
get { return _new_device_cooldown_days?? default(uint); }
set { _new_device_cooldown_days = value; }
}
[global::System.Xml.Serialization.XmlIgnore]
[global::System.ComponentModel.Browsable(false)]
public bool new_device_cooldown_daysSpecified
{
get { return _new_device_cooldown_days != null; }
set { if (value == (_new_device_cooldown_days== null)) _new_device_cooldown_days = value ? this.new_device_cooldown_days : (uint?)null; }
}
private bool ShouldSerializenew_device_cooldown_days() { return new_device_cooldown_daysSpecified; }
private void Resetnew_device_cooldown_days() { new_device_cooldown_daysSpecified = false; }

private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}

public interface IEconMarket
{
CEconMarket_IsMarketplaceAllowed_Response IsMarketplaceAllowed(CEconMarket_IsMarketplaceAllowed_Request request);

}


}
#pragma warning restore 1591
Loading

0 comments on commit a12aad9

Please sign in to comment.