Class WDTFogsBfaToDragonflight
A _fogs.wdt volumetric-fog satellite for one client version (Legion 7.2.5+): the map's placed fog volumes. Most maps ship it empty. See https://wowdev.wiki/WDT.
public class WDTFogsBfaToDragonflight : WDTFogs, IDisposable
- Inheritance
-
WDTFogsBfaToDragonflight
- Implements
- Inherited Members
Constructors
WDTFogsBfaToDragonflight()
public WDTFogsBfaToDragonflight()
WDTFogsBfaToDragonflight(WDTFogsBfaToDragonflight)
Copy-construct: a deep copy of other (the C++ copy constructor).
public WDTFogsBfaToDragonflight(WDTFogsBfaToDragonflight other)
Parameters
otherWDTFogsBfaToDragonflight
Properties
Fogs
The volumetric fogs (VFOG, 8.0+).
public Vector<VolumetricFog> Fogs { get; }
Property Value
Mver
The file format version: 1 since Legion 7.2.5, 2 since 11.0.0.54935 (adds VFEX).
public uint Mver { get; set; }
Property Value
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 override void Dispose()
EnsureValid()
Validate and raise on the first error instead of returning a report — the assert-style face of validate().
public void EnsureValid()
Read(byte[])
Deserialize file bytes into this entity, replacing its contents. Unmodeled chunks are preserved so an unmodified entity rewrites byte-for-byte.
public void Read(byte[] data)
Parameters
databyte[]the file bytes
Validate()
Check the logical integrity contracts this file must satisfy to LOAD in the client — companion-chunk counts, index ranges, flag/presence coherence — which write() deliberately never enforces. Call it before writing when you want to know the result will load. A file read from a client and left unmodified reports no errors; warnings mark states real client files ship.
public ValidationReport Validate()
Returns
- ValidationReport
every violated contract, in member order
Write()
Serialize this entity.
public byte[] Write()
Returns
- byte[]
the file bytes