Class BaseOpenModRustHost
Inheritance
System.Object
BaseOpenModRustHost
Assembly: OpenMod.Rust.dll
Syntax
public abstract class BaseOpenModRustHost : IOpenModHost, IDisposable
Constructors
|
Improve this Doc
View Source
BaseOpenModRustHost(ILifetimeScope, IRuntime, IDataStoreFactory)
Declaration
protected BaseOpenModRustHost(ILifetimeScope lifetimeScope, IRuntime runtime, IDataStoreFactory dataStoreFactory)
Parameters
Type |
Name |
Description |
ILifetimeScope |
lifetimeScope |
|
IRuntime |
runtime |
|
IDataStoreFactory |
dataStoreFactory |
|
Properties
|
Improve this Doc
View Source
DataStore
Declaration
public IDataStore DataStore { get; }
Property Value
Type |
Description |
IDataStore |
|
|
Improve this Doc
View Source
IsComponentAlive
Declaration
public bool IsComponentAlive { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LifetimeScope
Declaration
public ILifetimeScope LifetimeScope { get; }
Property Value
Type |
Description |
ILifetimeScope |
|
|
Improve this Doc
View Source
OpenModComponentId
Declaration
public string OpenModComponentId { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
WorkingDirectory
Declaration
public string WorkingDirectory { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
HasCapability(String)
Declaration
public bool HasCapability(string capability)
Parameters
Type |
Name |
Description |
System.String |
capability |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
InitAsync()
Declaration
Returns
|
Improve this Doc
View Source
OnDispose()
Declaration
protected abstract void OnDispose()
|
Improve this Doc
View Source
OnInitAsync()
Declaration
protected abstract Task OnInitAsync()
Returns
|
Improve this Doc
View Source
Declaration
public Task PerformHardReloadAsync()
Returns
|
Improve this Doc
View Source
ShutdownAsync()
Declaration
public Task ShutdownAsync()
Returns
Implements
IDisposable
Extension Methods