C# Class HaloMap.Meta.Meta

Summary description for Meta.
Show file Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
MS System.IO.MemoryStream
TagIndex int
headersize int
ident int
itemcount int
items List
magic int
name string
offset int
padding char
parsed bool
raw HaloMap.RawData.RawDataContainer
rawType RawDataContainerType
reflexivecount int
scannedwithent bool
scanner MetaScanner
size int
type string

Public Methods

Method Description
Dispose ( ) : void

The dispose.

FindItemsByDescription ( string name ) : int[]

The find items by description.

FindItemsByOffset ( int offset ) : int

The find items by offset.

LoadMetaFromFile ( string inputFileName ) : void

Load meta from an XML file.

Meta ( Map map ) : System

Initializes a new instance of the Meta class.

ReadMetaFromMap ( int tagIndex, bool dontReadRaw ) : void

The read meta from map.

RecursivelyLoadMetas ( bool parsed, System.Windows.Forms.ToolStripProgressBar pb ) : ArrayList

The recursively load metas.

RelinkReferences ( ) : void

The relink references.

SaveMetaToFile ( string outputFileName, bool renameTag ) : string

Used to export the current meta to a file.

SaveRecursive ( string outputFilePath, bool parsed, System.Windows.Forms.ToolStripProgressBar pb ) : void

The save recursive.

ScanMetaItems ( bool manual, bool parsed ) : void

The scan meta items.

SortItemsByOffset ( ) : void

The sort items by offset.

WriteReferences ( ) : void

The write references.

askForTagName ( string newName ) : string

Asks for a tag name for export.

Private Methods

Method Description
SaveRecursiveFunction ( Meta meta, ArrayList &metas, bool parsed, System.Windows.Forms.ToolStripProgressBar pb, float percent, float percentsize ) : void

The save recursive function.

Method Details

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

FindItemsByDescription() public method

The find items by description.
public FindItemsByDescription ( string name ) : int[]
name string The name.
return int[]

FindItemsByOffset() public method

The find items by offset.
public FindItemsByOffset ( int offset ) : int
offset int The offset.
return int

LoadMetaFromFile() public method

Load meta from an XML file.
public LoadMetaFromFile ( string inputFileName ) : void
inputFileName string The XML file name.
return void

Meta() public method

Initializes a new instance of the Meta class.
public Meta ( Map map ) : System
map HaloMap.Map.Map The map.
return System

ReadMetaFromMap() public method

The read meta from map.
public ReadMetaFromMap ( int tagIndex, bool dontReadRaw ) : void
tagIndex int The tagIndex.
dontReadRaw bool
return void

RecursivelyLoadMetas() public method

The recursively load metas.
public RecursivelyLoadMetas ( bool parsed, System.Windows.Forms.ToolStripProgressBar pb ) : ArrayList
parsed bool The parsed.
pb System.Windows.Forms.ToolStripProgressBar The pb.
return System.Collections.ArrayList

RelinkReferences() public method

The relink references.
public RelinkReferences ( ) : void
return void

SaveMetaToFile() public method

Used to export the current meta to a file.
public SaveMetaToFile ( string outputFileName, bool renameTag ) : string
outputFileName string The filename to save the Meta to.
renameTag bool The rename tag.
return string

SaveRecursive() public method

The save recursive.
public SaveRecursive ( string outputFilePath, bool parsed, System.Windows.Forms.ToolStripProgressBar pb ) : void
outputFilePath string The output file path.
parsed bool The parsed.
pb System.Windows.Forms.ToolStripProgressBar The pb.
return void

ScanMetaItems() public method

The scan meta items.
public ScanMetaItems ( bool manual, bool parsed ) : void
manual bool The manual.
parsed bool The parsed.
return void

SortItemsByOffset() public method

The sort items by offset.
public SortItemsByOffset ( ) : void
return void

WriteReferences() public method

The write references.
public WriteReferences ( ) : void
return void

askForTagName() public static method

Asks for a tag name for export.
public static askForTagName ( string newName ) : string
newName string The new name.
return string

Property Details

MS public property

The ms.
public MemoryStream,System.IO MS
return System.IO.MemoryStream

TagIndex public property

The TagIndex.
public int TagIndex
return int

headersize public property

The headersize.
public int headersize
return int

ident public property

The ident.
public int ident
return int

itemcount public property

The itemcount.
public int itemcount
return int

items public property

The items.
public List items
return List

magic public property

The magic.
public int magic
return int

name public property

The name.
public string name
return string

offset public property

The offset.
public int offset
return int

padding public property

The padding.
public char padding
return char

parsed public property

The parsed.
public bool parsed
return bool

raw public property

The raw.
public RawDataContainer,HaloMap.RawData raw
return HaloMap.RawData.RawDataContainer

rawType public property

The raw type.
public RawDataContainerType rawType
return RawDataContainerType

reflexivecount public property

The reflexivecount.
public int reflexivecount
return int

scannedwithent public property

The scannedwithent.
public bool scannedwithent
return bool

scanner public property

public MetaScanner,HaloMap.Meta scanner
return MetaScanner

size public property

The size.
public int size
return int

type public property

The type.
public string type
return string