Core/DataStores: Updated db2 structures for 11.0.2.56647

This commit is contained in:
Shauren
2024-09-22 19:08:11 +02:00
parent 723e638a84
commit 4f3e73afae
3 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE `item_bonus_tree_node` MODIFY `ItemContext` tinyint NOT NULL DEFAULT 0 AFTER `ID`;

View File

@@ -2746,7 +2746,7 @@ struct ItemBonusTreeNodeLoadInfo
static constexpr DB2FieldMeta Fields[10] =
{
{ false, FT_INT, "ID" },
{ false, FT_BYTE, "ItemContext" },
{ true, FT_BYTE, "ItemContext" },
{ false, FT_SHORT, "ChildItemBonusTreeID" },
{ false, FT_SHORT, "ChildItemBonusListID" },
{ false, FT_SHORT, "ChildItemLevelSelectorID" },

View File

@@ -2200,7 +2200,7 @@ struct ItemBonusTreeEntry
struct ItemBonusTreeNodeEntry
{
uint32 ID;
uint8 ItemContext;
int8 ItemContext;
uint16 ChildItemBonusTreeID;
uint16 ChildItemBonusListID;
uint16 ChildItemLevelSelectorID;