mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
42 lines
948 B
C++
42 lines
948 B
C++
/* Copyright 2003-2009 ROBLOX Corporation, All Rights Reserved */
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <istream>
|
|
#include "rbx/boost.hpp"
|
|
#include "rbx/rbxTime.h"
|
|
#include "V8Tree/Service.h"
|
|
#include "Util/AsyncHttpCache.h"
|
|
#define BOOST_DATE_TIME_NO_LIB
|
|
#include "boost/date_time/posix_time/posix_time.hpp"
|
|
#include "Util/HeartbeatInstance.h"
|
|
|
|
namespace RBX
|
|
{
|
|
class Instance;
|
|
|
|
extern const char* const sScriptInformationProvider;
|
|
class ScriptInformationProvider
|
|
: public DescribedNonCreatable<ScriptInformationProvider, Instance, sScriptInformationProvider>
|
|
, public Service
|
|
{
|
|
private:
|
|
typedef DescribedNonCreatable<ScriptInformationProvider, Instance, sScriptInformationProvider> Super;
|
|
|
|
std::string assetUrl;
|
|
std::string access;
|
|
|
|
public:
|
|
ScriptInformationProvider();
|
|
|
|
void setAssetUrl(std::string url)
|
|
{
|
|
assetUrl = url;
|
|
}
|
|
void setAccessKey(std::string access)
|
|
{
|
|
this->access = access;
|
|
}
|
|
};
|
|
} //namespace
|