OuterMessage.cs 25 KB

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