C# Class Universe.Modules.Archivers.AssetsArchiver

Archives assets
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Свойство Type Description
LOG_ASSET_LOAD_NOTIFICATION_INTERVAL int
m_archiveWriter Universe.Framework.Serialization.TarArchiveWriter
m_assetsWritten int

Méthodes publiques

Méthode Description
AssetsArchiver ( TarArchiveWriter archiveWriter ) : Universe.Framework.ConsoleFramework
ForceClose ( ) : void

Only call this if you need to force a close on the underlying writer.

WriteAsset ( AssetBase asset ) : void

Archive the assets given to this archiver to the given archive.

Méthodes protégées

Méthode Description
WriteData ( AssetBase asset ) : void

Write asset data files to the given archive

Method Details

AssetsArchiver() public méthode

public AssetsArchiver ( TarArchiveWriter archiveWriter ) : Universe.Framework.ConsoleFramework
archiveWriter Universe.Framework.Serialization.TarArchiveWriter
Résultat Universe.Framework.ConsoleFramework

ForceClose() public méthode

Only call this if you need to force a close on the underlying writer.
public ForceClose ( ) : void
Résultat void

WriteAsset() public méthode

Archive the assets given to this archiver to the given archive.
public WriteAsset ( AssetBase asset ) : void
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
Résultat void

WriteData() protected méthode

Write asset data files to the given archive
protected WriteData ( AssetBase asset ) : void
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
Résultat void

Property Details

LOG_ASSET_LOAD_NOTIFICATION_INTERVAL protected_oe static_oe property

protected static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL
Résultat int

m_archiveWriter protected_oe property

protected TarArchiveWriter,Universe.Framework.Serialization m_archiveWriter
Résultat Universe.Framework.Serialization.TarArchiveWriter

m_assetsWritten protected_oe property

protected int m_assetsWritten
Résultat int