Table of Contents

Class FileDataId

Namespace
WoWLib
Assembly
WoWLib.dll

A strongly-typed FileDataID — the numeric file identifier used by CASC-era clients (u32, matching the client's root manifest and DB2 references).

public class FileDataId : IDisposable
Inheritance
FileDataId
Implements
Inherited Members

Constructors

FileDataId()

public FileDataId()

FileDataId(uint)

public FileDataId(uint value)

Parameters

value uint

FileDataId(FileDataId)

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

public FileDataId(FileDataId other)

Parameters

other FileDataId

Properties

Value

The raw numeric identifier.

public uint Value { get; set; }

Property Value

uint

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()

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Reference-identity hash (the C++ type has no hash to mirror).

public override int GetHashCode()

Returns

int

Operators

operator ==(FileDataId?, FileDataId?)

public static bool operator ==(FileDataId? l, FileDataId? r)

Parameters

l FileDataId
r FileDataId

Returns

bool

operator >(FileDataId, FileDataId)

public static bool operator >(FileDataId l, FileDataId r)

Parameters

l FileDataId
r FileDataId

Returns

bool

operator >=(FileDataId, FileDataId)

public static bool operator >=(FileDataId l, FileDataId r)

Parameters

l FileDataId
r FileDataId

Returns

bool

operator !=(FileDataId?, FileDataId?)

public static bool operator !=(FileDataId? l, FileDataId? r)

Parameters

l FileDataId
r FileDataId

Returns

bool

operator <(FileDataId, FileDataId)

public static bool operator <(FileDataId l, FileDataId r)

Parameters

l FileDataId
r FileDataId

Returns

bool

operator <=(FileDataId, FileDataId)

public static bool operator <=(FileDataId l, FileDataId r)

Parameters

l FileDataId
r FileDataId

Returns

bool