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

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

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

Inheritance diagram for wowlib::formats::m2::M2Base:

Public Member Functions

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

Detailed Description

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

This empty base exists ENTIRELY for the language bindings (Python, Lua): it gives the per-version M2* classes a common welded supertype, and the module glue attaches the for_version/read/write/convert surface to it. It has no role in the C++ API, where you use the concrete M2<V> directly.

See also
https://wowdev.wiki/M2

Definition at line 53 of file m2.hpp.

Member Function Documentation

◆ operator==()

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

The documentation for this struct was generated from the following file:
  • src/wowlib/formats/m2/m2.hpp