C# Class TerrainDisplay.MPQ.WMO.WMOGroupParser

Mostrar archivo Open project: WCell/WCell-Terrain Class Usage Examples

Public Methods

Method Description
Process ( WCell.MPQTool.MpqManager manager, string filePath, WMORoot root, int groupIndex ) : WMOGroup

Gets a WMOGroup from the WMO Group file

Private Methods

Method Description
AdvanceToNextChunk ( BinaryReader br, long curPos, uint &type, uint &size ) : long
LinkBSPNodes ( WMOGroup group ) : void
ReadMLIQ ( BinaryReader file, WMOGroup group ) : void
ReadMOBA ( BinaryReader br, WMOGroup group, uint size ) : void
ReadMOBN ( BinaryReader file, WMOGroup group, uint size ) : void
ReadMOBR ( BinaryReader file, WMOGroup group, uint size ) : void
ReadMOCV1 ( BinaryReader br, WMOGroup group, uint size ) : void
ReadMOCV2 ( BinaryReader br, WMOGroup group, uint size ) : void
ReadMODR ( BinaryReader br, WMOGroup group, uint size ) : void
ReadMOGP ( BinaryReader file, WMOGroup group ) : void
ReadMOLR ( BinaryReader br, WMOGroup group, uint size ) : void
ReadMONR ( BinaryReader file, WMOGroup group ) : void

Reads the Normal vectors for this group

ReadMOPY ( BinaryReader file, WMOGroup group, uint size ) : void
ReadMORB ( BinaryReader reader, WMOGroup group ) : void
ReadMORI ( BinaryReader reader, WMOGroup group ) : void
ReadMOTV1 ( BinaryReader br, WMOGroup group, uint size ) : void
ReadMOTV2 ( BinaryReader br, WMOGroup group, uint size ) : void
ReadMOVI ( BinaryReader br, WMOGroup group ) : void

Reads the WMO Vertex Index List

ReadMOVT ( BinaryReader file, WMOGroup group, uint size ) : void

Reads the vertices for this wmo group

ReadMPBG ( BinaryReader br, WMOGroup group ) : void
ReadMPBI ( BinaryReader br, WMOGroup group ) : void
ReadMPBP ( BinaryReader br, WMOGroup group ) : void
ReadMPBV ( BinaryReader br, WMOGroup group ) : void
ReadMVER ( BinaryReader br, WMOGroup group ) : void
ReadOptionalChunks ( BinaryReader br, WMOGroup currentWMOGroup ) : void
ReadRequiredChunks ( BinaryReader br, WMOGroup currentWMOGroup ) : void

Method Details

Process() public static method

Gets a WMOGroup from the WMO Group file
public static Process ( WCell.MPQTool.MpqManager manager, string filePath, WMORoot root, int groupIndex ) : WMOGroup
manager WCell.MPQTool.MpqManager
filePath string File path to the WMOGroup
root WMORoot
groupIndex int Current index in the WMO Group
return WMOGroup