//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者= 谢华
// * 创建时间= 2020-05-12
// * 用途= npc好感度处理器
// ***************************************************************************/
// Generated from: npcGoodFeelingHandler.proto
// Note: requires additional types generated from: common.proto
namespace pomelo.area
{
//---------------------------------------------------------------------------------------
///
/// npc好感度模型
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NpcGoodFeelingModel")]
public partial class NpcGoodFeelingModel : global::ProtoBuf.IExtensible
{
public NpcGoodFeelingModel() {}
private int _npcId;
///
/// npcid
///
[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;
///
/// 好感度值
///
[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;
///
/// 今日获得第几次礼物 例: 0 ,今日已获得0次,5即是 今日已获得五次
///
[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 _very_like = new global::System.Collections.Generic.List();
///
/// 喜好
///
///
/// 非常喜欢的道具
///
[global::ProtoBuf.ProtoMember(11, Name=@"very_like", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List very_like
{
get { return _very_like; }
}
private readonly global::System.Collections.Generic.List _like = new global::System.Collections.Generic.List();
///
/// 喜欢的道具
///
[global::ProtoBuf.ProtoMember(12, Name=@"like", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List like
{
get { return _like; }
}
private readonly global::System.Collections.Generic.List _hate = new global::System.Collections.Generic.List();
///
/// 讨厌的道具
///
[global::ProtoBuf.ProtoMember(13, Name=@"hate", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List 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); }
}
//---------------------------------------------------------------------------------------
///
/// 赠送礼品 模型
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftItem")]
public partial class GiftItem : global::ProtoBuf.IExtensible
{
public GiftItem() {}
private string _giftCode;
///
/// 礼物code
///
[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;
///
/// 礼物的数量
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 回赠礼品 模型
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReturnGiftItem")]
public partial class ReturnGiftItem : global::ProtoBuf.IExtensible
{
public ReturnGiftItem() {}
private string _giftCode = "";
///
/// 礼物code
///
[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);
///
/// 礼物的数量
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 获取所有npc好感度
///
[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 _models = new global::System.Collections.Generic.List();
///
/// npc好感度
///
[global::ProtoBuf.ProtoMember(3, Name=@"models", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List models
{
get { return _models; }
}
private int _getGiftNumTodayAllNpc;
///
/// 今日对所有npc的送礼剩余次数
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 获取某个npc好感度
///
[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;
///
/// npc好感度
///
[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;
///
/// 今日对所有npc的送礼剩余次数
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 对某个npc进行送礼
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftGivingRequest")]
public partial class GiftGivingRequest : global::ProtoBuf.IExtensible
{
public GiftGivingRequest() {}
private int _npcId;
///
/// 接受礼物的npcId
///
[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;
///
/// 礼物
///
[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;
///
/// npc对待礼品的态度;1:一般, 2:喜欢, 3:非常喜欢, 4:讨厌
///
[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 _returnGift = new global::System.Collections.Generic.List();
///
/// 回赠的礼品
///
[global::ProtoBuf.ProtoMember(4, Name=@"returnGift", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List returnGift
{
get { return _returnGift; }
}
private int _curLv = default(int);
///
/// 当前好感度阶数
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 好感度npc对话
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TalkRequest")]
public partial class TalkRequest : global::ProtoBuf.IExtensible
{
public TalkRequest() {}
private int _npcId;
///
/// 对话的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=@"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);
///
/// 是否已经第一次对话
///
[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);
///
/// 选项数量(>0表示弹出选择面板)
///
[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);
///
/// 是否已首次对话(每日)
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 对话结束选择奖励
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TalkEndSelRewardRequest")]
public partial class TalkEndSelRewardRequest : global::ProtoBuf.IExtensible
{
public TalkEndSelRewardRequest() {}
private int _index;
///
/// 选项索引(从0开始)
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 所有npc好感度推送
///
[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 _models = new global::System.Collections.Generic.List();
///
/// npc好感度
///
[global::ProtoBuf.ProtoMember(3, Name=@"models", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List models
{
get { return _models; }
}
private int _getGiftNumTodayAllNpc;
///
/// 今日对所有npc的送礼剩余次数
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 已经首次对话npc
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FirstTalkNpcPush")]
public partial class FirstTalkNpcPush : global::ProtoBuf.IExtensible
{
public FirstTalkNpcPush() {}
private readonly global::System.Collections.Generic.List _npcIds = new global::System.Collections.Generic.List();
///
/// npcIds
///
[global::ProtoBuf.ProtoMember(1, Name=@"npcIds", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public global::System.Collections.Generic.List npcIds
{
get { return _npcIds; }
}
private readonly global::System.Collections.Generic.List _npcIdsByDay = new global::System.Collections.Generic.List();
///
/// 已经首次对话npc(每日)
///
[global::ProtoBuf.ProtoMember(2, Name=@"npcIdsByDay", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public global::System.Collections.Generic.List 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); }
}
}