tgstation-server
The /tg/station 13 server suite
ConfigurationFile.cs
Go to the documentation of this file.
2 {
6  public sealed class ConfigurationFile
7  {
11  public string Path { get; set; }
12 
16  public bool? AccessDenied { get; set; }
17 
21  public bool? IsDirectory { get; set; }
22 
26  public string LastReadHash { get; set; }
27 
31 #pragma warning disable CA1819 // Properties should not return arrays
32  public byte[] Content { get; set; }
33 #pragma warning restore CA1819 // Properties should not return arrays
34  }
35 }
string LastReadHash
The MD5 hash of the file when last read by the user. If this doesn't match during update actions,...
bool? IsDirectory
If Path represents a directory
string Path
The path to the ConfigurationFile file
Represents a game configuration file. Create and delete actions uncerimonuously overwrite/delete file...
byte [] Content
The content of the ConfigurationFile. Will be null if AccessDenied is true or during listing and writ...
bool? AccessDenied
If access to the ConfigurationFile file was denied for the operation