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

View File

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

View File

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