123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // 作者= 曾振东
- // 创建时间= 2019-07-23
- // 用途= 渡劫成魔协议
- // ***************************************************************************
- // Generated from: robberyHandler.proto
- // Note: requires additional types generated from: common.proto
- // Note: requires additional types generated from: item.proto
- namespace pomelo.robbery
- {
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 魔头信息
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DevilInfo")]
- public partial class DevilInfo : global::ProtoBuf.IExtensible
- {
- public DevilInfo() {}
-
-
- private string _playerName;
- /// <summary>
- /// 玩家名称
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"playerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string playerName
- {
- get { return _playerName; }
- set { _playerName = value; }
- }
-
- private int _playerOrder = default(int);
- /// <summary>
- /// 玩家仙阶
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"playerOrder", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int playerOrder
- {
- get { return _playerOrder; }
- set { _playerOrder = value; }
- }
-
- private string _serverId = "";
- /// <summary>
- /// 服务器id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"serverId", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string serverId
- {
- get { return _serverId; }
- set { _serverId = value; }
- }
-
- private string _serverName = "";
- /// <summary>
- /// 服务器名称
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"serverName", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string serverName
- {
- get { return _serverName; }
- set { _serverName = value; }
- }
-
- private int _areaId = default(int);
- /// <summary>
- /// 区域ID
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"areaId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int areaId
- {
- get { return _areaId; }
- set { _areaId = value; }
- }
-
- private int _mapId = default(int);
- /// <summary>
- /// 地图ID
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"mapId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int mapId
- {
- get { return _mapId; }
- set { _mapId = value; }
- }
-
- private readonly global::System.Collections.Generic.List<int> _xy = new global::System.Collections.Generic.List<int>();
- /// <summary>
- /// 坐标[x,y]
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(7, Name=@"xy", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public global::System.Collections.Generic.List<int> xy
- {
- get { return _xy; }
- }
-
-
- private string _instanceId = "";
- /// <summary>
- /// 场景实例id, 已替换成playerId
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"instanceId", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string instanceId
- {
- get { return _instanceId; }
- set { _instanceId = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 请求渡劫 请求
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeClassRequest")]
- public partial class UpgradeClassRequest : global::ProtoBuf.IExtensible
- {
- public UpgradeClassRequest() {}
-
-
- private int _opType;
- /// <summary>
- /// 渡劫类型(0:单人渡劫 1:组队渡劫)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"opType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int opType
- {
- get { return _opType; }
- set { _opType = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 请求渡劫 返回
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpgradeClassResponse")]
- public partial class UpgradeClassResponse : global::ProtoBuf.IExtensible
- {
- public UpgradeClassResponse() {}
-
-
- 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); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 开始渡劫 请求
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RobberyStartRequest")]
- public partial class RobberyStartRequest : global::ProtoBuf.IExtensible
- {
- public RobberyStartRequest() {}
-
-
- private readonly global::System.Collections.Generic.List<pomelo.item.CountItem> _items = new global::System.Collections.Generic.List<pomelo.item.CountItem>();
- /// <summary>
- /// 增加渡劫成功率的物品list
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, Name=@"items", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.item.CountItem> items
- {
- get { return _items; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 开始渡劫 返回
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RobberyStartResponse")]
- public partial class RobberyStartResponse : global::ProtoBuf.IExtensible
- {
- public RobberyStartResponse() {}
-
-
- 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 int _s2c_result = default(int);
- /// <summary>
- /// 渡劫结果(0:失败 1:成功)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_result", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_result
- {
- get { return _s2c_result; }
- set { _s2c_result = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 渡劫结束后续操作 请求
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RobberyOverFollowUpRequest")]
- public partial class RobberyOverFollowUpRequest : global::ProtoBuf.IExtensible
- {
- public RobberyOverFollowUpRequest() {}
-
-
- private int _isWin;
- /// <summary>
- /// 废弃字段,没用
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"isWin", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int isWin
- {
- get { return _isWin; }
- set { _isWin = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 渡劫结束后续操作 返回
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RobberyOverFollowUpResponse")]
- public partial class RobberyOverFollowUpResponse : global::ProtoBuf.IExtensible
- {
- public RobberyOverFollowUpResponse() {}
-
-
- 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); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获取成魔信息 请求
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetRobberyDevilInfoRequest")]
- public partial class GetRobberyDevilInfoRequest : global::ProtoBuf.IExtensible
- {
- public GetRobberyDevilInfoRequest() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获取成魔信息 返回
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetRobberyDevilInfoResponse")]
- public partial class GetRobberyDevilInfoResponse : global::ProtoBuf.IExtensible
- {
- public GetRobberyDevilInfoResponse() {}
-
-
- 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.robbery.DevilInfo> _s2c_devilInfo = new global::System.Collections.Generic.List<pomelo.robbery.DevilInfo>();
- [global::ProtoBuf.ProtoMember(3, Name=@"s2c_devilInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.robbery.DevilInfo> s2c_devilInfo
- {
- get { return _s2c_devilInfo; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 请求进入成魔场景,725
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EnterDevilAreaRequest")]
- public partial class EnterDevilAreaRequest : global::ProtoBuf.IExtensible
- {
- public EnterDevilAreaRequest() {}
-
-
- private string _playerid;
- /// <summary>
- /// 成魔玩家id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"playerid", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string playerid
- {
- get { return _playerid; }
- set { _playerid = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 请求进入成魔场景 返回
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EnterDevilAreaResponse")]
- public partial class EnterDevilAreaResponse : global::ProtoBuf.IExtensible
- {
- public EnterDevilAreaResponse() {}
-
-
- 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); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 渡劫推送
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RobberyPush")]
- public partial class RobberyPush : global::ProtoBuf.IExtensible
- {
- public RobberyPush() {}
-
-
- private string _s2c_playerId;
- /// <summary>
- /// 当前渡劫的玩家
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string s2c_playerId
- {
- get { return _s2c_playerId; }
- set { _s2c_playerId = value; }
- }
-
- private readonly global::System.Collections.Generic.List<int> _s2c_robberyEffects = new global::System.Collections.Generic.List<int>();
- /// <summary>
- /// 劈雷特效播放数组(size为劈雷次数)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, Name=@"s2c_robberyEffects", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public global::System.Collections.Generic.List<int> s2c_robberyEffects
- {
- get { return _s2c_robberyEffects; }
- }
-
-
- private int _s2c_result = default(int);
- /// <summary>
- /// 结算结果(0:失败 1:成功)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_result", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_result
- {
- get { return _s2c_result; }
- set { _s2c_result = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 渡劫结束推送
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RobberyEndPush")]
- public partial class RobberyEndPush : global::ProtoBuf.IExtensible
- {
- public RobberyEndPush() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获得成魔buff
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetRobberyDevilBuffPush")]
- public partial class GetRobberyDevilBuffPush : global::ProtoBuf.IExtensible
- {
- public GetRobberyDevilBuffPush() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 成魔buff结束
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RobberyDevilOverPush")]
- public partial class RobberyDevilOverPush : global::ProtoBuf.IExtensible
- {
- public RobberyDevilOverPush() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|