Barotrauma Client Doc
RunConfig Class Reference

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. More...
 
string Client
 How should scripts be run on the client. More...
 

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. More...
 
bool UseNonPublicizedAssemblies [get, set]
 Compiles the mod using non-publicized assemblies. More...
 
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. More...
 
bool AutoGenerated [get, set]
 

Detailed Description

Definition at line 8 of file RunConfig.cs.

Constructor & Destructor Documentation

◆ RunConfig() [1/2]

RunConfig.RunConfig ( bool  autoGenerated)

Definition at line 48 of file RunConfig.cs.

◆ RunConfig() [2/2]

RunConfig.RunConfig ( )

Definition at line 58 of file RunConfig.cs.

Member Function Documentation

◆ IsForced()

bool RunConfig.IsForced ( )

Definition at line 110 of file RunConfig.cs.

◆ IsForcedOrStandard()

bool RunConfig.IsForcedOrStandard ( )

◆ IsStandard()

bool RunConfig.IsStandard ( )

Definition at line 119 of file RunConfig.cs.

◆ Sanitize()

RunConfig RunConfig.Sanitize ( )

Definition at line 76 of file RunConfig.cs.

Member Data Documentation

◆ Client

string RunConfig.Client

How should scripts be run on the client.

Definition at line 22 of file RunConfig.cs.

◆ Server

string RunConfig.Server

How should scripts be run on the server.

Definition at line 15 of file RunConfig.cs.

Property Documentation

◆ AutoGenerated

bool RunConfig.AutoGenerated
getset

Definition at line 46 of file RunConfig.cs.

◆ Dependencies

Dependency [] 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.

Definition at line 30 of file RunConfig.cs.

◆ UseInternalAssemblyName

bool RunConfig.UseInternalAssemblyName
getset

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

Definition at line 43 of file RunConfig.cs.

◆ UseNonPublicizedAssemblies

bool RunConfig.UseNonPublicizedAssemblies
getset

Compiles the mod using non-publicized assemblies.

Definition at line 36 of file RunConfig.cs.