123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者: 范金乔
- // * 创建时间: 2015-12-11
- // * 用途: 交互
- // ***************************************************************************
- // Generated from: interactHandler.proto
- // Note: requires additional types generated from: common.proto
- namespace pomelo.area
- {
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 交互请求 (送花,...)
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractRequest")]
- public partial class InteractRequest : global::ProtoBuf.IExtensible
- {
- public InteractRequest() {}
-
-
- private int _c2s_id;
- /// <summary>
- /// 交互类型id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int c2s_id
- {
- get { return _c2s_id; }
- set { _c2s_id = value; }
- }
-
- private string _c2s_playerId;
- /// <summary>
- /// 目标玩家id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string c2s_playerId
- {
- get { return _c2s_playerId; }
- set { _c2s_playerId = value; }
- }
-
- private string _c2s_playerName;
- /// <summary>
- /// 目标玩家名称
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"c2s_playerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string c2s_playerName
- {
- get { return _c2s_playerName; }
- set { _c2s_playerName = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractResponse")]
- public partial class InteractResponse : global::ProtoBuf.IExtensible
- {
- public InteractResponse() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private string _s2c_msg = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_msg
- {
- get { return _s2c_msg; }
- set { _s2c_msg = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractConfigRequest")]
- public partial class InteractConfigRequest : global::ProtoBuf.IExtensible
- {
- public InteractConfigRequest() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractConfig")]
- public partial class InteractConfig : global::ProtoBuf.IExtensible
- {
- public InteractConfig() {}
-
-
- private int _id;
- /// <summary>
- /// 交互id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private string _name = "";
- /// <summary>
- /// 交互名称
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string name
- {
- get { return _name; }
- set { _name = value; }
- }
-
- private int _type = default(int);
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int type
- {
- get { return _type; }
- set { _type = value; }
- }
-
- private int _charm = default(int);
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"charm", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int charm
- {
- get { return _charm; }
- set { _charm = value; }
- }
-
- private int _gold = default(int);
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"gold", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int gold
- {
- get { return _gold; }
- set { _gold = value; }
- }
-
- private int _diamond = default(int);
- [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"diamond", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int diamond
- {
- get { return _diamond; }
- set { _diamond = value; }
- }
-
- private string _show = "";
- /// <summary>
- /// 空串表示不需要特效
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"show", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string show
- {
- get { return _show; }
- set { _show = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractConfigResponse")]
- public partial class InteractConfigResponse : global::ProtoBuf.IExtensible
- {
- public InteractConfigResponse() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private string _s2c_msg = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_msg
- {
- get { return _s2c_msg; }
- set { _s2c_msg = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.area.InteractConfig> _s2c_data = new global::System.Collections.Generic.List<pomelo.area.InteractConfig>();
- [global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.InteractConfig> s2c_data
- {
- get { return _s2c_data; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractTimesRequest")]
- public partial class InteractTimesRequest : global::ProtoBuf.IExtensible
- {
- public InteractTimesRequest() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractTimes")]
- public partial class InteractTimes : global::ProtoBuf.IExtensible
- {
- public InteractTimes() {}
-
-
- private int _type;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int type
- {
- get { return _type; }
- set { _type = value; }
- }
-
- private int _times = default(int);
- /// <summary>
- /// 剩余次数
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int times
- {
- get { return _times; }
- set { _times = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractTimesResponse")]
- public partial class InteractTimesResponse : global::ProtoBuf.IExtensible
- {
- public InteractTimesResponse() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private string _s2c_msg = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_msg
- {
- get { return _s2c_msg; }
- set { _s2c_msg = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.area.InteractTimes> _s2c_data = new global::System.Collections.Generic.List<pomelo.area.InteractTimes>();
- [global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.InteractTimes> s2c_data
- {
- get { return _s2c_data; }
- }
-
-
- private int _s2c_charm = default(int);
- /// <summary>
- /// 魅力值
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_charm", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_charm
- {
- get { return _s2c_charm; }
- set { _s2c_charm = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ReceiveInteractPush")]
- public partial class ReceiveInteractPush : global::ProtoBuf.IExtensible
- {
- public ReceiveInteractPush() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private int _id = default(int);
- /// <summary>
- /// 交互类型id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private string _sendPlayerName = "";
- /// <summary>
- /// 发送的玩家名称
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"sendPlayerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string sendPlayerName
- {
- get { return _sendPlayerName; }
- set { _sendPlayerName = value; }
- }
-
- private string _show = "";
- /// <summary>
- /// 特效
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"show", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string show
- {
- get { return _show; }
- set { _show = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|