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