Table of Contents

Class ModifiedFileEntry

Namespace
FishMMO.Patcher
Assembly
Updater.dll
public class ModifiedFileEntry
Inheritance
ModifiedFileEntry
Inherited Members

Properties

FinalFileSize

[JsonPropertyName("final_file_size")]
public long FinalFileSize { get; set; }

Property Value

long

NewHash

[JsonPropertyName("new_hash")]
public string NewHash { get; set; }

Property Value

string

OldHash

[JsonPropertyName("old_hash")]
public string OldHash { get; set; }

Property Value

string

PatchDataEntryName

[JsonPropertyName("patch_data_entry_name")]
public string PatchDataEntryName { get; set; }

Property Value

string

RelativePath

[JsonPropertyName("path")]
public string RelativePath { get; set; }

Property Value

string

TempPatchFilePath

[JsonIgnore]
public string TempPatchFilePath { get; set; }

Property Value

string

UnixMode

POSIX permission bits the patched file should carry, or null to keep whatever the file being replaced already had.

[JsonPropertyName("unix_mode")]
public int? UnixMode { get; set; }

Property Value

int?

Remarks

Keeping the existing bits is the right default and the one the updater uses when this is absent: the patched result is written to a fresh temp file at 0644 and then moved over the target, so without carrying the mode across, every patch that touches the Linux client executable leaves the game unable to start.