|
@@ -127,27 +127,27 @@ namespace Pomelo
|
|
|
/// 场景管理器相关协议
|
|
|
/// </summary>
|
|
|
|
|
|
- int setCallback(Ice.Identity ident);
|
|
|
+ int setCallback(Ice.Identity ident, string srvUUID);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景管理器相关协议
|
|
|
/// </summary>
|
|
|
/// <param name="ctx__">The Context map to send with the invocation.</param>
|
|
|
|
|
|
- int setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
+ int setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景管理器相关协议
|
|
|
/// </summary>
|
|
|
/// <returns>An asynchronous result object.</returns>
|
|
|
- Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident);
|
|
|
+ Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID);
|
|
|
|
|
|
/// <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_setCallback> begin_setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
+ Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景管理器相关协议
|
|
@@ -155,7 +155,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_setCallback(Ice.Identity ident, Ice.AsyncCallback cb__, object cookie__);
|
|
|
+ Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景管理器相关协议
|
|
@@ -164,7 +164,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_setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
+ Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景管理器相关协议
|
|
@@ -406,7 +406,7 @@ namespace Pomelo
|
|
|
/// </summary>
|
|
|
/// <param name="current__">The Current object for the invocation.</param>
|
|
|
|
|
|
- int setCallback(Ice.Identity ident, Ice.Current current__);
|
|
|
+ int setCallback(Ice.Identity ident, string srvUUID, Ice.Current current__);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
@@ -446,7 +446,7 @@ namespace Pomelo
|
|
|
/// 场景管理器相关协议
|
|
|
/// </summary>
|
|
|
|
|
|
- int setCallback(Ice.Identity ident);
|
|
|
+ int setCallback(Ice.Identity ident, string srvUUID);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 场景副本相关协议
|
|
@@ -867,20 +867,20 @@ namespace Pomelo
|
|
|
return end_registerGameServer(begin_registerGameServer(serverid, crossid, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
- public int setCallback(Ice.Identity ident)
|
|
|
+ public int setCallback(Ice.Identity ident, string srvUUID)
|
|
|
{
|
|
|
- return this.setCallback(ident, null, false);
|
|
|
+ return this.setCallback(ident, srvUUID, null, false);
|
|
|
}
|
|
|
|
|
|
- public int setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
+ public int setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- return this.setCallback(ident, ctx__, true);
|
|
|
+ return this.setCallback(ident, srvUUID, ctx__, true);
|
|
|
}
|
|
|
|
|
|
- private int setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
+ private int setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitCtx__)
|
|
|
{
|
|
|
checkTwowayOnly__(__setCallback_name);
|
|
|
- return end_setCallback(begin_setCallback(ident, context__, explicitCtx__, true, null, null));
|
|
|
+ return end_setCallback(begin_setCallback(ident, srvUUID, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
@@ -1650,24 +1650,24 @@ namespace Pomelo
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident)
|
|
|
+ public Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID)
|
|
|
{
|
|
|
- return begin_setCallback(ident, null, false, false, null, null);
|
|
|
+ return begin_setCallback(ident, srvUUID, null, false, false, null, null);
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
+ public Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__)
|
|
|
{
|
|
|
- return begin_setCallback(ident, ctx__, true, false, null, null);
|
|
|
+ return begin_setCallback(ident, srvUUID, ctx__, true, false, null, null);
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult begin_setCallback(Ice.Identity ident, Ice.AsyncCallback cb__, object cookie__)
|
|
|
+ public Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, Ice.AsyncCallback cb__, object cookie__)
|
|
|
{
|
|
|
- return begin_setCallback(ident, null, false, false, cb__, cookie__);
|
|
|
+ return begin_setCallback(ident, srvUUID, null, false, false, cb__, cookie__);
|
|
|
}
|
|
|
|
|
|
- public Ice.AsyncResult begin_setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
|
|
|
+ public Ice.AsyncResult begin_setCallback(Ice.Identity ident, string srvUUID, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
|
|
|
{
|
|
|
- return begin_setCallback(ident, ctx__, true, false, cb__, cookie__);
|
|
|
+ return begin_setCallback(ident, srvUUID, ctx__, true, false, cb__, cookie__);
|
|
|
}
|
|
|
|
|
|
private const string __setCallback_name = "setCallback";
|
|
@@ -1700,7 +1700,7 @@ namespace Pomelo
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- private Ice.AsyncResult<Pomelo.Callback_ZoneManager_setCallback> begin_setCallback(Ice.Identity ident, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
|
|
|
+ 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__)
|
|
|
{
|
|
|
checkAsyncTwowayOnly__(__setCallback_name);
|
|
|
IceInternal.TwowayOutgoingAsync<Pomelo.Callback_ZoneManager_setCallback> result__ = getTwowayOutgoingAsync<Pomelo.Callback_ZoneManager_setCallback>(__setCallback_name, setCallback_completed__, cookie__);
|
|
@@ -1713,6 +1713,7 @@ namespace Pomelo
|
|
|
result__.prepare(__setCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
|
|
|
IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
|
|
|
Ice.Identity.write__(os__, ident);
|
|
|
+ os__.writeString(srvUUID);
|
|
|
result__.endWriteParams();
|
|
|
result__.invoke();
|
|
|
}
|
|
@@ -2037,12 +2038,12 @@ namespace Pomelo
|
|
|
{
|
|
|
#region Slice operations
|
|
|
|
|
|
- public int setCallback(Ice.Identity ident)
|
|
|
+ public int setCallback(Ice.Identity ident, string srvUUID)
|
|
|
{
|
|
|
- return setCallback(ident, Ice.ObjectImpl.defaultCurrent);
|
|
|
+ return setCallback(ident, srvUUID, Ice.ObjectImpl.defaultCurrent);
|
|
|
}
|
|
|
|
|
|
- public abstract int setCallback(Ice.Identity ident, Ice.Current current__);
|
|
|
+ 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)
|
|
|
{
|
|
@@ -2170,9 +2171,11 @@ namespace Pomelo
|
|
|
IceInternal.BasicStream is__ = inS__.startReadParams();
|
|
|
Ice.Identity ident;
|
|
|
ident = null;
|
|
|
+ string srvUUID;
|
|
|
ident = Ice.Identity.read__(is__, ident);
|
|
|
+ srvUUID = is__.readString();
|
|
|
inS__.endReadParams();
|
|
|
- int ret__ = obj__.setCallback(ident, current__);
|
|
|
+ int ret__ = obj__.setCallback(ident, srvUUID, current__);
|
|
|
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
|
|
|
os__.writeInt(ret__);
|
|
|
inS__.endWriteParams__(true);
|