Interface IOpenModComponent
Defines an OpenMod component. Components are either plugins or OpenMod assemblies.
Namespace: OpenMod.API
Assembly: OpenMod.API.dll
Syntax
public interface IOpenModComponent
  Properties
| Improve this Doc View SourceDataStore
Gets the optional data store of the component.
Declaration
IDataStore DataStore { get; }
  Property Value
| Type | Description | 
|---|---|
| IDataStore | 
IsComponentAlive
Checks if the component is alive. The component must not be able to execute any actions if this returns false.
Declaration
bool IsComponentAlive { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
LifetimeScope
Gets the components lifetime scope.
Declaration
ILifetimeScope LifetimeScope { get; }
  Property Value
| Type | Description | 
|---|---|
| ILifetimeScope | 
OpenModComponentId
Gets the component ID.
Declaration
string OpenModComponentId { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
WorkingDirectory
Gets the working directory.
Declaration
string WorkingDirectory { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String |