/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Network/include/network/api.h
37 строк
1 KB
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
/* Copyright 2003-2006 ROBLOX Corporation, All Rights Reserved */ #pragma once #include <string> #include <boost/scoped_ptr.hpp> #include <boost/weak_ptr.hpp> #include <vector> namespace RBX { class Instance; class DataModel; namespace Network { typedef enum { Accept, Reject } FilterResult; extern std::string versionB; extern std::string securityKey; bool isPlayerAuthenticationEnabled(); void initWithoutSecurity(); // Used by Studio (so that it can't be used as a hack vector against RccService) void initWithPlayerSecurity(); // Used by Player void initWithServerSecurity(); // Used by RccService void initWithCloudEditSecurity(); // Used to set up cloud edit replication password bool isNetworkClient(const Instance* context); bool getSystemUrlLocal(DataModel *dataModel); void setSecurityVersions(const std::vector<std::string>& versions); // Used for debugging and development: void setVersion(const char* version); bool isTrustedContent(const char* url); } void spawnDebugCheckThreads(boost::weak_ptr<RBX::DataModel> weakDataModel); extern unsigned int initialProgramHash; }