C# Class NetMud.DataAccess.FileSystem.LiveData

Inheritance: FileAccessor
Afficher le fichier Open project: SwiftAusterity/NetMud Class Usage Examples

Méthodes publiques

Méthode Description
ArchiveFull ( ) : void

Archives EVERYTHING

ReadEntity ( FileInfo file, Type entityType ) : IEntity
WriteEntity ( IEntity entity ) : void
WriteSpecificEntity ( DirectoryInfo dir, IEntity entity ) : void

Writes one entity to Current backup (not players)

Private Methods

Méthode Description
GetEntityFilename ( IEntity entity ) : string

Gets the statically formatted filename for an entity

Method Details

ArchiveFull() public méthode

Archives EVERYTHING
public ArchiveFull ( ) : void
Résultat void

ReadEntity() public méthode

public ReadEntity ( FileInfo file, Type entityType ) : IEntity
file System.IO.FileInfo
entityType System.Type
Résultat IEntity

WriteEntity() public méthode

public WriteEntity ( IEntity entity ) : void
entity IEntity
Résultat void

WriteSpecificEntity() public méthode

Writes one entity to Current backup (not players)
public WriteSpecificEntity ( DirectoryInfo dir, IEntity entity ) : void
dir System.IO.DirectoryInfo Root directory to write to
entity IEntity The entity to write out
Résultat void