| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: OuterMessage.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 ETModel {
- #region Messages
- public partial class Actor_Test : pb::IMessage {
- private static readonly pb::MessageParser<Actor_Test> _parser = new pb::MessageParser<Actor_Test>(() => new Actor_Test());
- public static pb::MessageParser<Actor_Test> 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(232, 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) {
- info_ = "";
- rpcId_ = 0;
- actorId_ = 0;
- 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 744: {
- ActorId = input.ReadInt64();
- break;
- }
- }
- }
- }
- }
- public partial class Actor_TestRequest : pb::IMessage {
- private static readonly pb::MessageParser<Actor_TestRequest> _parser = new pb::MessageParser<Actor_TestRequest>(() => new Actor_TestRequest());
- public static pb::MessageParser<Actor_TestRequest> 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 request_ = "";
- public string Request {
- get { return request_; }
- set {
- request_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Request.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Request);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (ActorId != 0L) {
- output.WriteRawTag(232, 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 (Request.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Request);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- request_ = "";
- rpcId_ = 0;
- actorId_ = 0;
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Request = input.ReadString();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 744: {
- ActorId = input.ReadInt64();
- break;
- }
- }
- }
- }
- }
- public partial class Actor_TestResponse : pb::IMessage {
- private static readonly pb::MessageParser<Actor_TestResponse> _parser = new pb::MessageParser<Actor_TestResponse>(() => new Actor_TestResponse());
- public static pb::MessageParser<Actor_TestResponse> 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 response_ = "";
- public string Response {
- get { return response_; }
- set {
- response_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Response.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Response);
- }
- 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 (Response.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Response);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- response_ = "";
- rpcId_ = 0;
- error_ = 0;
- message_ = "";
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Response = input.ReadString();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class Actor_TransferRequest : pb::IMessage {
- private static readonly pb::MessageParser<Actor_TransferRequest> _parser = new pb::MessageParser<Actor_TransferRequest>(() => new Actor_TransferRequest());
- public static pb::MessageParser<Actor_TransferRequest> 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 int mapIndex_;
- public int MapIndex {
- get { return mapIndex_; }
- set {
- mapIndex_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (MapIndex != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(MapIndex);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (ActorId != 0L) {
- output.WriteRawTag(232, 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 (MapIndex != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(MapIndex);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- mapIndex_ = 0;
- rpcId_ = 0;
- actorId_ = 0;
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- MapIndex = input.ReadInt32();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 744: {
- ActorId = input.ReadInt64();
- break;
- }
- }
- }
- }
- }
- public partial class Actor_TransferResponse : pb::IMessage {
- private static readonly pb::MessageParser<Actor_TransferResponse> _parser = new pb::MessageParser<Actor_TransferResponse>(() => new Actor_TransferResponse());
- public static pb::MessageParser<Actor_TransferResponse> 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");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- 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);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- rpcId_ = 0;
- error_ = 0;
- message_ = "";
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class C2G_EnterMap : pb::IMessage {
- private static readonly pb::MessageParser<C2G_EnterMap> _parser = new pb::MessageParser<C2G_EnterMap>(() => new C2G_EnterMap());
- public static pb::MessageParser<C2G_EnterMap> 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) {
- rpcId_ = 0;
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- public partial class G2C_EnterMap : pb::IMessage {
- private static readonly pb::MessageParser<G2C_EnterMap> _parser = new pb::MessageParser<G2C_EnterMap>(() => new G2C_EnterMap());
- public static pb::MessageParser<G2C_EnterMap> 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 unitId_;
- public long UnitId {
- get { return unitId_; }
- set {
- unitId_ = value;
- }
- }
- private int count_;
- public int Count {
- get { return count_; }
- set {
- count_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (UnitId != 0L) {
- output.WriteRawTag(8);
- output.WriteInt64(UnitId);
- }
- if (Count != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Count);
- }
- 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 (UnitId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(UnitId);
- }
- if (Count != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- unitId_ = 0;
- count_ = 0;
- rpcId_ = 0;
- error_ = 0;
- message_ = "";
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- UnitId = input.ReadInt64();
- break;
- }
- case 16: {
- Count = input.ReadInt32();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class UnitInfo : pb::IMessage {
- private static readonly pb::MessageParser<UnitInfo> _parser = new pb::MessageParser<UnitInfo>(() => new UnitInfo());
- public static pb::MessageParser<UnitInfo> Parser { get { return _parser; } }
- private long unitId_;
- public long UnitId {
- get { return unitId_; }
- set {
- unitId_ = value;
- }
- }
- private int x_;
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
- private int z_;
- public int Z {
- get { return z_; }
- set {
- z_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (UnitId != 0L) {
- output.WriteRawTag(8);
- output.WriteInt64(UnitId);
- }
- if (X != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(X);
- }
- if (Z != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Z);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (UnitId != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(UnitId);
- }
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Z != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Z);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- unitId_ = 0;
- x_ = 0;
- z_ = 0;
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- UnitId = input.ReadInt64();
- break;
- }
- case 16: {
- X = input.ReadInt32();
- break;
- }
- case 24: {
- Z = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- public partial class Actor_CreateUnits : pb::IMessage {
- private static readonly pb::MessageParser<Actor_CreateUnits> _parser = new pb::MessageParser<Actor_CreateUnits>(() => new Actor_CreateUnits());
- public static pb::MessageParser<Actor_CreateUnits> 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 static readonly pb::FieldCodec<global::ETModel.UnitInfo> _repeated_units_codec
- = pb::FieldCodec.ForMessage(10, global::ETModel.UnitInfo.Parser);
- private pbc::RepeatedField<global::ETModel.UnitInfo> units_ = new pbc::RepeatedField<global::ETModel.UnitInfo>();
- public pbc::RepeatedField<global::ETModel.UnitInfo> Units {
- get { return units_; }
- set { units_ = value; }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- units_.WriteTo(output, _repeated_units_codec);
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (ActorId != 0L) {
- output.WriteRawTag(232, 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);
- }
- size += units_.CalculateSize(_repeated_units_codec);
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- units_.Clear();
- rpcId_ = 0;
- actorId_ = 0;
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- units_.AddEntriesFrom(input, _repeated_units_codec);
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 744: {
- ActorId = input.ReadInt64();
- break;
- }
- }
- }
- }
- }
- public partial class Frame_ClickMap : pb::IMessage {
- private static readonly pb::MessageParser<Frame_ClickMap> _parser = new pb::MessageParser<Frame_ClickMap>(() => new Frame_ClickMap());
- public static pb::MessageParser<Frame_ClickMap> Parser { get { return _parser; } }
- private int rpcId_;
- public int RpcId {
- get { return rpcId_; }
- set {
- rpcId_ = value;
- }
- }
- private long id_;
- public long Id {
- get { return id_; }
- set {
- id_ = value;
- }
- }
- private int x_;
- public int X {
- get { return x_; }
- set {
- x_ = value;
- }
- }
- private int z_;
- public int Z {
- get { return z_; }
- set {
- z_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (X != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(X);
- }
- if (Z != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Z);
- }
- if (RpcId != 0) {
- output.WriteRawTag(208, 5);
- output.WriteInt32(RpcId);
- }
- if (Id != 0L) {
- output.WriteRawTag(240, 5);
- output.WriteInt64(Id);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (RpcId != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
- }
- if (Id != 0L) {
- size += 2 + pb::CodedOutputStream.ComputeInt64Size(Id);
- }
- if (X != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
- }
- if (Z != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Z);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- x_ = 0;
- z_ = 0;
- rpcId_ = 0;
- id_ = 0;
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 8: {
- X = input.ReadInt32();
- break;
- }
- case 16: {
- Z = input.ReadInt32();
- break;
- }
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 752: {
- Id = input.ReadInt64();
- break;
- }
- }
- }
- }
- }
- public partial class C2R_Ping : pb::IMessage {
- private static readonly pb::MessageParser<C2R_Ping> _parser = new pb::MessageParser<C2R_Ping>(() => new C2R_Ping());
- public static pb::MessageParser<C2R_Ping> 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) {
- rpcId_ = 0;
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- public partial class R2C_Ping : pb::IMessage {
- private static readonly pb::MessageParser<R2C_Ping> _parser = new pb::MessageParser<R2C_Ping>(() => new R2C_Ping());
- public static pb::MessageParser<R2C_Ping> 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");
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- 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);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- rpcId_ = 0;
- error_ = 0;
- message_ = "";
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 720: {
- RpcId = input.ReadInt32();
- break;
- }
- case 728: {
- Error = input.ReadInt32();
- break;
- }
- case 738: {
- Message = input.ReadString();
- break;
- }
- }
- }
- }
- }
- public partial class G2C_Test : pb::IMessage {
- private static readonly pb::MessageParser<G2C_Test> _parser = new pb::MessageParser<G2C_Test>(() => new G2C_Test());
- public static pb::MessageParser<G2C_Test> Parser { get { return _parser; } }
- public void WriteTo(pb::CodedOutputStream output) {
- }
- public int CalculateSize() {
- int size = 0;
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- }
- }
- }
- }
- #endregion
- }
- #endregion Designer generated code
|