C# Class TerrainDisplay.MPQ.WMO.WMORootParser

Show file Open project: WCell/WCell-Terrain Class Usage Examples

Public Methods

Method Description
Process ( WCell.MPQTool.MpqManager mpqManager, string filePath ) : WMORoot

Private Methods

Method Description
AdvanceToNextChunk ( BinaryReader br, long curPos, uint &type, uint &size ) : long
FixVector3 ( System.Vector3 &source ) : void

Translates a Vector3 read by the ReadVector3 extension method into a vector in the coordinate space used by WoW (X, Y, Z) -> (X, Z, -Y)

ReadMCVP ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMFOG ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMODD ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMODN ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMODS ( BinaryReader br, WMORoot wmo ) : void
ReadMOGI ( BinaryReader br, WMORoot wmo ) : void
ReadMOGN ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMOHD ( BinaryReader br, WMORoot wmo ) : void

Reads the header for the root file

ReadMOLT ( BinaryReader br, WMORoot wmo ) : void
ReadMOMT ( BinaryReader br, WMORoot wmo ) : void
ReadMOPR ( BinaryReader br, WMORoot wmo ) : void
ReadMOPT ( BinaryReader br, WMORoot wmo ) : void
ReadMOPV ( BinaryReader br, WMORoot wmo ) : void
ReadMOSB ( BinaryReader br, WMORoot wmo ) : void
ReadMOTX ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMOVB ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMOVV ( BinaryReader br, WMORoot wmo, uint size ) : void
ReadMVER ( BinaryReader br, WMORoot wmo ) : void

Method Details

Process() public static method

public static Process ( WCell.MPQTool.MpqManager mpqManager, string filePath ) : WMORoot
mpqManager WCell.MPQTool.MpqManager
filePath string
return WMORoot