C# Class Warcraft.MPQ.Tables.Hash.HashTableEntry

Mostrar archivo Open project: Nihlus/libwarcraft Class Usage Examples

Public Methods

Method Description
DoesFileExist ( ) : bool

Determines whether this file exists in the archive. If this returns false for a valid hash table entry, it is most likely a deletion marker.

GetBlockEntryIndex ( ) : uint

Gets the index of the block entry referenced by this entry.

GetLocalizationID ( ) : LocaleID

Gets the localization ID.

GetPlatformID ( ) : ushort

Gets the platform ID.

GetPrimaryHash ( ) : uint

Gets the primary hash of the file's name.

GetSecondaryHash ( ) : uint

Gets the secondary hash of the file's name.

GetSize ( ) : long

Gets the size of an entry.

HasFileEverExisted ( ) : bool

Determines whether this has file ever existed.

HashTableEntry ( byte data ) : System.IO
Serialize ( ) : byte[]

Method Details

DoesFileExist() public method

Determines whether this file exists in the archive. If this returns false for a valid hash table entry, it is most likely a deletion marker.
public DoesFileExist ( ) : bool
return bool

GetBlockEntryIndex() public method

Gets the index of the block entry referenced by this entry.
public GetBlockEntryIndex ( ) : uint
return uint

GetLocalizationID() public method

Gets the localization ID.
public GetLocalizationID ( ) : LocaleID
return LocaleID

GetPlatformID() public method

Gets the platform ID.
public GetPlatformID ( ) : ushort
return ushort

GetPrimaryHash() public method

Gets the primary hash of the file's name.
public GetPrimaryHash ( ) : uint
return uint

GetSecondaryHash() public method

Gets the secondary hash of the file's name.
public GetSecondaryHash ( ) : uint
return uint

GetSize() public static method

Gets the size of an entry.
public static GetSize ( ) : long
return long

HasFileEverExisted() public method

Determines whether this has file ever existed.
public HasFileEverExisted ( ) : bool
return bool

HashTableEntry() public method

public HashTableEntry ( byte data ) : System.IO
data byte
return System.IO

Serialize() public method

public Serialize ( ) : byte[]
return byte[]