Table of Contents

Class BoneFilePrelude

Namespace
WoWLib.Formats.M2.Bone
Assembly
WoWLib.dll

The .bone file prelude: a version marker (always 1).

public class BoneFilePrelude : IDisposable
Inheritance
BoneFilePrelude
Implements
Inherited Members

Constructors

BoneFilePrelude()

public BoneFilePrelude()

BoneFilePrelude(uint)

public BoneFilePrelude(uint version)

Parameters

version uint

BoneFilePrelude(BoneFilePrelude)

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

public BoneFilePrelude(BoneFilePrelude other)

Parameters

other BoneFilePrelude

Properties

Version

The format version; always 1 so far.

public uint Version { 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 ==(BoneFilePrelude?, BoneFilePrelude?)

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

Parameters

l BoneFilePrelude
r BoneFilePrelude

Returns

bool

operator !=(BoneFilePrelude?, BoneFilePrelude?)

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

Parameters

l BoneFilePrelude
r BoneFilePrelude

Returns

bool