Skip to content

Conversation

@peti446
Copy link
Contributor

@peti446 peti446 commented Dec 18, 2025

Hi,
It seems like Field_10_1_5_49516_002 from the dbc relates to the source of the item so you can look up the value in the correct table.
There are 3 tables so the max is 3, I expect if other tables start to exist for the number to increase. If a decor or appearance is obtained from different sources, we will have multiple entries with same or different enum value

Replaced Field_10_1_5_49516_002 with SourceTypeEnum to clarify the source type of collectable entries.
Copilot AI review requested due to automatic review settings December 18, 2025 12:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR renames an unclear field name Field_10_1_5_49516_002 to the more descriptive SourceTypeEnum in the CollectableSourceInfo database definition and adds documentation explaining its purpose. The field indicates which CollectableSource table (Encounter, Quest, or Vendor) contains additional information about a collectable item's source.

  • Renamed Field_10_1_5_49516_002 to SourceTypeEnum across all layout definitions
  • Added documentation clarifying that the enum maps to different CollectableSource tables: 1 for Encounter, 2 for Quest, and 3 for Vendor
  • Removed outdated reference to TransmogSourceTypeEnum which was from a different table

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bloerwald bloerwald merged commit 435a5ef into wowdev:master Dec 18, 2025
1 check passed
@peti446 peti446 deleted the patch-1 branch December 18, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants