_resourceHandler.cs 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. // * 创建时间: 2015-08-27
  12. // * 用途: 资源处理器
  13. // ***************************************************************************
  14. // Generated from: resourceHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Npc")]
  19. public partial class Npc : global::ProtoBuf.IExtensible
  20. {
  21. public Npc() {}
  22. private int _templateId;
  23. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"templateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  24. public int templateId
  25. {
  26. get { return _templateId; }
  27. set { _templateId = value; }
  28. }
  29. private uint _id;
  30. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  31. public uint id
  32. {
  33. get { return _id; }
  34. set { _id = value; }
  35. }
  36. private global::ProtoBuf.IExtension extensionObject;
  37. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  38. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  39. }
  40. //---------------------------------------------------------------------------------------
  41. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryAreaDataRequest")]
  42. public partial class QueryAreaDataRequest : global::ProtoBuf.IExtensible
  43. {
  44. public QueryAreaDataRequest() {}
  45. private global::ProtoBuf.IExtension extensionObject;
  46. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  47. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  48. }
  49. //---------------------------------------------------------------------------------------
  50. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryAreaDataResponse")]
  51. public partial class QueryAreaDataResponse : global::ProtoBuf.IExtensible
  52. {
  53. public QueryAreaDataResponse() {}
  54. private int _s2c_code;
  55. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  56. public int s2c_code
  57. {
  58. get { return _s2c_code; }
  59. set { _s2c_code = value; }
  60. }
  61. private string _s2c_msg = "";
  62. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  63. [global::System.ComponentModel.DefaultValue("")]
  64. public string s2c_msg
  65. {
  66. get { return _s2c_msg; }
  67. set { _s2c_msg = value; }
  68. }
  69. private readonly global::System.Collections.Generic.List<pomelo.area.Npc> _s2c_npcs = new global::System.Collections.Generic.List<pomelo.area.Npc>();
  70. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_npcs", DataFormat = global::ProtoBuf.DataFormat.Default)]
  71. public global::System.Collections.Generic.List<pomelo.area.Npc> s2c_npcs
  72. {
  73. get { return _s2c_npcs; }
  74. }
  75. private global::ProtoBuf.IExtension extensionObject;
  76. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  77. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  78. }
  79. }