ZoneManager.cs 107 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631
  1. // **********************************************************************
  2. //
  3. // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
  4. //
  5. // This copy of Ice is licensed to you under the terms described in the
  6. // ICE_LICENSE file included in this distribution.
  7. //
  8. // **********************************************************************
  9. //
  10. // Ice version 3.6.4
  11. //
  12. // <auto-generated>
  13. //
  14. // Generated from file `ZoneManager.ice'
  15. //
  16. // Warning: do not edit this file.
  17. //
  18. // </auto-generated>
  19. //
  20. using _System = global::System;
  21. using _Microsoft = global::Microsoft;
  22. #pragma warning disable 1591
  23. namespace IceCompactId
  24. {
  25. }
  26. namespace Pomelo
  27. {
  28. [_System.Runtime.InteropServices.ComVisible(false)]
  29. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  30. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  31. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  32. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  33. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  34. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  35. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  36. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  37. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  38. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  39. public partial interface ZoneManagerCallback : Ice.Object, ZoneManagerCallbackOperations_, ZoneManagerCallbackOperationsNC_
  40. {
  41. }
  42. [_System.Runtime.InteropServices.ComVisible(false)]
  43. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  44. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  45. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  46. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  47. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  48. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  49. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  50. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  51. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  52. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  53. public partial interface ZoneManager : Ice.Object, ZoneManagerOperations_, ZoneManagerOperationsNC_
  54. {
  55. }
  56. }
  57. namespace Pomelo
  58. {
  59. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  60. public delegate void Callback_ZoneManagerCallback_eventNotify();
  61. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  62. public delegate void Callback_ZoneManager_setCallback(int ret__);
  63. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  64. public delegate void Callback_ZoneManager_createZoneRequest();
  65. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  66. public delegate void Callback_ZoneManager_destroyZoneRequest();
  67. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  68. public delegate void Callback_ZoneManager_clearAllPlayersRequest();
  69. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  70. public delegate void Callback_ZoneManager_getAllPlayerCountRequest(int ret__);
  71. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  72. public delegate void Callback_ZoneManager_playerEnterRequest();
  73. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  74. public delegate void Callback_ZoneManager_playerLeaveRequest();
  75. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  76. public delegate void Callback_ZoneManager_playerNetStateChanged();
  77. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  78. public delegate void Callback_ZoneManager_getServerState();
  79. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  80. public delegate void Callback_ZoneManager_registerGameServer();
  81. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  82. public delegate void Callback_ZoneManager_getUnitHP();
  83. }
  84. namespace Pomelo
  85. {
  86. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  87. public interface ZoneManagerCallbackPrx : Ice.ObjectPrx
  88. {
  89. void eventNotify(string eventType, string msg);
  90. void eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> ctx__);
  91. Ice.AsyncResult<Pomelo.Callback_ZoneManagerCallback_eventNotify> begin_eventNotify(string eventType, string msg);
  92. Ice.AsyncResult<Pomelo.Callback_ZoneManagerCallback_eventNotify> begin_eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> ctx__);
  93. Ice.AsyncResult begin_eventNotify(string eventType, string msg, Ice.AsyncCallback cb__, object cookie__);
  94. Ice.AsyncResult begin_eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  95. void end_eventNotify(Ice.AsyncResult r__);
  96. }
  97. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  98. public interface ZoneManagerPrx : Ice.ObjectPrx
  99. {
  100. /// <summary>
  101. /// 场景管理器相关协议
  102. /// </summary>
  103. int setCallback(Ice.Identity ident, string srvUUID);
  104. /// <summary>
  105. /// 场景管理器相关协议
  106. /// </summary>
  107. /// <param name="ctx__">The Context map to send with the invocation.</param>
  108. int setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__);
  109. /// <summary>
  110. /// 场景管理器相关协议
  111. /// </summary>
  112. /// <returns>An asynchronous result object.</returns>
  113. Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID);
  114. /// <summary>
  115. /// 场景管理器相关协议
  116. /// </summary>
  117. /// <param name="ctx__">The Context map to send with the invocation.</param>
  118. /// <returns>An asynchronous result object.</returns>
  119. Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__);
  120. /// <summary>
  121. /// 场景管理器相关协议
  122. /// </summary>
  123. /// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
  124. /// <param name="cookie__">Application data to store in the asynchronous result object.</param>
  125. /// <returns>An asynchronous result object.</returns>
  126. Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, Ice.AsyncCallback cb__, object cookie__);
  127. /// <summary>
  128. /// 场景管理器相关协议
  129. /// </summary>
  130. /// <param name="ctx__">The Context map to send with the invocation.</param>
  131. /// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
  132. /// <param name="cookie__">Application data to store in the asynchronous result object.</param>
  133. /// <returns>An asynchronous result object.</returns>
  134. Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  135. /// <summary>
  136. /// 场景管理器相关协议
  137. /// </summary>
  138. /// <param name="r__">The asynchronous result object for the invocation.</param>
  139. int end_setCallback(Ice.AsyncResult r__);
  140. /// <summary>
  141. /// 场景副本相关协议
  142. /// </summary>
  143. void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data);
  144. /// <summary>
  145. /// 场景副本相关协议
  146. /// </summary>
  147. /// <param name="ctx__">The Context map to send with the invocation.</param>
  148. void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__);
  149. /// <summary>
  150. /// 场景副本相关协议
  151. /// </summary>
  152. /// <returns>An asynchronous result object.</returns>
  153. Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data);
  154. /// <summary>
  155. /// 场景副本相关协议
  156. /// </summary>
  157. /// <param name="ctx__">The Context map to send with the invocation.</param>
  158. /// <returns>An asynchronous result object.</returns>
  159. Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__);
  160. /// <summary>
  161. /// 场景副本相关协议
  162. /// </summary>
  163. /// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
  164. /// <param name="cookie__">Application data to store in the asynchronous result object.</param>
  165. /// <returns>An asynchronous result object.</returns>
  166. Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, Ice.AsyncCallback cb__, object cookie__);
  167. /// <summary>
  168. /// 场景副本相关协议
  169. /// </summary>
  170. /// <param name="ctx__">The Context map to send with the invocation.</param>
  171. /// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
  172. /// <param name="cookie__">Application data to store in the asynchronous result object.</param>
  173. /// <returns>An asynchronous result object.</returns>
  174. Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  175. /// <summary>
  176. /// 场景副本相关协议
  177. /// </summary>
  178. /// <param name="r__">The asynchronous result object for the invocation.</param>
  179. void end_createZoneRequest(Ice.AsyncResult r__);
  180. void destroyZoneRequest(string instanceId);
  181. void destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> ctx__);
  182. Ice.AsyncResult<Pomelo.Callback_ZoneManager_destroyZoneRequest> begin_destroyZoneRequest(string instanceId);
  183. Ice.AsyncResult<Pomelo.Callback_ZoneManager_destroyZoneRequest> begin_destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> ctx__);
  184. Ice.AsyncResult begin_destroyZoneRequest(string instanceId, Ice.AsyncCallback cb__, object cookie__);
  185. Ice.AsyncResult begin_destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  186. void end_destroyZoneRequest(Ice.AsyncResult r__);
  187. /// <summary>
  188. /// 玩家相关协议
  189. /// </summary>
  190. void clearAllPlayersRequest();
  191. /// <summary>
  192. /// 玩家相关协议
  193. /// </summary>
  194. /// <param name="ctx__">The Context map to send with the invocation.</param>
  195. void clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> ctx__);
  196. /// <summary>
  197. /// 玩家相关协议
  198. /// </summary>
  199. /// <returns>An asynchronous result object.</returns>
  200. Ice.AsyncResult<Pomelo.Callback_ZoneManager_clearAllPlayersRequest> begin_clearAllPlayersRequest();
  201. /// <summary>
  202. /// 玩家相关协议
  203. /// </summary>
  204. /// <param name="ctx__">The Context map to send with the invocation.</param>
  205. /// <returns>An asynchronous result object.</returns>
  206. Ice.AsyncResult<Pomelo.Callback_ZoneManager_clearAllPlayersRequest> begin_clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> ctx__);
  207. /// <summary>
  208. /// 玩家相关协议
  209. /// </summary>
  210. /// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
  211. /// <param name="cookie__">Application data to store in the asynchronous result object.</param>
  212. /// <returns>An asynchronous result object.</returns>
  213. Ice.AsyncResult begin_clearAllPlayersRequest(Ice.AsyncCallback cb__, object cookie__);
  214. /// <summary>
  215. /// 玩家相关协议
  216. /// </summary>
  217. /// <param name="ctx__">The Context map to send with the invocation.</param>
  218. /// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
  219. /// <param name="cookie__">Application data to store in the asynchronous result object.</param>
  220. /// <returns>An asynchronous result object.</returns>
  221. Ice.AsyncResult begin_clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  222. /// <summary>
  223. /// 玩家相关协议
  224. /// </summary>
  225. /// <param name="r__">The asynchronous result object for the invocation.</param>
  226. void end_clearAllPlayersRequest(Ice.AsyncResult r__);
  227. int getAllPlayerCountRequest();
  228. int getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> ctx__);
  229. Ice.AsyncResult<Pomelo.Callback_ZoneManager_getAllPlayerCountRequest> begin_getAllPlayerCountRequest();
  230. Ice.AsyncResult<Pomelo.Callback_ZoneManager_getAllPlayerCountRequest> begin_getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> ctx__);
  231. Ice.AsyncResult begin_getAllPlayerCountRequest(Ice.AsyncCallback cb__, object cookie__);
  232. Ice.AsyncResult begin_getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  233. int end_getAllPlayerCountRequest(Ice.AsyncResult r__);
  234. void playerEnterRequest(string playerId, string instanceId, string data);
  235. void playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> ctx__);
  236. Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerEnterRequest> begin_playerEnterRequest(string playerId, string instanceId, string data);
  237. Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerEnterRequest> begin_playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> ctx__);
  238. Ice.AsyncResult begin_playerEnterRequest(string playerId, string instanceId, string data, Ice.AsyncCallback cb__, object cookie__);
  239. Ice.AsyncResult begin_playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  240. void end_playerEnterRequest(Ice.AsyncResult r__);
  241. void playerLeaveRequest(string playerId, string instanceId, bool keepObject);
  242. void playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> ctx__);
  243. Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerLeaveRequest> begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject);
  244. Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerLeaveRequest> begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> ctx__);
  245. Ice.AsyncResult begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject, Ice.AsyncCallback cb__, object cookie__);
  246. Ice.AsyncResult begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  247. void end_playerLeaveRequest(Ice.AsyncResult r__);
  248. void playerNetStateChanged(string playerId, string state);
  249. void playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  250. Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerNetStateChanged> begin_playerNetStateChanged(string playerId, string state);
  251. Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerNetStateChanged> begin_playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  252. Ice.AsyncResult begin_playerNetStateChanged(string playerId, string state, Ice.AsyncCallback cb__, object cookie__);
  253. Ice.AsyncResult begin_playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  254. void end_playerNetStateChanged(Ice.AsyncResult r__);
  255. void getServerState(string serverID);
  256. void getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__);
  257. Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID);
  258. Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__);
  259. Ice.AsyncResult begin_getServerState(string serverID, Ice.AsyncCallback cb__, object cookie__);
  260. Ice.AsyncResult begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  261. void end_getServerState(Ice.AsyncResult r__);
  262. void registerGameServer(int serverid, int crossid);
  263. void registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  264. Ice.AsyncResult<Pomelo.Callback_ZoneManager_registerGameServer> begin_registerGameServer(int serverid, int crossid);
  265. Ice.AsyncResult<Pomelo.Callback_ZoneManager_registerGameServer> begin_registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  266. Ice.AsyncResult begin_registerGameServer(int serverid, int crossid, Ice.AsyncCallback cb__, object cookie__);
  267. Ice.AsyncResult begin_registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  268. void end_registerGameServer(Ice.AsyncResult r__);
  269. void getUnitHP(string instanceId, int objectId);
  270. void getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__);
  271. Ice.AsyncResult<Pomelo.Callback_ZoneManager_getUnitHP> begin_getUnitHP(string instanceId, int objectId);
  272. Ice.AsyncResult<Pomelo.Callback_ZoneManager_getUnitHP> begin_getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__);
  273. Ice.AsyncResult begin_getUnitHP(string instanceId, int objectId, Ice.AsyncCallback cb__, object cookie__);
  274. Ice.AsyncResult begin_getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  275. void end_getUnitHP(Ice.AsyncResult r__);
  276. }
  277. }
  278. namespace Pomelo
  279. {
  280. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  281. public interface ZoneManagerCallbackOperations_
  282. {
  283. void eventNotify(string eventType, string msg, Ice.Current current__);
  284. }
  285. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  286. public interface ZoneManagerCallbackOperationsNC_
  287. {
  288. void eventNotify(string eventType, string msg);
  289. }
  290. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  291. public interface ZoneManagerOperations_
  292. {
  293. /// <summary>
  294. /// 场景管理器相关协议
  295. /// </summary>
  296. /// <param name="current__">The Current object for the invocation.</param>
  297. int setCallback(Ice.Identity ident, string srvUUID, Ice.Current current__);
  298. /// <summary>
  299. /// 场景副本相关协议
  300. /// </summary>
  301. /// <param name="cb__">The callback object for the operation.</param>
  302. /// <param name="current__">The Current object for the invocation.</param>
  303. void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, Ice.Current current__);
  304. void destroyZoneRequest_async(Pomelo.AMD_ZoneManager_destroyZoneRequest cb__, string instanceId, Ice.Current current__);
  305. /// <summary>
  306. /// 玩家相关协议
  307. /// </summary>
  308. /// <param name="cb__">The callback object for the operation.</param>
  309. /// <param name="current__">The Current object for the invocation.</param>
  310. void clearAllPlayersRequest_async(Pomelo.AMD_ZoneManager_clearAllPlayersRequest cb__, Ice.Current current__);
  311. void getAllPlayerCountRequest_async(Pomelo.AMD_ZoneManager_getAllPlayerCountRequest cb__, Ice.Current current__);
  312. void playerEnterRequest_async(Pomelo.AMD_ZoneManager_playerEnterRequest cb__, string playerId, string instanceId, string data, Ice.Current current__);
  313. void playerLeaveRequest_async(Pomelo.AMD_ZoneManager_playerLeaveRequest cb__, string playerId, string instanceId, bool keepObject, Ice.Current current__);
  314. void playerNetStateChanged_async(Pomelo.AMD_ZoneManager_playerNetStateChanged cb__, string playerId, string state, Ice.Current current__);
  315. void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID, Ice.Current current__);
  316. void registerGameServer_async(Pomelo.AMD_ZoneManager_registerGameServer cb__, int serverid, int crossid, Ice.Current current__);
  317. void getUnitHP_async(Pomelo.AMD_ZoneManager_getUnitHP cb__, string instanceId, int objectId, Ice.Current current__);
  318. }
  319. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  320. public interface ZoneManagerOperationsNC_
  321. {
  322. /// <summary>
  323. /// 场景管理器相关协议
  324. /// </summary>
  325. int setCallback(Ice.Identity ident, string srvUUID);
  326. /// <summary>
  327. /// 场景副本相关协议
  328. /// </summary>
  329. /// <param name="cb__">The callback object for the operation.</param>
  330. void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data);
  331. void destroyZoneRequest_async(Pomelo.AMD_ZoneManager_destroyZoneRequest cb__, string instanceId);
  332. /// <summary>
  333. /// 玩家相关协议
  334. /// </summary>
  335. /// <param name="cb__">The callback object for the operation.</param>
  336. void clearAllPlayersRequest_async(Pomelo.AMD_ZoneManager_clearAllPlayersRequest cb__);
  337. void getAllPlayerCountRequest_async(Pomelo.AMD_ZoneManager_getAllPlayerCountRequest cb__);
  338. void playerEnterRequest_async(Pomelo.AMD_ZoneManager_playerEnterRequest cb__, string playerId, string instanceId, string data);
  339. void playerLeaveRequest_async(Pomelo.AMD_ZoneManager_playerLeaveRequest cb__, string playerId, string instanceId, bool keepObject);
  340. void playerNetStateChanged_async(Pomelo.AMD_ZoneManager_playerNetStateChanged cb__, string playerId, string state);
  341. void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID);
  342. void registerGameServer_async(Pomelo.AMD_ZoneManager_registerGameServer cb__, int serverid, int crossid);
  343. void getUnitHP_async(Pomelo.AMD_ZoneManager_getUnitHP cb__, string instanceId, int objectId);
  344. }
  345. }
  346. namespace Pomelo
  347. {
  348. [_System.Runtime.InteropServices.ComVisible(false)]
  349. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  350. public sealed class ZoneManagerCallbackPrxHelper : Ice.ObjectPrxHelperBase, ZoneManagerCallbackPrx
  351. {
  352. #region Synchronous operations
  353. public void eventNotify(string eventType, string msg)
  354. {
  355. this.eventNotify(eventType, msg, null, false);
  356. }
  357. public void eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> ctx__)
  358. {
  359. this.eventNotify(eventType, msg, ctx__, true);
  360. }
  361. private void eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  362. {
  363. end_eventNotify(begin_eventNotify(eventType, msg, context__, explicitCtx__, true, null, null));
  364. }
  365. #endregion
  366. #region Asynchronous operations
  367. public Ice.AsyncResult<Pomelo.Callback_ZoneManagerCallback_eventNotify> begin_eventNotify(string eventType, string msg)
  368. {
  369. return begin_eventNotify(eventType, msg, null, false, false, null, null);
  370. }
  371. public Ice.AsyncResult<Pomelo.Callback_ZoneManagerCallback_eventNotify> begin_eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> ctx__)
  372. {
  373. return begin_eventNotify(eventType, msg, ctx__, true, false, null, null);
  374. }
  375. public Ice.AsyncResult begin_eventNotify(string eventType, string msg, Ice.AsyncCallback cb__, object cookie__)
  376. {
  377. return begin_eventNotify(eventType, msg, null, false, false, cb__, cookie__);
  378. }
  379. public Ice.AsyncResult begin_eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  380. {
  381. return begin_eventNotify(eventType, msg, ctx__, true, false, cb__, cookie__);
  382. }
  383. private const string __eventNotify_name = "eventNotify";
  384. public void end_eventNotify(Ice.AsyncResult r__)
  385. {
  386. end__(r__, __eventNotify_name);
  387. }
  388. private Ice.AsyncResult<Pomelo.Callback_ZoneManagerCallback_eventNotify> begin_eventNotify(string eventType, string msg, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  389. {
  390. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManagerCallback_eventNotify> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManagerCallback_eventNotify>(__eventNotify_name, eventNotify_completed__, cookie__);
  391. if(cb__ != null)
  392. {
  393. result__.whenCompletedWithAsyncCallback(cb__);
  394. }
  395. try
  396. {
  397. result__.prepare(__eventNotify_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  398. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  399. os__.writeString(eventType);
  400. os__.writeString(msg);
  401. result__.endWriteParams();
  402. result__.invoke();
  403. }
  404. catch(Ice.Exception ex__)
  405. {
  406. result__.abort(ex__);
  407. }
  408. return result__;
  409. }
  410. private void eventNotify_completed__(Pomelo.Callback_ZoneManagerCallback_eventNotify cb__)
  411. {
  412. if(cb__ != null)
  413. {
  414. cb__();
  415. }
  416. }
  417. #endregion
  418. #region Checked and unchecked cast operations
  419. public static ZoneManagerCallbackPrx checkedCast(Ice.ObjectPrx b)
  420. {
  421. if(b == null)
  422. {
  423. return null;
  424. }
  425. ZoneManagerCallbackPrx r = b as ZoneManagerCallbackPrx;
  426. if((r == null) && b.ice_isA(ice_staticId()))
  427. {
  428. ZoneManagerCallbackPrxHelper h = new ZoneManagerCallbackPrxHelper();
  429. h.copyFrom__(b);
  430. r = h;
  431. }
  432. return r;
  433. }
  434. public static ZoneManagerCallbackPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  435. {
  436. if(b == null)
  437. {
  438. return null;
  439. }
  440. ZoneManagerCallbackPrx r = b as ZoneManagerCallbackPrx;
  441. if((r == null) && b.ice_isA(ice_staticId(), ctx))
  442. {
  443. ZoneManagerCallbackPrxHelper h = new ZoneManagerCallbackPrxHelper();
  444. h.copyFrom__(b);
  445. r = h;
  446. }
  447. return r;
  448. }
  449. public static ZoneManagerCallbackPrx checkedCast(Ice.ObjectPrx b, string f)
  450. {
  451. if(b == null)
  452. {
  453. return null;
  454. }
  455. Ice.ObjectPrx bb = b.ice_facet(f);
  456. try
  457. {
  458. if(bb.ice_isA(ice_staticId()))
  459. {
  460. ZoneManagerCallbackPrxHelper h = new ZoneManagerCallbackPrxHelper();
  461. h.copyFrom__(bb);
  462. return h;
  463. }
  464. }
  465. catch(Ice.FacetNotExistException)
  466. {
  467. }
  468. return null;
  469. }
  470. public static ZoneManagerCallbackPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  471. {
  472. if(b == null)
  473. {
  474. return null;
  475. }
  476. Ice.ObjectPrx bb = b.ice_facet(f);
  477. try
  478. {
  479. if(bb.ice_isA(ice_staticId(), ctx))
  480. {
  481. ZoneManagerCallbackPrxHelper h = new ZoneManagerCallbackPrxHelper();
  482. h.copyFrom__(bb);
  483. return h;
  484. }
  485. }
  486. catch(Ice.FacetNotExistException)
  487. {
  488. }
  489. return null;
  490. }
  491. public static ZoneManagerCallbackPrx uncheckedCast(Ice.ObjectPrx b)
  492. {
  493. if(b == null)
  494. {
  495. return null;
  496. }
  497. ZoneManagerCallbackPrx r = b as ZoneManagerCallbackPrx;
  498. if(r == null)
  499. {
  500. ZoneManagerCallbackPrxHelper h = new ZoneManagerCallbackPrxHelper();
  501. h.copyFrom__(b);
  502. r = h;
  503. }
  504. return r;
  505. }
  506. public static ZoneManagerCallbackPrx uncheckedCast(Ice.ObjectPrx b, string f)
  507. {
  508. if(b == null)
  509. {
  510. return null;
  511. }
  512. Ice.ObjectPrx bb = b.ice_facet(f);
  513. ZoneManagerCallbackPrxHelper h = new ZoneManagerCallbackPrxHelper();
  514. h.copyFrom__(bb);
  515. return h;
  516. }
  517. public static readonly string[] ids__ =
  518. {
  519. "::Ice::Object",
  520. "::Pomelo::ZoneManagerCallback"
  521. };
  522. public static string ice_staticId()
  523. {
  524. return ids__[1];
  525. }
  526. #endregion
  527. #region Marshaling support
  528. public static void write__(IceInternal.BasicStream os__, ZoneManagerCallbackPrx v__)
  529. {
  530. os__.writeProxy(v__);
  531. }
  532. public static ZoneManagerCallbackPrx read__(IceInternal.BasicStream is__)
  533. {
  534. Ice.ObjectPrx proxy = is__.readProxy();
  535. if(proxy != null)
  536. {
  537. ZoneManagerCallbackPrxHelper result = new ZoneManagerCallbackPrxHelper();
  538. result.copyFrom__(proxy);
  539. return result;
  540. }
  541. return null;
  542. }
  543. #endregion
  544. }
  545. [_System.Runtime.InteropServices.ComVisible(false)]
  546. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  547. public sealed class ZoneManagerPrxHelper : Ice.ObjectPrxHelperBase, ZoneManagerPrx
  548. {
  549. #region Synchronous operations
  550. public void clearAllPlayersRequest()
  551. {
  552. this.clearAllPlayersRequest(null, false);
  553. }
  554. public void clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> ctx__)
  555. {
  556. this.clearAllPlayersRequest(ctx__, true);
  557. }
  558. private void clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  559. {
  560. end_clearAllPlayersRequest(begin_clearAllPlayersRequest(context__, explicitCtx__, true, null, null));
  561. }
  562. public void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data)
  563. {
  564. this.createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, null, false);
  565. }
  566. public void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__)
  567. {
  568. this.createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, ctx__, true);
  569. }
  570. private void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  571. {
  572. end_createZoneRequest(begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, context__, explicitCtx__, true, null, null));
  573. }
  574. public void destroyZoneRequest(string instanceId)
  575. {
  576. this.destroyZoneRequest(instanceId, null, false);
  577. }
  578. public void destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> ctx__)
  579. {
  580. this.destroyZoneRequest(instanceId, ctx__, true);
  581. }
  582. private void destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  583. {
  584. end_destroyZoneRequest(begin_destroyZoneRequest(instanceId, context__, explicitCtx__, true, null, null));
  585. }
  586. public int getAllPlayerCountRequest()
  587. {
  588. return this.getAllPlayerCountRequest(null, false);
  589. }
  590. public int getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> ctx__)
  591. {
  592. return this.getAllPlayerCountRequest(ctx__, true);
  593. }
  594. private int getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  595. {
  596. checkTwowayOnly__(__getAllPlayerCountRequest_name);
  597. return end_getAllPlayerCountRequest(begin_getAllPlayerCountRequest(context__, explicitCtx__, true, null, null));
  598. }
  599. public void getServerState(string serverID)
  600. {
  601. this.getServerState(serverID, null, false);
  602. }
  603. public void getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__)
  604. {
  605. this.getServerState(serverID, ctx__, true);
  606. }
  607. private void getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  608. {
  609. end_getServerState(begin_getServerState(serverID, context__, explicitCtx__, true, null, null));
  610. }
  611. public void getUnitHP(string instanceId, int objectId)
  612. {
  613. this.getUnitHP(instanceId, objectId, null, false);
  614. }
  615. public void getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__)
  616. {
  617. this.getUnitHP(instanceId, objectId, ctx__, true);
  618. }
  619. private void getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  620. {
  621. end_getUnitHP(begin_getUnitHP(instanceId, objectId, context__, explicitCtx__, true, null, null));
  622. }
  623. public void playerEnterRequest(string playerId, string instanceId, string data)
  624. {
  625. this.playerEnterRequest(playerId, instanceId, data, null, false);
  626. }
  627. public void playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> ctx__)
  628. {
  629. this.playerEnterRequest(playerId, instanceId, data, ctx__, true);
  630. }
  631. private void playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  632. {
  633. end_playerEnterRequest(begin_playerEnterRequest(playerId, instanceId, data, context__, explicitCtx__, true, null, null));
  634. }
  635. public void playerLeaveRequest(string playerId, string instanceId, bool keepObject)
  636. {
  637. this.playerLeaveRequest(playerId, instanceId, keepObject, null, false);
  638. }
  639. public void playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> ctx__)
  640. {
  641. this.playerLeaveRequest(playerId, instanceId, keepObject, ctx__, true);
  642. }
  643. private void playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  644. {
  645. end_playerLeaveRequest(begin_playerLeaveRequest(playerId, instanceId, keepObject, context__, explicitCtx__, true, null, null));
  646. }
  647. public void playerNetStateChanged(string playerId, string state)
  648. {
  649. this.playerNetStateChanged(playerId, state, null, false);
  650. }
  651. public void playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  652. {
  653. this.playerNetStateChanged(playerId, state, ctx__, true);
  654. }
  655. private void playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  656. {
  657. end_playerNetStateChanged(begin_playerNetStateChanged(playerId, state, context__, explicitCtx__, true, null, null));
  658. }
  659. public void registerGameServer(int serverid, int crossid)
  660. {
  661. this.registerGameServer(serverid, crossid, null, false);
  662. }
  663. public void registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  664. {
  665. this.registerGameServer(serverid, crossid, ctx__, true);
  666. }
  667. private void registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  668. {
  669. end_registerGameServer(begin_registerGameServer(serverid, crossid, context__, explicitCtx__, true, null, null));
  670. }
  671. public int setCallback(Ice.Identity ident, string srvUUID)
  672. {
  673. return this.setCallback(ident, srvUUID, null, false);
  674. }
  675. public int setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__)
  676. {
  677. return this.setCallback(ident, srvUUID, ctx__, true);
  678. }
  679. private int setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
  680. {
  681. checkTwowayOnly__(__setCallback_name);
  682. return end_setCallback(begin_setCallback(ident, srvUUID, context__, explicitCtx__, true, null, null));
  683. }
  684. #endregion
  685. #region Asynchronous operations
  686. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_clearAllPlayersRequest> begin_clearAllPlayersRequest()
  687. {
  688. return begin_clearAllPlayersRequest(null, false, false, null, null);
  689. }
  690. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_clearAllPlayersRequest> begin_clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> ctx__)
  691. {
  692. return begin_clearAllPlayersRequest(ctx__, true, false, null, null);
  693. }
  694. public Ice.AsyncResult begin_clearAllPlayersRequest(Ice.AsyncCallback cb__, object cookie__)
  695. {
  696. return begin_clearAllPlayersRequest(null, false, false, cb__, cookie__);
  697. }
  698. public Ice.AsyncResult begin_clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  699. {
  700. return begin_clearAllPlayersRequest(ctx__, true, false, cb__, cookie__);
  701. }
  702. private const string __clearAllPlayersRequest_name = "clearAllPlayersRequest";
  703. public void end_clearAllPlayersRequest(Ice.AsyncResult r__)
  704. {
  705. end__(r__, __clearAllPlayersRequest_name);
  706. }
  707. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_clearAllPlayersRequest> begin_clearAllPlayersRequest(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  708. {
  709. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_clearAllPlayersRequest> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_clearAllPlayersRequest>(__clearAllPlayersRequest_name, clearAllPlayersRequest_completed__, cookie__);
  710. if(cb__ != null)
  711. {
  712. result__.whenCompletedWithAsyncCallback(cb__);
  713. }
  714. try
  715. {
  716. result__.prepare(__clearAllPlayersRequest_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  717. result__.writeEmptyParams();
  718. result__.invoke();
  719. }
  720. catch(Ice.Exception ex__)
  721. {
  722. result__.abort(ex__);
  723. }
  724. return result__;
  725. }
  726. private void clearAllPlayersRequest_completed__(Pomelo.Callback_ZoneManager_clearAllPlayersRequest cb__)
  727. {
  728. if(cb__ != null)
  729. {
  730. cb__();
  731. }
  732. }
  733. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data)
  734. {
  735. return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, null, false, false, null, null);
  736. }
  737. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__)
  738. {
  739. return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, ctx__, true, false, null, null);
  740. }
  741. public Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, Ice.AsyncCallback cb__, object cookie__)
  742. {
  743. return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, null, false, false, cb__, cookie__);
  744. }
  745. public Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  746. {
  747. return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, ctx__, true, false, cb__, cookie__);
  748. }
  749. private const string __createZoneRequest_name = "createZoneRequest";
  750. public void end_createZoneRequest(Ice.AsyncResult r__)
  751. {
  752. end__(r__, __createZoneRequest_name);
  753. }
  754. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  755. {
  756. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_createZoneRequest> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_createZoneRequest>(__createZoneRequest_name, createZoneRequest_completed__, cookie__);
  757. if(cb__ != null)
  758. {
  759. result__.whenCompletedWithAsyncCallback(cb__);
  760. }
  761. try
  762. {
  763. result__.prepare(__createZoneRequest_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  764. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  765. os__.writeString(playerId);
  766. os__.writeString(gameServerId);
  767. os__.writeInt(mapTemplateId);
  768. os__.writeString(instanceId);
  769. os__.writeBool(forceCreate);
  770. os__.writeString(data);
  771. result__.endWriteParams();
  772. result__.invoke();
  773. }
  774. catch(Ice.Exception ex__)
  775. {
  776. result__.abort(ex__);
  777. }
  778. return result__;
  779. }
  780. private void createZoneRequest_completed__(Pomelo.Callback_ZoneManager_createZoneRequest cb__)
  781. {
  782. if(cb__ != null)
  783. {
  784. cb__();
  785. }
  786. }
  787. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_destroyZoneRequest> begin_destroyZoneRequest(string instanceId)
  788. {
  789. return begin_destroyZoneRequest(instanceId, null, false, false, null, null);
  790. }
  791. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_destroyZoneRequest> begin_destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> ctx__)
  792. {
  793. return begin_destroyZoneRequest(instanceId, ctx__, true, false, null, null);
  794. }
  795. public Ice.AsyncResult begin_destroyZoneRequest(string instanceId, Ice.AsyncCallback cb__, object cookie__)
  796. {
  797. return begin_destroyZoneRequest(instanceId, null, false, false, cb__, cookie__);
  798. }
  799. public Ice.AsyncResult begin_destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  800. {
  801. return begin_destroyZoneRequest(instanceId, ctx__, true, false, cb__, cookie__);
  802. }
  803. private const string __destroyZoneRequest_name = "destroyZoneRequest";
  804. public void end_destroyZoneRequest(Ice.AsyncResult r__)
  805. {
  806. end__(r__, __destroyZoneRequest_name);
  807. }
  808. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_destroyZoneRequest> begin_destroyZoneRequest(string instanceId, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  809. {
  810. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_destroyZoneRequest> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_destroyZoneRequest>(__destroyZoneRequest_name, destroyZoneRequest_completed__, cookie__);
  811. if(cb__ != null)
  812. {
  813. result__.whenCompletedWithAsyncCallback(cb__);
  814. }
  815. try
  816. {
  817. result__.prepare(__destroyZoneRequest_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  818. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  819. os__.writeString(instanceId);
  820. result__.endWriteParams();
  821. result__.invoke();
  822. }
  823. catch(Ice.Exception ex__)
  824. {
  825. result__.abort(ex__);
  826. }
  827. return result__;
  828. }
  829. private void destroyZoneRequest_completed__(Pomelo.Callback_ZoneManager_destroyZoneRequest cb__)
  830. {
  831. if(cb__ != null)
  832. {
  833. cb__();
  834. }
  835. }
  836. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getAllPlayerCountRequest> begin_getAllPlayerCountRequest()
  837. {
  838. return begin_getAllPlayerCountRequest(null, false, false, null, null);
  839. }
  840. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getAllPlayerCountRequest> begin_getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> ctx__)
  841. {
  842. return begin_getAllPlayerCountRequest(ctx__, true, false, null, null);
  843. }
  844. public Ice.AsyncResult begin_getAllPlayerCountRequest(Ice.AsyncCallback cb__, object cookie__)
  845. {
  846. return begin_getAllPlayerCountRequest(null, false, false, cb__, cookie__);
  847. }
  848. public Ice.AsyncResult begin_getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  849. {
  850. return begin_getAllPlayerCountRequest(ctx__, true, false, cb__, cookie__);
  851. }
  852. private const string __getAllPlayerCountRequest_name = "getAllPlayerCountRequest";
  853. public int end_getAllPlayerCountRequest(Ice.AsyncResult r__)
  854. {
  855. IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __getAllPlayerCountRequest_name);
  856. try
  857. {
  858. if(!outAsync__.wait())
  859. {
  860. try
  861. {
  862. outAsync__.throwUserException();
  863. }
  864. catch(Ice.UserException ex__)
  865. {
  866. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  867. }
  868. }
  869. int ret__;
  870. IceInternal.BasicStream is__ = outAsync__.startReadParams();
  871. ret__ = is__.readInt();
  872. outAsync__.endReadParams();
  873. return ret__;
  874. }
  875. finally
  876. {
  877. outAsync__.cacheMessageBuffers();
  878. }
  879. }
  880. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_getAllPlayerCountRequest> begin_getAllPlayerCountRequest(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  881. {
  882. checkAsyncTwowayOnly__(__getAllPlayerCountRequest_name);
  883. IceInternal.TwowayOutgoingAsync<Pomelo.Callback_ZoneManager_getAllPlayerCountRequest> result__ = getTwowayOutgoingAsync<Pomelo.Callback_ZoneManager_getAllPlayerCountRequest>(__getAllPlayerCountRequest_name, getAllPlayerCountRequest_completed__, cookie__);
  884. if(cb__ != null)
  885. {
  886. result__.whenCompletedWithAsyncCallback(cb__);
  887. }
  888. try
  889. {
  890. result__.prepare(__getAllPlayerCountRequest_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  891. result__.writeEmptyParams();
  892. result__.invoke();
  893. }
  894. catch(Ice.Exception ex__)
  895. {
  896. result__.abort(ex__);
  897. }
  898. return result__;
  899. }
  900. private void getAllPlayerCountRequest_completed__(Ice.AsyncResult r__, Pomelo.Callback_ZoneManager_getAllPlayerCountRequest cb__, Ice.ExceptionCallback excb__)
  901. {
  902. int ret__;
  903. try
  904. {
  905. ret__ = end_getAllPlayerCountRequest(r__);
  906. }
  907. catch(Ice.Exception ex__)
  908. {
  909. if(excb__ != null)
  910. {
  911. excb__(ex__);
  912. }
  913. return;
  914. }
  915. if(cb__ != null)
  916. {
  917. cb__(ret__);
  918. }
  919. }
  920. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID)
  921. {
  922. return begin_getServerState(serverID, null, false, false, null, null);
  923. }
  924. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__)
  925. {
  926. return begin_getServerState(serverID, ctx__, true, false, null, null);
  927. }
  928. public Ice.AsyncResult begin_getServerState(string serverID, Ice.AsyncCallback cb__, object cookie__)
  929. {
  930. return begin_getServerState(serverID, null, false, false, cb__, cookie__);
  931. }
  932. public Ice.AsyncResult begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  933. {
  934. return begin_getServerState(serverID, ctx__, true, false, cb__, cookie__);
  935. }
  936. private const string __getServerState_name = "getServerState";
  937. public void end_getServerState(Ice.AsyncResult r__)
  938. {
  939. end__(r__, __getServerState_name);
  940. }
  941. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  942. {
  943. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getServerState> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getServerState>(__getServerState_name, getServerState_completed__, cookie__);
  944. if(cb__ != null)
  945. {
  946. result__.whenCompletedWithAsyncCallback(cb__);
  947. }
  948. try
  949. {
  950. result__.prepare(__getServerState_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  951. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  952. os__.writeString(serverID);
  953. result__.endWriteParams();
  954. result__.invoke();
  955. }
  956. catch(Ice.Exception ex__)
  957. {
  958. result__.abort(ex__);
  959. }
  960. return result__;
  961. }
  962. private void getServerState_completed__(Pomelo.Callback_ZoneManager_getServerState cb__)
  963. {
  964. if(cb__ != null)
  965. {
  966. cb__();
  967. }
  968. }
  969. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getUnitHP> begin_getUnitHP(string instanceId, int objectId)
  970. {
  971. return begin_getUnitHP(instanceId, objectId, null, false, false, null, null);
  972. }
  973. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getUnitHP> begin_getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__)
  974. {
  975. return begin_getUnitHP(instanceId, objectId, ctx__, true, false, null, null);
  976. }
  977. public Ice.AsyncResult begin_getUnitHP(string instanceId, int objectId, Ice.AsyncCallback cb__, object cookie__)
  978. {
  979. return begin_getUnitHP(instanceId, objectId, null, false, false, cb__, cookie__);
  980. }
  981. public Ice.AsyncResult begin_getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  982. {
  983. return begin_getUnitHP(instanceId, objectId, ctx__, true, false, cb__, cookie__);
  984. }
  985. private const string __getUnitHP_name = "getUnitHP";
  986. public void end_getUnitHP(Ice.AsyncResult r__)
  987. {
  988. end__(r__, __getUnitHP_name);
  989. }
  990. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_getUnitHP> begin_getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  991. {
  992. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getUnitHP> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getUnitHP>(__getUnitHP_name, getUnitHP_completed__, cookie__);
  993. if(cb__ != null)
  994. {
  995. result__.whenCompletedWithAsyncCallback(cb__);
  996. }
  997. try
  998. {
  999. result__.prepare(__getUnitHP_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  1000. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  1001. os__.writeString(instanceId);
  1002. os__.writeInt(objectId);
  1003. result__.endWriteParams();
  1004. result__.invoke();
  1005. }
  1006. catch(Ice.Exception ex__)
  1007. {
  1008. result__.abort(ex__);
  1009. }
  1010. return result__;
  1011. }
  1012. private void getUnitHP_completed__(Pomelo.Callback_ZoneManager_getUnitHP cb__)
  1013. {
  1014. if(cb__ != null)
  1015. {
  1016. cb__();
  1017. }
  1018. }
  1019. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerEnterRequest> begin_playerEnterRequest(string playerId, string instanceId, string data)
  1020. {
  1021. return begin_playerEnterRequest(playerId, instanceId, data, null, false, false, null, null);
  1022. }
  1023. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerEnterRequest> begin_playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> ctx__)
  1024. {
  1025. return begin_playerEnterRequest(playerId, instanceId, data, ctx__, true, false, null, null);
  1026. }
  1027. public Ice.AsyncResult begin_playerEnterRequest(string playerId, string instanceId, string data, Ice.AsyncCallback cb__, object cookie__)
  1028. {
  1029. return begin_playerEnterRequest(playerId, instanceId, data, null, false, false, cb__, cookie__);
  1030. }
  1031. public Ice.AsyncResult begin_playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  1032. {
  1033. return begin_playerEnterRequest(playerId, instanceId, data, ctx__, true, false, cb__, cookie__);
  1034. }
  1035. private const string __playerEnterRequest_name = "playerEnterRequest";
  1036. public void end_playerEnterRequest(Ice.AsyncResult r__)
  1037. {
  1038. end__(r__, __playerEnterRequest_name);
  1039. }
  1040. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerEnterRequest> begin_playerEnterRequest(string playerId, string instanceId, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  1041. {
  1042. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_playerEnterRequest> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_playerEnterRequest>(__playerEnterRequest_name, playerEnterRequest_completed__, cookie__);
  1043. if(cb__ != null)
  1044. {
  1045. result__.whenCompletedWithAsyncCallback(cb__);
  1046. }
  1047. try
  1048. {
  1049. result__.prepare(__playerEnterRequest_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  1050. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  1051. os__.writeString(playerId);
  1052. os__.writeString(instanceId);
  1053. os__.writeString(data);
  1054. result__.endWriteParams();
  1055. result__.invoke();
  1056. }
  1057. catch(Ice.Exception ex__)
  1058. {
  1059. result__.abort(ex__);
  1060. }
  1061. return result__;
  1062. }
  1063. private void playerEnterRequest_completed__(Pomelo.Callback_ZoneManager_playerEnterRequest cb__)
  1064. {
  1065. if(cb__ != null)
  1066. {
  1067. cb__();
  1068. }
  1069. }
  1070. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerLeaveRequest> begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject)
  1071. {
  1072. return begin_playerLeaveRequest(playerId, instanceId, keepObject, null, false, false, null, null);
  1073. }
  1074. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerLeaveRequest> begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> ctx__)
  1075. {
  1076. return begin_playerLeaveRequest(playerId, instanceId, keepObject, ctx__, true, false, null, null);
  1077. }
  1078. public Ice.AsyncResult begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject, Ice.AsyncCallback cb__, object cookie__)
  1079. {
  1080. return begin_playerLeaveRequest(playerId, instanceId, keepObject, null, false, false, cb__, cookie__);
  1081. }
  1082. public Ice.AsyncResult begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  1083. {
  1084. return begin_playerLeaveRequest(playerId, instanceId, keepObject, ctx__, true, false, cb__, cookie__);
  1085. }
  1086. private const string __playerLeaveRequest_name = "playerLeaveRequest";
  1087. public void end_playerLeaveRequest(Ice.AsyncResult r__)
  1088. {
  1089. end__(r__, __playerLeaveRequest_name);
  1090. }
  1091. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerLeaveRequest> begin_playerLeaveRequest(string playerId, string instanceId, bool keepObject, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  1092. {
  1093. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_playerLeaveRequest> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_playerLeaveRequest>(__playerLeaveRequest_name, playerLeaveRequest_completed__, cookie__);
  1094. if(cb__ != null)
  1095. {
  1096. result__.whenCompletedWithAsyncCallback(cb__);
  1097. }
  1098. try
  1099. {
  1100. result__.prepare(__playerLeaveRequest_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  1101. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  1102. os__.writeString(playerId);
  1103. os__.writeString(instanceId);
  1104. os__.writeBool(keepObject);
  1105. result__.endWriteParams();
  1106. result__.invoke();
  1107. }
  1108. catch(Ice.Exception ex__)
  1109. {
  1110. result__.abort(ex__);
  1111. }
  1112. return result__;
  1113. }
  1114. private void playerLeaveRequest_completed__(Pomelo.Callback_ZoneManager_playerLeaveRequest cb__)
  1115. {
  1116. if(cb__ != null)
  1117. {
  1118. cb__();
  1119. }
  1120. }
  1121. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerNetStateChanged> begin_playerNetStateChanged(string playerId, string state)
  1122. {
  1123. return begin_playerNetStateChanged(playerId, state, null, false, false, null, null);
  1124. }
  1125. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerNetStateChanged> begin_playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  1126. {
  1127. return begin_playerNetStateChanged(playerId, state, ctx__, true, false, null, null);
  1128. }
  1129. public Ice.AsyncResult begin_playerNetStateChanged(string playerId, string state, Ice.AsyncCallback cb__, object cookie__)
  1130. {
  1131. return begin_playerNetStateChanged(playerId, state, null, false, false, cb__, cookie__);
  1132. }
  1133. public Ice.AsyncResult begin_playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  1134. {
  1135. return begin_playerNetStateChanged(playerId, state, ctx__, true, false, cb__, cookie__);
  1136. }
  1137. private const string __playerNetStateChanged_name = "playerNetStateChanged";
  1138. public void end_playerNetStateChanged(Ice.AsyncResult r__)
  1139. {
  1140. end__(r__, __playerNetStateChanged_name);
  1141. }
  1142. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_playerNetStateChanged> begin_playerNetStateChanged(string playerId, string state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  1143. {
  1144. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_playerNetStateChanged> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_playerNetStateChanged>(__playerNetStateChanged_name, playerNetStateChanged_completed__, cookie__);
  1145. if(cb__ != null)
  1146. {
  1147. result__.whenCompletedWithAsyncCallback(cb__);
  1148. }
  1149. try
  1150. {
  1151. result__.prepare(__playerNetStateChanged_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  1152. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  1153. os__.writeString(playerId);
  1154. os__.writeString(state);
  1155. result__.endWriteParams();
  1156. result__.invoke();
  1157. }
  1158. catch(Ice.Exception ex__)
  1159. {
  1160. result__.abort(ex__);
  1161. }
  1162. return result__;
  1163. }
  1164. private void playerNetStateChanged_completed__(Pomelo.Callback_ZoneManager_playerNetStateChanged cb__)
  1165. {
  1166. if(cb__ != null)
  1167. {
  1168. cb__();
  1169. }
  1170. }
  1171. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_registerGameServer> begin_registerGameServer(int serverid, int crossid)
  1172. {
  1173. return begin_registerGameServer(serverid, crossid, null, false, false, null, null);
  1174. }
  1175. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_registerGameServer> begin_registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  1176. {
  1177. return begin_registerGameServer(serverid, crossid, ctx__, true, false, null, null);
  1178. }
  1179. public Ice.AsyncResult begin_registerGameServer(int serverid, int crossid, Ice.AsyncCallback cb__, object cookie__)
  1180. {
  1181. return begin_registerGameServer(serverid, crossid, null, false, false, cb__, cookie__);
  1182. }
  1183. public Ice.AsyncResult begin_registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  1184. {
  1185. return begin_registerGameServer(serverid, crossid, ctx__, true, false, cb__, cookie__);
  1186. }
  1187. private const string __registerGameServer_name = "registerGameServer";
  1188. public void end_registerGameServer(Ice.AsyncResult r__)
  1189. {
  1190. end__(r__, __registerGameServer_name);
  1191. }
  1192. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_registerGameServer> begin_registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  1193. {
  1194. IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_registerGameServer> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_registerGameServer>(__registerGameServer_name, registerGameServer_completed__, cookie__);
  1195. if(cb__ != null)
  1196. {
  1197. result__.whenCompletedWithAsyncCallback(cb__);
  1198. }
  1199. try
  1200. {
  1201. result__.prepare(__registerGameServer_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  1202. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  1203. os__.writeInt(serverid);
  1204. os__.writeInt(crossid);
  1205. result__.endWriteParams();
  1206. result__.invoke();
  1207. }
  1208. catch(Ice.Exception ex__)
  1209. {
  1210. result__.abort(ex__);
  1211. }
  1212. return result__;
  1213. }
  1214. private void registerGameServer_completed__(Pomelo.Callback_ZoneManager_registerGameServer cb__)
  1215. {
  1216. if(cb__ != null)
  1217. {
  1218. cb__();
  1219. }
  1220. }
  1221. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID)
  1222. {
  1223. return begin_setCallback(ident, srvUUID, null, false, false, null, null);
  1224. }
  1225. public Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__)
  1226. {
  1227. return begin_setCallback(ident, srvUUID, ctx__, true, false, null, null);
  1228. }
  1229. public Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, Ice.AsyncCallback cb__, object cookie__)
  1230. {
  1231. return begin_setCallback(ident, srvUUID, null, false, false, cb__, cookie__);
  1232. }
  1233. public Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  1234. {
  1235. return begin_setCallback(ident, srvUUID, ctx__, true, false, cb__, cookie__);
  1236. }
  1237. private const string __setCallback_name = "setCallback";
  1238. public int end_setCallback(Ice.AsyncResult r__)
  1239. {
  1240. IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __setCallback_name);
  1241. try
  1242. {
  1243. if(!outAsync__.wait())
  1244. {
  1245. try
  1246. {
  1247. outAsync__.throwUserException();
  1248. }
  1249. catch(Ice.UserException ex__)
  1250. {
  1251. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  1252. }
  1253. }
  1254. int ret__;
  1255. IceInternal.BasicStream is__ = outAsync__.startReadParams();
  1256. ret__ = is__.readInt();
  1257. outAsync__.endReadParams();
  1258. return ret__;
  1259. }
  1260. finally
  1261. {
  1262. outAsync__.cacheMessageBuffers();
  1263. }
  1264. }
  1265. private Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
  1266. {
  1267. checkAsyncTwowayOnly__(__setCallback_name);
  1268. IceInternal.TwowayOutgoingAsync<Pomelo.Callback_ZoneManager_setCallback> result__ = getTwowayOutgoingAsync<Pomelo.Callback_ZoneManager_setCallback>(__setCallback_name, setCallback_completed__, cookie__);
  1269. if(cb__ != null)
  1270. {
  1271. result__.whenCompletedWithAsyncCallback(cb__);
  1272. }
  1273. try
  1274. {
  1275. result__.prepare(__setCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
  1276. IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
  1277. Ice.Identity.write__(os__, ident);
  1278. os__.writeString(srvUUID);
  1279. result__.endWriteParams();
  1280. result__.invoke();
  1281. }
  1282. catch(Ice.Exception ex__)
  1283. {
  1284. result__.abort(ex__);
  1285. }
  1286. return result__;
  1287. }
  1288. private void setCallback_completed__(Ice.AsyncResult r__, Pomelo.Callback_ZoneManager_setCallback cb__, Ice.ExceptionCallback excb__)
  1289. {
  1290. int ret__;
  1291. try
  1292. {
  1293. ret__ = end_setCallback(r__);
  1294. }
  1295. catch(Ice.Exception ex__)
  1296. {
  1297. if(excb__ != null)
  1298. {
  1299. excb__(ex__);
  1300. }
  1301. return;
  1302. }
  1303. if(cb__ != null)
  1304. {
  1305. cb__(ret__);
  1306. }
  1307. }
  1308. #endregion
  1309. #region Checked and unchecked cast operations
  1310. public static ZoneManagerPrx checkedCast(Ice.ObjectPrx b)
  1311. {
  1312. if(b == null)
  1313. {
  1314. return null;
  1315. }
  1316. ZoneManagerPrx r = b as ZoneManagerPrx;
  1317. if((r == null) && b.ice_isA(ice_staticId()))
  1318. {
  1319. ZoneManagerPrxHelper h = new ZoneManagerPrxHelper();
  1320. h.copyFrom__(b);
  1321. r = h;
  1322. }
  1323. return r;
  1324. }
  1325. public static ZoneManagerPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  1326. {
  1327. if(b == null)
  1328. {
  1329. return null;
  1330. }
  1331. ZoneManagerPrx r = b as ZoneManagerPrx;
  1332. if((r == null) && b.ice_isA(ice_staticId(), ctx))
  1333. {
  1334. ZoneManagerPrxHelper h = new ZoneManagerPrxHelper();
  1335. h.copyFrom__(b);
  1336. r = h;
  1337. }
  1338. return r;
  1339. }
  1340. public static ZoneManagerPrx checkedCast(Ice.ObjectPrx b, string f)
  1341. {
  1342. if(b == null)
  1343. {
  1344. return null;
  1345. }
  1346. Ice.ObjectPrx bb = b.ice_facet(f);
  1347. try
  1348. {
  1349. if(bb.ice_isA(ice_staticId()))
  1350. {
  1351. ZoneManagerPrxHelper h = new ZoneManagerPrxHelper();
  1352. h.copyFrom__(bb);
  1353. return h;
  1354. }
  1355. }
  1356. catch(Ice.FacetNotExistException)
  1357. {
  1358. }
  1359. return null;
  1360. }
  1361. public static ZoneManagerPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  1362. {
  1363. if(b == null)
  1364. {
  1365. return null;
  1366. }
  1367. Ice.ObjectPrx bb = b.ice_facet(f);
  1368. try
  1369. {
  1370. if(bb.ice_isA(ice_staticId(), ctx))
  1371. {
  1372. ZoneManagerPrxHelper h = new ZoneManagerPrxHelper();
  1373. h.copyFrom__(bb);
  1374. return h;
  1375. }
  1376. }
  1377. catch(Ice.FacetNotExistException)
  1378. {
  1379. }
  1380. return null;
  1381. }
  1382. public static ZoneManagerPrx uncheckedCast(Ice.ObjectPrx b)
  1383. {
  1384. if(b == null)
  1385. {
  1386. return null;
  1387. }
  1388. ZoneManagerPrx r = b as ZoneManagerPrx;
  1389. if(r == null)
  1390. {
  1391. ZoneManagerPrxHelper h = new ZoneManagerPrxHelper();
  1392. h.copyFrom__(b);
  1393. r = h;
  1394. }
  1395. return r;
  1396. }
  1397. public static ZoneManagerPrx uncheckedCast(Ice.ObjectPrx b, string f)
  1398. {
  1399. if(b == null)
  1400. {
  1401. return null;
  1402. }
  1403. Ice.ObjectPrx bb = b.ice_facet(f);
  1404. ZoneManagerPrxHelper h = new ZoneManagerPrxHelper();
  1405. h.copyFrom__(bb);
  1406. return h;
  1407. }
  1408. public static readonly string[] ids__ =
  1409. {
  1410. "::Ice::Object",
  1411. "::Pomelo::ZoneManager"
  1412. };
  1413. public static string ice_staticId()
  1414. {
  1415. return ids__[1];
  1416. }
  1417. #endregion
  1418. #region Marshaling support
  1419. public static void write__(IceInternal.BasicStream os__, ZoneManagerPrx v__)
  1420. {
  1421. os__.writeProxy(v__);
  1422. }
  1423. public static ZoneManagerPrx read__(IceInternal.BasicStream is__)
  1424. {
  1425. Ice.ObjectPrx proxy = is__.readProxy();
  1426. if(proxy != null)
  1427. {
  1428. ZoneManagerPrxHelper result = new ZoneManagerPrxHelper();
  1429. result.copyFrom__(proxy);
  1430. return result;
  1431. }
  1432. return null;
  1433. }
  1434. #endregion
  1435. }
  1436. }
  1437. namespace Pomelo
  1438. {
  1439. [_System.Runtime.InteropServices.ComVisible(false)]
  1440. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  1441. public abstract class ZoneManagerCallbackDisp_ : Ice.ObjectImpl, ZoneManagerCallback
  1442. {
  1443. #region Slice operations
  1444. public void eventNotify(string eventType, string msg)
  1445. {
  1446. eventNotify(eventType, msg, Ice.ObjectImpl.defaultCurrent);
  1447. }
  1448. public abstract void eventNotify(string eventType, string msg, Ice.Current current__);
  1449. #endregion
  1450. #region Slice type-related members
  1451. public static new readonly string[] ids__ =
  1452. {
  1453. "::Ice::Object",
  1454. "::Pomelo::ZoneManagerCallback"
  1455. };
  1456. public override bool ice_isA(string s)
  1457. {
  1458. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  1459. }
  1460. public override bool ice_isA(string s, Ice.Current current__)
  1461. {
  1462. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  1463. }
  1464. public override string[] ice_ids()
  1465. {
  1466. return ids__;
  1467. }
  1468. public override string[] ice_ids(Ice.Current current__)
  1469. {
  1470. return ids__;
  1471. }
  1472. public override string ice_id()
  1473. {
  1474. return ids__[1];
  1475. }
  1476. public override string ice_id(Ice.Current current__)
  1477. {
  1478. return ids__[1];
  1479. }
  1480. public static new string ice_staticId()
  1481. {
  1482. return ids__[1];
  1483. }
  1484. #endregion
  1485. #region Operation dispatch
  1486. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1487. public static Ice.DispatchStatus eventNotify___(ZoneManagerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1488. {
  1489. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1490. IceInternal.BasicStream is__ = inS__.startReadParams();
  1491. string eventType;
  1492. string msg;
  1493. eventType = is__.readString();
  1494. msg = is__.readString();
  1495. inS__.endReadParams();
  1496. obj__.eventNotify(eventType, msg, current__);
  1497. inS__.writeEmptyParams__();
  1498. return Ice.DispatchStatus.DispatchOK;
  1499. }
  1500. private static string[] all__ =
  1501. {
  1502. "eventNotify",
  1503. "ice_id",
  1504. "ice_ids",
  1505. "ice_isA",
  1506. "ice_ping"
  1507. };
  1508. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  1509. {
  1510. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  1511. if(pos < 0)
  1512. {
  1513. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  1514. }
  1515. switch(pos)
  1516. {
  1517. case 0:
  1518. {
  1519. return eventNotify___(this, inS__, current__);
  1520. }
  1521. case 1:
  1522. {
  1523. return Ice.ObjectImpl.ice_id___(this, inS__, current__);
  1524. }
  1525. case 2:
  1526. {
  1527. return Ice.ObjectImpl.ice_ids___(this, inS__, current__);
  1528. }
  1529. case 3:
  1530. {
  1531. return Ice.ObjectImpl.ice_isA___(this, inS__, current__);
  1532. }
  1533. case 4:
  1534. {
  1535. return Ice.ObjectImpl.ice_ping___(this, inS__, current__);
  1536. }
  1537. }
  1538. _System.Diagnostics.Debug.Assert(false);
  1539. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  1540. }
  1541. #endregion
  1542. #region Marshaling support
  1543. protected override void writeImpl__(IceInternal.BasicStream os__)
  1544. {
  1545. os__.startWriteSlice(ice_staticId(), -1, true);
  1546. os__.endWriteSlice();
  1547. }
  1548. protected override void readImpl__(IceInternal.BasicStream is__)
  1549. {
  1550. is__.startReadSlice();
  1551. is__.endReadSlice();
  1552. }
  1553. #endregion
  1554. }
  1555. [_System.Runtime.InteropServices.ComVisible(false)]
  1556. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  1557. public abstract class ZoneManagerDisp_ : Ice.ObjectImpl, ZoneManager
  1558. {
  1559. #region Slice operations
  1560. public int setCallback(Ice.Identity ident, string srvUUID)
  1561. {
  1562. return setCallback(ident, srvUUID, Ice.ObjectImpl.defaultCurrent);
  1563. }
  1564. public abstract int setCallback(Ice.Identity ident, string srvUUID, Ice.Current current__);
  1565. public void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data)
  1566. {
  1567. createZoneRequest_async(cb__, playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, Ice.ObjectImpl.defaultCurrent);
  1568. }
  1569. public abstract void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, Ice.Current current__);
  1570. public void destroyZoneRequest_async(Pomelo.AMD_ZoneManager_destroyZoneRequest cb__, string instanceId)
  1571. {
  1572. destroyZoneRequest_async(cb__, instanceId, Ice.ObjectImpl.defaultCurrent);
  1573. }
  1574. public abstract void destroyZoneRequest_async(Pomelo.AMD_ZoneManager_destroyZoneRequest cb__, string instanceId, Ice.Current current__);
  1575. public void clearAllPlayersRequest_async(Pomelo.AMD_ZoneManager_clearAllPlayersRequest cb__)
  1576. {
  1577. clearAllPlayersRequest_async(cb__, Ice.ObjectImpl.defaultCurrent);
  1578. }
  1579. public abstract void clearAllPlayersRequest_async(Pomelo.AMD_ZoneManager_clearAllPlayersRequest cb__, Ice.Current current__);
  1580. public void getAllPlayerCountRequest_async(Pomelo.AMD_ZoneManager_getAllPlayerCountRequest cb__)
  1581. {
  1582. getAllPlayerCountRequest_async(cb__, Ice.ObjectImpl.defaultCurrent);
  1583. }
  1584. public abstract void getAllPlayerCountRequest_async(Pomelo.AMD_ZoneManager_getAllPlayerCountRequest cb__, Ice.Current current__);
  1585. public void playerEnterRequest_async(Pomelo.AMD_ZoneManager_playerEnterRequest cb__, string playerId, string instanceId, string data)
  1586. {
  1587. playerEnterRequest_async(cb__, playerId, instanceId, data, Ice.ObjectImpl.defaultCurrent);
  1588. }
  1589. public abstract void playerEnterRequest_async(Pomelo.AMD_ZoneManager_playerEnterRequest cb__, string playerId, string instanceId, string data, Ice.Current current__);
  1590. public void playerLeaveRequest_async(Pomelo.AMD_ZoneManager_playerLeaveRequest cb__, string playerId, string instanceId, bool keepObject)
  1591. {
  1592. playerLeaveRequest_async(cb__, playerId, instanceId, keepObject, Ice.ObjectImpl.defaultCurrent);
  1593. }
  1594. public abstract void playerLeaveRequest_async(Pomelo.AMD_ZoneManager_playerLeaveRequest cb__, string playerId, string instanceId, bool keepObject, Ice.Current current__);
  1595. public void playerNetStateChanged_async(Pomelo.AMD_ZoneManager_playerNetStateChanged cb__, string playerId, string state)
  1596. {
  1597. playerNetStateChanged_async(cb__, playerId, state, Ice.ObjectImpl.defaultCurrent);
  1598. }
  1599. public abstract void playerNetStateChanged_async(Pomelo.AMD_ZoneManager_playerNetStateChanged cb__, string playerId, string state, Ice.Current current__);
  1600. public void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID)
  1601. {
  1602. getServerState_async(cb__, serverID, Ice.ObjectImpl.defaultCurrent);
  1603. }
  1604. public abstract void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID, Ice.Current current__);
  1605. public void registerGameServer_async(Pomelo.AMD_ZoneManager_registerGameServer cb__, int serverid, int crossid)
  1606. {
  1607. registerGameServer_async(cb__, serverid, crossid, Ice.ObjectImpl.defaultCurrent);
  1608. }
  1609. public abstract void registerGameServer_async(Pomelo.AMD_ZoneManager_registerGameServer cb__, int serverid, int crossid, Ice.Current current__);
  1610. public void getUnitHP_async(Pomelo.AMD_ZoneManager_getUnitHP cb__, string instanceId, int objectId)
  1611. {
  1612. getUnitHP_async(cb__, instanceId, objectId, Ice.ObjectImpl.defaultCurrent);
  1613. }
  1614. public abstract void getUnitHP_async(Pomelo.AMD_ZoneManager_getUnitHP cb__, string instanceId, int objectId, Ice.Current current__);
  1615. #endregion
  1616. #region Slice type-related members
  1617. public static new readonly string[] ids__ =
  1618. {
  1619. "::Ice::Object",
  1620. "::Pomelo::ZoneManager"
  1621. };
  1622. public override bool ice_isA(string s)
  1623. {
  1624. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  1625. }
  1626. public override bool ice_isA(string s, Ice.Current current__)
  1627. {
  1628. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  1629. }
  1630. public override string[] ice_ids()
  1631. {
  1632. return ids__;
  1633. }
  1634. public override string[] ice_ids(Ice.Current current__)
  1635. {
  1636. return ids__;
  1637. }
  1638. public override string ice_id()
  1639. {
  1640. return ids__[1];
  1641. }
  1642. public override string ice_id(Ice.Current current__)
  1643. {
  1644. return ids__[1];
  1645. }
  1646. public static new string ice_staticId()
  1647. {
  1648. return ids__[1];
  1649. }
  1650. #endregion
  1651. #region Operation dispatch
  1652. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1653. public static Ice.DispatchStatus setCallback___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1654. {
  1655. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1656. IceInternal.BasicStream is__ = inS__.startReadParams();
  1657. Ice.Identity ident;
  1658. ident = null;
  1659. string srvUUID;
  1660. ident = Ice.Identity.read__(is__, ident);
  1661. srvUUID = is__.readString();
  1662. inS__.endReadParams();
  1663. int ret__ = obj__.setCallback(ident, srvUUID, current__);
  1664. IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
  1665. os__.writeInt(ret__);
  1666. inS__.endWriteParams__(true);
  1667. return Ice.DispatchStatus.DispatchOK;
  1668. }
  1669. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1670. public static Ice.DispatchStatus createZoneRequest___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1671. {
  1672. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1673. IceInternal.BasicStream is__ = inS__.startReadParams();
  1674. string playerId;
  1675. string gameServerId;
  1676. int mapTemplateId;
  1677. string instanceId;
  1678. bool forceCreate;
  1679. string data;
  1680. playerId = is__.readString();
  1681. gameServerId = is__.readString();
  1682. mapTemplateId = is__.readInt();
  1683. instanceId = is__.readString();
  1684. forceCreate = is__.readBool();
  1685. data = is__.readString();
  1686. inS__.endReadParams();
  1687. AMD_ZoneManager_createZoneRequest cb__ = new _AMD_ZoneManager_createZoneRequest(inS__);
  1688. try
  1689. {
  1690. obj__.createZoneRequest_async(cb__, playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, current__);
  1691. }
  1692. catch(_System.Exception ex__)
  1693. {
  1694. cb__.ice_exception(ex__);
  1695. }
  1696. return Ice.DispatchStatus.DispatchAsync;
  1697. }
  1698. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1699. public static Ice.DispatchStatus destroyZoneRequest___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1700. {
  1701. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1702. IceInternal.BasicStream is__ = inS__.startReadParams();
  1703. string instanceId;
  1704. instanceId = is__.readString();
  1705. inS__.endReadParams();
  1706. AMD_ZoneManager_destroyZoneRequest cb__ = new _AMD_ZoneManager_destroyZoneRequest(inS__);
  1707. try
  1708. {
  1709. obj__.destroyZoneRequest_async(cb__, instanceId, current__);
  1710. }
  1711. catch(_System.Exception ex__)
  1712. {
  1713. cb__.ice_exception(ex__);
  1714. }
  1715. return Ice.DispatchStatus.DispatchAsync;
  1716. }
  1717. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1718. public static Ice.DispatchStatus clearAllPlayersRequest___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1719. {
  1720. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1721. inS__.readEmptyParams();
  1722. AMD_ZoneManager_clearAllPlayersRequest cb__ = new _AMD_ZoneManager_clearAllPlayersRequest(inS__);
  1723. try
  1724. {
  1725. obj__.clearAllPlayersRequest_async(cb__, current__);
  1726. }
  1727. catch(_System.Exception ex__)
  1728. {
  1729. cb__.ice_exception(ex__);
  1730. }
  1731. return Ice.DispatchStatus.DispatchAsync;
  1732. }
  1733. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1734. public static Ice.DispatchStatus getAllPlayerCountRequest___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1735. {
  1736. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1737. inS__.readEmptyParams();
  1738. AMD_ZoneManager_getAllPlayerCountRequest cb__ = new _AMD_ZoneManager_getAllPlayerCountRequest(inS__);
  1739. try
  1740. {
  1741. obj__.getAllPlayerCountRequest_async(cb__, current__);
  1742. }
  1743. catch(_System.Exception ex__)
  1744. {
  1745. cb__.ice_exception(ex__);
  1746. }
  1747. return Ice.DispatchStatus.DispatchAsync;
  1748. }
  1749. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1750. public static Ice.DispatchStatus playerEnterRequest___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1751. {
  1752. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1753. IceInternal.BasicStream is__ = inS__.startReadParams();
  1754. string playerId;
  1755. string instanceId;
  1756. string data;
  1757. playerId = is__.readString();
  1758. instanceId = is__.readString();
  1759. data = is__.readString();
  1760. inS__.endReadParams();
  1761. AMD_ZoneManager_playerEnterRequest cb__ = new _AMD_ZoneManager_playerEnterRequest(inS__);
  1762. try
  1763. {
  1764. obj__.playerEnterRequest_async(cb__, playerId, instanceId, data, current__);
  1765. }
  1766. catch(_System.Exception ex__)
  1767. {
  1768. cb__.ice_exception(ex__);
  1769. }
  1770. return Ice.DispatchStatus.DispatchAsync;
  1771. }
  1772. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1773. public static Ice.DispatchStatus playerLeaveRequest___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1774. {
  1775. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1776. IceInternal.BasicStream is__ = inS__.startReadParams();
  1777. string playerId;
  1778. string instanceId;
  1779. bool keepObject;
  1780. playerId = is__.readString();
  1781. instanceId = is__.readString();
  1782. keepObject = is__.readBool();
  1783. inS__.endReadParams();
  1784. AMD_ZoneManager_playerLeaveRequest cb__ = new _AMD_ZoneManager_playerLeaveRequest(inS__);
  1785. try
  1786. {
  1787. obj__.playerLeaveRequest_async(cb__, playerId, instanceId, keepObject, current__);
  1788. }
  1789. catch(_System.Exception ex__)
  1790. {
  1791. cb__.ice_exception(ex__);
  1792. }
  1793. return Ice.DispatchStatus.DispatchAsync;
  1794. }
  1795. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1796. public static Ice.DispatchStatus playerNetStateChanged___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1797. {
  1798. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1799. IceInternal.BasicStream is__ = inS__.startReadParams();
  1800. string playerId;
  1801. string state;
  1802. playerId = is__.readString();
  1803. state = is__.readString();
  1804. inS__.endReadParams();
  1805. AMD_ZoneManager_playerNetStateChanged cb__ = new _AMD_ZoneManager_playerNetStateChanged(inS__);
  1806. try
  1807. {
  1808. obj__.playerNetStateChanged_async(cb__, playerId, state, current__);
  1809. }
  1810. catch(_System.Exception ex__)
  1811. {
  1812. cb__.ice_exception(ex__);
  1813. }
  1814. return Ice.DispatchStatus.DispatchAsync;
  1815. }
  1816. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1817. public static Ice.DispatchStatus getServerState___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1818. {
  1819. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1820. IceInternal.BasicStream is__ = inS__.startReadParams();
  1821. string serverID;
  1822. serverID = is__.readString();
  1823. inS__.endReadParams();
  1824. AMD_ZoneManager_getServerState cb__ = new _AMD_ZoneManager_getServerState(inS__);
  1825. try
  1826. {
  1827. obj__.getServerState_async(cb__, serverID, current__);
  1828. }
  1829. catch(_System.Exception ex__)
  1830. {
  1831. cb__.ice_exception(ex__);
  1832. }
  1833. return Ice.DispatchStatus.DispatchAsync;
  1834. }
  1835. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1836. public static Ice.DispatchStatus registerGameServer___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1837. {
  1838. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1839. IceInternal.BasicStream is__ = inS__.startReadParams();
  1840. int serverid;
  1841. int crossid;
  1842. serverid = is__.readInt();
  1843. crossid = is__.readInt();
  1844. inS__.endReadParams();
  1845. AMD_ZoneManager_registerGameServer cb__ = new _AMD_ZoneManager_registerGameServer(inS__);
  1846. try
  1847. {
  1848. obj__.registerGameServer_async(cb__, serverid, crossid, current__);
  1849. }
  1850. catch(_System.Exception ex__)
  1851. {
  1852. cb__.ice_exception(ex__);
  1853. }
  1854. return Ice.DispatchStatus.DispatchAsync;
  1855. }
  1856. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  1857. public static Ice.DispatchStatus getUnitHP___(ZoneManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
  1858. {
  1859. Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
  1860. IceInternal.BasicStream is__ = inS__.startReadParams();
  1861. string instanceId;
  1862. int objectId;
  1863. instanceId = is__.readString();
  1864. objectId = is__.readInt();
  1865. inS__.endReadParams();
  1866. AMD_ZoneManager_getUnitHP cb__ = new _AMD_ZoneManager_getUnitHP(inS__);
  1867. try
  1868. {
  1869. obj__.getUnitHP_async(cb__, instanceId, objectId, current__);
  1870. }
  1871. catch(_System.Exception ex__)
  1872. {
  1873. cb__.ice_exception(ex__);
  1874. }
  1875. return Ice.DispatchStatus.DispatchAsync;
  1876. }
  1877. private static string[] all__ =
  1878. {
  1879. "clearAllPlayersRequest",
  1880. "createZoneRequest",
  1881. "destroyZoneRequest",
  1882. "getAllPlayerCountRequest",
  1883. "getServerState",
  1884. "getUnitHP",
  1885. "ice_id",
  1886. "ice_ids",
  1887. "ice_isA",
  1888. "ice_ping",
  1889. "playerEnterRequest",
  1890. "playerLeaveRequest",
  1891. "playerNetStateChanged",
  1892. "registerGameServer",
  1893. "setCallback"
  1894. };
  1895. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  1896. {
  1897. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  1898. if(pos < 0)
  1899. {
  1900. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  1901. }
  1902. switch(pos)
  1903. {
  1904. case 0:
  1905. {
  1906. return clearAllPlayersRequest___(this, inS__, current__);
  1907. }
  1908. case 1:
  1909. {
  1910. return createZoneRequest___(this, inS__, current__);
  1911. }
  1912. case 2:
  1913. {
  1914. return destroyZoneRequest___(this, inS__, current__);
  1915. }
  1916. case 3:
  1917. {
  1918. return getAllPlayerCountRequest___(this, inS__, current__);
  1919. }
  1920. case 4:
  1921. {
  1922. return getServerState___(this, inS__, current__);
  1923. }
  1924. case 5:
  1925. {
  1926. return getUnitHP___(this, inS__, current__);
  1927. }
  1928. case 6:
  1929. {
  1930. return Ice.ObjectImpl.ice_id___(this, inS__, current__);
  1931. }
  1932. case 7:
  1933. {
  1934. return Ice.ObjectImpl.ice_ids___(this, inS__, current__);
  1935. }
  1936. case 8:
  1937. {
  1938. return Ice.ObjectImpl.ice_isA___(this, inS__, current__);
  1939. }
  1940. case 9:
  1941. {
  1942. return Ice.ObjectImpl.ice_ping___(this, inS__, current__);
  1943. }
  1944. case 10:
  1945. {
  1946. return playerEnterRequest___(this, inS__, current__);
  1947. }
  1948. case 11:
  1949. {
  1950. return playerLeaveRequest___(this, inS__, current__);
  1951. }
  1952. case 12:
  1953. {
  1954. return playerNetStateChanged___(this, inS__, current__);
  1955. }
  1956. case 13:
  1957. {
  1958. return registerGameServer___(this, inS__, current__);
  1959. }
  1960. case 14:
  1961. {
  1962. return setCallback___(this, inS__, current__);
  1963. }
  1964. }
  1965. _System.Diagnostics.Debug.Assert(false);
  1966. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  1967. }
  1968. #endregion
  1969. #region Marshaling support
  1970. protected override void writeImpl__(IceInternal.BasicStream os__)
  1971. {
  1972. os__.startWriteSlice(ice_staticId(), -1, true);
  1973. os__.endWriteSlice();
  1974. }
  1975. protected override void readImpl__(IceInternal.BasicStream is__)
  1976. {
  1977. is__.startReadSlice();
  1978. is__.endReadSlice();
  1979. }
  1980. #endregion
  1981. }
  1982. }
  1983. namespace Pomelo
  1984. {
  1985. /// <summary>
  1986. /// 场景副本相关协议
  1987. /// </summary>
  1988. [_System.Runtime.InteropServices.ComVisible(false)]
  1989. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  1990. public interface AMD_ZoneManager_createZoneRequest : Ice.AMDCallback
  1991. {
  1992. /// <summary>
  1993. /// ice_response indicates that
  1994. /// the operation completed successfully.
  1995. /// </summary>
  1996. void ice_response();
  1997. }
  1998. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  1999. class _AMD_ZoneManager_createZoneRequest : IceInternal.IncomingAsync, AMD_ZoneManager_createZoneRequest
  2000. {
  2001. public _AMD_ZoneManager_createZoneRequest(IceInternal.Incoming inc) : base(inc)
  2002. {
  2003. }
  2004. public void ice_response()
  2005. {
  2006. if(validateResponse__(true))
  2007. {
  2008. writeEmptyParams__();
  2009. response__();
  2010. }
  2011. }
  2012. }
  2013. [_System.Runtime.InteropServices.ComVisible(false)]
  2014. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2015. public interface AMD_ZoneManager_destroyZoneRequest : Ice.AMDCallback
  2016. {
  2017. void ice_response();
  2018. }
  2019. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2020. class _AMD_ZoneManager_destroyZoneRequest : IceInternal.IncomingAsync, AMD_ZoneManager_destroyZoneRequest
  2021. {
  2022. public _AMD_ZoneManager_destroyZoneRequest(IceInternal.Incoming inc) : base(inc)
  2023. {
  2024. }
  2025. public void ice_response()
  2026. {
  2027. if(validateResponse__(true))
  2028. {
  2029. writeEmptyParams__();
  2030. response__();
  2031. }
  2032. }
  2033. }
  2034. /// <summary>
  2035. /// 玩家相关协议
  2036. /// </summary>
  2037. [_System.Runtime.InteropServices.ComVisible(false)]
  2038. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2039. public interface AMD_ZoneManager_clearAllPlayersRequest : Ice.AMDCallback
  2040. {
  2041. /// <summary>
  2042. /// ice_response indicates that
  2043. /// the operation completed successfully.
  2044. /// </summary>
  2045. void ice_response();
  2046. }
  2047. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2048. class _AMD_ZoneManager_clearAllPlayersRequest : IceInternal.IncomingAsync, AMD_ZoneManager_clearAllPlayersRequest
  2049. {
  2050. public _AMD_ZoneManager_clearAllPlayersRequest(IceInternal.Incoming inc) : base(inc)
  2051. {
  2052. }
  2053. public void ice_response()
  2054. {
  2055. if(validateResponse__(true))
  2056. {
  2057. writeEmptyParams__();
  2058. response__();
  2059. }
  2060. }
  2061. }
  2062. [_System.Runtime.InteropServices.ComVisible(false)]
  2063. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2064. public interface AMD_ZoneManager_getAllPlayerCountRequest : Ice.AMDCallback
  2065. {
  2066. void ice_response(int ret__);
  2067. }
  2068. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2069. class _AMD_ZoneManager_getAllPlayerCountRequest : IceInternal.IncomingAsync, AMD_ZoneManager_getAllPlayerCountRequest
  2070. {
  2071. public _AMD_ZoneManager_getAllPlayerCountRequest(IceInternal.Incoming inc) : base(inc)
  2072. {
  2073. }
  2074. public void ice_response(int ret__)
  2075. {
  2076. if(validateResponse__(true))
  2077. {
  2078. try
  2079. {
  2080. IceInternal.BasicStream os__ = startWriteParams__(Ice.FormatType.DefaultFormat);
  2081. os__.writeInt(ret__);
  2082. endWriteParams__(true);
  2083. }
  2084. catch(Ice.LocalException ex__)
  2085. {
  2086. exception__(ex__);
  2087. return;
  2088. }
  2089. response__();
  2090. }
  2091. }
  2092. }
  2093. [_System.Runtime.InteropServices.ComVisible(false)]
  2094. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2095. public interface AMD_ZoneManager_playerEnterRequest : Ice.AMDCallback
  2096. {
  2097. void ice_response();
  2098. }
  2099. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2100. class _AMD_ZoneManager_playerEnterRequest : IceInternal.IncomingAsync, AMD_ZoneManager_playerEnterRequest
  2101. {
  2102. public _AMD_ZoneManager_playerEnterRequest(IceInternal.Incoming inc) : base(inc)
  2103. {
  2104. }
  2105. public void ice_response()
  2106. {
  2107. if(validateResponse__(true))
  2108. {
  2109. writeEmptyParams__();
  2110. response__();
  2111. }
  2112. }
  2113. }
  2114. [_System.Runtime.InteropServices.ComVisible(false)]
  2115. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2116. public interface AMD_ZoneManager_playerLeaveRequest : Ice.AMDCallback
  2117. {
  2118. void ice_response();
  2119. }
  2120. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2121. class _AMD_ZoneManager_playerLeaveRequest : IceInternal.IncomingAsync, AMD_ZoneManager_playerLeaveRequest
  2122. {
  2123. public _AMD_ZoneManager_playerLeaveRequest(IceInternal.Incoming inc) : base(inc)
  2124. {
  2125. }
  2126. public void ice_response()
  2127. {
  2128. if(validateResponse__(true))
  2129. {
  2130. writeEmptyParams__();
  2131. response__();
  2132. }
  2133. }
  2134. }
  2135. [_System.Runtime.InteropServices.ComVisible(false)]
  2136. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2137. public interface AMD_ZoneManager_playerNetStateChanged : Ice.AMDCallback
  2138. {
  2139. void ice_response();
  2140. }
  2141. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2142. class _AMD_ZoneManager_playerNetStateChanged : IceInternal.IncomingAsync, AMD_ZoneManager_playerNetStateChanged
  2143. {
  2144. public _AMD_ZoneManager_playerNetStateChanged(IceInternal.Incoming inc) : base(inc)
  2145. {
  2146. }
  2147. public void ice_response()
  2148. {
  2149. if(validateResponse__(true))
  2150. {
  2151. writeEmptyParams__();
  2152. response__();
  2153. }
  2154. }
  2155. }
  2156. [_System.Runtime.InteropServices.ComVisible(false)]
  2157. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2158. public interface AMD_ZoneManager_getServerState : Ice.AMDCallback
  2159. {
  2160. void ice_response();
  2161. }
  2162. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2163. class _AMD_ZoneManager_getServerState : IceInternal.IncomingAsync, AMD_ZoneManager_getServerState
  2164. {
  2165. public _AMD_ZoneManager_getServerState(IceInternal.Incoming inc) : base(inc)
  2166. {
  2167. }
  2168. public void ice_response()
  2169. {
  2170. if(validateResponse__(true))
  2171. {
  2172. writeEmptyParams__();
  2173. response__();
  2174. }
  2175. }
  2176. }
  2177. [_System.Runtime.InteropServices.ComVisible(false)]
  2178. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2179. public interface AMD_ZoneManager_registerGameServer : Ice.AMDCallback
  2180. {
  2181. void ice_response();
  2182. }
  2183. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2184. class _AMD_ZoneManager_registerGameServer : IceInternal.IncomingAsync, AMD_ZoneManager_registerGameServer
  2185. {
  2186. public _AMD_ZoneManager_registerGameServer(IceInternal.Incoming inc) : base(inc)
  2187. {
  2188. }
  2189. public void ice_response()
  2190. {
  2191. if(validateResponse__(true))
  2192. {
  2193. writeEmptyParams__();
  2194. response__();
  2195. }
  2196. }
  2197. }
  2198. [_System.Runtime.InteropServices.ComVisible(false)]
  2199. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2200. public interface AMD_ZoneManager_getUnitHP : Ice.AMDCallback
  2201. {
  2202. void ice_response();
  2203. }
  2204. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
  2205. class _AMD_ZoneManager_getUnitHP : IceInternal.IncomingAsync, AMD_ZoneManager_getUnitHP
  2206. {
  2207. public _AMD_ZoneManager_getUnitHP(IceInternal.Incoming inc) : base(inc)
  2208. {
  2209. }
  2210. public void ice_response()
  2211. {
  2212. if(validateResponse__(true))
  2213. {
  2214. writeEmptyParams__();
  2215. response__();
  2216. }
  2217. }
  2218. }
  2219. }