Table of Contents

Class Mod.File

Namespace
PolyMod
Assembly
PolyMod.dll

A file in a mod, other than manifest.json.

public record Mod.File : IEquatable<Mod.File>
Inheritance
Mod.File
Implements
Inherited Members

Constructors

File(string, byte[])

A file in a mod, other than manifest.json.

public File(string name, byte[] bytes)

Parameters

name string

The path of the file, relative to the root of the mod directory or archive.

bytes byte[]

The contents of the file.

Properties

bytes

The contents of the file.

public byte[] bytes { get; init; }

Property Value

byte[]

name

The path of the file, relative to the root of the mod directory or archive.

public string name { get; init; }

Property Value

string