//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // *************************************************************************** // * 作者= liyue // * 创建时间= 2018-03-08 // * 用途= 大富翁 // *************************************************************************** // Generated from: richHandler.proto namespace pomelo.rich { //--------------------------------------------------------------------------------------- /// /// 奖励 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Reward")] public partial class Reward : global::ProtoBuf.IExtensible { public Reward() {} private string _code; /// /// 奖励code /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)] public string code { get { return _code; } set { _code = value; } } private int _groupCount; /// /// 奖励个数 /// [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"groupCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int groupCount { get { return _groupCount; } set { _groupCount = value; } } 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=@"TurnReward")] public partial class TurnReward : global::ProtoBuf.IExtensible { public TurnReward() {} private int _turnId; /// /// 回合id /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"turnId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int turnId { get { return _turnId; } set { _turnId = value; } } private readonly global::System.Collections.Generic.List _reward = new global::System.Collections.Generic.List(); /// /// 奖励 /// [global::ProtoBuf.ProtoMember(2, Name=@"reward", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List reward { get { return _reward; } } private int _state; /// /// 状态 0未完成 1已完成 2已领取 /// [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int state { get { return _state; } set { _state = value; } } 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=@"TaskInfo")] public partial class TaskInfo : global::ProtoBuf.IExtensible { public TaskInfo() {} private string _schName; /// /// 活跃任务名称 /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"schName", DataFormat = global::ProtoBuf.DataFormat.Default)] public string schName { get { return _schName; } set { _schName = value; } } private int _finishedCount; /// /// 当前已完成次数 /// [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"finishedCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int finishedCount { get { return _finishedCount; } set { _finishedCount = value; } } private int _maxCount; /// /// 总次数 /// [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"maxCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int maxCount { get { return _maxCount; } set { _maxCount = value; } } 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=@"GetRichInfoRequest")] public partial class GetRichInfoRequest : global::ProtoBuf.IExtensible { public GetRichInfoRequest() {} 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=@"GetRichInfoResponse")] public partial class GetRichInfoResponse : global::ProtoBuf.IExtensible { public GetRichInfoResponse() {} 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 _turnReward = new global::System.Collections.Generic.List(); /// /// 所有轮数的奖励信息预览 /// [global::ProtoBuf.ProtoMember(3, Name=@"turnReward", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List turnReward { get { return _turnReward; } } private readonly global::System.Collections.Generic.List _taskInfo = new global::System.Collections.Generic.List(); /// /// 任务信息 /// [global::ProtoBuf.ProtoMember(4, Name=@"taskInfo", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List taskInfo { get { return _taskInfo; } } private int _currentStep = default(int); /// /// 当前步数 /// [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"currentStep", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int currentStep { get { return _currentStep; } set { _currentStep = value; } } private int _freeCount = default(int); /// /// 免费次数 /// [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"freeCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int freeCount { get { return _freeCount; } set { _freeCount = value; } } private string _startTimestamp = ""; /// /// 活动开始时间 /// [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"startTimestamp", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string startTimestamp { get { return _startTimestamp; } set { _startTimestamp = value; } } private string _endTimestamp = ""; /// /// 活动结束时间 /// [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"endTimestamp", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string endTimestamp { get { return _endTimestamp; } set { _endTimestamp = value; } } 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=@"DiceRequest")] public partial class DiceRequest : global::ProtoBuf.IExtensible { public DiceRequest() {} 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=@"DiceResponse")] public partial class DiceResponse : global::ProtoBuf.IExtensible { public DiceResponse() {} 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 _step = default(int); /// /// 步数 /// [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"step", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int step { get { return _step; } set { _step = value; } } private pomelo.rich.Reward _reward = null; /// /// 普通奖励 /// [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"reward", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(null)] public pomelo.rich.Reward reward { get { return _reward; } set { _reward = value; } } 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=@"FetchTurnAwardRequest")] public partial class FetchTurnAwardRequest : global::ProtoBuf.IExtensible { public FetchTurnAwardRequest() {} private int _id; /// /// 轮数 /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int id { get { return _id; } set { _id = value; } } 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=@"FetchTurnAwardResponse")] public partial class FetchTurnAwardResponse : global::ProtoBuf.IExtensible { public FetchTurnAwardResponse() {} 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 _reward = new global::System.Collections.Generic.List(); /// /// 轮回奖励 /// [global::ProtoBuf.ProtoMember(3, Name=@"reward", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List reward { get { return _reward; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } }