Class IEnableableComponent

Inheritance Relationships

Derived Types

Class Documentation

class IEnableableComponent

Controls whether a component is enabled or disabled.

Subclassed by csp::multiplayer::AudioSpaceComponent, csp::multiplayer::ButtonSpaceComponent, csp::multiplayer::CinematicCameraSpaceComponent, csp::multiplayer::ExternalLinkSpaceComponent, csp::multiplayer::PortalSpaceComponent, csp::multiplayer::VideoPlayerSpaceComponent

Public Functions

virtual bool GetIsEnabled() const = 0

Checks if the component is enabled.

Returns

True if the component is enabled, false otherwise.

virtual void SetIsEnabled(bool InValue) = 0

Sets if the component is enabled.

Parameters

InValue – True to set the component to enabled, false otherwise.

Protected Functions

virtual ~IEnableableComponent() = default