//------------------------------------------------------------------------------ // <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> //------------------------------------------------------------------------------ // *************************************************************************** // * 作者: 曾振东 // * 创建时间: 2019-08-08 // * 用途: 祭天 // ***************************************************************************/ // Generated from: lotteryHandler.proto // Note: requires additional types generated from: item.proto namespace pomelo.lottery { //--------------------------------------------------------------------------------------- /// <summary> /// 获取祭天界面信息 请求 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetLotteryInfoRequest")] public partial class GetLotteryInfoRequest : global::ProtoBuf.IExtensible { public GetLotteryInfoRequest() {} private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 获取祭天界面信息 返回 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetLotteryInfoResponse")] public partial class GetLotteryInfoResponse : global::ProtoBuf.IExtensible { public GetLotteryInfoResponse() {} private int _s2c_code; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int s2c_code { get { return _s2c_code; } set { _s2c_code = value; } } private string _s2c_msg = ""; [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string s2c_msg { get { return _s2c_msg; } set { _s2c_msg = value; } } private int _exploredTicketCount; /// <summary> /// 剩余祭天符数量 /// </summary> [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"exploredTicketCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int exploredTicketCount { get { return _exploredTicketCount; } set { _exploredTicketCount = value; } } private int _proportion; /// <summary> /// 每个祭天符需要多少仙玉 /// </summary> [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"proportion", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int proportion { get { return _proportion; } set { _proportion = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 祭天 请求 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"LotteryRequest")] public partial class LotteryRequest : global::ProtoBuf.IExtensible { public LotteryRequest() {} private int _timeType; /// <summary> /// 0:单抽 1:十连抽 /// </summary> [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"timeType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int timeType { get { return _timeType; } set { _timeType = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 祭天 返回 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"LotteryResponse")] public partial class LotteryResponse : global::ProtoBuf.IExtensible { public LotteryResponse() {} private int _s2c_code; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int s2c_code { get { return _s2c_code; } set { _s2c_code = value; } } private string _s2c_msg = ""; [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string s2c_msg { get { return _s2c_msg; } set { _s2c_msg = value; } } private readonly global::System.Collections.Generic.List<pomelo.item.CountItem> _awards = new global::System.Collections.Generic.List<pomelo.item.CountItem>(); /// <summary> /// 抽到的物品 /// </summary> [global::ProtoBuf.ProtoMember(3, Name=@"awards", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List<pomelo.item.CountItem> awards { get { return _awards; } } private int _exploredTicketCount = default(int); /// <summary> /// 剩余祭天符数量 /// </summary> [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"exploredTicketCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int exploredTicketCount { get { return _exploredTicketCount; } set { _exploredTicketCount = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } }