tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IConfigurationFile.cs
Go to the documentation of this file.
1using System.ComponentModel.DataAnnotations;
2
4{
8 public interface IConfigurationFile
9 {
13 [StringLength(Limits.MaximumStringLength)]
14 public string? Path { get; set; }
15
19 [ResponseOptions]
20 public string? LastReadHash { get; set; }
21 }
22}
Sanity limits to prevent users from overloading.
Definition Limits.cs:9
const int MaximumStringLength
Length limit for strings in fields.
Definition Limits.cs:13
Represents a game configuration file. Create and delete actions uncerimonuously overwrite/delete file...
string? LastReadHash
The MD5 hash of the file when last read by the user. If this doesn't match during update actions,...
string? Path
The path to the IConfigurationFile file.