Added changes to hide internal types and constructors that should not be available to SHADE_Scripting

This commit is contained in:
Kah Wei 2022-11-13 12:44:23 +08:00
parent 3b22f95e29
commit fd7a47b4c0
3 changed files with 3 additions and 4 deletions

View File

@ -110,7 +110,7 @@ namespace SHADE
/// <param name="c">Component to check.</param>
static operator bool(BaseComponent^ c);
protected:
internal:
/*-----------------------------------------------------------------------------*/
/* Constructors */
/*-----------------------------------------------------------------------------*/
@ -193,7 +193,6 @@ namespace SHADE
/// </exception>
NativeComponent* GetNativeComponent();
protected:
/*-----------------------------------------------------------------------------*/
/* Constructors */
/*-----------------------------------------------------------------------------*/

View File

@ -21,7 +21,7 @@ namespace SHADE
/// <summary>
/// Managed version of the generic Handle<void>.
/// </summary>
public value struct GenericHandle
private value struct GenericHandle
{
public:
/*-----------------------------------------------------------------------------*/

View File

@ -25,7 +25,7 @@ namespace SHADE
/// Responsible for managing all scripts attached to Entities as well as executing
/// all lifecycle functions of scripts.
/// </summary>
public ref class ScriptStore abstract sealed
private ref class ScriptStore abstract sealed
{
public:
/*-----------------------------------------------------------------------------*/