|
@@ -94,7 +94,7 @@ namespace Pomelo
|
|
|
public delegate void Callback_ZoneManager_getServerState(string ret__);
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
- public delegate void Callback_ZoneManager_registerGameServer(int ret__);
|
|
|
+ public delegate void Callback_ZoneManager_registerGameServer(string ret__);
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
public delegate void Callback_ZoneManager_getUnitHP(int ret__);
|
|
@@ -354,9 +354,9 @@ namespace Pomelo
|
|
|
|
|
|
string end_getServerState(Ice.AsyncResult r__);
|
|
|
|
|
|
- int registerGameServer(int serverid, int crossid);
|
|
|
+ string registerGameServer(int serverid, int crossid);
|
|
|
|
|
|
- int 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,7 +366,7 @@ namespace Pomelo
|
|
|
|
|
|
Ice.AsyncResult begin_registerGameServer(int serverid, int crossid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
|
|
|
|
|
|
- int end_registerGameServer(Ice.AsyncResult r__);
|
|
|
+ string end_registerGameServer(Ice.AsyncResult r__);
|
|
|
|
|
|
int getUnitHP(string instanceId, int objectId);
|
|
|
|
|
@@ -851,17 +851,17 @@ namespace Pomelo
|
|
|
end_playerNetStateChanged(begin_playerNetStateChanged(playerId, state, context__, explicitCtx__, true, null, null));
|
|
|
}
|
|
|
|
|
|
- public int registerGameServer(int serverid, int crossid)
|
|
|
+ public string registerGameServer(int serverid, int crossid)
|
|
|
{
|
|
|
return this.registerGameServer(serverid, crossid, null, false);
|
|
|
}
|
|
|
|
|
|
- public int 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__)
|
|
|
{
|
|
|
return this.registerGameServer(serverid, crossid, ctx__, true);
|
|
|
}
|
|
|
|
|
|
- private int 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__)
|
|
|
{
|
|
|
checkTwowayOnly__(__registerGameServer_name);
|
|
|
return end_registerGameServer(begin_registerGameServer(serverid, crossid, context__, explicitCtx__, true, null, null));
|
|
@@ -1577,7 +1577,7 @@ namespace Pomelo
|
|
|
|
|
|
private const string __registerGameServer_name = "registerGameServer";
|
|
|
|
|
|
- public int end_registerGameServer(Ice.AsyncResult r__)
|
|
|
+ public string end_registerGameServer(Ice.AsyncResult r__)
|
|
|
{
|
|
|
IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __registerGameServer_name);
|
|
|
try
|
|
@@ -1593,9 +1593,9 @@ namespace Pomelo
|
|
|
throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
|
|
|
}
|
|
|
}
|
|
|
- int ret__;
|
|
|
+ string ret__;
|
|
|
IceInternal.BasicStream is__ = outAsync__.startReadParams();
|
|
|
- ret__ = is__.readInt();
|
|
|
+ ret__ = is__.readString();
|
|
|
outAsync__.endReadParams();
|
|
|
return ret__;
|
|
|
}
|
|
@@ -1631,7 +1631,7 @@ namespace Pomelo
|
|
|
|
|
|
private void registerGameServer_completed__(Ice.AsyncResult r__, Pomelo.Callback_ZoneManager_registerGameServer cb__, Ice.ExceptionCallback excb__)
|
|
|
{
|
|
|
- int ret__;
|
|
|
+ string ret__;
|
|
|
try
|
|
|
{
|
|
|
ret__ = end_registerGameServer(r__);
|
|
@@ -2754,7 +2754,7 @@ namespace Pomelo
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
|
public interface AMD_ZoneManager_registerGameServer : Ice.AMDCallback
|
|
|
{
|
|
|
- void ice_response(int ret__);
|
|
|
+ void ice_response(string ret__);
|
|
|
}
|
|
|
|
|
|
[_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.6.4")]
|
|
@@ -2764,14 +2764,14 @@ namespace Pomelo
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- public void ice_response(int ret__)
|
|
|
+ public void ice_response(string ret__)
|
|
|
{
|
|
|
if(validateResponse__(true))
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
IceInternal.BasicStream os__ = startWriteParams__(Ice.FormatType.DefaultFormat);
|
|
|
- os__.writeInt(ret__);
|
|
|
+ os__.writeString(ret__);
|
|
|
endWriteParams__(true);
|
|
|
}
|
|
|
catch(Ice.LocalException ex__)
|