123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- //------------------------------------------------------------------------------
- // <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); }
- }
-
-
- }
-
|