C# Class Universe.Modules.Archivers.AssetsArchiver

Archives assets
Mostrar archivo Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property Type Description
LOG_ASSET_LOAD_NOTIFICATION_INTERVAL int
m_archiveWriter Universe.Framework.Serialization.TarArchiveWriter
m_assetsWritten int

Public Methods

Method 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.

Protected Methods

Method Description
WriteData ( AssetBase asset ) : void

Write asset data files to the given archive

Method Details

AssetsArchiver() public method

public AssetsArchiver ( TarArchiveWriter archiveWriter ) : Universe.Framework.ConsoleFramework
archiveWriter Universe.Framework.Serialization.TarArchiveWriter
return Universe.Framework.ConsoleFramework

ForceClose() public method

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

WriteAsset() public method

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

WriteData() protected method

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

Property Details

LOG_ASSET_LOAD_NOTIFICATION_INTERVAL protected_oe static_oe property

protected static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL
return int

m_archiveWriter protected_oe property

protected TarArchiveWriter,Universe.Framework.Serialization m_archiveWriter
return Universe.Framework.Serialization.TarArchiveWriter

m_assetsWritten protected_oe property

protected int m_assetsWritten
return int