/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
WindowsClient/Teleporter.cpp
29 строк
683 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
#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