|
@@ -70,7 +70,7 @@ namespace Pomelo
|
|
|
public delegate void Callback_ZoneManager_setCallback(int ret__);
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
- public delegate void Callback_ZoneManager_createZoneRequest();
|
|
|
+ public delegate void Callback_ZoneManager_createZoneRequest(int ret__);
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
public delegate void Callback_ZoneManager_destroyZoneRequest();
|
|
@@ -91,13 +91,13 @@ namespace Pomelo
|
|
|
public delegate void Callback_ZoneManager_playerNetStateChanged();
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
- public delegate void Callback_ZoneManager_getServerState();
|
|
|
+ public delegate void Callback_ZoneManager_getServerState(string ret__);
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
- public delegate void Callback_ZoneManager_registerGameServer();
|
|
|
+ public delegate void Callback_ZoneManager_registerGameServer(string ret__);
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
- public delegate void Callback_ZoneManager_getUnitHP();
|
|
|
+ public delegate void Callback_ZoneManager_getUnitHP(int ret__);
|
|
|
}
|
|
|
|
|
|
namespace Pomelo
|
|
@@ -176,27 +176,27 @@ namespace Pomelo
|
|
|
/// 场景副本相关协议
|
|
|
/// </summary>
|
|
|
|
|
|
- void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data);
|
|
|
+ int createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
|
/// </summary>
|
|
|
/// <param name="ctx__">The Context map to send with the invocation.</param>
|
|
|
|
|
|
- void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
+ int createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
|
/// </summary>
|
|
|
/// <returns>An asynchronous result object.</returns>
|
|
|
- Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data);
|
|
|
+ Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
|
/// </summary>
|
|
|
/// <param name="ctx__">The Context map to send with the invocation.</param>
|
|
|
/// <returns>An asynchronous result object.</returns>
|
|
|
- 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__);
|
|
|
+ Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
@@ -204,7 +204,7 @@ namespace Pomelo
|
|
|
/// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
|
|
|
/// <param name="cookie__">Application data to store in the asynchronous result object.</param>
|
|
|
/// <returns>An asynchronous result object.</returns>
|
|
|
- Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, Ice.AsyncCallback cb__, object cookie__);
|
|
|
+ Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
@@ -213,13 +213,13 @@ namespace Pomelo
|
|
|
/// <param name="cb__">Asynchronous callback invoked when the operation completes.</param>
|
|
|
/// <param name="cookie__">Application data to store in the asynchronous result object.</param>
|
|
|
/// <returns>An asynchronous result object.</returns>
|
|
|
- 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__);
|
|
|
+ Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
|
/// </summary>
|
|
|
/// <param name="r__">The asynchronous result object for the invocation.</param>
|
|
|
- void end_createZoneRequest(Ice.AsyncResult r__);
|
|
|
+ int end_createZoneRequest(Ice.AsyncResult r__);
|
|
|
|
|
|
void destroyZoneRequest(string instanceId);
|
|
|
|
|
@@ -340,23 +340,23 @@ namespace Pomelo
|
|
|
|
|
|
void end_playerNetStateChanged(Ice.AsyncResult r__);
|
|
|
|
|
|
- void getServerState(string serverID);
|
|
|
+ string getServerState(string serverId);
|
|
|
|
|
|
- void getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
+ string getServerState(string serverId, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
- Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID);
|
|
|
+ Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverId);
|
|
|
|
|
|
- Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
+ Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverId, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
- Ice.AsyncResult begin_getServerState(string serverID, Ice.AsyncCallback cb__, object cookie__);
|
|
|
+ Ice.AsyncResult begin_getServerState(string serverId, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
- Ice.AsyncResult begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
+ Ice.AsyncResult begin_getServerState(string serverId, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
- void end_getServerState(Ice.AsyncResult r__);
|
|
|
+ string end_getServerState(Ice.AsyncResult r__);
|
|
|
|
|
|
- void registerGameServer(int serverid, int crossid);
|
|
|
+ string registerGameServer(int serverid, int crossid);
|
|
|
|
|
|
- void registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
+ string registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
Ice.AsyncResult<Pomelo.Callback_ZoneManager_registerGameServer> begin_registerGameServer(int serverid, int crossid);
|
|
|
|
|
@@ -366,11 +366,11 @@ namespace Pomelo
|
|
|
|
|
|
Ice.AsyncResult begin_registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
- void end_registerGameServer(Ice.AsyncResult r__);
|
|
|
+ string end_registerGameServer(Ice.AsyncResult r__);
|
|
|
|
|
|
- void getUnitHP(string instanceId, int objectId);
|
|
|
+ int getUnitHP(string instanceId, int objectId);
|
|
|
|
|
|
- void getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
+ int getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
Ice.AsyncResult<Pomelo.Callback_ZoneManager_getUnitHP> begin_getUnitHP(string instanceId, int objectId);
|
|
|
|
|
@@ -380,7 +380,7 @@ namespace Pomelo
|
|
|
|
|
|
Ice.AsyncResult begin_getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
- void end_getUnitHP(Ice.AsyncResult r__);
|
|
|
+ int end_getUnitHP(Ice.AsyncResult r__);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -413,7 +413,7 @@ namespace Pomelo
|
|
|
/// </summary>
|
|
|
/// <param name="cb__">The callback object for the operation.</param>
|
|
|
/// <param name="current__">The Current object for the invocation.</param>
|
|
|
- void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, Ice.Current current__);
|
|
|
+ void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, Ice.Current current__);
|
|
|
|
|
|
void destroyZoneRequest_async(Pomelo.AMD_ZoneManager_destroyZoneRequest cb__, string instanceId, Ice.Current current__);
|
|
|
|
|
@@ -432,7 +432,7 @@ namespace Pomelo
|
|
|
|
|
|
void playerNetStateChanged_async(Pomelo.AMD_ZoneManager_playerNetStateChanged cb__, string playerId, string state, Ice.Current current__);
|
|
|
|
|
|
- void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID, Ice.Current current__);
|
|
|
+ void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverId, Ice.Current current__);
|
|
|
|
|
|
void registerGameServer_async(Pomelo.AMD_ZoneManager_registerGameServer cb__, int serverid, int crossid, Ice.Current current__);
|
|
|
|
|
@@ -452,7 +452,7 @@ namespace Pomelo
|
|
|
/// 场景副本相关协议
|
|
|
/// </summary>
|
|
|
/// <param name="cb__">The callback object for the operation.</param>
|
|
|
- void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data);
|
|
|
+ void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data);
|
|
|
|
|
|
void destroyZoneRequest_async(Pomelo.AMD_ZoneManager_destroyZoneRequest cb__, string instanceId);
|
|
|
|
|
@@ -470,7 +470,7 @@ namespace Pomelo
|
|
|
|
|
|
void playerNetStateChanged_async(Pomelo.AMD_ZoneManager_playerNetStateChanged cb__, string playerId, string state);
|
|
|
|
|
|
- void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID);
|
|
|
+ void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverId);
|
|
|
|
|
|
void registerGameServer_async(Pomelo.AMD_ZoneManager_registerGameServer cb__, int serverid, int crossid);
|
|
|
|
|
@@ -727,19 +727,20 @@ namespace Pomelo
|
|
|
end_clearAllPlayersRequest(begin_clearAllPlayersRequest(context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
- public void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data)
|
|
|
+ public int createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data)
|
|
|
{
|
|
|
- this.createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, null, false);
|
|
|
+ return this.createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, force, data, null, false);
|
|
|
}
|
|
|
|
|
|
- public void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
+ public int createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- this.createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, ctx__, true);
|
|
|
+ return this.createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, force, data, ctx__, true);
|
|
|
}
|
|
|
|
|
|
- private void createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
+ private int createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
{
|
|
|
- end_createZoneRequest(begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, context__, explicitCtx__, true, null, null));
|
|
|
+ checkTwowayOnly__(__createZoneRequest_name);
|
|
|
+ return end_createZoneRequest(begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, force, data, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
public void destroyZoneRequest(string instanceId)
|
|
@@ -773,34 +774,36 @@ namespace Pomelo
|
|
|
return end_getAllPlayerCountRequest(begin_getAllPlayerCountRequest(context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
- public void getServerState(string serverID)
|
|
|
+ public string getServerState(string serverId)
|
|
|
{
|
|
|
- this.getServerState(serverID, null, false);
|
|
|
+ return this.getServerState(serverId, null, false);
|
|
|
}
|
|
|
|
|
|
- public void getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
+ public string getServerState(string serverId, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- this.getServerState(serverID, ctx__, true);
|
|
|
+ return this.getServerState(serverId, ctx__, true);
|
|
|
}
|
|
|
|
|
|
- private void getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
+ private string getServerState(string serverId, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
{
|
|
|
- end_getServerState(begin_getServerState(serverID, context__, explicitCtx__, true, null, null));
|
|
|
+ checkTwowayOnly__(__getServerState_name);
|
|
|
+ return end_getServerState(begin_getServerState(serverId, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
- public void getUnitHP(string instanceId, int objectId)
|
|
|
+ public int getUnitHP(string instanceId, int objectId)
|
|
|
{
|
|
|
- this.getUnitHP(instanceId, objectId, null, false);
|
|
|
+ return this.getUnitHP(instanceId, objectId, null, false);
|
|
|
}
|
|
|
|
|
|
- public void getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
+ public int getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- this.getUnitHP(instanceId, objectId, ctx__, true);
|
|
|
+ return this.getUnitHP(instanceId, objectId, ctx__, true);
|
|
|
}
|
|
|
|
|
|
- private void getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
+ private int getUnitHP(string instanceId, int objectId, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
{
|
|
|
- end_getUnitHP(begin_getUnitHP(instanceId, objectId, context__, explicitCtx__, true, null, null));
|
|
|
+ checkTwowayOnly__(__getUnitHP_name);
|
|
|
+ return end_getUnitHP(begin_getUnitHP(instanceId, objectId, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
public void playerEnterRequest(string playerId, string instanceId, string data)
|
|
@@ -848,19 +851,20 @@ namespace Pomelo
|
|
|
end_playerNetStateChanged(begin_playerNetStateChanged(playerId, state, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
- public void registerGameServer(int serverid, int crossid)
|
|
|
+ public string registerGameServer(int serverid, int crossid)
|
|
|
{
|
|
|
- this.registerGameServer(serverid, crossid, null, false);
|
|
|
+ return this.registerGameServer(serverid, crossid, null, false);
|
|
|
}
|
|
|
|
|
|
- public void registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
+ public string registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- this.registerGameServer(serverid, crossid, ctx__, true);
|
|
|
+ return this.registerGameServer(serverid, crossid, ctx__, true);
|
|
|
}
|
|
|
|
|
|
- private void registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
+ private string registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
{
|
|
|
- end_registerGameServer(begin_registerGameServer(serverid, crossid, context__, explicitCtx__, true, null, null));
|
|
|
+ checkTwowayOnly__(__registerGameServer_name);
|
|
|
+ return end_registerGameServer(begin_registerGameServer(serverid, crossid, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
public int setCallback(Ice.Identity ident, string srvUUID)
|
|
@@ -938,36 +942,60 @@ namespace Pomelo
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data)
|
|
|
+ public Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data)
|
|
|
{
|
|
|
- return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, null, false, false, null, null);
|
|
|
+ return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, force, data, null, false, false, null, null);
|
|
|
}
|
|
|
|
|
|
- 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__)
|
|
|
+ public Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, ctx__, true, false, null, null);
|
|
|
+ return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, force, data, ctx__, true, false, null, null);
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data, Ice.AsyncCallback cb__, object cookie__)
|
|
|
+ public Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, Ice.AsyncCallback cb__, object cookie__)
|
|
|
{
|
|
|
- return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, null, false, false, cb__, cookie__);
|
|
|
+ return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, force, data, null, false, false, cb__, cookie__);
|
|
|
}
|
|
|
|
|
|
- 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__)
|
|
|
+ public Ice.AsyncResult begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
|
|
|
{
|
|
|
- return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, ctx__, true, false, cb__, cookie__);
|
|
|
+ return begin_createZoneRequest(playerId, gameServerId, mapTemplateId, instanceId, force, data, ctx__, true, false, cb__, cookie__);
|
|
|
}
|
|
|
|
|
|
private const string __createZoneRequest_name = "createZoneRequest";
|
|
|
|
|
|
- public void end_createZoneRequest(Ice.AsyncResult r__)
|
|
|
+ public int end_createZoneRequest(Ice.AsyncResult r__)
|
|
|
{
|
|
|
- end__(r__, __createZoneRequest_name);
|
|
|
+ IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __createZoneRequest_name);
|
|
|
+ try
|
|
|
+ {
|
|
|
+ if(!outAsync__.wait())
|
|
|
+ {
|
|
|
+ try
|
|
|
+ {
|
|
|
+ outAsync__.throwUserException();
|
|
|
+ }
|
|
|
+ catch(Ice.UserException ex__)
|
|
|
+ {
|
|
|
+ throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ int ret__;
|
|
|
+ IceInternal.BasicStream is__ = outAsync__.startReadParams();
|
|
|
+ ret__ = is__.readInt();
|
|
|
+ outAsync__.endReadParams();
|
|
|
+ return ret__;
|
|
|
+ }
|
|
|
+ finally
|
|
|
+ {
|
|
|
+ outAsync__.cacheMessageBuffers();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- 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__)
|
|
|
+ private Ice.AsyncResult<Pomelo.Callback_ZoneManager_createZoneRequest> begin_createZoneRequest(string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
|
|
|
{
|
|
|
- IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_createZoneRequest> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_createZoneRequest>(__createZoneRequest_name, createZoneRequest_completed__, cookie__);
|
|
|
+ checkAsyncTwowayOnly__(__createZoneRequest_name);
|
|
|
+ IceInternal.TwowayOutgoingAsync<Pomelo.Callback_ZoneManager_createZoneRequest> result__ = getTwowayOutgoingAsync<Pomelo.Callback_ZoneManager_createZoneRequest>(__createZoneRequest_name, createZoneRequest_completed__, cookie__);
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
result__.whenCompletedWithAsyncCallback(cb__);
|
|
@@ -980,7 +1008,7 @@ namespace Pomelo
|
|
|
os__.writeString(gameServerId);
|
|
|
os__.writeInt(mapTemplateId);
|
|
|
os__.writeString(instanceId);
|
|
|
- os__.writeBool(forceCreate);
|
|
|
+ os__.writeBool(force);
|
|
|
os__.writeString(data);
|
|
|
result__.endWriteParams();
|
|
|
result__.invoke();
|
|
@@ -992,11 +1020,24 @@ namespace Pomelo
|
|
|
return result__;
|
|
|
}
|
|
|
|
|
|
- private void createZoneRequest_completed__(Pomelo.Callback_ZoneManager_createZoneRequest cb__)
|
|
|
+ private void createZoneRequest_completed__(Ice.AsyncResult r__, Pomelo.Callback_ZoneManager_createZoneRequest cb__, Ice.ExceptionCallback excb__)
|
|
|
{
|
|
|
+ int ret__;
|
|
|
+ try
|
|
|
+ {
|
|
|
+ ret__ = end_createZoneRequest(r__);
|
|
|
+ }
|
|
|
+ catch(Ice.Exception ex__)
|
|
|
+ {
|
|
|
+ if(excb__ != null)
|
|
|
+ {
|
|
|
+ excb__(ex__);
|
|
|
+ }
|
|
|
+ return;
|
|
|
+ }
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
- cb__();
|
|
|
+ cb__(ret__);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1149,36 +1190,60 @@ namespace Pomelo
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID)
|
|
|
+ public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverId)
|
|
|
{
|
|
|
- return begin_getServerState(serverID, null, false, false, null, null);
|
|
|
+ return begin_getServerState(serverId, null, false, false, null, null);
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
+ public Ice.AsyncResult<Pomelo.Callback_ZoneManager_getServerState> begin_getServerState(string serverId, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- return begin_getServerState(serverID, ctx__, true, false, null, null);
|
|
|
+ return begin_getServerState(serverId, ctx__, true, false, null, null);
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult begin_getServerState(string serverID, Ice.AsyncCallback cb__, object cookie__)
|
|
|
+ public Ice.AsyncResult begin_getServerState(string serverId, Ice.AsyncCallback cb__, object cookie__)
|
|
|
{
|
|
|
- return begin_getServerState(serverID, null, false, false, cb__, cookie__);
|
|
|
+ return begin_getServerState(serverId, null, false, false, cb__, cookie__);
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult begin_getServerState(string serverID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
|
|
|
+ public Ice.AsyncResult begin_getServerState(string serverId, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
|
|
|
{
|
|
|
- return begin_getServerState(serverID, ctx__, true, false, cb__, cookie__);
|
|
|
+ return begin_getServerState(serverId, ctx__, true, false, cb__, cookie__);
|
|
|
}
|
|
|
|
|
|
private const string __getServerState_name = "getServerState";
|
|
|
|
|
|
- public void end_getServerState(Ice.AsyncResult r__)
|
|
|
+ public string end_getServerState(Ice.AsyncResult r__)
|
|
|
{
|
|
|
- end__(r__, __getServerState_name);
|
|
|
+ IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __getServerState_name);
|
|
|
+ try
|
|
|
+ {
|
|
|
+ if(!outAsync__.wait())
|
|
|
+ {
|
|
|
+ try
|
|
|
+ {
|
|
|
+ outAsync__.throwUserException();
|
|
|
+ }
|
|
|
+ catch(Ice.UserException ex__)
|
|
|
+ {
|
|
|
+ throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ string ret__;
|
|
|
+ IceInternal.BasicStream is__ = outAsync__.startReadParams();
|
|
|
+ ret__ = is__.readString();
|
|
|
+ outAsync__.endReadParams();
|
|
|
+ return ret__;
|
|
|
+ }
|
|
|
+ finally
|
|
|
+ {
|
|
|
+ outAsync__.cacheMessageBuffers();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- 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__)
|
|
|
+ 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__)
|
|
|
{
|
|
|
- IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getServerState> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getServerState>(__getServerState_name, getServerState_completed__, cookie__);
|
|
|
+ checkAsyncTwowayOnly__(__getServerState_name);
|
|
|
+ IceInternal.TwowayOutgoingAsync<Pomelo.Callback_ZoneManager_getServerState> result__ = getTwowayOutgoingAsync<Pomelo.Callback_ZoneManager_getServerState>(__getServerState_name, getServerState_completed__, cookie__);
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
result__.whenCompletedWithAsyncCallback(cb__);
|
|
@@ -1187,7 +1252,7 @@ namespace Pomelo
|
|
|
{
|
|
|
result__.prepare(__getServerState_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
|
|
|
IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
|
|
|
- os__.writeString(serverID);
|
|
|
+ os__.writeString(serverId);
|
|
|
result__.endWriteParams();
|
|
|
result__.invoke();
|
|
|
}
|
|
@@ -1198,11 +1263,24 @@ namespace Pomelo
|
|
|
return result__;
|
|
|
}
|
|
|
|
|
|
- private void getServerState_completed__(Pomelo.Callback_ZoneManager_getServerState cb__)
|
|
|
+ private void getServerState_completed__(Ice.AsyncResult r__, Pomelo.Callback_ZoneManager_getServerState cb__, Ice.ExceptionCallback excb__)
|
|
|
{
|
|
|
+ string ret__;
|
|
|
+ try
|
|
|
+ {
|
|
|
+ ret__ = end_getServerState(r__);
|
|
|
+ }
|
|
|
+ catch(Ice.Exception ex__)
|
|
|
+ {
|
|
|
+ if(excb__ != null)
|
|
|
+ {
|
|
|
+ excb__(ex__);
|
|
|
+ }
|
|
|
+ return;
|
|
|
+ }
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
- cb__();
|
|
|
+ cb__(ret__);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1228,14 +1306,38 @@ namespace Pomelo
|
|
|
|
|
|
private const string __getUnitHP_name = "getUnitHP";
|
|
|
|
|
|
- public void end_getUnitHP(Ice.AsyncResult r__)
|
|
|
+ public int end_getUnitHP(Ice.AsyncResult r__)
|
|
|
{
|
|
|
- end__(r__, __getUnitHP_name);
|
|
|
+ IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __getUnitHP_name);
|
|
|
+ try
|
|
|
+ {
|
|
|
+ if(!outAsync__.wait())
|
|
|
+ {
|
|
|
+ try
|
|
|
+ {
|
|
|
+ outAsync__.throwUserException();
|
|
|
+ }
|
|
|
+ catch(Ice.UserException ex__)
|
|
|
+ {
|
|
|
+ throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ int ret__;
|
|
|
+ IceInternal.BasicStream is__ = outAsync__.startReadParams();
|
|
|
+ ret__ = is__.readInt();
|
|
|
+ outAsync__.endReadParams();
|
|
|
+ return ret__;
|
|
|
+ }
|
|
|
+ finally
|
|
|
+ {
|
|
|
+ outAsync__.cacheMessageBuffers();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
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__)
|
|
|
{
|
|
|
- IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getUnitHP> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_getUnitHP>(__getUnitHP_name, getUnitHP_completed__, cookie__);
|
|
|
+ checkAsyncTwowayOnly__(__getUnitHP_name);
|
|
|
+ IceInternal.TwowayOutgoingAsync<Pomelo.Callback_ZoneManager_getUnitHP> result__ = getTwowayOutgoingAsync<Pomelo.Callback_ZoneManager_getUnitHP>(__getUnitHP_name, getUnitHP_completed__, cookie__);
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
result__.whenCompletedWithAsyncCallback(cb__);
|
|
@@ -1256,11 +1358,24 @@ namespace Pomelo
|
|
|
return result__;
|
|
|
}
|
|
|
|
|
|
- private void getUnitHP_completed__(Pomelo.Callback_ZoneManager_getUnitHP cb__)
|
|
|
+ private void getUnitHP_completed__(Ice.AsyncResult r__, Pomelo.Callback_ZoneManager_getUnitHP cb__, Ice.ExceptionCallback excb__)
|
|
|
{
|
|
|
+ int ret__;
|
|
|
+ try
|
|
|
+ {
|
|
|
+ ret__ = end_getUnitHP(r__);
|
|
|
+ }
|
|
|
+ catch(Ice.Exception ex__)
|
|
|
+ {
|
|
|
+ if(excb__ != null)
|
|
|
+ {
|
|
|
+ excb__(ex__);
|
|
|
+ }
|
|
|
+ return;
|
|
|
+ }
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
- cb__();
|
|
|
+ cb__(ret__);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1462,14 +1577,38 @@ namespace Pomelo
|
|
|
|
|
|
private const string __registerGameServer_name = "registerGameServer";
|
|
|
|
|
|
- public void end_registerGameServer(Ice.AsyncResult r__)
|
|
|
+ public string end_registerGameServer(Ice.AsyncResult r__)
|
|
|
{
|
|
|
- end__(r__, __registerGameServer_name);
|
|
|
+ IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __registerGameServer_name);
|
|
|
+ try
|
|
|
+ {
|
|
|
+ if(!outAsync__.wait())
|
|
|
+ {
|
|
|
+ try
|
|
|
+ {
|
|
|
+ outAsync__.throwUserException();
|
|
|
+ }
|
|
|
+ catch(Ice.UserException ex__)
|
|
|
+ {
|
|
|
+ throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ string ret__;
|
|
|
+ IceInternal.BasicStream is__ = outAsync__.startReadParams();
|
|
|
+ ret__ = is__.readString();
|
|
|
+ outAsync__.endReadParams();
|
|
|
+ return ret__;
|
|
|
+ }
|
|
|
+ finally
|
|
|
+ {
|
|
|
+ outAsync__.cacheMessageBuffers();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
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__)
|
|
|
{
|
|
|
- IceInternal.OnewayOutgoingAsync<Pomelo.Callback_ZoneManager_registerGameServer> result__ = getOnewayOutgoingAsync<Pomelo.Callback_ZoneManager_registerGameServer>(__registerGameServer_name, registerGameServer_completed__, cookie__);
|
|
|
+ checkAsyncTwowayOnly__(__registerGameServer_name);
|
|
|
+ IceInternal.TwowayOutgoingAsync<Pomelo.Callback_ZoneManager_registerGameServer> result__ = getTwowayOutgoingAsync<Pomelo.Callback_ZoneManager_registerGameServer>(__registerGameServer_name, registerGameServer_completed__, cookie__);
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
result__.whenCompletedWithAsyncCallback(cb__);
|
|
@@ -1490,11 +1629,24 @@ namespace Pomelo
|
|
|
return result__;
|
|
|
}
|
|
|
|
|
|
- private void registerGameServer_completed__(Pomelo.Callback_ZoneManager_registerGameServer cb__)
|
|
|
+ private void registerGameServer_completed__(Ice.AsyncResult r__, Pomelo.Callback_ZoneManager_registerGameServer cb__, Ice.ExceptionCallback excb__)
|
|
|
{
|
|
|
+ string ret__;
|
|
|
+ try
|
|
|
+ {
|
|
|
+ ret__ = end_registerGameServer(r__);
|
|
|
+ }
|
|
|
+ catch(Ice.Exception ex__)
|
|
|
+ {
|
|
|
+ if(excb__ != null)
|
|
|
+ {
|
|
|
+ excb__(ex__);
|
|
|
+ }
|
|
|
+ return;
|
|
|
+ }
|
|
|
if(cb__ != null)
|
|
|
{
|
|
|
- cb__();
|
|
|
+ cb__(ret__);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1893,12 +2045,12 @@ namespace Pomelo
|
|
|
|
|
|
public abstract int setCallback(Ice.Identity ident, string srvUUID, Ice.Current current__);
|
|
|
|
|
|
- public void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool forceCreate, string data)
|
|
|
+ public void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data)
|
|
|
{
|
|
|
- createZoneRequest_async(cb__, playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, Ice.ObjectImpl.defaultCurrent);
|
|
|
+ createZoneRequest_async(cb__, playerId, gameServerId, mapTemplateId, instanceId, force, data, Ice.ObjectImpl.defaultCurrent);
|
|
|
}
|
|
|
|
|
|
- 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__);
|
|
|
+ public abstract void createZoneRequest_async(Pomelo.AMD_ZoneManager_createZoneRequest cb__, string playerId, string gameServerId, int mapTemplateId, string instanceId, bool force, string data, Ice.Current current__);
|
|
|
|
|
|
public void destroyZoneRequest_async(Pomelo.AMD_ZoneManager_destroyZoneRequest cb__, string instanceId)
|
|
|
{
|
|
@@ -1942,12 +2094,12 @@ namespace Pomelo
|
|
|
|
|
|
public abstract void playerNetStateChanged_async(Pomelo.AMD_ZoneManager_playerNetStateChanged cb__, string playerId, string state, Ice.Current current__);
|
|
|
|
|
|
- public void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID)
|
|
|
+ public void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverId)
|
|
|
{
|
|
|
- getServerState_async(cb__, serverID, Ice.ObjectImpl.defaultCurrent);
|
|
|
+ getServerState_async(cb__, serverId, Ice.ObjectImpl.defaultCurrent);
|
|
|
}
|
|
|
|
|
|
- public abstract void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverID, Ice.Current current__);
|
|
|
+ public abstract void getServerState_async(Pomelo.AMD_ZoneManager_getServerState cb__, string serverId, Ice.Current current__);
|
|
|
|
|
|
public void registerGameServer_async(Pomelo.AMD_ZoneManager_registerGameServer cb__, int serverid, int crossid)
|
|
|
{
|
|
@@ -2039,19 +2191,19 @@ namespace Pomelo
|
|
|
string gameServerId;
|
|
|
int mapTemplateId;
|
|
|
string instanceId;
|
|
|
- bool forceCreate;
|
|
|
+ bool force;
|
|
|
string data;
|
|
|
playerId = is__.readString();
|
|
|
gameServerId = is__.readString();
|
|
|
mapTemplateId = is__.readInt();
|
|
|
instanceId = is__.readString();
|
|
|
- forceCreate = is__.readBool();
|
|
|
+ force = is__.readBool();
|
|
|
data = is__.readString();
|
|
|
inS__.endReadParams();
|
|
|
AMD_ZoneManager_createZoneRequest cb__ = new _AMD_ZoneManager_createZoneRequest(inS__);
|
|
|
try
|
|
|
{
|
|
|
- obj__.createZoneRequest_async(cb__, playerId, gameServerId, mapTemplateId, instanceId, forceCreate, data, current__);
|
|
|
+ obj__.createZoneRequest_async(cb__, playerId, gameServerId, mapTemplateId, instanceId, force, data, current__);
|
|
|
}
|
|
|
catch(_System.Exception ex__)
|
|
|
{
|
|
@@ -2189,13 +2341,13 @@ namespace Pomelo
|
|
|
{
|
|
|
Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
|
|
|
IceInternal.BasicStream is__ = inS__.startReadParams();
|
|
|
- string serverID;
|
|
|
- serverID = is__.readString();
|
|
|
+ string serverId;
|
|
|
+ serverId = is__.readString();
|
|
|
inS__.endReadParams();
|
|
|
AMD_ZoneManager_getServerState cb__ = new _AMD_ZoneManager_getServerState(inS__);
|
|
|
try
|
|
|
{
|
|
|
- obj__.getServerState_async(cb__, serverID, current__);
|
|
|
+ obj__.getServerState_async(cb__, serverId, current__);
|
|
|
}
|
|
|
catch(_System.Exception ex__)
|
|
|
{
|
|
@@ -2376,7 +2528,7 @@ namespace Pomelo
|
|
|
/// ice_response indicates that
|
|
|
/// the operation completed successfully.
|
|
|
/// </summary>
|
|
|
- void ice_response();
|
|
|
+ void ice_response(int ret__);
|
|
|
}
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
@@ -2386,11 +2538,21 @@ namespace Pomelo
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- public void ice_response()
|
|
|
+ public void ice_response(int ret__)
|
|
|
{
|
|
|
if(validateResponse__(true))
|
|
|
{
|
|
|
- writeEmptyParams__();
|
|
|
+ try
|
|
|
+ {
|
|
|
+ IceInternal.BasicStream os__ = startWriteParams__(Ice.FormatType.DefaultFormat);
|
|
|
+ os__.writeInt(ret__);
|
|
|
+ endWriteParams__(true);
|
|
|
+ }
|
|
|
+ catch(Ice.LocalException ex__)
|
|
|
+ {
|
|
|
+ exception__(ex__);
|
|
|
+ return;
|
|
|
+ }
|
|
|
response__();
|
|
|
}
|
|
|
}
|
|
@@ -2561,7 +2723,7 @@ namespace Pomelo
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
public interface AMD_ZoneManager_getServerState : Ice.AMDCallback
|
|
|
{
|
|
|
- void ice_response();
|
|
|
+ void ice_response(string ret__);
|
|
|
}
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
@@ -2571,11 +2733,21 @@ namespace Pomelo
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- public void ice_response()
|
|
|
+ public void ice_response(string ret__)
|
|
|
{
|
|
|
if(validateResponse__(true))
|
|
|
{
|
|
|
- writeEmptyParams__();
|
|
|
+ try
|
|
|
+ {
|
|
|
+ IceInternal.BasicStream os__ = startWriteParams__(Ice.FormatType.DefaultFormat);
|
|
|
+ os__.writeString(ret__);
|
|
|
+ endWriteParams__(true);
|
|
|
+ }
|
|
|
+ catch(Ice.LocalException ex__)
|
|
|
+ {
|
|
|
+ exception__(ex__);
|
|
|
+ return;
|
|
|
+ }
|
|
|
response__();
|
|
|
}
|
|
|
}
|
|
@@ -2585,7 +2757,7 @@ namespace Pomelo
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
public interface AMD_ZoneManager_registerGameServer : Ice.AMDCallback
|
|
|
{
|
|
|
- void ice_response();
|
|
|
+ void ice_response(string ret__);
|
|
|
}
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
@@ -2595,11 +2767,21 @@ namespace Pomelo
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- public void ice_response()
|
|
|
+ public void ice_response(string ret__)
|
|
|
{
|
|
|
if(validateResponse__(true))
|
|
|
{
|
|
|
- writeEmptyParams__();
|
|
|
+ try
|
|
|
+ {
|
|
|
+ IceInternal.BasicStream os__ = startWriteParams__(Ice.FormatType.DefaultFormat);
|
|
|
+ os__.writeString(ret__);
|
|
|
+ endWriteParams__(true);
|
|
|
+ }
|
|
|
+ catch(Ice.LocalException ex__)
|
|
|
+ {
|
|
|
+ exception__(ex__);
|
|
|
+ return;
|
|
|
+ }
|
|
|
response__();
|
|
|
}
|
|
|
}
|
|
@@ -2609,7 +2791,7 @@ namespace Pomelo
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
public interface AMD_ZoneManager_getUnitHP : Ice.AMDCallback
|
|
|
{
|
|
|
- void ice_response();
|
|
|
+ void ice_response(int ret__);
|
|
|
}
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
@@ -2619,11 +2801,21 @@ namespace Pomelo
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- public void ice_response()
|
|
|
+ public void ice_response(int ret__)
|
|
|
{
|
|
|
if(validateResponse__(true))
|
|
|
{
|
|
|
- writeEmptyParams__();
|
|
|
+ try
|
|
|
+ {
|
|
|
+ IceInternal.BasicStream os__ = startWriteParams__(Ice.FormatType.DefaultFormat);
|
|
|
+ os__.writeInt(ret__);
|
|
|
+ endWriteParams__(true);
|
|
|
+ }
|
|
|
+ catch(Ice.LocalException ex__)
|
|
|
+ {
|
|
|
+ exception__(ex__);
|
|
|
+ return;
|
|
|
+ }
|
|
|
response__();
|
|
|
}
|
|
|
}
|