OuterMessage.cs 26 KB

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