OuterMessage.cs 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057
  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>(() => (Actor_Test)MessagePool.Instance.Fetch(typeof(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>(() => (Actor_TestRequest)MessagePool.Instance.Fetch(typeof(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>(() => (Actor_TestResponse)MessagePool.Instance.Fetch(typeof(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>(() => (Actor_TransferRequest)MessagePool.Instance.Fetch(typeof(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>(() => (Actor_TransferResponse)MessagePool.Instance.Fetch(typeof(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>(() => (C2G_EnterMap)MessagePool.Instance.Fetch(typeof(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>(() => (G2C_EnterMap)MessagePool.Instance.Fetch(typeof(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>(() => (UnitInfo)MessagePool.Instance.Fetch(typeof(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>(() => (Actor_CreateUnits)MessagePool.Instance.Fetch(typeof(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. for (int i = 0; i < units_.Count; i++) { MessagePool.Instance.Recycle(units_[i]); }
  693. units_.Clear();
  694. rpcId_ = 0;
  695. actorId_ = 0;
  696. uint tag;
  697. while ((tag = input.ReadTag()) != 0) {
  698. switch(tag) {
  699. default:
  700. input.SkipLastField();
  701. break;
  702. case 10: {
  703. units_.AddEntriesFrom(input, _repeated_units_codec);
  704. break;
  705. }
  706. case 720: {
  707. RpcId = input.ReadInt32();
  708. break;
  709. }
  710. case 744: {
  711. ActorId = input.ReadInt64();
  712. break;
  713. }
  714. }
  715. }
  716. }
  717. }
  718. public partial class Frame_ClickMap : pb::IMessage {
  719. private static readonly pb::MessageParser<Frame_ClickMap> _parser = new pb::MessageParser<Frame_ClickMap>(() => (Frame_ClickMap)MessagePool.Instance.Fetch(typeof(Frame_ClickMap)));
  720. public static pb::MessageParser<Frame_ClickMap> Parser { get { return _parser; } }
  721. private int rpcId_;
  722. public int RpcId {
  723. get { return rpcId_; }
  724. set {
  725. rpcId_ = value;
  726. }
  727. }
  728. private long id_;
  729. public long Id {
  730. get { return id_; }
  731. set {
  732. id_ = value;
  733. }
  734. }
  735. private int x_;
  736. public int X {
  737. get { return x_; }
  738. set {
  739. x_ = value;
  740. }
  741. }
  742. private int z_;
  743. public int Z {
  744. get { return z_; }
  745. set {
  746. z_ = value;
  747. }
  748. }
  749. public void WriteTo(pb::CodedOutputStream output) {
  750. if (X != 0) {
  751. output.WriteRawTag(8);
  752. output.WriteInt32(X);
  753. }
  754. if (Z != 0) {
  755. output.WriteRawTag(16);
  756. output.WriteInt32(Z);
  757. }
  758. if (RpcId != 0) {
  759. output.WriteRawTag(208, 5);
  760. output.WriteInt32(RpcId);
  761. }
  762. if (Id != 0L) {
  763. output.WriteRawTag(240, 5);
  764. output.WriteInt64(Id);
  765. }
  766. }
  767. public int CalculateSize() {
  768. int size = 0;
  769. if (RpcId != 0) {
  770. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  771. }
  772. if (Id != 0L) {
  773. size += 2 + pb::CodedOutputStream.ComputeInt64Size(Id);
  774. }
  775. if (X != 0) {
  776. size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
  777. }
  778. if (Z != 0) {
  779. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Z);
  780. }
  781. return size;
  782. }
  783. public void MergeFrom(pb::CodedInputStream input) {
  784. x_ = 0;
  785. z_ = 0;
  786. rpcId_ = 0;
  787. id_ = 0;
  788. uint tag;
  789. while ((tag = input.ReadTag()) != 0) {
  790. switch(tag) {
  791. default:
  792. input.SkipLastField();
  793. break;
  794. case 8: {
  795. X = input.ReadInt32();
  796. break;
  797. }
  798. case 16: {
  799. Z = input.ReadInt32();
  800. break;
  801. }
  802. case 720: {
  803. RpcId = input.ReadInt32();
  804. break;
  805. }
  806. case 752: {
  807. Id = input.ReadInt64();
  808. break;
  809. }
  810. }
  811. }
  812. }
  813. }
  814. public partial class C2R_Ping : pb::IMessage {
  815. private static readonly pb::MessageParser<C2R_Ping> _parser = new pb::MessageParser<C2R_Ping>(() => (C2R_Ping)MessagePool.Instance.Fetch(typeof(C2R_Ping)));
  816. public static pb::MessageParser<C2R_Ping> Parser { get { return _parser; } }
  817. private int rpcId_;
  818. public int RpcId {
  819. get { return rpcId_; }
  820. set {
  821. rpcId_ = value;
  822. }
  823. }
  824. public void WriteTo(pb::CodedOutputStream output) {
  825. if (RpcId != 0) {
  826. output.WriteRawTag(208, 5);
  827. output.WriteInt32(RpcId);
  828. }
  829. }
  830. public int CalculateSize() {
  831. int size = 0;
  832. if (RpcId != 0) {
  833. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  834. }
  835. return size;
  836. }
  837. public void MergeFrom(pb::CodedInputStream input) {
  838. rpcId_ = 0;
  839. uint tag;
  840. while ((tag = input.ReadTag()) != 0) {
  841. switch(tag) {
  842. default:
  843. input.SkipLastField();
  844. break;
  845. case 720: {
  846. RpcId = input.ReadInt32();
  847. break;
  848. }
  849. }
  850. }
  851. }
  852. }
  853. public partial class R2C_Ping : pb::IMessage {
  854. private static readonly pb::MessageParser<R2C_Ping> _parser = new pb::MessageParser<R2C_Ping>(() => (R2C_Ping)MessagePool.Instance.Fetch(typeof(R2C_Ping)));
  855. public static pb::MessageParser<R2C_Ping> Parser { get { return _parser; } }
  856. private int rpcId_;
  857. public int RpcId {
  858. get { return rpcId_; }
  859. set {
  860. rpcId_ = value;
  861. }
  862. }
  863. private int error_;
  864. public int Error {
  865. get { return error_; }
  866. set {
  867. error_ = value;
  868. }
  869. }
  870. private string message_ = "";
  871. public string Message {
  872. get { return message_; }
  873. set {
  874. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  875. }
  876. }
  877. public void WriteTo(pb::CodedOutputStream output) {
  878. if (RpcId != 0) {
  879. output.WriteRawTag(208, 5);
  880. output.WriteInt32(RpcId);
  881. }
  882. if (Error != 0) {
  883. output.WriteRawTag(216, 5);
  884. output.WriteInt32(Error);
  885. }
  886. if (Message.Length != 0) {
  887. output.WriteRawTag(226, 5);
  888. output.WriteString(Message);
  889. }
  890. }
  891. public int CalculateSize() {
  892. int size = 0;
  893. if (RpcId != 0) {
  894. size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
  895. }
  896. if (Error != 0) {
  897. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
  898. }
  899. if (Message.Length != 0) {
  900. size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
  901. }
  902. return size;
  903. }
  904. public void MergeFrom(pb::CodedInputStream input) {
  905. rpcId_ = 0;
  906. error_ = 0;
  907. message_ = "";
  908. uint tag;
  909. while ((tag = input.ReadTag()) != 0) {
  910. switch(tag) {
  911. default:
  912. input.SkipLastField();
  913. break;
  914. case 720: {
  915. RpcId = input.ReadInt32();
  916. break;
  917. }
  918. case 728: {
  919. Error = input.ReadInt32();
  920. break;
  921. }
  922. case 738: {
  923. Message = input.ReadString();
  924. break;
  925. }
  926. }
  927. }
  928. }
  929. }
  930. public partial class G2C_Test : pb::IMessage {
  931. private static readonly pb::MessageParser<G2C_Test> _parser = new pb::MessageParser<G2C_Test>(() => (G2C_Test)MessagePool.Instance.Fetch(typeof(G2C_Test)));
  932. public static pb::MessageParser<G2C_Test> Parser { get { return _parser; } }
  933. public void WriteTo(pb::CodedOutputStream output) {
  934. }
  935. public int CalculateSize() {
  936. int size = 0;
  937. return size;
  938. }
  939. public void MergeFrom(pb::CodedInputStream input) {
  940. uint tag;
  941. while ((tag = input.ReadTag()) != 0) {
  942. switch(tag) {
  943. default:
  944. input.SkipLastField();
  945. break;
  946. }
  947. }
  948. }
  949. }
  950. #endregion
  951. }
  952. #endregion Designer generated code