_skillKeysHandler.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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-11-25
  12. // * 用途= 技能快捷键处理器
  13. // ***************************************************************************
  14. // Generated from: skillKeysHandler.proto
  15. // Note: requires additional types generated from: common.proto
  16. namespace pomelo.area
  17. {
  18. //---------------------------------------------------------------------------------------
  19. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SkillKey")]
  20. public partial class SkillKey : global::ProtoBuf.IExtensible
  21. {
  22. public SkillKey() {}
  23. private int _keyPos;
  24. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"keyPos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  25. public int keyPos
  26. {
  27. get { return _keyPos; }
  28. set { _keyPos = value; }
  29. }
  30. private int _skillId;
  31. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"skillId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  32. public int skillId
  33. {
  34. get { return _skillId; }
  35. set { _skillId = value; }
  36. }
  37. private global::ProtoBuf.IExtension extensionObject;
  38. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  39. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  40. }
  41. //---------------------------------------------------------------------------------------
  42. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SaveSkillKeysRequest")]
  43. public partial class SaveSkillKeysRequest : global::ProtoBuf.IExtensible
  44. {
  45. public SaveSkillKeysRequest() {}
  46. private readonly global::System.Collections.Generic.List<pomelo.area.SkillKey> _s2c_skillKeys = new global::System.Collections.Generic.List<pomelo.area.SkillKey>();
  47. [global::ProtoBuf.ProtoMember(1, Name=@"s2c_skillKeys", DataFormat = global::ProtoBuf.DataFormat.Default)]
  48. public global::System.Collections.Generic.List<pomelo.area.SkillKey> s2c_skillKeys
  49. {
  50. get { return _s2c_skillKeys; }
  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=@"SaveSkillKeysResponse")]
  58. public partial class SaveSkillKeysResponse : global::ProtoBuf.IExtensible
  59. {
  60. public SaveSkillKeysResponse() {}
  61. private int _s2c_code;
  62. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  63. public int s2c_code
  64. {
  65. get { return _s2c_code; }
  66. set { _s2c_code = value; }
  67. }
  68. private string _s2c_msg = "";
  69. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  70. [global::System.ComponentModel.DefaultValue("")]
  71. public string s2c_msg
  72. {
  73. get { return _s2c_msg; }
  74. set { _s2c_msg = value; }
  75. }
  76. private global::ProtoBuf.IExtension extensionObject;
  77. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  78. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  79. }
  80. //---------------------------------------------------------------------------------------
  81. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SkillKeyUpdatePush")]
  82. public partial class SkillKeyUpdatePush : global::ProtoBuf.IExtensible
  83. {
  84. public SkillKeyUpdatePush() {}
  85. private int _s2c_code;
  86. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  87. public int s2c_code
  88. {
  89. get { return _s2c_code; }
  90. set { _s2c_code = value; }
  91. }
  92. private readonly global::System.Collections.Generic.List<pomelo.SkillKeyStruct> _s2c_data = new global::System.Collections.Generic.List<pomelo.SkillKeyStruct>();
  93. [global::ProtoBuf.ProtoMember(2, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
  94. public global::System.Collections.Generic.List<pomelo.SkillKeyStruct> s2c_data
  95. {
  96. get { return _s2c_data; }
  97. }
  98. private global::ProtoBuf.IExtension extensionObject;
  99. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  100. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  101. }
  102. }