Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::script_component::script_object Struct Reference

#include <script_component.h>

Public Member Functions

 script_object ()=default
 
 script_object (const mono::mono_object &obj)
 
auto is_marked_for_destroy () const -> bool
 
auto is_create_called () const -> bool
 
auto is_start_called () const -> bool
 
auto is_enabled () const -> bool
 
auto is_disabled () const -> bool
 

Public Attributes

scoped_object_ptr scoped
 
std::shared_ptr< script_object_statestate
 

Detailed Description

Definition at line 34 of file script_component.h.

Constructor & Destructor Documentation

◆ script_object() [1/2]

unravel::script_component::script_object::script_object ( )
default

◆ script_object() [2/2]

unravel::script_component::script_object::script_object ( const mono::mono_object & obj)
inline

Definition at line 37 of file script_component.h.

Member Function Documentation

◆ is_create_called()

auto unravel::script_component::script_object::is_create_called ( ) const -> bool
inline

Definition at line 52 of file script_component.h.

◆ is_disabled()

auto unravel::script_component::script_object::is_disabled ( ) const -> bool
inline

Definition at line 84 of file script_component.h.

◆ is_enabled()

auto unravel::script_component::script_object::is_enabled ( ) const -> bool
inline

Definition at line 70 of file script_component.h.

◆ is_marked_for_destroy()

auto unravel::script_component::script_object::is_marked_for_destroy ( ) const -> bool
inline

Definition at line 43 of file script_component.h.

◆ is_start_called()

auto unravel::script_component::script_object::is_start_called ( ) const -> bool
inline

Definition at line 61 of file script_component.h.

Member Data Documentation

◆ scoped

scoped_object_ptr unravel::script_component::script_object::scoped

Definition at line 98 of file script_component.h.

◆ state

std::shared_ptr<script_object_state> unravel::script_component::script_object::state

Definition at line 99 of file script_component.h.


The documentation for this struct was generated from the following file: