_stealHandler.cs 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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-06-4
  12. // * 用途= 偷窃任务
  13. // ***************************************************************************
  14. // Generated from: stealHandler.proto
  15. // Note: requires additional types generated from: item.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"StealResponse")]
  20. public partial class StealResponse : global::ProtoBuf.IExtensible
  21. {
  22. public StealResponse() {}
  23. private int _s2c_code;
  24. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  25. public int s2c_code
  26. {
  27. get { return _s2c_code; }
  28. set { _s2c_code = value; }
  29. }
  30. private string _s2c_msg = "";
  31. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  32. [global::System.ComponentModel.DefaultValue("")]
  33. public string s2c_msg
  34. {
  35. get { return _s2c_msg; }
  36. set { _s2c_msg = value; }
  37. }
  38. private int _s2c_result = default(int);
  39. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_result", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. [global::System.ComponentModel.DefaultValue(default(int))]
  41. public int s2c_result
  42. {
  43. get { return _s2c_result; }
  44. set { _s2c_result = value; }
  45. }
  46. private readonly global::System.Collections.Generic.List<pomelo.item.MiniItem> _s2c_items = new global::System.Collections.Generic.List<pomelo.item.MiniItem>();
  47. [global::ProtoBuf.ProtoMember(4, Name=@"s2c_items", DataFormat = global::ProtoBuf.DataFormat.Default)]
  48. public global::System.Collections.Generic.List<pomelo.item.MiniItem> s2c_items
  49. {
  50. get { return _s2c_items; }
  51. }
  52. private global::ProtoBuf.IExtension extensionObject;
  53. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  54. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  55. }
  56. //---------------------------------------------------------------------------------------
  57. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"StealRequest")]
  58. public partial class StealRequest : global::ProtoBuf.IExtensible
  59. {
  60. public StealRequest() {}
  61. private int _c2s_id;
  62. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  63. public int c2s_id
  64. {
  65. get { return _c2s_id; }
  66. set { _c2s_id = value; }
  67. }
  68. private global::ProtoBuf.IExtension extensionObject;
  69. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  70. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  71. }
  72. }