Definition at line 13 of file ModProject.cs.
◆ FromContentFile()
◆ FromPath()
static File Barotrauma.ModProject.File.FromPath |
( |
string |
path, |
|
|
Type |
type |
|
) |
| |
|
static |
Prefer FromPath<T> when possible, this just exists for cases where the type can only be decided at runtime
◆ FromPath< T >()
- Type Constraints
-
T | : | ContentFile | |
T | : | new | |
T | : | File | |
T | : | path | |
T | : | typeof | |
T | : | T | |
◆ ToXElement()
XElement Barotrauma.ModProject.File.ToXElement |
( |
| ) |
|
◆ Path
readonly string Barotrauma.ModProject.File.Path |
◆ Type
readonly Type Barotrauma.ModProject.File.Type |