This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#include "stdafx.h"
#include "Teleporter.h"
#include "Application.h"
#include "FunctionMarshaller.h"
#include "util/Statistics.h"
#include "v8datamodel/TeleportService.h"
namespace RBX {
static boost::thread releaseGameThread;
void Teleporter::initialize(Application* app,
FunctionMarshaller* marshaller)
{
this->app = app;
this->marshaller = marshaller;
TeleportService::SetCallback(this);
TeleportService::SetBaseUrl(GetBaseURL().c_str());
}
void Teleporter::doTeleport(const std::string& url, const std::string& ticket,
const std::string& script)
{
marshaller->Submit(boost::bind(&Application::Teleport, app, url, ticket, script));
}
} // namespace RBX