OuterMessage.cs 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: OuterMessage.proto
  3. #pragma warning disable 1591, 0612, 3021
  4. #region Designer generated code
  5. using pb = global::Google.Protobuf;
  6. using pbc = global::Google.Protobuf.Collections;
  7. using scg = global::System.Collections.Generic;
  8. namespace ETModel {
  9. #region Messages
  10. public partial class Actor_Test : pb::IMessage {
  11. private static readonly pb::MessageParser<Actor_Test> _parser = new pb::MessageParser<Actor_Test>(() => new Actor_Test());
  12. public static pb::MessageParser<Actor_Test> Parser { get { return _parser; } }
  13. private int rpcId_;
  14. public int RpcId {
  15. get { return rpcId_; }
  16. set {
  17. rpcId_ = value;
  18. }
  19. }
  20. private long actorId_;
  21. public long ActorId {
  22. get { return actorId_; }
  23. set {
  24. actorId_ = value;
  25. }
  26. }
  27. private string info_ = "";
  28. public string Info {
  29. get { return info_; }
  30. set {
  31. info_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  32. }
  33. }
  34. public void WriteTo(pb::CodedOutputStream output) {
  35. if (Info.Length != 0) {
  36. output.WriteRawTag(10);
  37. output.WriteString(Info);
  38. }
  39. if (RpcId != 0) {
  40. output.WriteRawTag(208, 5);
  41. output.WriteInt32(RpcId);
  42. }
  43. if (ActorId != 0L) {
  44. output.WriteRawTag(232, 5);
  45. output.WriteInt64(ActorId);
  46. }
  47. }
  48. public int CalculateSize() {
  49. int size = 0;
  50. if (RpcId != 0) {
  51. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  52. }
  53. if (ActorId != 0L) {
  54. size += 2 + pb::CodedOutputStream.ComputeInt64Size(ActorId);
  55. }
  56. if (Info.Length != 0) {
  57. size += 1 + pb::CodedOutputStream.ComputeStringSize(Info);
  58. }
  59. return size;
  60. }
  61. public void MergeFrom(pb::CodedInputStream input) {
  62. uint tag;
  63. while ((tag = input.ReadTag()) != 0) {
  64. switch(tag) {
  65. default:
  66. input.SkipLastField();
  67. break;
  68. case 10: {
  69. Info = input.ReadString();
  70. break;
  71. }
  72. case 720: {
  73. RpcId = input.ReadInt32();
  74. break;
  75. }
  76. case 744: {
  77. ActorId = input.ReadInt64();
  78. break;
  79. }
  80. }
  81. }
  82. }
  83. }
  84. public partial class Actor_TestRequest : pb::IMessage {
  85. private static readonly pb::MessageParser<Actor_TestRequest> _parser = new pb::MessageParser<Actor_TestRequest>(() => new Actor_TestRequest());
  86. public static pb::MessageParser<Actor_TestRequest> Parser { get { return _parser; } }
  87. private int rpcId_;
  88. public int RpcId {
  89. get { return rpcId_; }
  90. set {
  91. rpcId_ = value;
  92. }
  93. }
  94. private long actorId_;
  95. public long ActorId {
  96. get { return actorId_; }
  97. set {
  98. actorId_ = value;
  99. }
  100. }
  101. private string request_ = "";
  102. public string Request {
  103. get { return request_; }
  104. set {
  105. request_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  106. }
  107. }
  108. public void WriteTo(pb::CodedOutputStream output) {
  109. if (Request.Length != 0) {
  110. output.WriteRawTag(10);
  111. output.WriteString(Request);
  112. }
  113. if (RpcId != 0) {
  114. output.WriteRawTag(208, 5);
  115. output.WriteInt32(RpcId);
  116. }
  117. if (ActorId != 0L) {
  118. output.WriteRawTag(232, 5);
  119. output.WriteInt64(ActorId);
  120. }
  121. }
  122. public int CalculateSize() {
  123. int size = 0;
  124. if (RpcId != 0) {
  125. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  126. }
  127. if (ActorId != 0L) {
  128. size += 2 + pb::CodedOutputStream.ComputeInt64Size(ActorId);
  129. }
  130. if (Request.Length != 0) {
  131. size += 1 + pb::CodedOutputStream.ComputeStringSize(Request);
  132. }
  133. return size;
  134. }
  135. public void MergeFrom(pb::CodedInputStream input) {
  136. uint tag;
  137. while ((tag = input.ReadTag()) != 0) {
  138. switch(tag) {
  139. default:
  140. input.SkipLastField();
  141. break;
  142. case 10: {
  143. Request = input.ReadString();
  144. break;
  145. }
  146. case 720: {
  147. RpcId = input.ReadInt32();
  148. break;
  149. }
  150. case 744: {
  151. ActorId = input.ReadInt64();
  152. break;
  153. }
  154. }
  155. }
  156. }
  157. }
  158. public partial class Actor_TestResponse : pb::IMessage {
  159. private static readonly pb::MessageParser<Actor_TestResponse> _parser = new pb::MessageParser<Actor_TestResponse>(() => new Actor_TestResponse());
  160. public static pb::MessageParser<Actor_TestResponse> Parser { get { return _parser; } }
  161. private int rpcId_;
  162. public int RpcId {
  163. get { return rpcId_; }
  164. set {
  165. rpcId_ = value;
  166. }
  167. }
  168. private int error_;
  169. public int Error {
  170. get { return error_; }
  171. set {
  172. error_ = value;
  173. }
  174. }
  175. private string message_ = "";
  176. public string Message {
  177. get { return message_; }
  178. set {
  179. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  180. }
  181. }
  182. private string response_ = "";
  183. public string Response {
  184. get { return response_; }
  185. set {
  186. response_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  187. }
  188. }
  189. public void WriteTo(pb::CodedOutputStream output) {
  190. if (Response.Length != 0) {
  191. output.WriteRawTag(10);
  192. output.WriteString(Response);
  193. }
  194. if (RpcId != 0) {
  195. output.WriteRawTag(208, 5);
  196. output.WriteInt32(RpcId);
  197. }
  198. if (Error != 0) {
  199. output.WriteRawTag(216, 5);
  200. output.WriteInt32(Error);
  201. }
  202. if (Message.Length != 0) {
  203. output.WriteRawTag(226, 5);
  204. output.WriteString(Message);
  205. }
  206. }
  207. public int CalculateSize() {
  208. int size = 0;
  209. if (RpcId != 0) {
  210. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  211. }
  212. if (Error != 0) {
  213. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
  214. }
  215. if (Message.Length != 0) {
  216. size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
  217. }
  218. if (Response.Length != 0) {
  219. size += 1 + pb::CodedOutputStream.ComputeStringSize(Response);
  220. }
  221. return size;
  222. }
  223. public void MergeFrom(pb::CodedInputStream input) {
  224. uint tag;
  225. while ((tag = input.ReadTag()) != 0) {
  226. switch(tag) {
  227. default:
  228. input.SkipLastField();
  229. break;
  230. case 10: {
  231. Response = input.ReadString();
  232. break;
  233. }
  234. case 720: {
  235. RpcId = input.ReadInt32();
  236. break;
  237. }
  238. case 728: {
  239. Error = input.ReadInt32();
  240. break;
  241. }
  242. case 738: {
  243. Message = input.ReadString();
  244. break;
  245. }
  246. }
  247. }
  248. }
  249. }
  250. public partial class Actor_TransferRequest : pb::IMessage {
  251. private static readonly pb::MessageParser<Actor_TransferRequest> _parser = new pb::MessageParser<Actor_TransferRequest>(() => new Actor_TransferRequest());
  252. public static pb::MessageParser<Actor_TransferRequest> Parser { get { return _parser; } }
  253. private int rpcId_;
  254. public int RpcId {
  255. get { return rpcId_; }
  256. set {
  257. rpcId_ = value;
  258. }
  259. }
  260. private long actorId_;
  261. public long ActorId {
  262. get { return actorId_; }
  263. set {
  264. actorId_ = value;
  265. }
  266. }
  267. private int mapIndex_;
  268. public int MapIndex {
  269. get { return mapIndex_; }
  270. set {
  271. mapIndex_ = value;
  272. }
  273. }
  274. public void WriteTo(pb::CodedOutputStream output) {
  275. if (MapIndex != 0) {
  276. output.WriteRawTag(8);
  277. output.WriteInt32(MapIndex);
  278. }
  279. if (RpcId != 0) {
  280. output.WriteRawTag(208, 5);
  281. output.WriteInt32(RpcId);
  282. }
  283. if (ActorId != 0L) {
  284. output.WriteRawTag(232, 5);
  285. output.WriteInt64(ActorId);
  286. }
  287. }
  288. public int CalculateSize() {
  289. int size = 0;
  290. if (RpcId != 0) {
  291. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  292. }
  293. if (ActorId != 0L) {
  294. size += 2 + pb::CodedOutputStream.ComputeInt64Size(ActorId);
  295. }
  296. if (MapIndex != 0) {
  297. size += 1 + pb::CodedOutputStream.ComputeInt32Size(MapIndex);
  298. }
  299. return size;
  300. }
  301. public void MergeFrom(pb::CodedInputStream input) {
  302. uint tag;
  303. while ((tag = input.ReadTag()) != 0) {
  304. switch(tag) {
  305. default:
  306. input.SkipLastField();
  307. break;
  308. case 8: {
  309. MapIndex = input.ReadInt32();
  310. break;
  311. }
  312. case 720: {
  313. RpcId = input.ReadInt32();
  314. break;
  315. }
  316. case 744: {
  317. ActorId = input.ReadInt64();
  318. break;
  319. }
  320. }
  321. }
  322. }
  323. }
  324. public partial class Actor_TransferResponse : pb::IMessage {
  325. private static readonly pb::MessageParser<Actor_TransferResponse> _parser = new pb::MessageParser<Actor_TransferResponse>(() => new Actor_TransferResponse());
  326. public static pb::MessageParser<Actor_TransferResponse> Parser { get { return _parser; } }
  327. private int rpcId_;
  328. public int RpcId {
  329. get { return rpcId_; }
  330. set {
  331. rpcId_ = value;
  332. }
  333. }
  334. private int error_;
  335. public int Error {
  336. get { return error_; }
  337. set {
  338. error_ = value;
  339. }
  340. }
  341. private string message_ = "";
  342. public string Message {
  343. get { return message_; }
  344. set {
  345. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  346. }
  347. }
  348. public void WriteTo(pb::CodedOutputStream output) {
  349. if (RpcId != 0) {
  350. output.WriteRawTag(208, 5);
  351. output.WriteInt32(RpcId);
  352. }
  353. if (Error != 0) {
  354. output.WriteRawTag(216, 5);
  355. output.WriteInt32(Error);
  356. }
  357. if (Message.Length != 0) {
  358. output.WriteRawTag(226, 5);
  359. output.WriteString(Message);
  360. }
  361. }
  362. public int CalculateSize() {
  363. int size = 0;
  364. if (RpcId != 0) {
  365. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  366. }
  367. if (Error != 0) {
  368. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
  369. }
  370. if (Message.Length != 0) {
  371. size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
  372. }
  373. return size;
  374. }
  375. public void MergeFrom(pb::CodedInputStream input) {
  376. uint tag;
  377. while ((tag = input.ReadTag()) != 0) {
  378. switch(tag) {
  379. default:
  380. input.SkipLastField();
  381. break;
  382. case 720: {
  383. RpcId = input.ReadInt32();
  384. break;
  385. }
  386. case 728: {
  387. Error = input.ReadInt32();
  388. break;
  389. }
  390. case 738: {
  391. Message = input.ReadString();
  392. break;
  393. }
  394. }
  395. }
  396. }
  397. }
  398. public partial class C2G_EnterMap : pb::IMessage {
  399. private static readonly pb::MessageParser<C2G_EnterMap> _parser = new pb::MessageParser<C2G_EnterMap>(() => new C2G_EnterMap());
  400. public static pb::MessageParser<C2G_EnterMap> Parser { get { return _parser; } }
  401. private int rpcId_;
  402. public int RpcId {
  403. get { return rpcId_; }
  404. set {
  405. rpcId_ = value;
  406. }
  407. }
  408. public void WriteTo(pb::CodedOutputStream output) {
  409. if (RpcId != 0) {
  410. output.WriteRawTag(208, 5);
  411. output.WriteInt32(RpcId);
  412. }
  413. }
  414. public int CalculateSize() {
  415. int size = 0;
  416. if (RpcId != 0) {
  417. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  418. }
  419. return size;
  420. }
  421. public void MergeFrom(pb::CodedInputStream input) {
  422. uint tag;
  423. while ((tag = input.ReadTag()) != 0) {
  424. switch(tag) {
  425. default:
  426. input.SkipLastField();
  427. break;
  428. case 720: {
  429. RpcId = input.ReadInt32();
  430. break;
  431. }
  432. }
  433. }
  434. }
  435. }
  436. public partial class G2C_EnterMap : pb::IMessage {
  437. private static readonly pb::MessageParser<G2C_EnterMap> _parser = new pb::MessageParser<G2C_EnterMap>(() => new G2C_EnterMap());
  438. public static pb::MessageParser<G2C_EnterMap> Parser { get { return _parser; } }
  439. private int rpcId_;
  440. public int RpcId {
  441. get { return rpcId_; }
  442. set {
  443. rpcId_ = value;
  444. }
  445. }
  446. private int error_;
  447. public int Error {
  448. get { return error_; }
  449. set {
  450. error_ = value;
  451. }
  452. }
  453. private string message_ = "";
  454. public string Message {
  455. get { return message_; }
  456. set {
  457. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  458. }
  459. }
  460. private long unitId_;
  461. public long UnitId {
  462. get { return unitId_; }
  463. set {
  464. unitId_ = value;
  465. }
  466. }
  467. private int count_;
  468. public int Count {
  469. get { return count_; }
  470. set {
  471. count_ = value;
  472. }
  473. }
  474. public void WriteTo(pb::CodedOutputStream output) {
  475. if (UnitId != 0L) {
  476. output.WriteRawTag(8);
  477. output.WriteInt64(UnitId);
  478. }
  479. if (Count != 0) {
  480. output.WriteRawTag(16);
  481. output.WriteInt32(Count);
  482. }
  483. if (RpcId != 0) {
  484. output.WriteRawTag(208, 5);
  485. output.WriteInt32(RpcId);
  486. }
  487. if (Error != 0) {
  488. output.WriteRawTag(216, 5);
  489. output.WriteInt32(Error);
  490. }
  491. if (Message.Length != 0) {
  492. output.WriteRawTag(226, 5);
  493. output.WriteString(Message);
  494. }
  495. }
  496. public int CalculateSize() {
  497. int size = 0;
  498. if (RpcId != 0) {
  499. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  500. }
  501. if (Error != 0) {
  502. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
  503. }
  504. if (Message.Length != 0) {
  505. size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
  506. }
  507. if (UnitId != 0L) {
  508. size += 1 + pb::CodedOutputStream.ComputeInt64Size(UnitId);
  509. }
  510. if (Count != 0) {
  511. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count);
  512. }
  513. return size;
  514. }
  515. public void MergeFrom(pb::CodedInputStream input) {
  516. uint tag;
  517. while ((tag = input.ReadTag()) != 0) {
  518. switch(tag) {
  519. default:
  520. input.SkipLastField();
  521. break;
  522. case 8: {
  523. UnitId = input.ReadInt64();
  524. break;
  525. }
  526. case 16: {
  527. Count = input.ReadInt32();
  528. break;
  529. }
  530. case 720: {
  531. RpcId = input.ReadInt32();
  532. break;
  533. }
  534. case 728: {
  535. Error = input.ReadInt32();
  536. break;
  537. }
  538. case 738: {
  539. Message = input.ReadString();
  540. break;
  541. }
  542. }
  543. }
  544. }
  545. }
  546. public partial class UnitInfo : pb::IMessage {
  547. private static readonly pb::MessageParser<UnitInfo> _parser = new pb::MessageParser<UnitInfo>(() => new UnitInfo());
  548. public static pb::MessageParser<UnitInfo> Parser { get { return _parser; } }
  549. private long unitId_;
  550. public long UnitId {
  551. get { return unitId_; }
  552. set {
  553. unitId_ = value;
  554. }
  555. }
  556. private int x_;
  557. public int X {
  558. get { return x_; }
  559. set {
  560. x_ = value;
  561. }
  562. }
  563. private int z_;
  564. public int Z {
  565. get { return z_; }
  566. set {
  567. z_ = value;
  568. }
  569. }
  570. public void WriteTo(pb::CodedOutputStream output) {
  571. if (UnitId != 0L) {
  572. output.WriteRawTag(8);
  573. output.WriteInt64(UnitId);
  574. }
  575. if (X != 0) {
  576. output.WriteRawTag(16);
  577. output.WriteInt32(X);
  578. }
  579. if (Z != 0) {
  580. output.WriteRawTag(24);
  581. output.WriteInt32(Z);
  582. }
  583. }
  584. public int CalculateSize() {
  585. int size = 0;
  586. if (UnitId != 0L) {
  587. size += 1 + pb::CodedOutputStream.ComputeInt64Size(UnitId);
  588. }
  589. if (X != 0) {
  590. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  591. }
  592. if (Z != 0) {
  593. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Z);
  594. }
  595. return size;
  596. }
  597. public void MergeFrom(pb::CodedInputStream input) {
  598. uint tag;
  599. while ((tag = input.ReadTag()) != 0) {
  600. switch(tag) {
  601. default:
  602. input.SkipLastField();
  603. break;
  604. case 8: {
  605. UnitId = input.ReadInt64();
  606. break;
  607. }
  608. case 16: {
  609. X = input.ReadInt32();
  610. break;
  611. }
  612. case 24: {
  613. Z = input.ReadInt32();
  614. break;
  615. }
  616. }
  617. }
  618. }
  619. }
  620. public partial class Actor_CreateUnits : pb::IMessage {
  621. private static readonly pb::MessageParser<Actor_CreateUnits> _parser = new pb::MessageParser<Actor_CreateUnits>(() => new Actor_CreateUnits());
  622. public static pb::MessageParser<Actor_CreateUnits> Parser { get { return _parser; } }
  623. private int rpcId_;
  624. public int RpcId {
  625. get { return rpcId_; }
  626. set {
  627. rpcId_ = value;
  628. }
  629. }
  630. private long actorId_;
  631. public long ActorId {
  632. get { return actorId_; }
  633. set {
  634. actorId_ = value;
  635. }
  636. }
  637. private static readonly pb::FieldCodec<global::ETModel.UnitInfo> _repeated_units_codec
  638. = pb::FieldCodec.ForMessage(10, global::ETModel.UnitInfo.Parser);
  639. private pbc::RepeatedField<global::ETModel.UnitInfo> units_ = new pbc::RepeatedField<global::ETModel.UnitInfo>();
  640. public pbc::RepeatedField<global::ETModel.UnitInfo> Units {
  641. get { return units_; }
  642. set { units_ = value; }
  643. }
  644. public void WriteTo(pb::CodedOutputStream output) {
  645. units_.WriteTo(output, _repeated_units_codec);
  646. if (RpcId != 0) {
  647. output.WriteRawTag(208, 5);
  648. output.WriteInt32(RpcId);
  649. }
  650. if (ActorId != 0L) {
  651. output.WriteRawTag(232, 5);
  652. output.WriteInt64(ActorId);
  653. }
  654. }
  655. public int CalculateSize() {
  656. int size = 0;
  657. if (RpcId != 0) {
  658. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  659. }
  660. if (ActorId != 0L) {
  661. size += 2 + pb::CodedOutputStream.ComputeInt64Size(ActorId);
  662. }
  663. size += units_.CalculateSize(_repeated_units_codec);
  664. return size;
  665. }
  666. public void MergeFrom(pb::CodedInputStream input) {
  667. uint tag;
  668. while ((tag = input.ReadTag()) != 0) {
  669. switch(tag) {
  670. default:
  671. input.SkipLastField();
  672. break;
  673. case 10: {
  674. units_.AddEntriesFrom(input, _repeated_units_codec);
  675. break;
  676. }
  677. case 720: {
  678. RpcId = input.ReadInt32();
  679. break;
  680. }
  681. case 744: {
  682. ActorId = input.ReadInt64();
  683. break;
  684. }
  685. }
  686. }
  687. }
  688. }
  689. public partial class Frame_ClickMap : pb::IMessage {
  690. private static readonly pb::MessageParser<Frame_ClickMap> _parser = new pb::MessageParser<Frame_ClickMap>(() => new Frame_ClickMap());
  691. public static pb::MessageParser<Frame_ClickMap> Parser { get { return _parser; } }
  692. private int rpcId_;
  693. public int RpcId {
  694. get { return rpcId_; }
  695. set {
  696. rpcId_ = value;
  697. }
  698. }
  699. private long id_;
  700. public long Id {
  701. get { return id_; }
  702. set {
  703. id_ = value;
  704. }
  705. }
  706. private int x_;
  707. public int X {
  708. get { return x_; }
  709. set {
  710. x_ = value;
  711. }
  712. }
  713. private int z_;
  714. public int Z {
  715. get { return z_; }
  716. set {
  717. z_ = value;
  718. }
  719. }
  720. public void WriteTo(pb::CodedOutputStream output) {
  721. if (X != 0) {
  722. output.WriteRawTag(8);
  723. output.WriteInt32(X);
  724. }
  725. if (Z != 0) {
  726. output.WriteRawTag(16);
  727. output.WriteInt32(Z);
  728. }
  729. if (RpcId != 0) {
  730. output.WriteRawTag(208, 5);
  731. output.WriteInt32(RpcId);
  732. }
  733. if (Id != 0L) {
  734. output.WriteRawTag(240, 5);
  735. output.WriteInt64(Id);
  736. }
  737. }
  738. public int CalculateSize() {
  739. int size = 0;
  740. if (RpcId != 0) {
  741. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  742. }
  743. if (Id != 0L) {
  744. size += 2 + pb::CodedOutputStream.ComputeInt64Size(Id);
  745. }
  746. if (X != 0) {
  747. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  748. }
  749. if (Z != 0) {
  750. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Z);
  751. }
  752. return size;
  753. }
  754. public void MergeFrom(pb::CodedInputStream input) {
  755. uint tag;
  756. while ((tag = input.ReadTag()) != 0) {
  757. switch(tag) {
  758. default:
  759. input.SkipLastField();
  760. break;
  761. case 8: {
  762. X = input.ReadInt32();
  763. break;
  764. }
  765. case 16: {
  766. Z = input.ReadInt32();
  767. break;
  768. }
  769. case 720: {
  770. RpcId = input.ReadInt32();
  771. break;
  772. }
  773. case 752: {
  774. Id = input.ReadInt64();
  775. break;
  776. }
  777. }
  778. }
  779. }
  780. }
  781. public partial class C2R_Ping : pb::IMessage {
  782. private static readonly pb::MessageParser<C2R_Ping> _parser = new pb::MessageParser<C2R_Ping>(() => new C2R_Ping());
  783. public static pb::MessageParser<C2R_Ping> Parser { get { return _parser; } }
  784. private int rpcId_;
  785. public int RpcId {
  786. get { return rpcId_; }
  787. set {
  788. rpcId_ = value;
  789. }
  790. }
  791. public void WriteTo(pb::CodedOutputStream output) {
  792. if (RpcId != 0) {
  793. output.WriteRawTag(208, 5);
  794. output.WriteInt32(RpcId);
  795. }
  796. }
  797. public int CalculateSize() {
  798. int size = 0;
  799. if (RpcId != 0) {
  800. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  801. }
  802. return size;
  803. }
  804. public void MergeFrom(pb::CodedInputStream input) {
  805. uint tag;
  806. while ((tag = input.ReadTag()) != 0) {
  807. switch(tag) {
  808. default:
  809. input.SkipLastField();
  810. break;
  811. case 720: {
  812. RpcId = input.ReadInt32();
  813. break;
  814. }
  815. }
  816. }
  817. }
  818. }
  819. public partial class R2C_Ping : pb::IMessage {
  820. private static readonly pb::MessageParser<R2C_Ping> _parser = new pb::MessageParser<R2C_Ping>(() => new R2C_Ping());
  821. public static pb::MessageParser<R2C_Ping> Parser { get { return _parser; } }
  822. private int rpcId_;
  823. public int RpcId {
  824. get { return rpcId_; }
  825. set {
  826. rpcId_ = value;
  827. }
  828. }
  829. private int error_;
  830. public int Error {
  831. get { return error_; }
  832. set {
  833. error_ = value;
  834. }
  835. }
  836. private string message_ = "";
  837. public string Message {
  838. get { return message_; }
  839. set {
  840. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  841. }
  842. }
  843. public void WriteTo(pb::CodedOutputStream output) {
  844. if (RpcId != 0) {
  845. output.WriteRawTag(208, 5);
  846. output.WriteInt32(RpcId);
  847. }
  848. if (Error != 0) {
  849. output.WriteRawTag(216, 5);
  850. output.WriteInt32(Error);
  851. }
  852. if (Message.Length != 0) {
  853. output.WriteRawTag(226, 5);
  854. output.WriteString(Message);
  855. }
  856. }
  857. public int CalculateSize() {
  858. int size = 0;
  859. if (RpcId != 0) {
  860. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  861. }
  862. if (Error != 0) {
  863. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
  864. }
  865. if (Message.Length != 0) {
  866. size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
  867. }
  868. return size;
  869. }
  870. public void MergeFrom(pb::CodedInputStream input) {
  871. uint tag;
  872. while ((tag = input.ReadTag()) != 0) {
  873. switch(tag) {
  874. default:
  875. input.SkipLastField();
  876. break;
  877. case 720: {
  878. RpcId = input.ReadInt32();
  879. break;
  880. }
  881. case 728: {
  882. Error = input.ReadInt32();
  883. break;
  884. }
  885. case 738: {
  886. Message = input.ReadString();
  887. break;
  888. }
  889. }
  890. }
  891. }
  892. }
  893. public partial class G2C_Test : pb::IMessage {
  894. private static readonly pb::MessageParser<G2C_Test> _parser = new pb::MessageParser<G2C_Test>(() => new G2C_Test());
  895. public static pb::MessageParser<G2C_Test> Parser { get { return _parser; } }
  896. public void WriteTo(pb::CodedOutputStream output) {
  897. }
  898. public int CalculateSize() {
  899. int size = 0;
  900. return size;
  901. }
  902. public void MergeFrom(pb::CodedInputStream input) {
  903. uint tag;
  904. while ((tag = input.ReadTag()) != 0) {
  905. switch(tag) {
  906. default:
  907. input.SkipLastField();
  908. break;
  909. }
  910. }
  911. }
  912. }
  913. #endregion
  914. }
  915. #endregion Designer generated code