C# Class Common.Textures.TpkManager

Show file Open project: LeoCodes21/NFS-ModTools

Public Methods

Method Description
ReadTexturePack ( BinaryReader br, uint containerSize ) : TexturePack

Read a texture pack from the given binary stream.

WriteTexturePack ( ChunkStream cs, TexturePack texturePack ) : void

Write a texture pack to a chunk stream.

Protected Methods

Method Description
ReadChunks ( BinaryReader br, uint containerSize ) : void

Method Details

ReadChunks() protected abstract method

protected abstract ReadChunks ( BinaryReader br, uint containerSize ) : void
br BinaryReader
containerSize uint
return void

ReadTexturePack() public abstract method

Read a texture pack from the given binary stream.
public abstract ReadTexturePack ( BinaryReader br, uint containerSize ) : TexturePack
br BinaryReader
containerSize uint
return TexturePack

WriteTexturePack() public abstract method

Write a texture pack to a chunk stream.
public abstract WriteTexturePack ( ChunkStream cs, TexturePack texturePack ) : void
cs ChunkStream
texturePack TexturePack
return void