Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.ZipArchive
类 Game.ZipArchive 继承关系图:
Game.ZipArchive 的协作图:

Public 类型

enum  Compression : ushort { Store = 0 , Deflate = 8 }

Public 成员函数

void AddStream (string filenameInZip, Stream source)
void Close ()
List< ZipArchiveEntryReadCentralDir ()
void ExtractFile (ZipArchiveEntry zfe, Stream stream)
uint GetFileOffset (uint _headerOffset)
void WriteLocalHeader (ZipArchiveEntry _zfe)
void WriteCentralDirRecord (ZipArchiveEntry _zfe)
void WriteEndRecord (uint _size, uint _offset)
void Store (ZipArchiveEntry _zfe, Stream _source)
uint DateTimeToDosTime (DateTime _dt)
DateTime DosTimeToDateTime (uint _dt)
virtual void UpdateCrcAndSizes (ZipArchiveEntry _zfe)
string NormalizedFilename (string _filename)
bool ReadFileInfo ()
void Dispose ()

静态 Public 成员函数

static ZipArchive Create (Stream stream, bool keepStreamOpen=false)
static ZipArchive Open (Stream stream, bool keepStreamOpen=false)
static bool IsUTF8Bytes (byte[] data, int start, int count)

Public 属性

bool ForceDeflating
bool KeepStreamOpen
List< ZipArchiveEntryFiles = []
Stream ZipFileStream
string Comment = ""
byte[] CentralDirImage
ushort ExistingFiles
bool ReadOnly

静态 Public 属性

static uint[] CrcTable

静态 Private 成员函数

static ZipArchive ()

详细描述

在文件 ZipArchive.cs5 行定义.

成员枚举类型说明

◆ Compression

enum Game.ZipArchive.Compression : ushort
枚举值
Store 
Deflate 

在文件 ZipArchive.cs6 行定义.

构造及析构函数说明

◆ ZipArchive()

Game.ZipArchive.ZipArchive ( )
staticprivate

在文件 ZipArchive.cs29 行定义.

这是这个函数的调用关系图:

成员函数说明

◆ AddStream()

void Game.ZipArchive.AddStream ( string filenameInZip,
Stream source )

在文件 ZipArchive.cs49 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Close()

void Game.ZipArchive.Close ( )

在文件 ZipArchive.cs68 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Create()

ZipArchive Game.ZipArchive.Create ( Stream stream,
bool keepStreamOpen = false )
static

在文件 ZipArchive.cs40 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ DateTimeToDosTime()

uint Game.ZipArchive.DateTimeToDosTime ( DateTime _dt)

在文件 ZipArchive.cs321 行定义.

这是这个函数的调用关系图:

◆ Dispose()

void Game.ZipArchive.Dispose ( )

在文件 ZipArchive.cs391 行定义.

函数调用图:

◆ DosTimeToDateTime()

DateTime Game.ZipArchive.DosTimeToDateTime ( uint _dt)

在文件 ZipArchive.cs328 行定义.

这是这个函数的调用关系图:

◆ ExtractFile()

void Game.ZipArchive.ExtractFile ( ZipArchiveEntry zfe,
Stream stream )

在文件 ZipArchive.cs165 行定义.

这是这个函数的调用关系图:

◆ GetFileOffset()

uint Game.ZipArchive.GetFileOffset ( uint _headerOffset)

在文件 ZipArchive.cs199 行定义.

这是这个函数的调用关系图:

◆ IsUTF8Bytes()

bool Game.ZipArchive.IsUTF8Bytes ( byte[] data,
int start,
int count )
static

在文件 ZipArchive.cs95 行定义.

这是这个函数的调用关系图:

◆ NormalizedFilename()

string Game.ZipArchive.NormalizedFilename ( string _filename)

在文件 ZipArchive.cs348 行定义.

这是这个函数的调用关系图:

◆ Open()

ZipArchive Game.ZipArchive.Open ( Stream stream,
bool keepStreamOpen = false )
static

在文件 ZipArchive.cs44 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ ReadCentralDir()

List< ZipArchiveEntry > Game.ZipArchive.ReadCentralDir ( )

在文件 ZipArchive.cs125 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ ReadFileInfo()

bool Game.ZipArchive.ReadFileInfo ( )

在文件 ZipArchive.cs357 行定义.

这是这个函数的调用关系图:

◆ Store()

void Game.ZipArchive.Store ( ZipArchiveEntry _zfe,
Stream _source )

在文件 ZipArchive.cs283 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ UpdateCrcAndSizes()

virtual void Game.ZipArchive.UpdateCrcAndSizes ( ZipArchiveEntry _zfe)
virtual

在文件 ZipArchive.cs337 行定义.

这是这个函数的调用关系图:

◆ WriteCentralDirRecord()

void Game.ZipArchive.WriteCentralDirRecord ( ZipArchiveEntry _zfe)

在文件 ZipArchive.cs223 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ WriteEndRecord()

void Game.ZipArchive.WriteEndRecord ( uint _size,
uint _offset )

在文件 ZipArchive.cs259 行定义.

这是这个函数的调用关系图:

◆ WriteLocalHeader()

void Game.ZipArchive.WriteLocalHeader ( ZipArchiveEntry _zfe)

在文件 ZipArchive.cs209 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ CentralDirImage

byte [] Game.ZipArchive.CentralDirImage

在文件 ZipArchive.cs21 行定义.

◆ Comment

string Game.ZipArchive.Comment = ""

在文件 ZipArchive.cs19 行定义.

◆ CrcTable

uint [] Game.ZipArchive.CrcTable
static

在文件 ZipArchive.cs27 行定义.

◆ ExistingFiles

ushort Game.ZipArchive.ExistingFiles

在文件 ZipArchive.cs23 行定义.

◆ Files

List<ZipArchiveEntry> Game.ZipArchive.Files = []

在文件 ZipArchive.cs15 行定义.

◆ ForceDeflating

bool Game.ZipArchive.ForceDeflating

在文件 ZipArchive.cs11 行定义.

◆ KeepStreamOpen

bool Game.ZipArchive.KeepStreamOpen

在文件 ZipArchive.cs13 行定义.

◆ ReadOnly

bool Game.ZipArchive.ReadOnly

在文件 ZipArchive.cs25 行定义.

◆ ZipFileStream

Stream Game.ZipArchive.ZipFileStream

在文件 ZipArchive.cs17 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/ZipArchive.cs