| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: HotfixMessage.proto
- #pragma warning disable 1591, 0612, 3021
- #region Designer generated code
- using pb = global::Google.Protobuf;
- using pbc = global::Google.Protobuf.Collections;
- using scg = global::System.Collections.Generic;
- namespace ETHotfix {
- #region Messages
- public partial class C2R_Login : pb::IMessage {
- private static readonly pb::MessageParser<C2R_Login> _parser = new pb::MessageParser<C2R_Login>(() => new C2R_Login());
- public static pb::MessageParser<C2R_Login> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private string account_ = "";
- /// <summary>
- /// 帐号
- /// </summary>
- public string Account {
- get { return account_; }
- set {
- account_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- private string password_ = "";
- /// <summary>
- /// 密码
- /// </summary>
- public string Password {
- get { return password_; }
- set {
- password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Account.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Account);
- }
- if (Password.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(Password);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (Account.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Account);
- }
- if (Password.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Account = input.ReadString();
- break;
- }
- case 18: {
- Password = input.ReadString();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- public partial class R2C_Login : pb::IMessage {
- private static readonly pb::MessageParser<R2C_Login> _parser = new pb::MessageParser<R2C_Login>(() => new R2C_Login());
- public static pb::MessageParser<R2C_Login> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private int error_;
- public int Error {
- get { return error_; }
- set {
- error_ = value;
- }
- }
- private string message_ = "";
- public string Message {
- get { return message_; }
- set {
- message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- private string address_ = "";
- public string Address {
- get { return address_; }
- set {
- address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- private long key_;
- public long Key {
- get { return key_; }
- set {
- key_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Address.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Address);
- }
- if (Key != 0L) {
- output.WriteRawTag(16);
- output.WriteInt64(Key);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (Error != 0) {
- output.WriteRawTag(216, 5);
- output.WriteInt32(Error);
- }
- if (Message.Length != 0) {
- output.WriteRawTag(226, 5);
- output.WriteString(Message);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (Error != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
- }
- if (Message.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
- }
- if (Address.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Address);
- }
- if (Key != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Key);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Address = input.ReadString();
- break;
- }
- case 16: {
- Key = input.ReadInt64();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class C2G_LoginGate : pb::IMessage {
- private static readonly pb::MessageParser<C2G_LoginGate> _parser = new pb::MessageParser<C2G_LoginGate>(() => new C2G_LoginGate());
- public static pb::MessageParser<C2G_LoginGate> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private long key_;
- /// <summary>
- /// 帐号
- /// </summary>
- public long Key {
- get { return key_; }
- set {
- key_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Key != 0L) {
- output.WriteRawTag(8);
- output.WriteInt64(Key);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (Key != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(Key);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- Key = input.ReadInt64();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- public partial class G2C_LoginGate : pb::IMessage {
- private static readonly pb::MessageParser<G2C_LoginGate> _parser = new pb::MessageParser<G2C_LoginGate>(() => new G2C_LoginGate());
- public static pb::MessageParser<G2C_LoginGate> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private int error_;
- public int Error {
- get { return error_; }
- set {
- error_ = value;
- }
- }
- private string message_ = "";
- public string Message {
- get { return message_; }
- set {
- message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- private long playerId_;
- public long PlayerId {
- get { return playerId_; }
- set {
- playerId_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (PlayerId != 0L) {
- output.WriteRawTag(8);
- output.WriteInt64(PlayerId);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (Error != 0) {
- output.WriteRawTag(216, 5);
- output.WriteInt32(Error);
- }
- if (Message.Length != 0) {
- output.WriteRawTag(226, 5);
- output.WriteString(Message);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (Error != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
- }
- if (Message.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
- }
- if (PlayerId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- PlayerId = input.ReadInt64();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class G2C_TestHotfixMessage : pb::IMessage {
- private static readonly pb::MessageParser<G2C_TestHotfixMessage> _parser = new pb::MessageParser<G2C_TestHotfixMessage>(() => new G2C_TestHotfixMessage());
- public static pb::MessageParser<G2C_TestHotfixMessage> Parser { get { return _parser; } }
- private string info_ = "";
- public string Info {
- get { return info_; }
- set {
- info_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Info.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Info);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Info.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Info);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Info = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class C2M_TestActorRequest : pb::IMessage {
- private static readonly pb::MessageParser<C2M_TestActorRequest> _parser = new pb::MessageParser<C2M_TestActorRequest>(() => new C2M_TestActorRequest());
- public static pb::MessageParser<C2M_TestActorRequest> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private long actorId_;
- public long ActorId {
- get { return actorId_; }
- set {
- actorId_ = value;
- }
- }
- private string info_ = "";
- public string Info {
- get { return info_; }
- set {
- info_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Info.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Info);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (ActorId != 0L) {
- output.WriteRawTag(216, 5);
- output.WriteInt64(ActorId);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (ActorId != 0L) {
- size += 2 + pb::CodedOutputStream.ComputeInt64Size(ActorId);
- }
- if (Info.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Info);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Info = input.ReadString();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- ActorId = input.ReadInt64();
- break;
- }
- }
- }
- }
- }
- public partial class M2C_TestActorResponse : pb::IMessage {
- private static readonly pb::MessageParser<M2C_TestActorResponse> _parser = new pb::MessageParser<M2C_TestActorResponse>(() => new M2C_TestActorResponse());
- public static pb::MessageParser<M2C_TestActorResponse> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private int error_;
- public int Error {
- get { return error_; }
- set {
- error_ = value;
- }
- }
- private string message_ = "";
- public string Message {
- get { return message_; }
- set {
- message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- private string info_ = "";
- public string Info {
- get { return info_; }
- set {
- info_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Info.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Info);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (Error != 0) {
- output.WriteRawTag(216, 5);
- output.WriteInt32(Error);
- }
- if (Message.Length != 0) {
- output.WriteRawTag(226, 5);
- output.WriteString(Message);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (Error != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
- }
- if (Message.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
- }
- if (Info.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Info);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Info = input.ReadString();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class PlayerInfo : pb::IMessage {
- private static readonly pb::MessageParser<PlayerInfo> _parser = new pb::MessageParser<PlayerInfo>(() => new PlayerInfo());
- public static pb::MessageParser<PlayerInfo> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- public partial class C2G_PlayerInfo : pb::IMessage {
- private static readonly pb::MessageParser<C2G_PlayerInfo> _parser = new pb::MessageParser<C2G_PlayerInfo>(() => new C2G_PlayerInfo());
- public static pb::MessageParser<C2G_PlayerInfo> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- public partial class G2C_PlayerInfo : pb::IMessage {
- private static readonly pb::MessageParser<G2C_PlayerInfo> _parser = new pb::MessageParser<G2C_PlayerInfo>(() => new G2C_PlayerInfo());
- public static pb::MessageParser<G2C_PlayerInfo> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private int error_;
- public int Error {
- get { return error_; }
- set {
- error_ = value;
- }
- }
- private string message_ = "";
- public string Message {
- get { return message_; }
- set {
- message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- private global::ETHotfix.PlayerInfo playerInfos_;
- public global::ETHotfix.PlayerInfo PlayerInfos {
- get { return playerInfos_; }
- set {
- playerInfos_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (playerInfos_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(PlayerInfos);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (Error != 0) {
- output.WriteRawTag(216, 5);
- output.WriteInt32(Error);
- }
- if (Message.Length != 0) {
- output.WriteRawTag(226, 5);
- output.WriteString(Message);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (Error != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
- }
- if (Message.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
- }
- if (playerInfos_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfos);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- if (playerInfos_ == null) {
- playerInfos_ = new global::ETHotfix.PlayerInfo();
- }
- input.ReadMessage(playerInfos_);
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- #endregion
- }
- #endregion Designer generated code
|