Difference between revisions of "Model.blob"

From wowdev
Jump to: navigation, search
Line 11: Line 11:
   uint32_t fileDataId;
   uint32_t fileDataId;
   {{Template:Type|CAaBox}} boundingBox;      // Colision bounding box.
   {{Template:Type|CAaBox}} boundingBox;      // Collision bounding box.
  } entries[];
  } entries[];

Latest revision as of 13:53, 21 March 2020

This section only applies to versions ≥ Cata.

This is storing bounding boxes for all models (m2). It was added in Cataclysm to help with streaming data.


uint32_t version;    // even though format has changed, this is still at 0 in Legion


struct {
#if < Legion
  uint32_t filenameOffset;  // into MBFN chunk
  uint32_t fileDataId;
  CAaBox boundingBox;      // Collision bounding box.
} entries[];


This section only applies to versions < Legion.
char filenames[]; // zero-terminated, no file extensions.