Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.RunConfig Class Referencesealed

Classes

class  Dependency
 

Public Member Functions

 RunConfig (bool autoGenerated)
 
 RunConfig ()
 
RunConfig Sanitize ()
 
bool IsForced ()
 
bool IsStandard ()
 
bool IsForcedOrStandard ()
 

Public Attributes

string Server
 How should scripts be run on the server.
 
string Client
 How should scripts be run on the client.
 

Properties

Dependency[] Dependencies [get, set]
 List of dependencies by either Steam Workshop ID or by Partial Inclusive Name (ie. "ModDep" will match a mod named "A ModDependency"). PIN Dependency checks if ContentPackage names contains the dependency string.
 
bool UseNonPublicizedAssemblies [get, set]
 Compiles the mod using non-publicized assemblies.
 
bool UseInternalAssemblyName [get, set]
 If the mod includes source files, the compiled assembly will be named "CompiledAssembly" and have the [InternalVisibleTo()] attribute applied to it.
 
bool AutoGenerated [get, set]
 

Constructor & Destructor Documentation

◆ RunConfig() [1/2]

Barotrauma.RunConfig.RunConfig ( bool autoGenerated)

◆ RunConfig() [2/2]

Barotrauma.RunConfig.RunConfig ( )

Member Function Documentation

◆ IsForced()

bool Barotrauma.RunConfig.IsForced ( )

◆ IsForcedOrStandard()

bool Barotrauma.RunConfig.IsForcedOrStandard ( )

◆ IsStandard()

bool Barotrauma.RunConfig.IsStandard ( )

◆ Sanitize()

RunConfig Barotrauma.RunConfig.Sanitize ( )

Member Data Documentation

◆ Client

string Barotrauma.RunConfig.Client

How should scripts be run on the client.

◆ Server

string Barotrauma.RunConfig.Server

How should scripts be run on the server.

Property Documentation

◆ AutoGenerated

bool Barotrauma.RunConfig.AutoGenerated
getset

◆ Dependencies

Dependency [] Barotrauma.RunConfig.Dependencies
getset

List of dependencies by either Steam Workshop ID or by Partial Inclusive Name (ie. "ModDep" will match a mod named "A ModDependency"). PIN Dependency checks if ContentPackage names contains the dependency string.

◆ UseInternalAssemblyName

bool Barotrauma.RunConfig.UseInternalAssemblyName
getset

If the mod includes source files, the compiled assembly will be named "CompiledAssembly" and have the [InternalVisibleTo()] attribute applied to it.

◆ UseNonPublicizedAssemblies

bool Barotrauma.RunConfig.UseNonPublicizedAssemblies
getset

Compiles the mod using non-publicized assemblies.


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