C# Class Nanook.QueenBee.Parser.PakHeaderItem

Datei anzeigen Open project: Nanook/Queen-Bee Class Usage Examples

Public Methods

Method Description
FileTypeToPakItemType ( QbKey fileType ) : PakItemType

Converts the qbkey to the enum

LookupFileType ( QbKey fileType ) : QbKey

Attempts to take a qbkey key without any text and lookup a named file type

PakItemTypeToFileType ( PakItemType itemType ) : QbKey

Converts the enum to the qbkey

SetFilename ( string newFullQbFilename, QbKey itemType, string extension, PakHeaderItem baseOn ) : void

Rename the filename and set the data types

Private Methods

Method Description
PakHeaderItem ( ) : System

Method Details

FileTypeToPakItemType() public static method

Converts the qbkey to the enum
public static FileTypeToPakItemType ( QbKey fileType ) : PakItemType
fileType QbKey
return PakItemType

LookupFileType() public static method

Attempts to take a qbkey key without any text and lookup a named file type
public static LookupFileType ( QbKey fileType ) : QbKey
fileType QbKey
return QbKey

PakItemTypeToFileType() public static method

Converts the enum to the qbkey
public static PakItemTypeToFileType ( PakItemType itemType ) : QbKey
itemType PakItemType
return QbKey

SetFilename() public method

Rename the filename and set the data types
public SetFilename ( string newFullQbFilename, QbKey itemType, string extension, PakHeaderItem baseOn ) : void
newFullQbFilename string Full QB filename
itemType QbKey
extension string .ngc for Wii for example
baseOn PakHeaderItem base the qbKeys that are present on the passed item
return void