Table of Contents

Class FileEntity

Namespace
WoWLib.Formats
Assembly
WoWLib.dll

The version-agnostic root of every file-level entity: the WMO, M2, Skeleton, ADT, WDT and WDL family bases and the BLP all derive it. Holds the contract every entity shares (validate / ensure_valid), so a heterogeneous collection of loaded files can be processed uniformly; reading and writing stay on the per-format types, whose signatures differ.

public class FileEntity : IDisposable
Inheritance
FileEntity
Implements
Derived
Inherited Members

Constructors

FileEntity()

public FileEntity()

FileEntity(FileEntity)

Copy-construct: a deep copy of other (the C++ copy constructor).

public FileEntity(FileEntity other)

Parameters

other FileEntity

Methods

Dispose()

Release the native object now. Optional: the finalizer releases it on collection anyway - dispose (or using) when you want native memory back promptly.

public virtual void Dispose()

EnsureValid()

public void EnsureValid()

Validate()

public ValidationReport Validate()

Returns

ValidationReport