Nebula
Loading...
Searching...
No Matches
Scripting Namespace Reference

Detailed Description

Prototype for deargui scripting init.

(C) 2024 Individual contributors, see AUTHORS file

Namespaces

namespace  Api
 

Classes

struct  AssemblyId
 
struct  DotNET_API
 
class  NSharpServer
 C# backend for the Nebula scripting subsystem. More...
 
class  PythonServer
 Python backend for the Nebula scripting subsystem. More...
 
class  ScriptFeatureUnit
 
class  ScriptServer
 Server class of the scripting subsystem. More...
 

Typedefs

using ScriptModuleInit = Util::Delegate<void()>
 

Enumerations

enum  HostFxrStatusCode { Success = 0 , Success_HostAlreadyInitialized = 0x00000001 , Success_DifferentRuntimeProperties = 0x00000002 }
 

Functions

void RegisterDearguiModule ()
 
void N_Print (const char *string, int32_t is_stdout)
 
void N_Error (const char *string, int32_t is_stdout)
 
void N_Log (const char *log_domain, const char *log_level, const char *message, int32_t fatal, void *user_data)
 
void N_Assert (bool value)
 
 __ImplementClass (Scripting::NSharpServer, 'N#Sv', Core::RefCounted)
 
 __ImplementSingleton (Scripting::NSharpServer)
 
std::wstring ToWideString (Util::String const &str)
 
static void * ScriptingAlloc (size_t bytes)
 
static void * ScriptingRealloc (void *ptr, size_t bytes)
 
static void ScriptingDealloc (void *ptr)
 
static void * ScriptingCalloc (size_t count, size_t size)
 
void * LoadAssemblyAndGetExport (Util::String const &configPath)
 
void * LoadAssemblyAndGetExport (Util::CommandLineArgs const &args)
 
 __ImplementClass (Scripting::ScriptFeatureUnit, 'AUFU', Game::FeatureUnit)
 
 __ImplementSingleton (ScriptFeatureUnit)
 
 __ImplementClass (Scripting::PythonServer, 'PYSS', Scripting::ScriptServer)
 
 __ImplementSingleton (Scripting::PythonServer)
 
 __ImplementClass (Scripting::ScriptServer, 'SCRS', Core::RefCounted)
 
 __ImplementSingleton (Scripting::ScriptServer)
 

Variables

static DotNET_API api
 

Typedef Documentation

◆ ScriptModuleInit

Enumeration Type Documentation

◆ HostFxrStatusCode

Enumerator
Success 
Success_HostAlreadyInitialized 
Success_DifferentRuntimeProperties 

Function Documentation

◆ __ImplementClass() [1/4]

Scripting::__ImplementClass ( Scripting::NSharpServer ,
'N#Sv' ,
Core::RefCounted  )

◆ __ImplementClass() [2/4]

Scripting::__ImplementClass ( Scripting::PythonServer ,
'PYSS' ,
Scripting::ScriptServer  )

◆ __ImplementClass() [3/4]

Scripting::__ImplementClass ( Scripting::ScriptFeatureUnit ,
'AUFU' ,
Game::FeatureUnit  )

◆ __ImplementClass() [4/4]

Scripting::__ImplementClass ( Scripting::ScriptServer ,
'SCRS' ,
Core::RefCounted  )

◆ __ImplementSingleton() [1/4]

Scripting::__ImplementSingleton ( ScriptFeatureUnit )

◆ __ImplementSingleton() [2/4]

Scripting::__ImplementSingleton ( Scripting::NSharpServer )

◆ __ImplementSingleton() [3/4]

Scripting::__ImplementSingleton ( Scripting::PythonServer )

◆ __ImplementSingleton() [4/4]

Scripting::__ImplementSingleton ( Scripting::ScriptServer )

◆ LoadAssemblyAndGetExport() [1/2]

void * Scripting::LoadAssemblyAndGetExport ( Util::CommandLineArgs const & args)

◆ LoadAssemblyAndGetExport() [2/2]

void * Scripting::LoadAssemblyAndGetExport ( Util::String const & configPath)

◆ N_Assert()

NEBULA_EXPORT void Scripting::N_Assert ( bool value)

◆ N_Error()

NEBULA_EXPORT void Scripting::N_Error ( const char * string,
int32_t is_stdout )

◆ N_Log()

NEBULA_EXPORT void Scripting::N_Log ( const char * log_domain,
const char * log_level,
const char * message,
int32_t fatal,
void * user_data )

◆ N_Print()

NEBULA_EXPORT void Scripting::N_Print ( const char * string,
int32_t is_stdout )

◆ RegisterDearguiModule()

void Scripting::RegisterDearguiModule ( )

◆ ScriptingAlloc()

static void * Scripting::ScriptingAlloc ( size_t bytes)
static

◆ ScriptingCalloc()

static void * Scripting::ScriptingCalloc ( size_t count,
size_t size )
static

◆ ScriptingDealloc()

static void Scripting::ScriptingDealloc ( void * ptr)
static

◆ ScriptingRealloc()

static void * Scripting::ScriptingRealloc ( void * ptr,
size_t bytes )
static

◆ ToWideString()

std::wstring Scripting::ToWideString ( Util::String const & str)

Variable Documentation

◆ api

DotNET_API Scripting::api
static