_npcGoodFeelingHandler.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. // ***************************************************************************
  10. // * 作者= 谢华
  11. // * 创建时间= 2020-05-12
  12. // * 用途= npc好感度处理器
  13. // ***************************************************************************/
  14. // Generated from: npcGoodFeelingHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. /// <summary>
  20. /// npc好感度模型
  21. /// </summary>
  22. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NpcGoodFeelingModel")]
  23. public partial class NpcGoodFeelingModel : global::ProtoBuf.IExtensible
  24. {
  25. public NpcGoodFeelingModel() {}
  26. private int _npcId;
  27. /// <summary>
  28. /// npcid
  29. /// </summary>
  30. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  31. public int npcId
  32. {
  33. get { return _npcId; }
  34. set { _npcId = value; }
  35. }
  36. private int _NpcGoodFeelingVlaue;
  37. /// <summary>
  38. /// 好感度值
  39. /// </summary>
  40. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"NpcGoodFeelingVlaue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  41. public int NpcGoodFeelingVlaue
  42. {
  43. get { return _NpcGoodFeelingVlaue; }
  44. set { _NpcGoodFeelingVlaue = value; }
  45. }
  46. private int _getGiftNumToday;
  47. /// <summary>
  48. /// 今日获得第几次礼物 例: 0 ,今日已获得0次,5即是 今日已获得五次
  49. /// </summary>
  50. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"getGiftNumToday", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  51. public int getGiftNumToday
  52. {
  53. get { return _getGiftNumToday; }
  54. set { _getGiftNumToday = value; }
  55. }
  56. private readonly global::System.Collections.Generic.List<string> _very_like = new global::System.Collections.Generic.List<string>();
  57. /// <summary>
  58. /// 喜好
  59. /// </summary>
  60. /// <summary>
  61. /// 非常喜欢的道具
  62. /// </summary>
  63. [global::ProtoBuf.ProtoMember(11, Name=@"very_like", DataFormat = global::ProtoBuf.DataFormat.Default)]
  64. public global::System.Collections.Generic.List<string> very_like
  65. {
  66. get { return _very_like; }
  67. }
  68. private readonly global::System.Collections.Generic.List<string> _like = new global::System.Collections.Generic.List<string>();
  69. /// <summary>
  70. /// 喜欢的道具
  71. /// </summary>
  72. [global::ProtoBuf.ProtoMember(12, Name=@"like", DataFormat = global::ProtoBuf.DataFormat.Default)]
  73. public global::System.Collections.Generic.List<string> like
  74. {
  75. get { return _like; }
  76. }
  77. private readonly global::System.Collections.Generic.List<string> _hate = new global::System.Collections.Generic.List<string>();
  78. /// <summary>
  79. /// 讨厌的道具
  80. /// </summary>
  81. [global::ProtoBuf.ProtoMember(13, Name=@"hate", DataFormat = global::ProtoBuf.DataFormat.Default)]
  82. public global::System.Collections.Generic.List<string> hate
  83. {
  84. get { return _hate; }
  85. }
  86. private global::ProtoBuf.IExtension extensionObject;
  87. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  88. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  89. }
  90. //---------------------------------------------------------------------------------------
  91. /// <summary>
  92. /// 赠送礼品 模型
  93. /// </summary>
  94. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftItem")]
  95. public partial class GiftItem : global::ProtoBuf.IExtensible
  96. {
  97. public GiftItem() {}
  98. private string _giftCode;
  99. /// <summary>
  100. /// 礼物code
  101. /// </summary>
  102. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"giftCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  103. public string giftCode
  104. {
  105. get { return _giftCode; }
  106. set { _giftCode = value; }
  107. }
  108. private int _giftNum;
  109. /// <summary>
  110. /// 礼物的数量
  111. /// </summary>
  112. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"giftNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  113. public int giftNum
  114. {
  115. get { return _giftNum; }
  116. set { _giftNum = value; }
  117. }
  118. private global::ProtoBuf.IExtension extensionObject;
  119. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  120. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  121. }
  122. //---------------------------------------------------------------------------------------
  123. /// <summary>
  124. /// 回赠礼品 模型
  125. /// </summary>
  126. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReturnGiftItem")]
  127. public partial class ReturnGiftItem : global::ProtoBuf.IExtensible
  128. {
  129. public ReturnGiftItem() {}
  130. private string _giftCode = "";
  131. /// <summary>
  132. /// 礼物code
  133. /// </summary>
  134. [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"giftCode", DataFormat = global::ProtoBuf.DataFormat.Default)]
  135. [global::System.ComponentModel.DefaultValue("")]
  136. public string giftCode
  137. {
  138. get { return _giftCode; }
  139. set { _giftCode = value; }
  140. }
  141. private int _giftNum = default(int);
  142. /// <summary>
  143. /// 礼物的数量
  144. /// </summary>
  145. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"giftNum", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  146. [global::System.ComponentModel.DefaultValue(default(int))]
  147. public int giftNum
  148. {
  149. get { return _giftNum; }
  150. set { _giftNum = value; }
  151. }
  152. private global::ProtoBuf.IExtension extensionObject;
  153. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  154. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  155. }
  156. //---------------------------------------------------------------------------------------
  157. /// <summary>
  158. /// 获取所有npc好感度
  159. /// </summary>
  160. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAllNpcGoodFeelingRequest")]
  161. public partial class GetAllNpcGoodFeelingRequest : global::ProtoBuf.IExtensible
  162. {
  163. public GetAllNpcGoodFeelingRequest() {}
  164. private global::ProtoBuf.IExtension extensionObject;
  165. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  166. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  167. }
  168. //---------------------------------------------------------------------------------------
  169. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAllNpcGoodFeelingResponse")]
  170. public partial class GetAllNpcGoodFeelingResponse : global::ProtoBuf.IExtensible
  171. {
  172. public GetAllNpcGoodFeelingResponse() {}
  173. private int _s2c_code;
  174. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  175. public int s2c_code
  176. {
  177. get { return _s2c_code; }
  178. set { _s2c_code = value; }
  179. }
  180. private string _s2c_msg = "";
  181. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  182. [global::System.ComponentModel.DefaultValue("")]
  183. public string s2c_msg
  184. {
  185. get { return _s2c_msg; }
  186. set { _s2c_msg = value; }
  187. }
  188. private readonly global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel> _models = new global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel>();
  189. /// <summary>
  190. /// npc好感度
  191. /// </summary>
  192. [global::ProtoBuf.ProtoMember(3, Name=@"models", DataFormat = global::ProtoBuf.DataFormat.Default)]
  193. public global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel> models
  194. {
  195. get { return _models; }
  196. }
  197. private int _getGiftNumTodayAllNpc;
  198. /// <summary>
  199. /// 今日对所有npc的送礼剩余次数
  200. /// </summary>
  201. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"getGiftNumTodayAllNpc", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  202. public int getGiftNumTodayAllNpc
  203. {
  204. get { return _getGiftNumTodayAllNpc; }
  205. set { _getGiftNumTodayAllNpc = value; }
  206. }
  207. private global::ProtoBuf.IExtension extensionObject;
  208. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  209. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  210. }
  211. //---------------------------------------------------------------------------------------
  212. /// <summary>
  213. /// 获取某个npc好感度
  214. /// </summary>
  215. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetNpcGoodFeelingRequest")]
  216. public partial class GetNpcGoodFeelingRequest : global::ProtoBuf.IExtensible
  217. {
  218. public GetNpcGoodFeelingRequest() {}
  219. private int _npcId;
  220. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  221. public int npcId
  222. {
  223. get { return _npcId; }
  224. set { _npcId = value; }
  225. }
  226. private global::ProtoBuf.IExtension extensionObject;
  227. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  228. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  229. }
  230. //---------------------------------------------------------------------------------------
  231. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetNpcGoodFeelingResponse")]
  232. public partial class GetNpcGoodFeelingResponse : global::ProtoBuf.IExtensible
  233. {
  234. public GetNpcGoodFeelingResponse() {}
  235. private int _s2c_code;
  236. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  237. public int s2c_code
  238. {
  239. get { return _s2c_code; }
  240. set { _s2c_code = value; }
  241. }
  242. private string _s2c_msg = "";
  243. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  244. [global::System.ComponentModel.DefaultValue("")]
  245. public string s2c_msg
  246. {
  247. get { return _s2c_msg; }
  248. set { _s2c_msg = value; }
  249. }
  250. private pomelo.area.NpcGoodFeelingModel _model;
  251. /// <summary>
  252. /// npc好感度
  253. /// </summary>
  254. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"model", DataFormat = global::ProtoBuf.DataFormat.Default)]
  255. public pomelo.area.NpcGoodFeelingModel model
  256. {
  257. get { return _model; }
  258. set { _model = value; }
  259. }
  260. private int _getGiftNumTodayAllNpc;
  261. /// <summary>
  262. /// 今日对所有npc的送礼剩余次数
  263. /// </summary>
  264. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"getGiftNumTodayAllNpc", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  265. public int getGiftNumTodayAllNpc
  266. {
  267. get { return _getGiftNumTodayAllNpc; }
  268. set { _getGiftNumTodayAllNpc = value; }
  269. }
  270. private global::ProtoBuf.IExtension extensionObject;
  271. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  272. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  273. }
  274. //---------------------------------------------------------------------------------------
  275. /// <summary>
  276. /// 对某个npc进行送礼
  277. /// </summary>
  278. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftGivingRequest")]
  279. public partial class GiftGivingRequest : global::ProtoBuf.IExtensible
  280. {
  281. public GiftGivingRequest() {}
  282. private int _npcId;
  283. /// <summary>
  284. /// 接受礼物的npcId
  285. /// </summary>
  286. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  287. public int npcId
  288. {
  289. get { return _npcId; }
  290. set { _npcId = value; }
  291. }
  292. private pomelo.area.GiftItem _gift;
  293. /// <summary>
  294. /// 礼物
  295. /// </summary>
  296. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"gift", DataFormat = global::ProtoBuf.DataFormat.Default)]
  297. public pomelo.area.GiftItem gift
  298. {
  299. get { return _gift; }
  300. set { _gift = value; }
  301. }
  302. private global::ProtoBuf.IExtension extensionObject;
  303. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  304. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  305. }
  306. //---------------------------------------------------------------------------------------
  307. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GiftGivingResponse")]
  308. public partial class GiftGivingResponse : global::ProtoBuf.IExtensible
  309. {
  310. public GiftGivingResponse() {}
  311. private int _s2c_code;
  312. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  313. public int s2c_code
  314. {
  315. get { return _s2c_code; }
  316. set { _s2c_code = value; }
  317. }
  318. private string _s2c_msg = "";
  319. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  320. [global::System.ComponentModel.DefaultValue("")]
  321. public string s2c_msg
  322. {
  323. get { return _s2c_msg; }
  324. set { _s2c_msg = value; }
  325. }
  326. private int _haveReturnGift;
  327. /// <summary>
  328. /// npc对待礼品的态度;1:一般, 2:喜欢, 3:非常喜欢, 4:讨厌
  329. /// </summary>
  330. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"haveReturnGift", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  331. public int haveReturnGift
  332. {
  333. get { return _haveReturnGift; }
  334. set { _haveReturnGift = value; }
  335. }
  336. private readonly global::System.Collections.Generic.List<pomelo.area.ReturnGiftItem> _returnGift = new global::System.Collections.Generic.List<pomelo.area.ReturnGiftItem>();
  337. /// <summary>
  338. /// 回赠的礼品
  339. /// </summary>
  340. [global::ProtoBuf.ProtoMember(4, Name=@"returnGift", DataFormat = global::ProtoBuf.DataFormat.Default)]
  341. public global::System.Collections.Generic.List<pomelo.area.ReturnGiftItem> returnGift
  342. {
  343. get { return _returnGift; }
  344. }
  345. private int _curLv = default(int);
  346. /// <summary>
  347. /// 当前好感度阶数
  348. /// </summary>
  349. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"curLv", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  350. [global::System.ComponentModel.DefaultValue(default(int))]
  351. public int curLv
  352. {
  353. get { return _curLv; }
  354. set { _curLv = value; }
  355. }
  356. private global::ProtoBuf.IExtension extensionObject;
  357. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  358. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  359. }
  360. //---------------------------------------------------------------------------------------
  361. /// <summary>
  362. /// 好感度npc对话
  363. /// </summary>
  364. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TalkRequest")]
  365. public partial class TalkRequest : global::ProtoBuf.IExtensible
  366. {
  367. public TalkRequest() {}
  368. private int _npcId;
  369. /// <summary>
  370. /// 对话的npcId
  371. /// </summary>
  372. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  373. public int npcId
  374. {
  375. get { return _npcId; }
  376. set { _npcId = value; }
  377. }
  378. private global::ProtoBuf.IExtension extensionObject;
  379. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  380. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  381. }
  382. //---------------------------------------------------------------------------------------
  383. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TalkResponse")]
  384. public partial class TalkResponse : global::ProtoBuf.IExtensible
  385. {
  386. public TalkResponse() {}
  387. private int _s2c_code;
  388. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  389. public int s2c_code
  390. {
  391. get { return _s2c_code; }
  392. set { _s2c_code = value; }
  393. }
  394. private string _s2c_msg = "";
  395. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  396. [global::System.ComponentModel.DefaultValue("")]
  397. public string s2c_msg
  398. {
  399. get { return _s2c_msg; }
  400. set { _s2c_msg = value; }
  401. }
  402. private bool _isFirst = default(bool);
  403. /// <summary>
  404. /// 是否已经第一次对话
  405. /// </summary>
  406. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"isFirst", DataFormat = global::ProtoBuf.DataFormat.Default)]
  407. [global::System.ComponentModel.DefaultValue(default(bool))]
  408. public bool isFirst
  409. {
  410. get { return _isFirst; }
  411. set { _isFirst = value; }
  412. }
  413. private int _option_count = default(int);
  414. /// <summary>
  415. /// 选项数量(>0表示弹出选择面板)
  416. /// </summary>
  417. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"option_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  418. [global::System.ComponentModel.DefaultValue(default(int))]
  419. public int option_count
  420. {
  421. get { return _option_count; }
  422. set { _option_count = value; }
  423. }
  424. private bool _isFirstByDay = default(bool);
  425. /// <summary>
  426. /// 是否已首次对话(每日)
  427. /// </summary>
  428. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"isFirstByDay", DataFormat = global::ProtoBuf.DataFormat.Default)]
  429. [global::System.ComponentModel.DefaultValue(default(bool))]
  430. public bool isFirstByDay
  431. {
  432. get { return _isFirstByDay; }
  433. set { _isFirstByDay = value; }
  434. }
  435. private global::ProtoBuf.IExtension extensionObject;
  436. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  437. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  438. }
  439. //---------------------------------------------------------------------------------------
  440. /// <summary>
  441. /// 对话结束选择奖励
  442. /// </summary>
  443. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TalkEndSelRewardRequest")]
  444. public partial class TalkEndSelRewardRequest : global::ProtoBuf.IExtensible
  445. {
  446. public TalkEndSelRewardRequest() {}
  447. private int _index;
  448. /// <summary>
  449. /// 选项索引(从0开始)
  450. /// </summary>
  451. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  452. public int index
  453. {
  454. get { return _index; }
  455. set { _index = value; }
  456. }
  457. private int _npcId;
  458. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  459. public int npcId
  460. {
  461. get { return _npcId; }
  462. set { _npcId = value; }
  463. }
  464. private global::ProtoBuf.IExtension extensionObject;
  465. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  466. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  467. }
  468. //---------------------------------------------------------------------------------------
  469. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TalkEndSelRewardResponse")]
  470. public partial class TalkEndSelRewardResponse : global::ProtoBuf.IExtensible
  471. {
  472. public TalkEndSelRewardResponse() {}
  473. private int _s2c_code;
  474. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  475. public int s2c_code
  476. {
  477. get { return _s2c_code; }
  478. set { _s2c_code = value; }
  479. }
  480. private string _s2c_msg = "";
  481. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  482. [global::System.ComponentModel.DefaultValue("")]
  483. public string s2c_msg
  484. {
  485. get { return _s2c_msg; }
  486. set { _s2c_msg = value; }
  487. }
  488. private global::ProtoBuf.IExtension extensionObject;
  489. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  490. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  491. }
  492. //---------------------------------------------------------------------------------------
  493. /// <summary>
  494. /// 所有npc好感度推送
  495. /// </summary>
  496. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AllNpcGoodFeelingGetPush")]
  497. public partial class AllNpcGoodFeelingGetPush : global::ProtoBuf.IExtensible
  498. {
  499. public AllNpcGoodFeelingGetPush() {}
  500. private int _s2c_code;
  501. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  502. public int s2c_code
  503. {
  504. get { return _s2c_code; }
  505. set { _s2c_code = value; }
  506. }
  507. private string _s2c_msg = "";
  508. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  509. [global::System.ComponentModel.DefaultValue("")]
  510. public string s2c_msg
  511. {
  512. get { return _s2c_msg; }
  513. set { _s2c_msg = value; }
  514. }
  515. private readonly global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel> _models = new global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel>();
  516. /// <summary>
  517. /// npc好感度
  518. /// </summary>
  519. [global::ProtoBuf.ProtoMember(3, Name=@"models", DataFormat = global::ProtoBuf.DataFormat.Default)]
  520. public global::System.Collections.Generic.List<pomelo.area.NpcGoodFeelingModel> models
  521. {
  522. get { return _models; }
  523. }
  524. private int _getGiftNumTodayAllNpc;
  525. /// <summary>
  526. /// 今日对所有npc的送礼剩余次数
  527. /// </summary>
  528. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"getGiftNumTodayAllNpc", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  529. public int getGiftNumTodayAllNpc
  530. {
  531. get { return _getGiftNumTodayAllNpc; }
  532. set { _getGiftNumTodayAllNpc = value; }
  533. }
  534. private global::ProtoBuf.IExtension extensionObject;
  535. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  536. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  537. }
  538. //---------------------------------------------------------------------------------------
  539. /// <summary>
  540. /// 已经首次对话npc
  541. /// </summary>
  542. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FirstTalkNpcPush")]
  543. public partial class FirstTalkNpcPush : global::ProtoBuf.IExtensible
  544. {
  545. public FirstTalkNpcPush() {}
  546. private readonly global::System.Collections.Generic.List<int> _npcIds = new global::System.Collections.Generic.List<int>();
  547. /// <summary>
  548. /// npcIds
  549. /// </summary>
  550. [global::ProtoBuf.ProtoMember(1, Name=@"npcIds", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  551. public global::System.Collections.Generic.List<int> npcIds
  552. {
  553. get { return _npcIds; }
  554. }
  555. private readonly global::System.Collections.Generic.List<int> _npcIdsByDay = new global::System.Collections.Generic.List<int>();
  556. /// <summary>
  557. /// 已经首次对话npc(每日)
  558. /// </summary>
  559. [global::ProtoBuf.ProtoMember(2, Name=@"npcIdsByDay", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  560. public global::System.Collections.Generic.List<int> npcIdsByDay
  561. {
  562. get { return _npcIdsByDay; }
  563. }
  564. private global::ProtoBuf.IExtension extensionObject;
  565. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  566. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  567. }
  568. }