Barotrauma Client Doc
|
Classes | |
class | File |
Public Member Functions | |
ModProject () | |
ModProject (ContentPackage? contentPackage) | |
bool | HasFile (File file) |
void | AddFile (File file) |
void | RemoveFile (File file) |
void | DiscardHashAndInstallTime () |
XDocument | ToXDocument () |
void | Save (string path) |
Static Public Member Functions | |
static string | IncrementModVersion (string modVersion) |
Public Attributes | |
readonly List< string > | AltNames = new List<string>() |
string | ModVersion = ContentPackage.DefaultModVersion |
bool | IsCore = false |
Option< ContentPackageId > | UgcId = Option<ContentPackageId>.None() |
Option< SerializableDateTime > | InstallTime = Option<SerializableDateTime>.None() |
Properties | |
string | Name [get, set] |
IReadOnlyList< File > | Files [get] |
Md5Hash? | ExpectedHash [get, set] |
Definition at line 11 of file ModProject.cs.
Barotrauma.ModProject.ModProject | ( | ) |
Definition at line 56 of file ModProject.cs.
Barotrauma.ModProject.ModProject | ( | ContentPackage? | contentPackage | ) |
Definition at line 58 of file ModProject.cs.
void Barotrauma.ModProject.AddFile | ( | File | file | ) |
Definition at line 102 of file ModProject.cs.
void Barotrauma.ModProject.DiscardHashAndInstallTime | ( | ) |
Definition at line 120 of file ModProject.cs.
bool Barotrauma.ModProject.HasFile | ( | File | file | ) |
|
static |
Definition at line 126 of file ModProject.cs.
void Barotrauma.ModProject.RemoveFile | ( | File | file | ) |
Definition at line 111 of file ModProject.cs.
void Barotrauma.ModProject.Save | ( | string | path | ) |
Definition at line 172 of file ModProject.cs.
XDocument Barotrauma.ModProject.ToXDocument | ( | ) |
Definition at line 149 of file ModProject.cs.
readonly List<string> Barotrauma.ModProject.AltNames = new List<string>() |
Definition at line 82 of file ModProject.cs.
Option<SerializableDateTime> Barotrauma.ModProject.InstallTime = Option<SerializableDateTime>.None() |
Definition at line 95 of file ModProject.cs.
bool Barotrauma.ModProject.IsCore = false |
Definition at line 91 of file ModProject.cs.
string Barotrauma.ModProject.ModVersion = ContentPackage.DefaultModVersion |
Definition at line 87 of file ModProject.cs.
Option<ContentPackageId> Barotrauma.ModProject.UgcId = Option<ContentPackageId>.None() |
Definition at line 93 of file ModProject.cs.
|
getset |
Definition at line 89 of file ModProject.cs.
|
get |
Definition at line 85 of file ModProject.cs.
|
getset |
Definition at line 72 of file ModProject.cs.