| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079 |
- // 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; }
- }
- private global::ETModel.UnitInfo aa_;
- public global::ETModel.UnitInfo Aa {
- get { return aa_; }
- set {
- aa_ = value;
- }
- }
- public void WriteTo(pb::CodedOutputStream output) {
- units_.WriteTo(output, _repeated_units_codec);
- if (aa_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(Aa);
- }
- 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);
- if (aa_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Aa);
- }
- return size;
- }
- public void MergeFrom(pb::CodedInputStream input) {
- units_.Clear();
- aa_ = null;
- 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 18: {
- if (aa_ == null) {
- aa_ = new global::ETModel.UnitInfo();
- }
- input.ReadMessage(aa_);
- 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
|