wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::m2::root::M2RootBase Struct Reference

The version-agnostic base of every M2Root<V> (welded as "M2Root"). More...

#include <wowlib/formats/m2/root/root.hpp>

Inheritance diagram for wowlib::formats::m2::root::M2RootBase:

Public Member Functions

bool operator== (const M2RootBase &) const =default

Detailed Description

The version-agnostic base of every M2Root<V> (welded as "M2Root").

This empty base exists ENTIRELY for the language bindings: it gives the per-version M2Root* classes a common welded supertype so binding users can write version-agnostic code (isinstance, M2Root.for_version(expansion)). It has no role in the C++ API, where you use the concrete M2Root<V>.

See also
https://wowdev.wiki/M2

Definition at line 70 of file root.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::m2::root::M2RootBase::operator== ( const M2RootBase & ) const
default

The documentation for this struct was generated from the following file: