//------------------------------------------------------------------------------ // <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> //------------------------------------------------------------------------------ // *************************************************************************** // * 作者= 谢华 // * 创建时间= 2020-05-12 // * 用途= npc好感度处理器 // ***************************************************************************/ // Generated from: npcGoodFeelingHandler.proto // Note: requires additional types generated from: common.proto namespace pomelo.area { //--------------------------------------------------------------------------------------- /// <summary> /// npc好感度模型 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NpcGoodFeelingModel")] public partial class NpcGoodFeelingModel : global::ProtoBuf.IExtensible { public NpcGoodFeelingModel() {} private int _npcId; /// <summary> /// npcid /// </summary> [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int npcId { get { return _npcId; } set { _npcId = value; } } private int _NpcGoodFeelingVlaue; /// <summary> /// 好感度值 /// </summary> [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"NpcGoodFeelingVlaue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int NpcGoodFeelingVlaue { get { return _NpcGoodFeelingVlaue; } set { _NpcGoodFeelingVlaue = value; } } private int _getGiftNumToday; /// <summary> /// 今日获得第几次礼物 例: 0 ,今日已获得0次,5即是 今日已获得五次 /// </summary> [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"getGiftNumToday", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int getGiftNumToday { get { return _getGiftNumToday; } set { _getGiftNumToday = value; } } private readonly global::System.Collections.Generic.List<string> _very_like = new global::System.Collections.Generic.List<string>(); /// <summary> /// 喜好 /// </summary> /// <summary> /// 非常喜欢的道具 /// </summary> [global::ProtoBuf.ProtoMember(11, Name=@"very_like", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List<string> very_like { get { return _very_like; } } private readonly global::System.Collections.Generic.List<string> _like = new global::System.Collections.Generic.List<string>(); /// <summary> /// 喜欢的道具 /// </summary> [global::ProtoBuf.ProtoMember(12, Name=@"like", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List<string> like { get { return _like; } } private readonly global::System.Collections.Generic.List<string> _hate = new global::System.Collections.Generic.List<string>(); /// <summary> /// 讨厌的道具 /// </summary> [global::ProtoBuf.ProtoMember(13, Name=@"hate", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List<string> hate { get { return _hate; } } 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=@"GiftItem")] public partial class GiftItem : global::ProtoBuf.IExtensible { public GiftItem() {} private string _giftCode; /// <summary> /// 礼物code /// </summary> [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"giftCode", DataFormat = global::ProtoBuf.DataFormat.Default)] public string giftCode { get { return _giftCode; } set { _giftCode = value; } } private int _giftNum; /// <summary> /// 礼物的数量 /// </summary> [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"giftNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int giftNum { get { return _giftNum; } set { _giftNum = 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=@"ReturnGiftItem")] public partial class ReturnGiftItem : global::ProtoBuf.IExtensible { public ReturnGiftItem() {} private string _giftCode = ""; /// <summary> /// 礼物code /// </summary> [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"giftCode", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string giftCode { get { return _giftCode; } set { _giftCode = value; } } private int _giftNum = default(int); /// <summary> /// 礼物的数量 /// </summary> [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"giftNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int giftNum { get { return _giftNum; } set { _giftNum = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 获取所有npc好感度 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAllNpcGoodFeelingRequest")] public partial class GetAllNpcGoodFeelingRequest : global::ProtoBuf.IExtensible { public GetAllNpcGoodFeelingRequest() {} 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=@"GetAllNpcGoodFeelingResponse")] public partial class GetAllNpcGoodFeelingResponse : global::ProtoBuf.IExtensible { public GetAllNpcGoodFeelingResponse() {} 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.area.NpcGoodFeelingModel> _models = new global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel>(); /// <summary> /// npc好感度 /// </summary> [global::ProtoBuf.ProtoMember(3, Name=@"models", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel> models { get { return _models; } } private int _getGiftNumTodayAllNpc; /// <summary> /// 今日对所有npc的送礼剩余次数 /// </summary> [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"getGiftNumTodayAllNpc", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int getGiftNumTodayAllNpc { get { return _getGiftNumTodayAllNpc; } set { _getGiftNumTodayAllNpc = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 获取某个npc好感度 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetNpcGoodFeelingRequest")] public partial class GetNpcGoodFeelingRequest : global::ProtoBuf.IExtensible { public GetNpcGoodFeelingRequest() {} private int _npcId; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int npcId { get { return _npcId; } set { _npcId = 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=@"GetNpcGoodFeelingResponse")] public partial class GetNpcGoodFeelingResponse : global::ProtoBuf.IExtensible { public GetNpcGoodFeelingResponse() {} 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.NpcGoodFeelingModel _model; /// <summary> /// npc好感度 /// </summary> [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"model", DataFormat = global::ProtoBuf.DataFormat.Default)] public pomelo.area.NpcGoodFeelingModel model { get { return _model; } set { _model = value; } } private int _getGiftNumTodayAllNpc; /// <summary> /// 今日对所有npc的送礼剩余次数 /// </summary> [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"getGiftNumTodayAllNpc", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int getGiftNumTodayAllNpc { get { return _getGiftNumTodayAllNpc; } set { _getGiftNumTodayAllNpc = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 对某个npc进行送礼 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftGivingRequest")] public partial class GiftGivingRequest : global::ProtoBuf.IExtensible { public GiftGivingRequest() {} private int _npcId; /// <summary> /// 接受礼物的npcId /// </summary> [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int npcId { get { return _npcId; } set { _npcId = value; } } private pomelo.area.GiftItem _gift; /// <summary> /// 礼物 /// </summary> [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"gift", DataFormat = global::ProtoBuf.DataFormat.Default)] public pomelo.area.GiftItem gift { get { return _gift; } set { _gift = 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=@"GiftGivingResponse")] public partial class GiftGivingResponse : global::ProtoBuf.IExtensible { public GiftGivingResponse() {} 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 _haveReturnGift; /// <summary> /// npc对待礼品的态度;1:一般, 2:喜欢, 3:非常喜欢, 4:讨厌 /// </summary> [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"haveReturnGift", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int haveReturnGift { get { return _haveReturnGift; } set { _haveReturnGift = value; } } private readonly global::System.Collections.Generic.List<pomelo.area.ReturnGiftItem> _returnGift = new global::System.Collections.Generic.List<pomelo.area.ReturnGiftItem>(); /// <summary> /// 回赠的礼品 /// </summary> [global::ProtoBuf.ProtoMember(4, Name=@"returnGift", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List<pomelo.area.ReturnGiftItem> returnGift { get { return _returnGift; } } private int _curLv = default(int); /// <summary> /// 当前好感度阶数 /// </summary> [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"curLv", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int curLv { get { return _curLv; } set { _curLv = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 好感度npc对话 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TalkRequest")] public partial class TalkRequest : global::ProtoBuf.IExtensible { public TalkRequest() {} private int _npcId; /// <summary> /// 对话的npcId /// </summary> [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int npcId { get { return _npcId; } set { _npcId = 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=@"TalkResponse")] public partial class TalkResponse : global::ProtoBuf.IExtensible { public TalkResponse() {} 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 bool _isFirst = default(bool); /// <summary> /// 是否已经第一次对话 /// </summary> [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"isFirst", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(default(bool))] public bool isFirst { get { return _isFirst; } set { _isFirst = value; } } private int _option_count = default(int); /// <summary> /// 选项数量(>0表示弹出选择面板) /// </summary> [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"option_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int option_count { get { return _option_count; } set { _option_count = value; } } private bool _isFirstByDay = default(bool); /// <summary> /// 是否已首次对话(每日) /// </summary> [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"isFirstByDay", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(default(bool))] public bool isFirstByDay { get { return _isFirstByDay; } set { _isFirstByDay = 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=@"TalkEndSelRewardRequest")] public partial class TalkEndSelRewardRequest : global::ProtoBuf.IExtensible { public TalkEndSelRewardRequest() {} private int _index; /// <summary> /// 选项索引(从0开始) /// </summary> [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int index { get { return _index; } set { _index = value; } } private int _npcId; [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int npcId { get { return _npcId; } set { _npcId = 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=@"TalkEndSelRewardResponse")] public partial class TalkEndSelRewardResponse : global::ProtoBuf.IExtensible { public TalkEndSelRewardResponse() {} 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); } } //--------------------------------------------------------------------------------------- /// <summary> /// 所有npc好感度推送 /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AllNpcGoodFeelingGetPush")] public partial class AllNpcGoodFeelingGetPush : global::ProtoBuf.IExtensible { public AllNpcGoodFeelingGetPush() {} 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.area.NpcGoodFeelingModel> _models = new global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel>(); /// <summary> /// npc好感度 /// </summary> [global::ProtoBuf.ProtoMember(3, Name=@"models", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel> models { get { return _models; } } private int _getGiftNumTodayAllNpc; /// <summary> /// 今日对所有npc的送礼剩余次数 /// </summary> [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"getGiftNumTodayAllNpc", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int getGiftNumTodayAllNpc { get { return _getGiftNumTodayAllNpc; } set { _getGiftNumTodayAllNpc = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// <summary> /// 已经首次对话npc /// </summary> [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FirstTalkNpcPush")] public partial class FirstTalkNpcPush : global::ProtoBuf.IExtensible { public FirstTalkNpcPush() {} private readonly global::System.Collections.Generic.List<int> _npcIds = new global::System.Collections.Generic.List<int>(); /// <summary> /// npcIds /// </summary> [global::ProtoBuf.ProtoMember(1, Name=@"npcIds", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public global::System.Collections.Generic.List<int> npcIds { get { return _npcIds; } } private readonly global::System.Collections.Generic.List<int> _npcIdsByDay = new global::System.Collections.Generic.List<int>(); /// <summary> /// 已经首次对话npc(每日) /// </summary> [global::ProtoBuf.ProtoMember(2, Name=@"npcIdsByDay", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public global::System.Collections.Generic.List<int> npcIdsByDay { get { return _npcIdsByDay; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } }