_npcHandler.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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. // * 创建时间= 2016-03-20
  12. // * 用途= npc处理器
  13. // ***************************************************************************
  14. // Generated from: npcHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RecoverByNpcRequest")]
  19. public partial class RecoverByNpcRequest : global::ProtoBuf.IExtensible
  20. {
  21. public RecoverByNpcRequest() {}
  22. private string _npcObjId;
  23. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcObjId", DataFormat = global::ProtoBuf.DataFormat.Default)]
  24. public string npcObjId
  25. {
  26. get { return _npcObjId; }
  27. set { _npcObjId = value; }
  28. }
  29. private global::ProtoBuf.IExtension extensionObject;
  30. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  31. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  32. }
  33. //---------------------------------------------------------------------------------------
  34. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RecoverByNpcResponse")]
  35. public partial class RecoverByNpcResponse : global::ProtoBuf.IExtensible
  36. {
  37. public RecoverByNpcResponse() {}
  38. private int _s2c_code;
  39. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. public int s2c_code
  41. {
  42. get { return _s2c_code; }
  43. set { _s2c_code = value; }
  44. }
  45. private string _s2c_msg = "";
  46. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  47. [global::System.ComponentModel.DefaultValue("")]
  48. public string s2c_msg
  49. {
  50. get { return _s2c_msg; }
  51. set { _s2c_msg = value; }
  52. }
  53. private global::ProtoBuf.IExtension extensionObject;
  54. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  55. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  56. }
  57. //---------------------------------------------------------------------------------------
  58. /// <summary>
  59. /// 修真大佬答题抽奖 请求
  60. /// </summary>
  61. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"XiuzhenDalaoLotteryRequest")]
  62. public partial class XiuzhenDalaoLotteryRequest : global::ProtoBuf.IExtensible
  63. {
  64. public XiuzhenDalaoLotteryRequest() {}
  65. private int _id;
  66. /// <summary>
  67. /// 问题编号
  68. /// </summary>
  69. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  70. public int id
  71. {
  72. get { return _id; }
  73. set { _id = value; }
  74. }
  75. private int _select;
  76. /// <summary>
  77. /// 玩家选项
  78. /// </summary>
  79. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"select", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  80. public int select
  81. {
  82. get { return _select; }
  83. set { _select = value; }
  84. }
  85. private global::ProtoBuf.IExtension extensionObject;
  86. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  87. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  88. }
  89. //---------------------------------------------------------------------------------------
  90. /// <summary>
  91. /// 修真大佬答题抽奖 返回
  92. /// </summary>
  93. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"XiuzhenDalaoLotteryResponse")]
  94. public partial class XiuzhenDalaoLotteryResponse : global::ProtoBuf.IExtensible
  95. {
  96. public XiuzhenDalaoLotteryResponse() {}
  97. private int _s2c_code;
  98. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  99. public int s2c_code
  100. {
  101. get { return _s2c_code; }
  102. set { _s2c_code = value; }
  103. }
  104. private string _s2c_msg = "";
  105. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  106. [global::System.ComponentModel.DefaultValue("")]
  107. public string s2c_msg
  108. {
  109. get { return _s2c_msg; }
  110. set { _s2c_msg = value; }
  111. }
  112. private global::ProtoBuf.IExtension extensionObject;
  113. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  114. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  115. }
  116. //---------------------------------------------------------------------------------------
  117. /// <summary>
  118. /// 检测大佬本次是否可以答题 请求
  119. /// </summary>
  120. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CheckDalaoIsCanLotteryRequest")]
  121. public partial class CheckDalaoIsCanLotteryRequest : global::ProtoBuf.IExtensible
  122. {
  123. public CheckDalaoIsCanLotteryRequest() {}
  124. private int _npcid;
  125. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  126. public int npcid
  127. {
  128. get { return _npcid; }
  129. set { _npcid = value; }
  130. }
  131. private global::ProtoBuf.IExtension extensionObject;
  132. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  133. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  134. }
  135. //---------------------------------------------------------------------------------------
  136. /// <summary>
  137. /// 检测大佬本次是否可以答题 返回
  138. /// </summary>
  139. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CheckDalaoIsCanLotteryResponse")]
  140. public partial class CheckDalaoIsCanLotteryResponse : global::ProtoBuf.IExtensible
  141. {
  142. public CheckDalaoIsCanLotteryResponse() {}
  143. private int _s2c_code;
  144. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  145. public int s2c_code
  146. {
  147. get { return _s2c_code; }
  148. set { _s2c_code = value; }
  149. }
  150. private string _s2c_msg = "";
  151. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  152. [global::System.ComponentModel.DefaultValue("")]
  153. public string s2c_msg
  154. {
  155. get { return _s2c_msg; }
  156. set { _s2c_msg = value; }
  157. }
  158. private bool _isCanLottery = default(bool);
  159. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"isCanLottery", DataFormat = global::ProtoBuf.DataFormat.Default)]
  160. [global::System.ComponentModel.DefaultValue(default(bool))]
  161. public bool isCanLottery
  162. {
  163. get { return _isCanLottery; }
  164. set { _isCanLottery = value; }
  165. }
  166. private global::ProtoBuf.IExtension extensionObject;
  167. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  168. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  169. }
  170. //---------------------------------------------------------------------------------------
  171. /// <summary>
  172. /// 获取梦九信息 请求
  173. /// </summary>
  174. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDreamWorkInfoRequest")]
  175. public partial class GetDreamWorkInfoRequest : global::ProtoBuf.IExtensible
  176. {
  177. public GetDreamWorkInfoRequest() {}
  178. private global::ProtoBuf.IExtension extensionObject;
  179. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  180. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  181. }
  182. //---------------------------------------------------------------------------------------
  183. /// <summary>
  184. /// 获取梦九信息 返回
  185. /// </summary>
  186. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDreamWorkInfoResponse")]
  187. public partial class GetDreamWorkInfoResponse : global::ProtoBuf.IExtensible
  188. {
  189. public GetDreamWorkInfoResponse() {}
  190. private int _s2c_code;
  191. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  192. public int s2c_code
  193. {
  194. get { return _s2c_code; }
  195. set { _s2c_code = value; }
  196. }
  197. private string _s2c_msg = "";
  198. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  199. [global::System.ComponentModel.DefaultValue("")]
  200. public string s2c_msg
  201. {
  202. get { return _s2c_msg; }
  203. set { _s2c_msg = value; }
  204. }
  205. private readonly global::System.Collections.Generic.List<int> _dreamWorks = new global::System.Collections.Generic.List<int>();
  206. /// <summary>
  207. /// 已激活的图片id List
  208. /// </summary>
  209. [global::ProtoBuf.ProtoMember(3, Name=@"dreamWorks", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  210. public global::System.Collections.Generic.List<int> dreamWorks
  211. {
  212. get { return _dreamWorks; }
  213. }
  214. private global::ProtoBuf.IExtension extensionObject;
  215. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  216. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  217. }
  218. //---------------------------------------------------------------------------------------
  219. /// <summary>
  220. /// 激活梦九图片 请求
  221. /// </summary>
  222. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AddDreamWorkRequest")]
  223. public partial class AddDreamWorkRequest : global::ProtoBuf.IExtensible
  224. {
  225. public AddDreamWorkRequest() {}
  226. private int _dreamWorkId;
  227. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"dreamWorkId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  228. public int dreamWorkId
  229. {
  230. get { return _dreamWorkId; }
  231. set { _dreamWorkId = value; }
  232. }
  233. private global::ProtoBuf.IExtension extensionObject;
  234. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  235. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  236. }
  237. //---------------------------------------------------------------------------------------
  238. /// <summary>
  239. /// 激活梦九图片 返回
  240. /// </summary>
  241. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AddDreamWorkResponse")]
  242. public partial class AddDreamWorkResponse : global::ProtoBuf.IExtensible
  243. {
  244. public AddDreamWorkResponse() {}
  245. private int _s2c_code;
  246. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  247. public int s2c_code
  248. {
  249. get { return _s2c_code; }
  250. set { _s2c_code = value; }
  251. }
  252. private string _s2c_msg = "";
  253. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  254. [global::System.ComponentModel.DefaultValue("")]
  255. public string s2c_msg
  256. {
  257. get { return _s2c_msg; }
  258. set { _s2c_msg = value; }
  259. }
  260. private readonly global::System.Collections.Generic.List<int> _dreamWorks = new global::System.Collections.Generic.List<int>();
  261. /// <summary>
  262. /// 已激活的图片id List
  263. /// </summary>
  264. [global::ProtoBuf.ProtoMember(3, Name=@"dreamWorks", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  265. public global::System.Collections.Generic.List<int> dreamWorks
  266. {
  267. get { return _dreamWorks; }
  268. }
  269. private global::ProtoBuf.IExtension extensionObject;
  270. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  271. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  272. }
  273. }