123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // Generated from: roleHandler.proto
- // Note: requires additional types generated from: player.proto
- namespace pomelo.connector
- {
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CreatePlayerRequest")]
- public partial class CreatePlayerRequest : global::ProtoBuf.IExtensible
- {
- public CreatePlayerRequest() {}
-
-
- private int _c2s_pro;
- /// <summary>
- /// 角色职业
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_pro", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int c2s_pro
- {
- get { return _c2s_pro; }
- set { _c2s_pro = value; }
- }
-
- private string _c2s_name;
- /// <summary>
- /// 角色名
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string c2s_name
- {
- get { return _c2s_name; }
- set { _c2s_name = value; }
- }
-
- private int _c2s_sex = default(int);
- /// <summary>
- /// 角色性别
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"c2s_sex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int c2s_sex
- {
- get { return _c2s_sex; }
- set { _c2s_sex = 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=@"CreatePlayerResponse")]
- public partial class CreatePlayerResponse : global::ProtoBuf.IExtensible
- {
- public CreatePlayerResponse() {}
-
-
- 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 pomelo.player.PlayerBasic _s2c_player = null;
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_player", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(null)]
- public pomelo.player.PlayerBasic s2c_player
- {
- get { return _s2c_player; }
- set { _s2c_player = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.player.PlayerBasic> _s2c_players = new global::System.Collections.Generic.List<pomelo.player.PlayerBasic>();
- [global::ProtoBuf.ProtoMember(4, Name=@"s2c_players", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.player.PlayerBasic> s2c_players
- {
- get { return _s2c_players; }
- }
-
- 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=@"ChangePlayerNameRequest")]
- public partial class ChangePlayerNameRequest : global::ProtoBuf.IExtensible
- {
- public ChangePlayerNameRequest() {}
-
-
- private string _c2s_name;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string c2s_name
- {
- get { return _c2s_name; }
- set { _c2s_name = value; }
- }
-
- private int _pos;
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"pos", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int pos
- {
- get { return _pos; }
- set { _pos = 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=@"ChangePlayerNameResponse")]
- public partial class ChangePlayerNameResponse : global::ProtoBuf.IExtensible
- {
- public ChangePlayerNameResponse() {}
-
-
- 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 string _s2c_name = "";
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_name
- {
- get { return _s2c_name; }
- set { _s2c_name = 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=@"GetRandomNameRequest")]
- public partial class GetRandomNameRequest : global::ProtoBuf.IExtensible
- {
- public GetRandomNameRequest() {}
-
-
- private int _c2s_sex;
- /// <summary>
- /// 性别
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_sex", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int c2s_sex
- {
- get { return _c2s_sex; }
- set { _c2s_sex = 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=@"GetRandomNameResponse")]
- public partial class GetRandomNameResponse : global::ProtoBuf.IExtensible
- {
- public GetRandomNameResponse() {}
-
-
- 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 string _s2c_name = "";
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_name
- {
- get { return _s2c_name; }
- set { _s2c_name = 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=@"DeletePlayerRequest")]
- public partial class DeletePlayerRequest : global::ProtoBuf.IExtensible
- {
- public DeletePlayerRequest() {}
-
-
- private string _c2s_playerId;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string c2s_playerId
- {
- get { return _c2s_playerId; }
- set { _c2s_playerId = 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=@"DeletePlayerResponse")]
- public partial class DeletePlayerResponse : global::ProtoBuf.IExtensible
- {
- public DeletePlayerResponse() {}
-
-
- 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); }
- }
-
-
- }
-
|