C# Class TerrainExtractor.Extractors.WorldObjectExtractor

Datei anzeigen Open project: WCell/WCell-Terrain

Public Properties

Property Type Description
LoadedM2Models M2Model>.Dictionary
LoadedWMORoots WMORoot>.Dictionary

Public Methods

Method Description
ExtractTileWMOs ( ADT adt ) : void
ExtractWMOs ( List list ) : void
Prepare ( ) : void
WriteMapWMOs ( MapInfo entry ) : void

Private Methods

Method Description
CalculateModelsWMOSpaceBounds ( DoodadDefinition def, M2Model model ) : void
ExtractM2Model ( string filePath ) : void
ExtractMapObjects ( WDT wdt ) : void
ExtractTileM2s ( ADT adt ) : void
ExtractWMOGroups ( string filePath, WMORoot root ) : void
ExtractWMOM2s ( WMORoot root ) : void
PrepareMapM2s ( ) : void
PrepareMapWMOs ( ) : void
PrepareWMOGroupDoodadReferences ( WMORoot root, WMOGroup wmoGroup ) : void
WriteBSPNode ( BinaryWriter writer, BSPNode node ) : void
WriteBSPTree ( BinaryWriter writer, WMOGroup group ) : void
WriteDoodadDefinitions ( BinaryWriter writer, WMORoot root ) : void
WriteGroupDoodadRefs ( BinaryWriter writer, WMORoot root, WMOGroup group ) : void
WriteGroupLiquidInfo ( BinaryWriter writer, WMOGroup group ) : void
WriteGroups ( BinaryWriter writer, WMORoot root ) : void
WriteMapM2s ( MapInfo mapEntry ) : void
WriteModel ( BinaryWriter writer, M2Model m2Model ) : void
WriteWMO ( BinaryWriter writer, WMORoot root ) : void

Method Details

ExtractTileWMOs() public static method

public static ExtractTileWMOs ( ADT adt ) : void
adt ADT
return void

ExtractWMOs() public static method

public static ExtractWMOs ( List list ) : void
list List
return void

Prepare() public static method

public static Prepare ( ) : void
return void

WriteMapWMOs() public static method

public static WriteMapWMOs ( MapInfo entry ) : void
entry MapInfo
return void

Property Details

LoadedM2Models public_oe static_oe property

public static Dictionary LoadedM2Models
return M2Model>.Dictionary

LoadedWMORoots public_oe static_oe property

public static Dictionary LoadedWMORoots
return WMORoot>.Dictionary