//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // *************************************************************************** // * 作者= 卢松洁 // * 创建时间= 2015-08-27 // * 用途:精炼处理 // *************************************************************************** // Generated from: masteryHandler.proto // Note: requires additional types generated from: common.proto // Note: requires additional types generated from: item.proto namespace pomelo.area { //--------------------------------------------------------------------------------------- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Mastery")] public partial class Mastery : global::ProtoBuf.IExtensible { public Mastery() {} private int _pos; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int pos { get { return _pos; } set { _pos = value; } } private string _name = ""; [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string name { get { return _name; } set { _name = value; } } private string _icon = ""; [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"icon", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string icon { get { return _icon; } set { _icon = value; } } private int _level = default(int); /// /// 当前等级 /// [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int level { get { return _level; } set { _level = value; } } private int _maxLevel = default(int); /// /// 最大等级 /// [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"maxLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int maxLevel { get { return _maxLevel; } set { _maxLevel = value; } } private pomelo.AttributeBase _attributes = null; /// /// 属性,只有一种 /// [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"attributes", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(null)] public pomelo.AttributeBase attributes { get { return _attributes; } set { _attributes = value; } } private pomelo.item.MiniItem _material = null; /// /// 材料,只有一种 /// [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"material", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(null)] public pomelo.item.MiniItem material { get { return _material; } set { _material = value; } } private int _isActive = default(int); /// /// 是否激活 1-激活 /// [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"isActive", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int isActive { get { return _isActive; } set { _isActive = value; } } private int _magicNum = default(int); /// /// 魔界威望 /// [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"magicNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int magicNum { get { return _magicNum; } set { _magicNum = value; } } private int _id = default(int); /// /// 唯一id /// [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] 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=@"AllMastery")] public partial class AllMastery : global::ProtoBuf.IExtensible { public AllMastery() {} private readonly global::System.Collections.Generic.List _masterys = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(1, Name=@"masterys", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List masterys { get { return _masterys; } } private pomelo.item.MiniItem _ring = null; [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"ring", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(null)] public pomelo.item.MiniItem ring { get { return _ring; } set { _ring = value; } } private string _needRingName = ""; [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"needRingName", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string needRingName { get { return _needRingName; } set { _needRingName = value; } } private int _needPlayerLevel = default(int); [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"needPlayerLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int needPlayerLevel { get { return _needPlayerLevel; } set { _needPlayerLevel = value; } } private int _needPlayerUpLevel = default(int); [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"needPlayerUpLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int needPlayerUpLevel { get { return _needPlayerUpLevel; } set { _needPlayerUpLevel = value; } } private int _costMagicNum = default(int); [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"costMagicNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int costMagicNum { get { return _costMagicNum; } set { _costMagicNum = value; } } private int _curMagicNum = default(int); [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"curMagicNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int curMagicNum { get { return _curMagicNum; } set { _curMagicNum = value; } } private int _ringLevel = default(int); [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"ringLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int ringLevel { get { return _ringLevel; } set { _ringLevel = value; } } private int _canGet = default(int); /// /// 1-可以领取 0-不可以领取 2-已领取表示最后一个戒指 /// [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"canGet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int canGet { get { return _canGet; } set { _canGet = 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=@"GetMasteryInfoRequest")] public partial class GetMasteryInfoRequest : global::ProtoBuf.IExtensible { public GetMasteryInfoRequest() {} 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=@"GetMasteryInfoResponse")] public partial class GetMasteryInfoResponse : global::ProtoBuf.IExtensible { public GetMasteryInfoResponse() {} 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 pomelo.area.AllMastery _s2c_mastery = null; [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_mastery", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(null)] public pomelo.area.AllMastery s2c_mastery { get { return _s2c_mastery; } set { _s2c_mastery = 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=@"ActiveMasteryRequest")] public partial class ActiveMasteryRequest : global::ProtoBuf.IExtensible { public ActiveMasteryRequest() {} private int _c2s_pos; /// /// 专精部位 /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int c2s_pos { get { return _c2s_pos; } set { _c2s_pos = 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=@"ActiveMasteryResponse")] public partial class ActiveMasteryResponse : global::ProtoBuf.IExtensible { public ActiveMasteryResponse() {} 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 pomelo.area.AllMastery _s2c_data = null; [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(null)] public pomelo.area.AllMastery s2c_data { get { return _s2c_data; } set { _s2c_data = 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=@"GetRingRequest")] public partial class GetRingRequest : global::ProtoBuf.IExtensible { public GetRingRequest() {} private string _c2s_ringId; /// /// 要领取的魔戒ID /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_ringId", DataFormat = global::ProtoBuf.DataFormat.Default)] public string c2s_ringId { get { return _c2s_ringId; } set { _c2s_ringId = 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=@"GetRingResponse")] public partial class GetRingResponse : global::ProtoBuf.IExtensible { public GetRingResponse() {} 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 pomelo.area.AllMastery _s2c_data = null; [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(null)] public pomelo.area.AllMastery s2c_data { get { return _s2c_data; } set { _s2c_data = 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=@"MasteryRing")] public partial class MasteryRing : global::ProtoBuf.IExtensible { public MasteryRing() {} private pomelo.item.MiniItem _ring; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"ring", DataFormat = global::ProtoBuf.DataFormat.Default)] public pomelo.item.MiniItem ring { get { return _ring; } set { _ring = value; } } private int _needPlayerLevel = default(int); /// /// 需要的玩家等级 /// [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"needPlayerLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int needPlayerLevel { get { return _needPlayerLevel; } set { _needPlayerLevel = value; } } private int _needPlayerUpLevel = default(int); [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"needPlayerUpLevel", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int needPlayerUpLevel { get { return _needPlayerUpLevel; } set { _needPlayerUpLevel = value; } } private int _costMagicNum = default(int); /// /// 需要的魔界威望 /// [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"costMagicNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int costMagicNum { get { return _costMagicNum; } set { _costMagicNum = value; } } private string _needRingName = ""; /// /// 需要穿戴的魔戒 /// [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"needRingName", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string needRingName { get { return _needRingName; } set { _needRingName = value; } } private int _isGet = default(int); /// /// 1-已经领取了 0-没有领取 /// [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"isGet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int isGet { get { return _isGet; } set { _isGet = 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=@"MasteryRingRequest")] public partial class MasteryRingRequest : global::ProtoBuf.IExtensible { public MasteryRingRequest() {} 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=@"MasteryRingResponse")] public partial class MasteryRingResponse : global::ProtoBuf.IExtensible { public MasteryRingResponse() {} 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 _s2c_ring = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(3, Name=@"s2c_ring", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List s2c_ring { get { return _s2c_ring; } } 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=@"MasteryDeliverRequest")] public partial class MasteryDeliverRequest : global::ProtoBuf.IExtensible { public MasteryDeliverRequest() {} private int _c2s_pos; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int c2s_pos { get { return _c2s_pos; } set { _c2s_pos = 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=@"MasteryDeliverResponse")] public partial class MasteryDeliverResponse : global::ProtoBuf.IExtensible { public MasteryDeliverResponse() {} 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 global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } }