mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
remove SOE deprecated code and files - leaving in the #if 0 blocks with TODO and other possible uses for later
This commit is contained in:
@@ -4705,20 +4705,6 @@ int JavaLibrary::runScript(const NetworkId & caller, const std::string& script,
|
||||
}
|
||||
}
|
||||
break;
|
||||
#if 0
|
||||
case 'S':
|
||||
{
|
||||
arg = globals.getNextStringId();
|
||||
if (arg == 0)
|
||||
{
|
||||
return SCRIPT_OVERRIDE;
|
||||
}
|
||||
// @todo: fix this when we get real string ids
|
||||
// int param = atoi(stringArg);
|
||||
// ms_env->SetIntField(arg, ms_fidStringIdData, static_cast<jint>(param));
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
DEBUG_REPORT_LOG(true, ("unknown parameter type %c(%#x)\n", argList[i],
|
||||
static_cast<unsigned>(argList[i]))); //lint !e571 suspicious cast
|
||||
|
||||
@@ -181,29 +181,6 @@ jstring JNICALL ScriptMethodsChatNamespace::chatPackOutOfBandToken(JNIEnv * env,
|
||||
|
||||
JavaString result("JavaLibrary::chatPackOutOfBandToken - FAILED Token archive not implemented");
|
||||
return result.getReturnValue();
|
||||
|
||||
#if 0
|
||||
JavaStringParam jt(target);
|
||||
Unicode::String t;
|
||||
if(! JavaLibrary::convert(jt, t))
|
||||
return 0;
|
||||
|
||||
if(! source)
|
||||
return 0;
|
||||
|
||||
Token * token = 0;
|
||||
if(!JavaLibrary::getObject(source, token))
|
||||
return 0;
|
||||
|
||||
Archive::ByteStream bs;
|
||||
Archive::put(bs, std::string(token->getObjectTemplateName()));
|
||||
Archive::put(bs, *token);
|
||||
|
||||
OutOfBandPackager::pack(bs, gs_Object, position, t);
|
||||
|
||||
JavaString result(t);
|
||||
return result.getReturnValue();
|
||||
#endif
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user