mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "Script/Script.h"
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace RBX
|
||||
{
|
||||
extern const char* const sCoreScript;
|
||||
class CoreScript
|
||||
: public DescribedNonCreatable<CoreScript, BaseScript, sCoreScript, RBX::Reflection::ClassDescriptor::INTERNAL_LOCAL>
|
||||
{
|
||||
private:
|
||||
typedef DescribedNonCreatable<CoreScript, BaseScript, sCoreScript, RBX::Reflection::ClassDescriptor::INTERNAL_LOCAL> Super;
|
||||
Code code;
|
||||
|
||||
public:
|
||||
CoreScript();
|
||||
|
||||
static boost::optional<ProtectedString> fetchSource(const std::string& name);
|
||||
|
||||
virtual Code requestCode(ScriptInformationProvider* scriptInfoProvider=NULL);
|
||||
|
||||
virtual void extraErrorReporting(lua_State *thread);
|
||||
|
||||
protected:
|
||||
// Instance
|
||||
/*override*/ void onServiceProvider(ServiceProvider* oldProvider, ServiceProvider* newProvider);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user