_sysSetHandler.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. // * 作者= jjr
  11. // * 创建时间= 2017-03-15
  12. // * 用途= 系统设置处理器
  13. // ***************************************************************************/
  14. // Generated from: sysSetHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetData")]
  19. public partial class SetData : global::ProtoBuf.IExtensible
  20. {
  21. public SetData() {}
  22. private int _recvMailSet;
  23. /// <summary>
  24. /// 接收邮件
  25. /// </summary>
  26. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"recvMailSet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  27. public int recvMailSet
  28. {
  29. get { return _recvMailSet; }
  30. set { _recvMailSet = value; }
  31. }
  32. private int _teamInviteSet;
  33. /// <summary>
  34. /// 允许组队邀请
  35. /// </summary>
  36. [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"teamInviteSet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  37. public int teamInviteSet
  38. {
  39. get { return _teamInviteSet; }
  40. set { _teamInviteSet = value; }
  41. }
  42. private int _recvStrangerMsgSet;
  43. /// <summary>
  44. /// 允许接收陌生人消息
  45. /// </summary>
  46. [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"recvStrangerMsgSet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  47. public int recvStrangerMsgSet
  48. {
  49. get { return _recvStrangerMsgSet; }
  50. set { _recvStrangerMsgSet = value; }
  51. }
  52. private int _recvAddFriendSet;
  53. /// <summary>
  54. /// 允许接收好友申请
  55. /// </summary>
  56. [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"recvAddFriendSet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  57. public int recvAddFriendSet
  58. {
  59. get { return _recvAddFriendSet; }
  60. set { _recvAddFriendSet = value; }
  61. }
  62. private global::ProtoBuf.IExtension extensionObject;
  63. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  64. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  65. }
  66. //---------------------------------------------------------------------------------------
  67. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChangeSysSetRequest")]
  68. public partial class ChangeSysSetRequest : global::ProtoBuf.IExtensible
  69. {
  70. public ChangeSysSetRequest() {}
  71. private pomelo.area.SetData _c2s_setData;
  72. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_setData", DataFormat = global::ProtoBuf.DataFormat.Default)]
  73. public pomelo.area.SetData c2s_setData
  74. {
  75. get { return _c2s_setData; }
  76. set { _c2s_setData = value; }
  77. }
  78. private global::ProtoBuf.IExtension extensionObject;
  79. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  80. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  81. }
  82. //---------------------------------------------------------------------------------------
  83. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChangeSysSetResponse")]
  84. public partial class ChangeSysSetResponse : global::ProtoBuf.IExtensible
  85. {
  86. public ChangeSysSetResponse() {}
  87. private int _s2c_code;
  88. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  89. public int s2c_code
  90. {
  91. get { return _s2c_code; }
  92. set { _s2c_code = value; }
  93. }
  94. private string _s2c_msg = "";
  95. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  96. [global::System.ComponentModel.DefaultValue("")]
  97. public string s2c_msg
  98. {
  99. get { return _s2c_msg; }
  100. set { _s2c_msg = value; }
  101. }
  102. private global::ProtoBuf.IExtension extensionObject;
  103. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  104. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  105. }
  106. }