JenovaSDK API Reference
Developed by Hamid.Memar (MemarDesign™ LLC.)
 
Loading...
Searching...
No Matches
Hot-Reloading Utilities (Sakura)

Functions

bool SupportsReload ()
 Checks if Sakura Hot-Reloading is supported in the engine instance.
 
void PrepareReload (const godot::String &className)
 Prepares the nested extensions for hot-reloading by class name by storing Node instances.
 
void FinishReload (const godot::String &className)
 Completes the hot-reloading process for the specified nested extension class by restoring Node instances.
 
void Dispose (const godot::String &className)
 Disposes/Unregisters a nested extension class.
 

Detailed Description

This collection provides a set of essential utilities for managing Sakura hot-reloading within the engine, offering utilities for efficient hot-reloading, including support checks, preparation, and disposal.
đź“– Learn More about Hot-Reloading

Function Documentation

◆ SupportsReload()

bool SupportsReload ( )

Checks if Sakura Hot-Reloading is supported in the engine instance.

Returns
true if hot-reloading is supported, false otherwise.

◆ PrepareReload()

void PrepareReload ( const godot::String & className)

Prepares the nested extensions for hot-reloading by class name by storing Node instances.

Parameters
classNameThe name of the extension class to prepare for hot-reloading.

◆ FinishReload()

void FinishReload ( const godot::String & className)

Completes the hot-reloading process for the specified nested extension class by restoring Node instances.

Parameters
classNameThe name of the class whose hot-reloading is to be completed.

◆ Dispose()

void Dispose ( const godot::String & className)

Disposes/Unregisters a nested extension class.

Parameters
classNameThe name of the class to dispose.