1678 lines
46 KiB
C#
1678 lines
46 KiB
C#
/**
|
|
* <auto-generated>
|
|
* Autogenerated by Thrift Compiler (0.22.0)
|
|
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
* </auto-generated>
|
|
*/
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Thrift;
|
|
using Thrift.Collections;
|
|
using System.Runtime.Serialization;
|
|
using Thrift.Protocol;
|
|
using Thrift.Protocol.Entities;
|
|
using Thrift.Protocol.Utilities;
|
|
using Thrift.Transport;
|
|
using Thrift.Transport.Client;
|
|
|
|
|
|
#pragma warning disable IDE0079 // remove unnecessary pragmas
|
|
#pragma warning disable IDE0017 // object init can be simplified
|
|
#pragma warning disable IDE0028 // collection init can be simplified
|
|
#pragma warning disable IDE0305 // collection init can be simplified
|
|
#pragma warning disable IDE0034 // simplify default expression
|
|
#pragma warning disable IDE0066 // use switch expression
|
|
#pragma warning disable IDE0090 // simplify new expression
|
|
#pragma warning disable IDE0290 // use primary CTOR
|
|
#pragma warning disable IDE1006 // parts of the code use IDL spelling
|
|
#pragma warning disable CA1822 // empty DeepCopy() methods still non-static
|
|
#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions
|
|
|
|
namespace Byway.Thrift.Data
|
|
{
|
|
|
|
[DataContract(Namespace="")]
|
|
public partial class MergeDataItem : TBase
|
|
{
|
|
private int _Id;
|
|
private int _Lv;
|
|
private int _MaxLv;
|
|
private string _Icon;
|
|
private string _Color;
|
|
private string _Title;
|
|
private string _Content;
|
|
private string _SellType;
|
|
private int _SellNum;
|
|
private int _Star;
|
|
private string _Origin;
|
|
private int _Capacity;
|
|
private int _CoolTime;
|
|
private int _CoolNum;
|
|
private string _Emit_List;
|
|
private int _SellDiamond;
|
|
private string _Relative;
|
|
private string _Type;
|
|
private string _Emit_ID;
|
|
private string _Emit_Type;
|
|
private string _Product_Type;
|
|
private int _Order_Score;
|
|
private string _Emit_Product;
|
|
private string _Dynamic;
|
|
private string _Dynamic1;
|
|
private string _Dynamic2;
|
|
private string _Dynamic3;
|
|
|
|
[DataMember(Order = 0)]
|
|
public int Id
|
|
{
|
|
get
|
|
{
|
|
return _Id;
|
|
}
|
|
set
|
|
{
|
|
__isset.Id = true;
|
|
this._Id = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int Lv
|
|
{
|
|
get
|
|
{
|
|
return _Lv;
|
|
}
|
|
set
|
|
{
|
|
__isset.Lv = true;
|
|
this._Lv = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int MaxLv
|
|
{
|
|
get
|
|
{
|
|
return _MaxLv;
|
|
}
|
|
set
|
|
{
|
|
__isset.MaxLv = true;
|
|
this._MaxLv = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Icon
|
|
{
|
|
get
|
|
{
|
|
return _Icon;
|
|
}
|
|
set
|
|
{
|
|
__isset.Icon = true;
|
|
this._Icon = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Color
|
|
{
|
|
get
|
|
{
|
|
return _Color;
|
|
}
|
|
set
|
|
{
|
|
__isset.Color = true;
|
|
this._Color = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Title
|
|
{
|
|
get
|
|
{
|
|
return _Title;
|
|
}
|
|
set
|
|
{
|
|
__isset.Title = true;
|
|
this._Title = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Content
|
|
{
|
|
get
|
|
{
|
|
return _Content;
|
|
}
|
|
set
|
|
{
|
|
__isset.Content = true;
|
|
this._Content = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string SellType
|
|
{
|
|
get
|
|
{
|
|
return _SellType;
|
|
}
|
|
set
|
|
{
|
|
__isset.SellType = true;
|
|
this._SellType = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int SellNum
|
|
{
|
|
get
|
|
{
|
|
return _SellNum;
|
|
}
|
|
set
|
|
{
|
|
__isset.SellNum = true;
|
|
this._SellNum = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int Star
|
|
{
|
|
get
|
|
{
|
|
return _Star;
|
|
}
|
|
set
|
|
{
|
|
__isset.Star = true;
|
|
this._Star = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Origin
|
|
{
|
|
get
|
|
{
|
|
return _Origin;
|
|
}
|
|
set
|
|
{
|
|
__isset.Origin = true;
|
|
this._Origin = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int Capacity
|
|
{
|
|
get
|
|
{
|
|
return _Capacity;
|
|
}
|
|
set
|
|
{
|
|
__isset.Capacity = true;
|
|
this._Capacity = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int CoolTime
|
|
{
|
|
get
|
|
{
|
|
return _CoolTime;
|
|
}
|
|
set
|
|
{
|
|
__isset.CoolTime = true;
|
|
this._CoolTime = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int CoolNum
|
|
{
|
|
get
|
|
{
|
|
return _CoolNum;
|
|
}
|
|
set
|
|
{
|
|
__isset.CoolNum = true;
|
|
this._CoolNum = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Emit_List
|
|
{
|
|
get
|
|
{
|
|
return _Emit_List;
|
|
}
|
|
set
|
|
{
|
|
__isset.Emit_List = true;
|
|
this._Emit_List = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int SellDiamond
|
|
{
|
|
get
|
|
{
|
|
return _SellDiamond;
|
|
}
|
|
set
|
|
{
|
|
__isset.SellDiamond = true;
|
|
this._SellDiamond = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Relative
|
|
{
|
|
get
|
|
{
|
|
return _Relative;
|
|
}
|
|
set
|
|
{
|
|
__isset.Relative = true;
|
|
this._Relative = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Type
|
|
{
|
|
get
|
|
{
|
|
return _Type;
|
|
}
|
|
set
|
|
{
|
|
__isset.Type = true;
|
|
this._Type = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Emit_ID
|
|
{
|
|
get
|
|
{
|
|
return _Emit_ID;
|
|
}
|
|
set
|
|
{
|
|
__isset.Emit_ID = true;
|
|
this._Emit_ID = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Emit_Type
|
|
{
|
|
get
|
|
{
|
|
return _Emit_Type;
|
|
}
|
|
set
|
|
{
|
|
__isset.Emit_Type = true;
|
|
this._Emit_Type = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Product_Type
|
|
{
|
|
get
|
|
{
|
|
return _Product_Type;
|
|
}
|
|
set
|
|
{
|
|
__isset.Product_Type = true;
|
|
this._Product_Type = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public int Order_Score
|
|
{
|
|
get
|
|
{
|
|
return _Order_Score;
|
|
}
|
|
set
|
|
{
|
|
__isset.Order_Score = true;
|
|
this._Order_Score = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Emit_Product
|
|
{
|
|
get
|
|
{
|
|
return _Emit_Product;
|
|
}
|
|
set
|
|
{
|
|
__isset.Emit_Product = true;
|
|
this._Emit_Product = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Dynamic
|
|
{
|
|
get
|
|
{
|
|
return _Dynamic;
|
|
}
|
|
set
|
|
{
|
|
__isset.@Dynamic = true;
|
|
this._Dynamic = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Dynamic1
|
|
{
|
|
get
|
|
{
|
|
return _Dynamic1;
|
|
}
|
|
set
|
|
{
|
|
__isset.Dynamic1 = true;
|
|
this._Dynamic1 = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Dynamic2
|
|
{
|
|
get
|
|
{
|
|
return _Dynamic2;
|
|
}
|
|
set
|
|
{
|
|
__isset.Dynamic2 = true;
|
|
this._Dynamic2 = value;
|
|
}
|
|
}
|
|
|
|
[DataMember(Order = 0)]
|
|
public string Dynamic3
|
|
{
|
|
get
|
|
{
|
|
return _Dynamic3;
|
|
}
|
|
set
|
|
{
|
|
__isset.Dynamic3 = true;
|
|
this._Dynamic3 = value;
|
|
}
|
|
}
|
|
|
|
|
|
[DataMember(Order = 1)]
|
|
public Isset __isset;
|
|
[DataContract]
|
|
public struct Isset
|
|
{
|
|
[DataMember]
|
|
public bool Id;
|
|
[DataMember]
|
|
public bool Lv;
|
|
[DataMember]
|
|
public bool MaxLv;
|
|
[DataMember]
|
|
public bool Icon;
|
|
[DataMember]
|
|
public bool Color;
|
|
[DataMember]
|
|
public bool Title;
|
|
[DataMember]
|
|
public bool Content;
|
|
[DataMember]
|
|
public bool SellType;
|
|
[DataMember]
|
|
public bool SellNum;
|
|
[DataMember]
|
|
public bool Star;
|
|
[DataMember]
|
|
public bool Origin;
|
|
[DataMember]
|
|
public bool Capacity;
|
|
[DataMember]
|
|
public bool CoolTime;
|
|
[DataMember]
|
|
public bool CoolNum;
|
|
[DataMember]
|
|
public bool Emit_List;
|
|
[DataMember]
|
|
public bool SellDiamond;
|
|
[DataMember]
|
|
public bool Relative;
|
|
[DataMember]
|
|
public bool Type;
|
|
[DataMember]
|
|
public bool Emit_ID;
|
|
[DataMember]
|
|
public bool Emit_Type;
|
|
[DataMember]
|
|
public bool Product_Type;
|
|
[DataMember]
|
|
public bool Order_Score;
|
|
[DataMember]
|
|
public bool Emit_Product;
|
|
[DataMember]
|
|
public bool @Dynamic;
|
|
[DataMember]
|
|
public bool Dynamic1;
|
|
[DataMember]
|
|
public bool Dynamic2;
|
|
[DataMember]
|
|
public bool Dynamic3;
|
|
}
|
|
|
|
#region XmlSerializer support
|
|
|
|
public bool ShouldSerializeId()
|
|
{
|
|
return __isset.Id;
|
|
}
|
|
|
|
public bool ShouldSerializeLv()
|
|
{
|
|
return __isset.Lv;
|
|
}
|
|
|
|
public bool ShouldSerializeMaxLv()
|
|
{
|
|
return __isset.MaxLv;
|
|
}
|
|
|
|
public bool ShouldSerializeIcon()
|
|
{
|
|
return __isset.Icon;
|
|
}
|
|
|
|
public bool ShouldSerializeColor()
|
|
{
|
|
return __isset.Color;
|
|
}
|
|
|
|
public bool ShouldSerializeTitle()
|
|
{
|
|
return __isset.Title;
|
|
}
|
|
|
|
public bool ShouldSerializeContent()
|
|
{
|
|
return __isset.Content;
|
|
}
|
|
|
|
public bool ShouldSerializeSellType()
|
|
{
|
|
return __isset.SellType;
|
|
}
|
|
|
|
public bool ShouldSerializeSellNum()
|
|
{
|
|
return __isset.SellNum;
|
|
}
|
|
|
|
public bool ShouldSerializeStar()
|
|
{
|
|
return __isset.Star;
|
|
}
|
|
|
|
public bool ShouldSerializeOrigin()
|
|
{
|
|
return __isset.Origin;
|
|
}
|
|
|
|
public bool ShouldSerializeCapacity()
|
|
{
|
|
return __isset.Capacity;
|
|
}
|
|
|
|
public bool ShouldSerializeCoolTime()
|
|
{
|
|
return __isset.CoolTime;
|
|
}
|
|
|
|
public bool ShouldSerializeCoolNum()
|
|
{
|
|
return __isset.CoolNum;
|
|
}
|
|
|
|
public bool ShouldSerializeEmit_List()
|
|
{
|
|
return __isset.Emit_List;
|
|
}
|
|
|
|
public bool ShouldSerializeSellDiamond()
|
|
{
|
|
return __isset.SellDiamond;
|
|
}
|
|
|
|
public bool ShouldSerializeRelative()
|
|
{
|
|
return __isset.Relative;
|
|
}
|
|
|
|
public bool ShouldSerializeType()
|
|
{
|
|
return __isset.Type;
|
|
}
|
|
|
|
public bool ShouldSerializeEmit_ID()
|
|
{
|
|
return __isset.Emit_ID;
|
|
}
|
|
|
|
public bool ShouldSerializeEmit_Type()
|
|
{
|
|
return __isset.Emit_Type;
|
|
}
|
|
|
|
public bool ShouldSerializeProduct_Type()
|
|
{
|
|
return __isset.Product_Type;
|
|
}
|
|
|
|
public bool ShouldSerializeOrder_Score()
|
|
{
|
|
return __isset.Order_Score;
|
|
}
|
|
|
|
public bool ShouldSerializeEmit_Product()
|
|
{
|
|
return __isset.Emit_Product;
|
|
}
|
|
|
|
public bool ShouldSerializeDynamic()
|
|
{
|
|
return __isset.@Dynamic;
|
|
}
|
|
|
|
public bool ShouldSerializeDynamic1()
|
|
{
|
|
return __isset.Dynamic1;
|
|
}
|
|
|
|
public bool ShouldSerializeDynamic2()
|
|
{
|
|
return __isset.Dynamic2;
|
|
}
|
|
|
|
public bool ShouldSerializeDynamic3()
|
|
{
|
|
return __isset.Dynamic3;
|
|
}
|
|
|
|
#endregion XmlSerializer support
|
|
|
|
public MergeDataItem()
|
|
{
|
|
}
|
|
|
|
public MergeDataItem DeepCopy()
|
|
{
|
|
var tmp0 = new MergeDataItem();
|
|
if(__isset.Id)
|
|
{
|
|
tmp0.Id = this.Id;
|
|
}
|
|
tmp0.__isset.Id = this.__isset.Id;
|
|
if(__isset.Lv)
|
|
{
|
|
tmp0.Lv = this.Lv;
|
|
}
|
|
tmp0.__isset.Lv = this.__isset.Lv;
|
|
if(__isset.MaxLv)
|
|
{
|
|
tmp0.MaxLv = this.MaxLv;
|
|
}
|
|
tmp0.__isset.MaxLv = this.__isset.MaxLv;
|
|
if((Icon != null) && __isset.Icon)
|
|
{
|
|
tmp0.Icon = this.Icon;
|
|
}
|
|
tmp0.__isset.Icon = this.__isset.Icon;
|
|
if((Color != null) && __isset.Color)
|
|
{
|
|
tmp0.Color = this.Color;
|
|
}
|
|
tmp0.__isset.Color = this.__isset.Color;
|
|
if((Title != null) && __isset.Title)
|
|
{
|
|
tmp0.Title = this.Title;
|
|
}
|
|
tmp0.__isset.Title = this.__isset.Title;
|
|
if((Content != null) && __isset.Content)
|
|
{
|
|
tmp0.Content = this.Content;
|
|
}
|
|
tmp0.__isset.Content = this.__isset.Content;
|
|
if((SellType != null) && __isset.SellType)
|
|
{
|
|
tmp0.SellType = this.SellType;
|
|
}
|
|
tmp0.__isset.SellType = this.__isset.SellType;
|
|
if(__isset.SellNum)
|
|
{
|
|
tmp0.SellNum = this.SellNum;
|
|
}
|
|
tmp0.__isset.SellNum = this.__isset.SellNum;
|
|
if(__isset.Star)
|
|
{
|
|
tmp0.Star = this.Star;
|
|
}
|
|
tmp0.__isset.Star = this.__isset.Star;
|
|
if((Origin != null) && __isset.Origin)
|
|
{
|
|
tmp0.Origin = this.Origin;
|
|
}
|
|
tmp0.__isset.Origin = this.__isset.Origin;
|
|
if(__isset.Capacity)
|
|
{
|
|
tmp0.Capacity = this.Capacity;
|
|
}
|
|
tmp0.__isset.Capacity = this.__isset.Capacity;
|
|
if(__isset.CoolTime)
|
|
{
|
|
tmp0.CoolTime = this.CoolTime;
|
|
}
|
|
tmp0.__isset.CoolTime = this.__isset.CoolTime;
|
|
if(__isset.CoolNum)
|
|
{
|
|
tmp0.CoolNum = this.CoolNum;
|
|
}
|
|
tmp0.__isset.CoolNum = this.__isset.CoolNum;
|
|
if((Emit_List != null) && __isset.Emit_List)
|
|
{
|
|
tmp0.Emit_List = this.Emit_List;
|
|
}
|
|
tmp0.__isset.Emit_List = this.__isset.Emit_List;
|
|
if(__isset.SellDiamond)
|
|
{
|
|
tmp0.SellDiamond = this.SellDiamond;
|
|
}
|
|
tmp0.__isset.SellDiamond = this.__isset.SellDiamond;
|
|
if((Relative != null) && __isset.Relative)
|
|
{
|
|
tmp0.Relative = this.Relative;
|
|
}
|
|
tmp0.__isset.Relative = this.__isset.Relative;
|
|
if((Type != null) && __isset.Type)
|
|
{
|
|
tmp0.Type = this.Type;
|
|
}
|
|
tmp0.__isset.Type = this.__isset.Type;
|
|
if((Emit_ID != null) && __isset.Emit_ID)
|
|
{
|
|
tmp0.Emit_ID = this.Emit_ID;
|
|
}
|
|
tmp0.__isset.Emit_ID = this.__isset.Emit_ID;
|
|
if((Emit_Type != null) && __isset.Emit_Type)
|
|
{
|
|
tmp0.Emit_Type = this.Emit_Type;
|
|
}
|
|
tmp0.__isset.Emit_Type = this.__isset.Emit_Type;
|
|
if((Product_Type != null) && __isset.Product_Type)
|
|
{
|
|
tmp0.Product_Type = this.Product_Type;
|
|
}
|
|
tmp0.__isset.Product_Type = this.__isset.Product_Type;
|
|
if(__isset.Order_Score)
|
|
{
|
|
tmp0.Order_Score = this.Order_Score;
|
|
}
|
|
tmp0.__isset.Order_Score = this.__isset.Order_Score;
|
|
if((Emit_Product != null) && __isset.Emit_Product)
|
|
{
|
|
tmp0.Emit_Product = this.Emit_Product;
|
|
}
|
|
tmp0.__isset.Emit_Product = this.__isset.Emit_Product;
|
|
if((Dynamic != null) && __isset.@Dynamic)
|
|
{
|
|
tmp0.Dynamic = this.Dynamic;
|
|
}
|
|
tmp0.__isset.@Dynamic = this.__isset.@Dynamic;
|
|
if((Dynamic1 != null) && __isset.Dynamic1)
|
|
{
|
|
tmp0.Dynamic1 = this.Dynamic1;
|
|
}
|
|
tmp0.__isset.Dynamic1 = this.__isset.Dynamic1;
|
|
if((Dynamic2 != null) && __isset.Dynamic2)
|
|
{
|
|
tmp0.Dynamic2 = this.Dynamic2;
|
|
}
|
|
tmp0.__isset.Dynamic2 = this.__isset.Dynamic2;
|
|
if((Dynamic3 != null) && __isset.Dynamic3)
|
|
{
|
|
tmp0.Dynamic3 = this.Dynamic3;
|
|
}
|
|
tmp0.__isset.Dynamic3 = this.__isset.Dynamic3;
|
|
return tmp0;
|
|
}
|
|
|
|
public async global::System.Threading.Tasks.Task ReadAsync(TProtocol iprot, CancellationToken cancellationToken)
|
|
{
|
|
iprot.IncrementRecursionDepth();
|
|
try
|
|
{
|
|
TField field;
|
|
await iprot.ReadStructBeginAsync(cancellationToken);
|
|
while (true)
|
|
{
|
|
field = await iprot.ReadFieldBeginAsync(cancellationToken);
|
|
if (field.Type == TType.Stop)
|
|
{
|
|
break;
|
|
}
|
|
|
|
switch (field.ID)
|
|
{
|
|
case 1:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
Id = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 2:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
Lv = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 3:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
MaxLv = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 4:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Icon = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 5:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Color = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 6:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Title = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 7:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Content = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 8:
|
|
if (field.Type == TType.String)
|
|
{
|
|
SellType = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 9:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
SellNum = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 10:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
Star = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 11:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Origin = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 12:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
Capacity = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 13:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
CoolTime = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 14:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
CoolNum = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 15:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Emit_List = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 16:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
SellDiamond = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 17:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Relative = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 18:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Type = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 19:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Emit_ID = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 20:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Emit_Type = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 21:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Product_Type = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 22:
|
|
if (field.Type == TType.I32)
|
|
{
|
|
Order_Score = await iprot.ReadI32Async(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 23:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Emit_Product = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 24:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Dynamic = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 25:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Dynamic1 = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 26:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Dynamic2 = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
case 27:
|
|
if (field.Type == TType.String)
|
|
{
|
|
Dynamic3 = await iprot.ReadStringAsync(cancellationToken);
|
|
}
|
|
else
|
|
{
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
}
|
|
break;
|
|
default:
|
|
await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
|
|
break;
|
|
}
|
|
|
|
await iprot.ReadFieldEndAsync(cancellationToken);
|
|
}
|
|
|
|
await iprot.ReadStructEndAsync(cancellationToken);
|
|
}
|
|
finally
|
|
{
|
|
iprot.DecrementRecursionDepth();
|
|
}
|
|
}
|
|
|
|
public async global::System.Threading.Tasks.Task WriteAsync(TProtocol oprot, CancellationToken cancellationToken)
|
|
{
|
|
oprot.IncrementRecursionDepth();
|
|
try
|
|
{
|
|
var tmp1 = new TStruct("MergeDataItem");
|
|
await oprot.WriteStructBeginAsync(tmp1, cancellationToken);
|
|
var tmp2 = new TField();
|
|
if(__isset.Id)
|
|
{
|
|
tmp2.Name = "Id";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 1;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(Id, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.Lv)
|
|
{
|
|
tmp2.Name = "Lv";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 2;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(Lv, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.MaxLv)
|
|
{
|
|
tmp2.Name = "MaxLv";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 3;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(MaxLv, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Icon != null) && __isset.Icon)
|
|
{
|
|
tmp2.Name = "Icon";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 4;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Icon, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Color != null) && __isset.Color)
|
|
{
|
|
tmp2.Name = "Color";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 5;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Color, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Title != null) && __isset.Title)
|
|
{
|
|
tmp2.Name = "Title";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 6;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Title, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Content != null) && __isset.Content)
|
|
{
|
|
tmp2.Name = "Content";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 7;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Content, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((SellType != null) && __isset.SellType)
|
|
{
|
|
tmp2.Name = "SellType";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 8;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(SellType, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.SellNum)
|
|
{
|
|
tmp2.Name = "SellNum";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 9;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(SellNum, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.Star)
|
|
{
|
|
tmp2.Name = "Star";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 10;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(Star, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Origin != null) && __isset.Origin)
|
|
{
|
|
tmp2.Name = "Origin";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 11;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Origin, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.Capacity)
|
|
{
|
|
tmp2.Name = "Capacity";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 12;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(Capacity, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.CoolTime)
|
|
{
|
|
tmp2.Name = "CoolTime";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 13;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(CoolTime, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.CoolNum)
|
|
{
|
|
tmp2.Name = "CoolNum";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 14;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(CoolNum, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Emit_List != null) && __isset.Emit_List)
|
|
{
|
|
tmp2.Name = "Emit_List";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 15;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Emit_List, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.SellDiamond)
|
|
{
|
|
tmp2.Name = "SellDiamond";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 16;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(SellDiamond, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Relative != null) && __isset.Relative)
|
|
{
|
|
tmp2.Name = "Relative";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 17;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Relative, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Type != null) && __isset.Type)
|
|
{
|
|
tmp2.Name = "Type";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 18;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Type, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Emit_ID != null) && __isset.Emit_ID)
|
|
{
|
|
tmp2.Name = "Emit_ID";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 19;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Emit_ID, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Emit_Type != null) && __isset.Emit_Type)
|
|
{
|
|
tmp2.Name = "Emit_Type";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 20;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Emit_Type, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Product_Type != null) && __isset.Product_Type)
|
|
{
|
|
tmp2.Name = "Product_Type";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 21;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Product_Type, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if(__isset.Order_Score)
|
|
{
|
|
tmp2.Name = "Order_Score";
|
|
tmp2.Type = TType.I32;
|
|
tmp2.ID = 22;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteI32Async(Order_Score, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Emit_Product != null) && __isset.Emit_Product)
|
|
{
|
|
tmp2.Name = "Emit_Product";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 23;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Emit_Product, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Dynamic != null) && __isset.@Dynamic)
|
|
{
|
|
tmp2.Name = "Dynamic";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 24;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Dynamic, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Dynamic1 != null) && __isset.Dynamic1)
|
|
{
|
|
tmp2.Name = "Dynamic1";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 25;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Dynamic1, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Dynamic2 != null) && __isset.Dynamic2)
|
|
{
|
|
tmp2.Name = "Dynamic2";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 26;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Dynamic2, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
if((Dynamic3 != null) && __isset.Dynamic3)
|
|
{
|
|
tmp2.Name = "Dynamic3";
|
|
tmp2.Type = TType.String;
|
|
tmp2.ID = 27;
|
|
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
|
|
await oprot.WriteStringAsync(Dynamic3, cancellationToken);
|
|
await oprot.WriteFieldEndAsync(cancellationToken);
|
|
}
|
|
await oprot.WriteFieldStopAsync(cancellationToken);
|
|
await oprot.WriteStructEndAsync(cancellationToken);
|
|
}
|
|
finally
|
|
{
|
|
oprot.DecrementRecursionDepth();
|
|
}
|
|
}
|
|
|
|
public override bool Equals(object that)
|
|
{
|
|
if (!(that is MergeDataItem other)) return false;
|
|
if (ReferenceEquals(this, other)) return true;
|
|
return ((__isset.Id == other.__isset.Id) && ((!__isset.Id) || (global::System.Object.Equals(Id, other.Id))))
|
|
&& ((__isset.Lv == other.__isset.Lv) && ((!__isset.Lv) || (global::System.Object.Equals(Lv, other.Lv))))
|
|
&& ((__isset.MaxLv == other.__isset.MaxLv) && ((!__isset.MaxLv) || (global::System.Object.Equals(MaxLv, other.MaxLv))))
|
|
&& ((__isset.Icon == other.__isset.Icon) && ((!__isset.Icon) || (global::System.Object.Equals(Icon, other.Icon))))
|
|
&& ((__isset.Color == other.__isset.Color) && ((!__isset.Color) || (global::System.Object.Equals(Color, other.Color))))
|
|
&& ((__isset.Title == other.__isset.Title) && ((!__isset.Title) || (global::System.Object.Equals(Title, other.Title))))
|
|
&& ((__isset.Content == other.__isset.Content) && ((!__isset.Content) || (global::System.Object.Equals(Content, other.Content))))
|
|
&& ((__isset.SellType == other.__isset.SellType) && ((!__isset.SellType) || (global::System.Object.Equals(SellType, other.SellType))))
|
|
&& ((__isset.SellNum == other.__isset.SellNum) && ((!__isset.SellNum) || (global::System.Object.Equals(SellNum, other.SellNum))))
|
|
&& ((__isset.Star == other.__isset.Star) && ((!__isset.Star) || (global::System.Object.Equals(Star, other.Star))))
|
|
&& ((__isset.Origin == other.__isset.Origin) && ((!__isset.Origin) || (global::System.Object.Equals(Origin, other.Origin))))
|
|
&& ((__isset.Capacity == other.__isset.Capacity) && ((!__isset.Capacity) || (global::System.Object.Equals(Capacity, other.Capacity))))
|
|
&& ((__isset.CoolTime == other.__isset.CoolTime) && ((!__isset.CoolTime) || (global::System.Object.Equals(CoolTime, other.CoolTime))))
|
|
&& ((__isset.CoolNum == other.__isset.CoolNum) && ((!__isset.CoolNum) || (global::System.Object.Equals(CoolNum, other.CoolNum))))
|
|
&& ((__isset.Emit_List == other.__isset.Emit_List) && ((!__isset.Emit_List) || (global::System.Object.Equals(Emit_List, other.Emit_List))))
|
|
&& ((__isset.SellDiamond == other.__isset.SellDiamond) && ((!__isset.SellDiamond) || (global::System.Object.Equals(SellDiamond, other.SellDiamond))))
|
|
&& ((__isset.Relative == other.__isset.Relative) && ((!__isset.Relative) || (global::System.Object.Equals(Relative, other.Relative))))
|
|
&& ((__isset.Type == other.__isset.Type) && ((!__isset.Type) || (global::System.Object.Equals(Type, other.Type))))
|
|
&& ((__isset.Emit_ID == other.__isset.Emit_ID) && ((!__isset.Emit_ID) || (global::System.Object.Equals(Emit_ID, other.Emit_ID))))
|
|
&& ((__isset.Emit_Type == other.__isset.Emit_Type) && ((!__isset.Emit_Type) || (global::System.Object.Equals(Emit_Type, other.Emit_Type))))
|
|
&& ((__isset.Product_Type == other.__isset.Product_Type) && ((!__isset.Product_Type) || (global::System.Object.Equals(Product_Type, other.Product_Type))))
|
|
&& ((__isset.Order_Score == other.__isset.Order_Score) && ((!__isset.Order_Score) || (global::System.Object.Equals(Order_Score, other.Order_Score))))
|
|
&& ((__isset.Emit_Product == other.__isset.Emit_Product) && ((!__isset.Emit_Product) || (global::System.Object.Equals(Emit_Product, other.Emit_Product))))
|
|
&& ((__isset.@Dynamic == other.__isset.@Dynamic) && ((!__isset.@Dynamic) || (global::System.Object.Equals(Dynamic, other.Dynamic))))
|
|
&& ((__isset.Dynamic1 == other.__isset.Dynamic1) && ((!__isset.Dynamic1) || (global::System.Object.Equals(Dynamic1, other.Dynamic1))))
|
|
&& ((__isset.Dynamic2 == other.__isset.Dynamic2) && ((!__isset.Dynamic2) || (global::System.Object.Equals(Dynamic2, other.Dynamic2))))
|
|
&& ((__isset.Dynamic3 == other.__isset.Dynamic3) && ((!__isset.Dynamic3) || (global::System.Object.Equals(Dynamic3, other.Dynamic3))));
|
|
}
|
|
|
|
public override int GetHashCode() {
|
|
int hashcode = 157;
|
|
unchecked {
|
|
if(__isset.Id)
|
|
{
|
|
hashcode = (hashcode * 397) + Id.GetHashCode();
|
|
}
|
|
if(__isset.Lv)
|
|
{
|
|
hashcode = (hashcode * 397) + Lv.GetHashCode();
|
|
}
|
|
if(__isset.MaxLv)
|
|
{
|
|
hashcode = (hashcode * 397) + MaxLv.GetHashCode();
|
|
}
|
|
if((Icon != null) && __isset.Icon)
|
|
{
|
|
hashcode = (hashcode * 397) + Icon.GetHashCode();
|
|
}
|
|
if((Color != null) && __isset.Color)
|
|
{
|
|
hashcode = (hashcode * 397) + Color.GetHashCode();
|
|
}
|
|
if((Title != null) && __isset.Title)
|
|
{
|
|
hashcode = (hashcode * 397) + Title.GetHashCode();
|
|
}
|
|
if((Content != null) && __isset.Content)
|
|
{
|
|
hashcode = (hashcode * 397) + Content.GetHashCode();
|
|
}
|
|
if((SellType != null) && __isset.SellType)
|
|
{
|
|
hashcode = (hashcode * 397) + SellType.GetHashCode();
|
|
}
|
|
if(__isset.SellNum)
|
|
{
|
|
hashcode = (hashcode * 397) + SellNum.GetHashCode();
|
|
}
|
|
if(__isset.Star)
|
|
{
|
|
hashcode = (hashcode * 397) + Star.GetHashCode();
|
|
}
|
|
if((Origin != null) && __isset.Origin)
|
|
{
|
|
hashcode = (hashcode * 397) + Origin.GetHashCode();
|
|
}
|
|
if(__isset.Capacity)
|
|
{
|
|
hashcode = (hashcode * 397) + Capacity.GetHashCode();
|
|
}
|
|
if(__isset.CoolTime)
|
|
{
|
|
hashcode = (hashcode * 397) + CoolTime.GetHashCode();
|
|
}
|
|
if(__isset.CoolNum)
|
|
{
|
|
hashcode = (hashcode * 397) + CoolNum.GetHashCode();
|
|
}
|
|
if((Emit_List != null) && __isset.Emit_List)
|
|
{
|
|
hashcode = (hashcode * 397) + Emit_List.GetHashCode();
|
|
}
|
|
if(__isset.SellDiamond)
|
|
{
|
|
hashcode = (hashcode * 397) + SellDiamond.GetHashCode();
|
|
}
|
|
if((Relative != null) && __isset.Relative)
|
|
{
|
|
hashcode = (hashcode * 397) + Relative.GetHashCode();
|
|
}
|
|
if((Type != null) && __isset.Type)
|
|
{
|
|
hashcode = (hashcode * 397) + Type.GetHashCode();
|
|
}
|
|
if((Emit_ID != null) && __isset.Emit_ID)
|
|
{
|
|
hashcode = (hashcode * 397) + Emit_ID.GetHashCode();
|
|
}
|
|
if((Emit_Type != null) && __isset.Emit_Type)
|
|
{
|
|
hashcode = (hashcode * 397) + Emit_Type.GetHashCode();
|
|
}
|
|
if((Product_Type != null) && __isset.Product_Type)
|
|
{
|
|
hashcode = (hashcode * 397) + Product_Type.GetHashCode();
|
|
}
|
|
if(__isset.Order_Score)
|
|
{
|
|
hashcode = (hashcode * 397) + Order_Score.GetHashCode();
|
|
}
|
|
if((Emit_Product != null) && __isset.Emit_Product)
|
|
{
|
|
hashcode = (hashcode * 397) + Emit_Product.GetHashCode();
|
|
}
|
|
if((Dynamic != null) && __isset.@Dynamic)
|
|
{
|
|
hashcode = (hashcode * 397) + Dynamic.GetHashCode();
|
|
}
|
|
if((Dynamic1 != null) && __isset.Dynamic1)
|
|
{
|
|
hashcode = (hashcode * 397) + Dynamic1.GetHashCode();
|
|
}
|
|
if((Dynamic2 != null) && __isset.Dynamic2)
|
|
{
|
|
hashcode = (hashcode * 397) + Dynamic2.GetHashCode();
|
|
}
|
|
if((Dynamic3 != null) && __isset.Dynamic3)
|
|
{
|
|
hashcode = (hashcode * 397) + Dynamic3.GetHashCode();
|
|
}
|
|
}
|
|
return hashcode;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
var tmp3 = new StringBuilder("MergeDataItem(");
|
|
int tmp4 = 0;
|
|
if(__isset.Id)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Id: ");
|
|
Id.ToString(tmp3);
|
|
}
|
|
if(__isset.Lv)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Lv: ");
|
|
Lv.ToString(tmp3);
|
|
}
|
|
if(__isset.MaxLv)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("MaxLv: ");
|
|
MaxLv.ToString(tmp3);
|
|
}
|
|
if((Icon != null) && __isset.Icon)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Icon: ");
|
|
Icon.ToString(tmp3);
|
|
}
|
|
if((Color != null) && __isset.Color)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Color: ");
|
|
Color.ToString(tmp3);
|
|
}
|
|
if((Title != null) && __isset.Title)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Title: ");
|
|
Title.ToString(tmp3);
|
|
}
|
|
if((Content != null) && __isset.Content)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Content: ");
|
|
Content.ToString(tmp3);
|
|
}
|
|
if((SellType != null) && __isset.SellType)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("SellType: ");
|
|
SellType.ToString(tmp3);
|
|
}
|
|
if(__isset.SellNum)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("SellNum: ");
|
|
SellNum.ToString(tmp3);
|
|
}
|
|
if(__isset.Star)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Star: ");
|
|
Star.ToString(tmp3);
|
|
}
|
|
if((Origin != null) && __isset.Origin)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Origin: ");
|
|
Origin.ToString(tmp3);
|
|
}
|
|
if(__isset.Capacity)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Capacity: ");
|
|
Capacity.ToString(tmp3);
|
|
}
|
|
if(__isset.CoolTime)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("CoolTime: ");
|
|
CoolTime.ToString(tmp3);
|
|
}
|
|
if(__isset.CoolNum)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("CoolNum: ");
|
|
CoolNum.ToString(tmp3);
|
|
}
|
|
if((Emit_List != null) && __isset.Emit_List)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Emit_List: ");
|
|
Emit_List.ToString(tmp3);
|
|
}
|
|
if(__isset.SellDiamond)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("SellDiamond: ");
|
|
SellDiamond.ToString(tmp3);
|
|
}
|
|
if((Relative != null) && __isset.Relative)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Relative: ");
|
|
Relative.ToString(tmp3);
|
|
}
|
|
if((Type != null) && __isset.Type)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Type: ");
|
|
Type.ToString(tmp3);
|
|
}
|
|
if((Emit_ID != null) && __isset.Emit_ID)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Emit_ID: ");
|
|
Emit_ID.ToString(tmp3);
|
|
}
|
|
if((Emit_Type != null) && __isset.Emit_Type)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Emit_Type: ");
|
|
Emit_Type.ToString(tmp3);
|
|
}
|
|
if((Product_Type != null) && __isset.Product_Type)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Product_Type: ");
|
|
Product_Type.ToString(tmp3);
|
|
}
|
|
if(__isset.Order_Score)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Order_Score: ");
|
|
Order_Score.ToString(tmp3);
|
|
}
|
|
if((Emit_Product != null) && __isset.Emit_Product)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Emit_Product: ");
|
|
Emit_Product.ToString(tmp3);
|
|
}
|
|
if((Dynamic != null) && __isset.@Dynamic)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Dynamic: ");
|
|
Dynamic.ToString(tmp3);
|
|
}
|
|
if((Dynamic1 != null) && __isset.Dynamic1)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Dynamic1: ");
|
|
Dynamic1.ToString(tmp3);
|
|
}
|
|
if((Dynamic2 != null) && __isset.Dynamic2)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Dynamic2: ");
|
|
Dynamic2.ToString(tmp3);
|
|
}
|
|
if((Dynamic3 != null) && __isset.Dynamic3)
|
|
{
|
|
if(0 < tmp4++) { tmp3.Append(", "); }
|
|
tmp3.Append("Dynamic3: ");
|
|
Dynamic3.ToString(tmp3);
|
|
}
|
|
tmp3.Append(')');
|
|
return tmp3.ToString();
|
|
}
|
|
}
|
|
|
|
}
|