Class RumorFile
Connects to a Daggerfall RUMOR.DAT file and extracts rumor records.
Namespace: DaggerfallConnect.Arena2
Assembly: Assembly-CSharp.dll
Syntax
public class RumorFile
Constructors
| Improve this Doc View SourceRumorFile()
Default constructor.
Declaration
public RumorFile()
RumorFile(String, FileUsage, Boolean)
Load constructor.
Declaration
public RumorFile(string filePath, FileUsage usage, bool readOnly)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | Absolute path to rumor file. |
FileUsage | usage | Specify if file will be accessed from disk, or loaded into RAM. |
Boolean | readOnly | File will be read-only if true, read-write if false. |
Fields
| Improve this Doc View Sourcerumors
List of rumors read from file.
Declaration
public List<RumorFile.DaggerfallRumor> rumors
Field Value
Type | Description |
---|---|
List<RumorFile.DaggerfallRumor> |
Methods
| Improve this Doc View SourceLoad(String, FileUsage, Boolean)
Load rumor file.
Declaration
public bool Load(string filePath, FileUsage usage, bool readOnly)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | Absolute path to rumor file. |
FileUsage | usage | Specify if file will be accessed from disk, or loaded into RAM. |
Boolean | readOnly | File will be read-only if true, read-write if false. |
Returns
Type | Description |
---|---|
Boolean | True if successful, otherwise false. |