Core: Updated to 11.1.5

This commit is contained in:
Shauren
2025-04-25 22:50:11 +02:00
parent 05709a2497
commit f9bf082be9
46 changed files with 3577 additions and 709 deletions
+30 -5
View File
@@ -1056,7 +1056,28 @@ INSERT INTO `build_auth_key` VALUES
(60257,'Mac','x64','WoWC',0x174D184200D89BF13A62DEDF6E265827),
(60257,'Win','A64','WoW',0x5DE295571BA573F16EC0D27F9B256953),
(60257,'Win','x64','WoW',0x04863309B886141AAB63893CD2414960),
(60257,'Win','x64','WoWC',0x6D386FDACBABA88604AFAE3826FE31FA);
(60257,'Win','x64','WoWC',0x6D386FDACBABA88604AFAE3826FE31FA),
(60392,'Mac','A64','WoW',0x2C1FB8AE803BD91C457D08D6DF1C6128),
(60392,'Mac','A64','WoWC',0xDFCE89D38B558A97E34B82D38C6972C9),
(60392,'Mac','x64','WoW',0xDD8F3F8D4290BA24F006106397DD00FA),
(60392,'Mac','x64','WoWC',0xDE6A3F2957C68A4E100ABAEB8547E127),
(60392,'Win','A64','WoW',0xF1FE18ECAF86E0FEF417D6AC8F450444),
(60392,'Win','x64','WoW',0xD2262204981078AE85E98BDAFF11EB41),
(60392,'Win','x64','WoWC',0x896CE1BADC6CD1D65169AD63803BD51C),
(60428,'Mac','A64','WoW',0x2E7D82DB6D2AB614A9D523B773C1D921),
(60428,'Mac','A64','WoWC',0x0DA35A86AF0709859B22F9CAE128CD49),
(60428,'Mac','x64','WoW',0xFAF413508F53006209110192CD6C1DCF),
(60428,'Mac','x64','WoWC',0x21838345675138FC55002B4E2BB95F37),
(60428,'Win','A64','WoW',0x32AC6106995042A6355B1DFDDE62BC75),
(60428,'Win','x64','WoW',0x264E5A8300CB3FBDD183BF90F4EFAD4F),
(60428,'Win','x64','WoWC',0xA70F28AEE99CE8D2993B0AB11876C668),
(60490,'Mac','A64','WoW',0xB9289C46A7581BCFBB3E4F2DA4E88C4A),
(60490,'Mac','A64','WoWC',0xE2CB722BA3091FB93E11D0A45FDE245D),
(60490,'Mac','x64','WoW',0x0A8D47F840CC05F8E2F37CF9397BB5B2),
(60490,'Mac','x64','WoWC',0x90845571462EE2250F4B5C572C9188DA),
(60490,'Win','A64','WoW',0xBD4A878CFFF3262669351D582949F2CD),
(60490,'Win','x64','WoW',0xBE091C2F2AEA1D1800CDA7E6875F3665),
(60490,'Win','x64','WoWC',0x22822461C16260D124680E05875F9D9D);
/*!40000 ALTER TABLE `build_auth_key` ENABLE KEYS */;
UNLOCK TABLES;
@@ -1437,7 +1458,10 @@ INSERT INTO `build_info` VALUES
(60037,11,1,0,NULL),
(60189,11,1,0,NULL),
(60228,11,1,0,NULL),
(60257,11,1,0,NULL);
(60257,11,1,0,NULL),
(60392,11,1,5,NULL),
(60428,11,1,5,NULL),
(60490,11,1,5,NULL);
/*!40000 ALTER TABLE `build_info` ENABLE KEYS */;
UNLOCK TABLES;
@@ -3049,7 +3073,7 @@ CREATE TABLE `realmlist` (
`timezone` tinyint unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0',
`population` float NOT NULL DEFAULT '0',
`gamebuild` int unsigned NOT NULL DEFAULT '60257',
`gamebuild` int unsigned NOT NULL DEFAULT '60490',
`Region` tinyint unsigned NOT NULL DEFAULT '1',
`Battlegroup` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
@@ -3064,7 +3088,7 @@ CREATE TABLE `realmlist` (
LOCK TABLES `realmlist` WRITE;
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
INSERT INTO `realmlist` VALUES
(1,'Trinity','127.0.0.1','127.0.0.1',NULL,NULL,'255.255.255.0',8085,0,0,1,0,0,60257,1,1);
(1,'Trinity','127.0.0.1','127.0.0.1',NULL,NULL,'255.255.255.0',8085,0,0,1,0,0,60490,1,1);
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
UNLOCK TABLES;
@@ -3559,7 +3583,8 @@ INSERT INTO `updates` VALUES
('2025_03_31_00_auth.sql','0522AF5AE6CE2B2EB14265CC005CC209DB4834C0','RELEASED','2025-03-31 21:19:14',0),
('2025_04_09_00_auth.sql','7543CD6152ABDA64B5FC75FC28211A54F16B9E40','RELEASED','2025-04-09 10:06:12',0),
('2025_04_10_00_auth.sql','93EBDB49570AFD980449CE6858AFA588ED763FAB','RELEASED','2025-04-10 20:45:44',0),
('2025_04_12_00_auth.sql','A33D1A1E50EA4B6E93DD6BAB5AD624EDAEC39BDF','RELEASED','2025-04-12 00:54:47',0);
('2025_04_12_00_auth.sql','A33D1A1E50EA4B6E93DD6BAB5AD624EDAEC39BDF','RELEASED','2025-04-12 00:54:47',0),
('2025_04_25_00_auth.sql','CD64B1560DE7A3715B561FC4E712C5E61C126A1D','RELEASED','2025-04-25 19:43:41',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
@@ -0,0 +1,39 @@
DELETE FROM `build_info` WHERE `build` IN (60392,60428,60490);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(60392,11,1,5,NULL),
(60428,11,1,5,NULL),
(60490,11,1,5,NULL);
DELETE FROM `build_auth_key` WHERE `build` IN (60392,60428,60490) AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build` IN (60392,60428,60490) AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build` IN (60392,60428,60490) AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build` IN (60392,60428,60490) AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build` IN (60392,60428,60490) AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build` IN (60392,60428,60490) AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build` IN (60392,60428,60490) AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(60392,'Mac','A64','WoW',0x2C1FB8AE803BD91C457D08D6DF1C6128),
(60392,'Mac','A64','WoWC',0xDFCE89D38B558A97E34B82D38C6972C9),
(60392,'Mac','x64','WoW',0xDD8F3F8D4290BA24F006106397DD00FA),
(60392,'Mac','x64','WoWC',0xDE6A3F2957C68A4E100ABAEB8547E127),
(60392,'Win','A64','WoW',0xF1FE18ECAF86E0FEF417D6AC8F450444),
(60392,'Win','x64','WoW',0xD2262204981078AE85E98BDAFF11EB41),
(60392,'Win','x64','WoWC',0x896CE1BADC6CD1D65169AD63803BD51C),
(60428,'Mac','A64','WoW',0x2E7D82DB6D2AB614A9D523B773C1D921),
(60428,'Mac','A64','WoWC',0x0DA35A86AF0709859B22F9CAE128CD49),
(60428,'Mac','x64','WoW',0xFAF413508F53006209110192CD6C1DCF),
(60428,'Mac','x64','WoWC',0x21838345675138FC55002B4E2BB95F37),
(60428,'Win','A64','WoW',0x32AC6106995042A6355B1DFDDE62BC75),
(60428,'Win','x64','WoW',0x264E5A8300CB3FBDD183BF90F4EFAD4F),
(60428,'Win','x64','WoWC',0xA70F28AEE99CE8D2993B0AB11876C668),
(60490,'Mac','A64','WoW',0xB9289C46A7581BCFBB3E4F2DA4E88C4A),
(60490,'Mac','A64','WoWC',0xE2CB722BA3091FB93E11D0A45FDE245D),
(60490,'Mac','x64','WoW',0x0A8D47F840CC05F8E2F37CF9397BB5B2),
(60490,'Mac','x64','WoWC',0x90845571462EE2250F4B5C572C9188DA),
(60490,'Win','A64','WoW',0xBD4A878CFFF3262669351D582949F2CD),
(60490,'Win','x64','WoW',0xBE091C2F2AEA1D1800CDA7E6875F3665),
(60490,'Win','x64','WoWC',0x22822461C16260D124680E05875F9D9D);
UPDATE `realmlist` SET `gamebuild`=60490 WHERE `gamebuild` IN (60257,60392,60428);
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '60490';
@@ -0,0 +1,46 @@
ALTER TABLE `chr_classes` MODIFY COLUMN `PrimaryStatPriority` tinyint NOT NULL DEFAULT 0 AFTER `ID`;
ALTER TABLE `chr_race_x_chr_model` MODIFY COLUMN `ChrRacesID` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ID`;
ALTER TABLE `creature_model_data` MODIFY COLUMN `SizeClass` tinyint NOT NULL DEFAULT 0 AFTER `SoundID`;
ALTER TABLE `dungeon_encounter` ADD COLUMN `Unknown1115` int NOT NULL DEFAULT 0 AFTER `Faction`;
ALTER TABLE `heirloom` MODIFY COLUMN `Flags` int NOT NULL DEFAULT 0 AFTER `SourceTypeEnum`;
ALTER TABLE `item_class` MODIFY COLUMN `Flags` int NOT NULL DEFAULT 0 AFTER `PriceModifier`;
ALTER TABLE `item_extended_cost` MODIFY COLUMN `Flags` int NOT NULL DEFAULT 0 AFTER `ArenaBracket`;
ALTER TABLE `num_talents_at_level` ADD COLUMN `Unknown1115` float NOT NULL DEFAULT 0 AFTER `NumTalentsDemonHunter`;
ALTER TABLE `spell_casting_requirements` MODIFY COLUMN `FacingCasterFlags` int NOT NULL DEFAULT 0 AFTER `SpellID`;
ALTER TABLE `talent` ADD COLUMN `TabID` smallint unsigned NOT NULL DEFAULT 0 AFTER `ColumnIndex`;
ALTER TABLE `talent` ADD COLUMN `RequiredSpellID` int unsigned NOT NULL DEFAULT 0 AFTER `OverridesSpellID`;
ALTER TABLE `talent` MODIFY COLUMN `CategoryMask1` int NOT NULL DEFAULT 0 AFTER `RequiredSpellID`;
ALTER TABLE `talent` MODIFY COLUMN `CategoryMask2` int NOT NULL DEFAULT 0 AFTER `CategoryMask1`;
ALTER TABLE `talent` ADD COLUMN `SpellRank1` int unsigned NOT NULL DEFAULT 0 AFTER `CategoryMask2`;
ALTER TABLE `talent` ADD COLUMN `SpellRank2` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank1`;
ALTER TABLE `talent` ADD COLUMN `SpellRank3` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank2`;
ALTER TABLE `talent` ADD COLUMN `SpellRank4` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank3`;
ALTER TABLE `talent` ADD COLUMN `SpellRank5` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank4`;
ALTER TABLE `talent` ADD COLUMN `SpellRank6` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank5`;
ALTER TABLE `talent` ADD COLUMN `SpellRank7` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank6`;
ALTER TABLE `talent` ADD COLUMN `SpellRank8` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank7`;
ALTER TABLE `talent` ADD COLUMN `SpellRank9` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank8`;
ALTER TABLE `talent` ADD COLUMN `PrereqTalent1` int unsigned NOT NULL DEFAULT 0 AFTER `SpellRank9`;
ALTER TABLE `talent` ADD COLUMN `PrereqTalent2` int unsigned NOT NULL DEFAULT 0 AFTER `PrereqTalent1`;
ALTER TABLE `talent` ADD COLUMN `PrereqTalent3` int unsigned NOT NULL DEFAULT 0 AFTER `PrereqTalent2`;
ALTER TABLE `talent` ADD COLUMN `PrereqRank1` tinyint unsigned NOT NULL DEFAULT 0 AFTER `PrereqTalent3`;
ALTER TABLE `talent` ADD COLUMN `PrereqRank2` tinyint unsigned NOT NULL DEFAULT 0 AFTER `PrereqRank1`;
ALTER TABLE `talent` ADD COLUMN `PrereqRank3` tinyint unsigned NOT NULL DEFAULT 0 AFTER `PrereqRank2`;
ALTER TABLE `toy` MODIFY COLUMN `Flags` int NOT NULL DEFAULT 0 AFTER `ItemID`;
ALTER TABLE `vehicle_seat` MODIFY COLUMN `EnterAnimKitID` int NOT NULL DEFAULT 0 AFTER `CameraSeatZoomMax`;
ALTER TABLE `vehicle_seat` MODIFY COLUMN `RideAnimKitID` int NOT NULL DEFAULT 0 AFTER `EnterAnimKitID`;
ALTER TABLE `vehicle_seat` MODIFY COLUMN `ExitAnimKitID` int NOT NULL DEFAULT 0 AFTER `RideAnimKitID`;
ALTER TABLE `vehicle_seat` MODIFY COLUMN `VehicleEnterAnimKitID` int NOT NULL DEFAULT 0 AFTER `ExitAnimKitID`;
ALTER TABLE `vehicle_seat` MODIFY COLUMN `VehicleRideAnimKitID` int NOT NULL DEFAULT 0 AFTER `VehicleEnterAnimKitID`;
ALTER TABLE `vehicle_seat` MODIFY COLUMN `VehicleExitAnimKitID` int NOT NULL DEFAULT 0 AFTER `VehicleRideAnimKitID`;
@@ -0,0 +1,2 @@
ALTER TABLE `playerchoice_response_maw_power` DROP `RarityColor`;
ALTER TABLE `quest_template` ADD `FlagsEx3` int unsigned NOT NULL DEFAULT 0 AFTER `FlagsEx2`;
@@ -580,7 +580,7 @@ void HotfixDatabaseConnection::DoPrepareStatements()
// DungeonEncounter.db2
PrepareStatement(HOTFIX_SEL_DUNGEON_ENCOUNTER, "SELECT Name, ID, MapID, DifficultyID, OrderIndex, CompleteWorldStateID, Bit, Flags, "
"SpellIconFileID, Faction FROM dungeon_encounter WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
"SpellIconFileID, Faction, Unknown1115 FROM dungeon_encounter WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
PREPARE_MAX_ID_STMT(HOTFIX_SEL_DUNGEON_ENCOUNTER, "SELECT MAX(ID) + 1 FROM dungeon_encounter", CONNECTION_SYNCH);
PREPARE_LOCALE_STMT(HOTFIX_SEL_DUNGEON_ENCOUNTER, "SELECT ID, Name_lang FROM dungeon_encounter_locale WHERE (`VerifiedBuild` > 0) = ?"
" AND locale = ?", CONNECTION_SYNCH);
@@ -1246,8 +1246,8 @@ void HotfixDatabaseConnection::DoPrepareStatements()
PREPARE_MAX_ID_STMT(HOTFIX_SEL_NAMES_RESERVED_LOCALE, "SELECT MAX(ID) + 1 FROM names_reserved_locale", CONNECTION_SYNCH);
// NumTalentsAtLevel.db2
PrepareStatement(HOTFIX_SEL_NUM_TALENTS_AT_LEVEL, "SELECT ID, NumTalents, NumTalentsDeathKnight, NumTalentsDemonHunter FROM num_talents_at_level"
" WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
PrepareStatement(HOTFIX_SEL_NUM_TALENTS_AT_LEVEL, "SELECT ID, NumTalents, NumTalentsDeathKnight, NumTalentsDemonHunter, Unknown1115"
" FROM num_talents_at_level WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
PREPARE_MAX_ID_STMT(HOTFIX_SEL_NUM_TALENTS_AT_LEVEL, "SELECT MAX(ID) + 1 FROM num_talents_at_level", CONNECTION_SYNCH);
// OverrideSpellData.db2
@@ -1747,8 +1747,10 @@ void HotfixDatabaseConnection::DoPrepareStatements()
PREPARE_MAX_ID_STMT(HOTFIX_SEL_TACT_KEY, "SELECT MAX(ID) + 1 FROM tact_key", CONNECTION_SYNCH);
// Talent.db2
PrepareStatement(HOTFIX_SEL_TALENT, "SELECT ID, Description, TierID, Flags, ColumnIndex, ClassID, SpecID, SpellID, OverridesSpellID, "
"CategoryMask1, CategoryMask2 FROM talent WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
PrepareStatement(HOTFIX_SEL_TALENT, "SELECT ID, Description, TierID, Flags, ColumnIndex, TabID, ClassID, SpecID, SpellID, OverridesSpellID, "
"RequiredSpellID, CategoryMask1, CategoryMask2, SpellRank1, SpellRank2, SpellRank3, SpellRank4, SpellRank5, SpellRank6, SpellRank7, "
"SpellRank8, SpellRank9, PrereqTalent1, PrereqTalent2, PrereqTalent3, PrereqRank1, PrereqRank2, PrereqRank3 FROM talent"
" WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
PREPARE_MAX_ID_STMT(HOTFIX_SEL_TALENT, "SELECT MAX(ID) + 1 FROM talent", CONNECTION_SYNCH);
PREPARE_LOCALE_STMT(HOTFIX_SEL_TALENT, "SELECT ID, Description_lang FROM talent_locale WHERE (`VerifiedBuild` > 0) = ? AND locale = ?", CONNECTION_SYNCH);
@@ -4029,6 +4029,14 @@ bool CriteriaHandler::ModifierSatisfied(ModifierTreeEntry const* modifier, uint6
return false;
break;
}
case ModifierTreeType::PlayerTitle: // 393
if (referencePlayer->m_playerData->PlayerTitle != int32(reqValue))
return false;
break;
case ModifierTreeType::PlayerIsInGuild: // 404
if (!referencePlayer->GetGuildId())
return false;
break;
default:
return false;
}
+40 -21
View File
@@ -962,7 +962,7 @@ struct ChrClassesLoadInfo
{ .IsSigned = false, .Type = FT_SHORT, .Name = "CinematicSequenceID" },
{ .IsSigned = false, .Type = FT_SHORT, .Name = "DefaultSpec" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "ID" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "PrimaryStatPriority" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "PrimaryStatPriority" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "DisplayPower" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "RangedAttackPowerPerAgility" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "AttackPowerPerAgility" },
@@ -1499,7 +1499,7 @@ struct CreatureModelDataLoadInfo
{ .IsSigned = false, .Type = FT_INT, .Name = "FootstepCameraEffectID" },
{ .IsSigned = false, .Type = FT_INT, .Name = "DeathThudCameraEffectID" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SoundID" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SizeClass" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "SizeClass" },
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "CollisionWidth" },
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "CollisionHeight" },
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "WorldEffectScale" },
@@ -1709,7 +1709,7 @@ struct DifficultyLoadInfo
struct DungeonEncounterLoadInfo
{
static constexpr DB2FieldMeta Fields[10] =
static constexpr DB2FieldMeta Fields[11] =
{
{ .IsSigned = false, .Type = FT_STRING, .Name = "Name" },
{ .IsSigned = false, .Type = FT_INT, .Name = "ID" },
@@ -1721,9 +1721,10 @@ struct DungeonEncounterLoadInfo
{ .IsSigned = true, .Type = FT_INT, .Name = "Flags" },
{ .IsSigned = true, .Type = FT_INT, .Name = "SpellIconFileID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "Faction" },
{ .IsSigned = true, .Type = FT_INT, .Name = "Unknown1115" },
};
static constexpr DB2LoadInfo Instance{ Fields, 10, &DungeonEncounterMeta::Instance, HOTFIX_SEL_DUNGEON_ENCOUNTER };
static constexpr DB2LoadInfo Instance{ Fields, 11, &DungeonEncounterMeta::Instance, HOTFIX_SEL_DUNGEON_ENCOUNTER };
};
struct DurabilityCostsLoadInfo
@@ -2516,7 +2517,7 @@ struct HeirloomLoadInfo
{ .IsSigned = true, .Type = FT_INT, .Name = "LegacyUpgradedItemID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "StaticUpgradedItemID" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "SourceTypeEnum" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "Flags" },
{ .IsSigned = true, .Type = FT_INT, .Name = "Flags" },
{ .IsSigned = true, .Type = FT_INT, .Name = "LegacyItemID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "UpgradeItemID1" },
{ .IsSigned = true, .Type = FT_INT, .Name = "UpgradeItemID2" },
@@ -2843,7 +2844,7 @@ struct ItemClassLoadInfo
{ .IsSigned = false, .Type = FT_STRING, .Name = "ClassName" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "ClassID" },
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "PriceModifier" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "Flags" },
{ .IsSigned = true, .Type = FT_INT, .Name = "Flags" },
};
static constexpr DB2LoadInfo Instance{ Fields, 5, &ItemClassMeta::Instance, HOTFIX_SEL_ITEM_CLASS };
@@ -3009,7 +3010,7 @@ struct ItemExtendedCostLoadInfo
{ .IsSigned = false, .Type = FT_INT, .Name = "ID" },
{ .IsSigned = false, .Type = FT_SHORT, .Name = "RequiredArenaRating" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "ArenaBracket" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "Flags" },
{ .IsSigned = true, .Type = FT_INT, .Name = "Flags" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "MinFactionID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "MinReputation" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "RequiredAchievement" },
@@ -4037,15 +4038,16 @@ struct NamesReservedLocaleLoadInfo
struct NumTalentsAtLevelLoadInfo
{
static constexpr DB2FieldMeta Fields[4] =
static constexpr DB2FieldMeta Fields[5] =
{
{ .IsSigned = false, .Type = FT_INT, .Name = "ID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "NumTalents" },
{ .IsSigned = true, .Type = FT_INT, .Name = "NumTalentsDeathKnight" },
{ .IsSigned = true, .Type = FT_INT, .Name = "NumTalentsDemonHunter" },
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "Unknown1115" },
};
static constexpr DB2LoadInfo Instance{ Fields, 4, &NumTalentsAtLevelMeta::Instance, HOTFIX_SEL_NUM_TALENTS_AT_LEVEL };
static constexpr DB2LoadInfo Instance{ Fields, 5, &NumTalentsAtLevelMeta::Instance, HOTFIX_SEL_NUM_TALENTS_AT_LEVEL };
};
struct OverrideSpellDataLoadInfo
@@ -5003,7 +5005,7 @@ struct SpellCastingRequirementsLoadInfo
{
{ .IsSigned = false, .Type = FT_INT, .Name = "ID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "SpellID" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "FacingCasterFlags" },
{ .IsSigned = true, .Type = FT_INT, .Name = "FacingCasterFlags" },
{ .IsSigned = false, .Type = FT_SHORT, .Name = "MinFactionID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "MinReputation" },
{ .IsSigned = false, .Type = FT_SHORT, .Name = "RequiredAreasID" },
@@ -5804,22 +5806,39 @@ struct TactKeyLoadInfo
struct TalentLoadInfo
{
static constexpr DB2FieldMeta Fields[11] =
static constexpr DB2FieldMeta Fields[28] =
{
{ .IsSigned = false, .Type = FT_INT, .Name = "ID" },
{ .IsSigned = false, .Type = FT_STRING, .Name = "Description" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "TierID" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "Flags" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "ColumnIndex" },
{ .IsSigned = false, .Type = FT_SHORT, .Name = "TabID" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "ClassID" },
{ .IsSigned = false, .Type = FT_SHORT, .Name = "SpecID" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellID" },
{ .IsSigned = false, .Type = FT_INT, .Name = "OverridesSpellID" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "CategoryMask1" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "CategoryMask2" },
{ .IsSigned = false, .Type = FT_INT, .Name = "RequiredSpellID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "CategoryMask1" },
{ .IsSigned = true, .Type = FT_INT, .Name = "CategoryMask2" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank1" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank2" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank3" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank4" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank5" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank6" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank7" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank8" },
{ .IsSigned = false, .Type = FT_INT, .Name = "SpellRank9" },
{ .IsSigned = false, .Type = FT_INT, .Name = "PrereqTalent1" },
{ .IsSigned = false, .Type = FT_INT, .Name = "PrereqTalent2" },
{ .IsSigned = false, .Type = FT_INT, .Name = "PrereqTalent3" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "PrereqRank1" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "PrereqRank2" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "PrereqRank3" },
};
static constexpr DB2LoadInfo Instance{ Fields, 11, &TalentMeta::Instance, HOTFIX_SEL_TALENT };
static constexpr DB2LoadInfo Instance{ Fields, 28, &TalentMeta::Instance, HOTFIX_SEL_TALENT };
};
struct TaxiNodesLoadInfo
@@ -5904,7 +5923,7 @@ struct ToyLoadInfo
{ .IsSigned = false, .Type = FT_STRING, .Name = "SourceText" },
{ .IsSigned = false, .Type = FT_INT, .Name = "ID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "ItemID" },
{ .IsSigned = false, .Type = FT_BYTE, .Name = "Flags" },
{ .IsSigned = true, .Type = FT_INT, .Name = "Flags" },
{ .IsSigned = true, .Type = FT_BYTE, .Name = "SourceTypeEnum" },
};
@@ -6634,12 +6653,12 @@ struct VehicleSeatLoadInfo
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "CameraEnteringZoom" },
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "CameraSeatZoomMin" },
{ .IsSigned = false, .Type = FT_FLOAT, .Name = "CameraSeatZoomMax" },
{ .IsSigned = true, .Type = FT_SHORT, .Name = "EnterAnimKitID" },
{ .IsSigned = true, .Type = FT_SHORT, .Name = "RideAnimKitID" },
{ .IsSigned = true, .Type = FT_SHORT, .Name = "ExitAnimKitID" },
{ .IsSigned = true, .Type = FT_SHORT, .Name = "VehicleEnterAnimKitID" },
{ .IsSigned = true, .Type = FT_SHORT, .Name = "VehicleRideAnimKitID" },
{ .IsSigned = true, .Type = FT_SHORT, .Name = "VehicleExitAnimKitID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "EnterAnimKitID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "RideAnimKitID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "ExitAnimKitID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "VehicleEnterAnimKitID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "VehicleRideAnimKitID" },
{ .IsSigned = true, .Type = FT_INT, .Name = "VehicleExitAnimKitID" },
{ .IsSigned = true, .Type = FT_SHORT, .Name = "CameraModeID" },
};
+153 -74
View File
@@ -737,23 +737,24 @@ struct AnimationDataMeta
struct AreaConditionalDataMeta
{
static constexpr DB2MetaField Fields[5] =
static constexpr DB2MetaField Fields[6] =
{
{ .Type = FT_STRING, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
{
.FileDataId = 2123730,
.IndexField = 1,
.ParentIndexField = 4,
.FieldCount = 5,
.FileFieldCount = 4,
.LayoutHash = 0xFFC38678,
.ParentIndexField = 5,
.FieldCount = 6,
.FileFieldCount = 5,
.LayoutHash = 0xAEE182C6,
.Fields = Fields
};
};
@@ -2687,6 +2688,26 @@ struct Cfg_ConfigsMeta
};
};
struct Cfg_GameRulesMeta
{
static constexpr DB2MetaField Fields[2] =
{
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
{
.FileDataId = 6841377,
.IndexField = -1,
.ParentIndexField = -1,
.FieldCount = 2,
.FileFieldCount = 2,
.LayoutHash = 0x41B88A54,
.Fields = Fields
};
};
struct Cfg_RegionsMeta
{
static constexpr DB2MetaField Fields[5] =
@@ -3294,7 +3315,7 @@ struct ChrClassesMeta
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
@@ -3313,7 +3334,7 @@ struct ChrClassesMeta
.ParentIndexField = -1,
.FieldCount = 39,
.FileFieldCount = 39,
.LayoutHash = 0x6D301B0D,
.LayoutHash = 0x03A0FD4D,
.Fields = Fields
};
};
@@ -5013,6 +5034,73 @@ struct ConversationLineMeta
};
};
struct CooldownSetMeta
{
static constexpr DB2MetaField Fields[3] =
{
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
{
.FileDataId = 6405756,
.IndexField = 0,
.ParentIndexField = 1,
.FieldCount = 3,
.FileFieldCount = 3,
.LayoutHash = 0x833402CE,
.Fields = Fields
};
};
struct CooldownSetLinkedSpellMeta
{
static constexpr DB2MetaField Fields[3] =
{
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
{
.FileDataId = 6422327,
.IndexField = -1,
.ParentIndexField = 2,
.FieldCount = 3,
.FileFieldCount = 2,
.LayoutHash = 0x11E4972F,
.Fields = Fields
};
};
struct CooldownSetSpellMeta
{
static constexpr DB2MetaField Fields[7] =
{
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
{
.FileDataId = 6405757,
.IndexField = 0,
.ParentIndexField = 1,
.FieldCount = 7,
.FileFieldCount = 7,
.LayoutHash = 0xB5A471F2,
.Fields = Fields
};
};
struct CorruptionEffectsMeta
{
static constexpr DB2MetaField Fields[4] =
@@ -5469,7 +5557,7 @@ struct CreatureDisplayInfoMeta
.ParentIndexField = -1,
.FieldCount = 28,
.FileFieldCount = 28,
.LayoutHash = 0x19189406,
.LayoutHash = 0x7275F5F6,
.Fields = Fields
};
};
@@ -5765,7 +5853,7 @@ struct CreatureModelDataMeta
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
@@ -5794,7 +5882,7 @@ struct CreatureModelDataMeta
.ParentIndexField = -1,
.FieldCount = 34,
.FileFieldCount = 34,
.LayoutHash = 0x6148D238,
.LayoutHash = 0x0F5449F8,
.Fields = Fields
};
};
@@ -6189,7 +6277,7 @@ struct DeathThudLookupsMeta
{
static constexpr DB2MetaField Fields[4] =
{
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
@@ -6202,7 +6290,7 @@ struct DeathThudLookupsMeta
.ParentIndexField = -1,
.FieldCount = 4,
.FileFieldCount = 4,
.LayoutHash = 0xDDC6DB32,
.LayoutHash = 0xB84E88F2,
.Fields = Fields
};
};
@@ -6571,7 +6659,7 @@ struct DriverBlacklistMeta
struct DungeonEncounterMeta
{
static constexpr DB2MetaField Fields[10] =
static constexpr DB2MetaField Fields[11] =
{
{ .Type = FT_STRING, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
@@ -6583,6 +6671,7 @@ struct DungeonEncounterMeta
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
@@ -6590,9 +6679,9 @@ struct DungeonEncounterMeta
.FileDataId = 1347279,
.IndexField = 1,
.ParentIndexField = 2,
.FieldCount = 10,
.FileFieldCount = 10,
.LayoutHash = 0x7B6AC42A,
.FieldCount = 11,
.FileFieldCount = 11,
.LayoutHash = 0xE408B8D4,
.Fields = Fields
};
};
@@ -6719,7 +6808,7 @@ struct EmotesTextDataMeta
static constexpr DB2MetaField Fields[3] =
{
{ .Type = FT_STRING, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
@@ -6730,7 +6819,7 @@ struct EmotesTextDataMeta
.ParentIndexField = 2,
.FieldCount = 3,
.FileFieldCount = 2,
.LayoutHash = 0x4BF58EA9,
.LayoutHash = 0x62B26C79,
.Fields = Fields
};
};
@@ -7264,8 +7353,10 @@ struct GameClockDebugMeta
struct GameModeMeta
{
static constexpr DB2MetaField Fields[9] =
static constexpr DB2MetaField Fields[12] =
{
{ .Type = FT_STRING_NOT_LOCALIZED, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_STRING_NOT_LOCALIZED, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_STRING_NOT_LOCALIZED, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
@@ -7275,6 +7366,7 @@ struct GameModeMeta
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
@@ -7282,9 +7374,9 @@ struct GameModeMeta
.FileDataId = 5008306,
.IndexField = -1,
.ParentIndexField = -1,
.FieldCount = 9,
.FileFieldCount = 9,
.LayoutHash = 0x60A1CBA9,
.FieldCount = 12,
.FileFieldCount = 12,
.LayoutHash = 0x3609B763,
.Fields = Fields
};
};
@@ -9719,7 +9811,7 @@ struct HeirloomMeta
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 6, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 6, .IsSigned = false },
@@ -9732,7 +9824,7 @@ struct HeirloomMeta
.ParentIndexField = -1,
.FieldCount = 10,
.FileFieldCount = 10,
.LayoutHash = 0x2F8299AE,
.LayoutHash = 0x9ECA649E,
.Fields = Fields
};
};
@@ -10468,7 +10560,7 @@ struct ItemClassMeta
{ .Type = FT_STRING, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
@@ -10478,7 +10570,7 @@ struct ItemClassMeta
.ParentIndexField = -1,
.FieldCount = 4,
.FileFieldCount = 4,
.LayoutHash = 0xA2EB4A48,
.LayoutHash = 0x35680EB8,
.Fields = Fields
};
};
@@ -10844,7 +10936,7 @@ struct ItemExtendedCostMeta
{
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
@@ -10861,7 +10953,7 @@ struct ItemExtendedCostMeta
.ParentIndexField = -1,
.FieldCount = 10,
.FileFieldCount = 10,
.LayoutHash = 0xD2894EC8,
.LayoutHash = 0x6F3FC018,
.Fields = Fields
};
};
@@ -13335,7 +13427,7 @@ struct MawPowerRarityMeta
.ParentIndexField = -1,
.FieldCount = 2,
.FileFieldCount = 2,
.LayoutHash = 0x3DFF7866,
.LayoutHash = 0xA575912D,
.Fields = Fields
};
};
@@ -14337,21 +14429,23 @@ struct NamesReservedLocaleMeta
struct NumTalentsAtLevelMeta
{
static constexpr DB2MetaField Fields[3] =
static constexpr DB2MetaField Fields[5] =
{
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
{
.FileDataId = 1953326,
.IndexField = -1,
.IndexField = 0,
.ParentIndexField = -1,
.FieldCount = 3,
.FileFieldCount = 3,
.LayoutHash = 0x9E707863,
.FieldCount = 5,
.FileFieldCount = 5,
.LayoutHash = 0x1B85660E,
.Fields = Fields
};
};
@@ -15491,7 +15585,7 @@ struct PlayerDataElementAccountMeta
.ParentIndexField = -1,
.FieldCount = 3,
.FileFieldCount = 3,
.LayoutHash = 0x7F54ED49,
.LayoutHash = 0x099A3DF9,
.Fields = Fields
};
};
@@ -15512,7 +15606,7 @@ struct PlayerDataElementCharacterMeta
.ParentIndexField = -1,
.FieldCount = 3,
.FileFieldCount = 3,
.LayoutHash = 0x7F54ED49,
.LayoutHash = 0x099A3DF9,
.Fields = Fields
};
};
@@ -18782,7 +18876,7 @@ struct SpellCastingRequirementsMeta
static constexpr DB2MetaField Fields[7] =
{
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
@@ -18797,7 +18891,7 @@ struct SpellCastingRequirementsMeta
.ParentIndexField = -1,
.FieldCount = 7,
.FileFieldCount = 7,
.LayoutHash = 0xEB5F42A0,
.LayoutHash = 0x02074290,
.Fields = Fields
};
};
@@ -20571,26 +20665,6 @@ struct StartupFilesMeta
};
};
struct Startup_StringsMeta
{
static constexpr DB2MetaField Fields[2] =
{
{ .Type = FT_STRING_NOT_LOCALIZED, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_STRING, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
{
.FileDataId = 1375805,
.IndexField = -1,
.ParentIndexField = -1,
.FieldCount = 2,
.FileFieldCount = 2,
.LayoutHash = 0xD758674F,
.Fields = Fields
};
};
struct StationeryMeta
{
static constexpr DB2MetaField Fields[3] =
@@ -20675,17 +20749,22 @@ struct TactKeyLookupMeta
struct TalentMeta
{
static constexpr DB2MetaField Fields[9] =
static constexpr DB2MetaField Fields[14] =
{
{ .Type = FT_STRING, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 2, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 2, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 9, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 3, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 3, .IsSigned = false },
};
static constexpr DB2Meta Instance =
@@ -20693,9 +20772,9 @@ struct TalentMeta
.FileDataId = 1369062,
.IndexField = -1,
.ParentIndexField = -1,
.FieldCount = 9,
.FileFieldCount = 9,
.LayoutHash = 0xFD0E9E24,
.FieldCount = 14,
.FileFieldCount = 14,
.LayoutHash = 0x4D999D55,
.Fields = Fields
};
};
@@ -20833,7 +20912,7 @@ struct TerrainTypeMeta
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
};
static constexpr DB2Meta Instance =
@@ -20843,7 +20922,7 @@ struct TerrainTypeMeta
.ParentIndexField = -1,
.FieldCount = 5,
.FileFieldCount = 5,
.LayoutHash = 0xEC0D143D,
.LayoutHash = 0x7A6E1ECD,
.Fields = Fields
};
};
@@ -20967,7 +21046,7 @@ struct ToyMeta
{ .Type = FT_STRING, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = false },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_BYTE, .ArraySize = 1, .IsSigned = true },
};
@@ -20978,7 +21057,7 @@ struct ToyMeta
.ParentIndexField = -1,
.FieldCount = 5,
.FileFieldCount = 5,
.LayoutHash = 0xC55DB9B0,
.LayoutHash = 0x821B5D20,
.Fields = Fields
};
};
@@ -23524,12 +23603,12 @@ struct VehicleSeatMeta
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_FLOAT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_INT, .ArraySize = 1, .IsSigned = true },
{ .Type = FT_SHORT, .ArraySize = 1, .IsSigned = true },
};
@@ -23540,7 +23619,7 @@ struct VehicleSeatMeta
.ParentIndexField = -1,
.FieldCount = 61,
.FileFieldCount = 61,
.LayoutHash = 0x53C25193,
.LayoutHash = 0x973F2793,
.Fields = Fields
};
};
+21 -14
View File
@@ -684,7 +684,7 @@ struct ChrClassesEntry
uint16 CinematicSequenceID;
uint16 DefaultSpec;
uint8 ID;
uint8 PrimaryStatPriority;
int8 PrimaryStatPriority;
int8 DisplayPower;
uint8 RangedAttackPowerPerAgility;
uint8 AttackPowerPerAgility;
@@ -1101,7 +1101,7 @@ struct CreatureModelDataEntry
uint32 FootstepCameraEffectID;
uint32 DeathThudCameraEffectID;
uint32 SoundID;
uint32 SizeClass;
int8 SizeClass;
float CollisionWidth;
float CollisionHeight;
float WorldEffectScale;
@@ -1530,6 +1530,7 @@ struct DungeonEncounterEntry
int32 Flags;
int32 SpellIconFileID;
int32 Faction;
int32 Unknown1115;
};
struct DurabilityCostsEntry
@@ -2096,7 +2097,7 @@ struct HeirloomEntry
int32 LegacyUpgradedItemID;
int32 StaticUpgradedItemID;
int8 SourceTypeEnum;
uint8 Flags;
int32 Flags;
int32 LegacyItemID;
std::array<int32, 6> UpgradeItemID;
std::array<uint16, 6> UpgradeItemBonusListID;
@@ -2275,7 +2276,7 @@ struct ItemClassEntry
LocalizedString ClassName;
int8 ClassID;
float PriceModifier;
uint8 Flags;
int32 Flags;
};
struct ItemContextPickerEntryEntry
@@ -2364,7 +2365,7 @@ struct ItemExtendedCostEntry
uint32 ID;
uint16 RequiredArenaRating;
int8 ArenaBracket; // arena slot restrictions (min slot value)
uint8 Flags;
int32 Flags;
uint8 MinFactionID;
int32 MinReputation;
uint8 RequiredAchievement; // required personal arena rating
@@ -3057,6 +3058,7 @@ struct NumTalentsAtLevelEntry
int32 NumTalents;
int32 NumTalentsDeathKnight;
int32 NumTalentsDemonHunter;
float Unknown1115;
};
#define MAX_OVERRIDE_SPELL 10
@@ -3655,7 +3657,7 @@ struct SpellCastingRequirementsEntry
{
uint32 ID;
int32 SpellID;
uint8 FacingCasterFlags;
int32 FacingCasterFlags;
uint16 MinFactionID;
int32 MinReputation;
uint16 RequiredAreasID;
@@ -4158,11 +4160,16 @@ struct TalentEntry
uint8 TierID;
uint8 Flags;
uint8 ColumnIndex;
uint16 TabID;
int8 ClassID;
uint16 SpecID;
uint32 SpellID;
uint32 OverridesSpellID;
std::array<uint8, 2> CategoryMask;
uint32 RequiredSpellID;
std::array<int32, 2> CategoryMask;
std::array<uint32, 9> SpellRank;
std::array<uint32, 3> PrereqTalent;
std::array<uint8, 3> PrereqRank;
};
struct TaxiNodesEntry
@@ -4235,7 +4242,7 @@ struct ToyEntry
LocalizedString SourceText;
uint32 ID;
int32 ItemID;
uint8 Flags;
int32 Flags;
int8 SourceTypeEnum;
};
@@ -4730,12 +4737,12 @@ struct VehicleSeatEntry
float CameraEnteringZoom;
float CameraSeatZoomMin;
float CameraSeatZoomMax;
int16 EnterAnimKitID;
int16 RideAnimKitID;
int16 ExitAnimKitID;
int16 VehicleEnterAnimKitID;
int16 VehicleRideAnimKitID;
int16 VehicleExitAnimKitID;
int32 EnterAnimKitID;
int32 RideAnimKitID;
int32 ExitAnimKitID;
int32 VehicleEnterAnimKitID;
int32 VehicleRideAnimKitID;
int32 VehicleExitAnimKitID;
int16 CameraModeID;
inline bool HasFlag(VehicleSeatFlags flag) const { return !!(Flags & flag); }
+30 -10
View File
@@ -441,7 +441,7 @@ enum class ContentTuningCalcType : int32
enum class ContentTuningFlag : int32
{
DisabledForItem = 0x04,
Horde = 0x8,
Horde = 0x08,
Alliance = 0x10
};
@@ -885,14 +885,15 @@ DEFINE_ENUM_FLAG(CurrencyTypesFlags);
enum class CurrencyTypesFlagsB : uint32
{
UseTotalEarnedForEarned = 0x01,
ShowQuestXPGainInTooltip = 0x02, // NYI
NoNotificationMailOnOfflineProgress = 0x04, // NYI
BattlenetVirtualCurrency = 0x08, // NYI
FutureCurrencyFlag = 0x10, // NYI
DontDisplayIfZero = 0x20, // NYI
ScaleMaxQuantityBySeasonWeeks = 0x40, // NYI
ScaleMaxQuantityByWeeksSinceStart = 0x80, // NYI
UseTotalEarnedForEarned = 0x0001,
ShowQuestXPGainInTooltip = 0x0002, // NYI
NoNotificationMailOnOfflineProgress = 0x0004, // NYI
BattlenetVirtualCurrency = 0x0008, // NYI
FutureCurrencyFlag = 0x0010, // NYI
DontDisplayIfZero = 0x0020, // NYI
ScaleMaxQuantityBySeasonWeeks = 0x0040, // NYI
ScaleMaxQuantityByWeeksSinceStart = 0x0080, // NYI
ForceMaxQuantityOnConversion = 0x0100, // NYI
};
DEFINE_ENUM_FLAG(CurrencyTypesFlagsB);
@@ -1027,6 +1028,14 @@ enum class GlobalCurve : int32
ContentTuningPvpItemLevelHealthScaling = 13,
ContentTuningPvpLevelDamageScaling = 14,
ContentTuningPvpItemLevelDamageScaling = 15,
ArmorItemLevelDiminishing = 18,
ChallengeModeHealth = 21,
ChallengeModeDamage = 22,
MythicPlusEndOfRunGearSequenceLevel = 23,
SpellAreaEffectWarningRadius = 26, // ground spell effect warning circle radius (based on spell radius)
};
#define MAX_ITEM_PROTO_FLAGS 5
@@ -1829,6 +1838,9 @@ enum class ModifierTreeType : int32
PlayerDataElementCharacterEqual = 390, /*NYI*/ // Player {PlayerDataElementCharacter} is greater than {#Amount}
PlayerDataElementAccountEqual = 391, /*NYI*/ // Player {PlayerDataElementAccount} is greater than {#Amount}
PlayerHasCompletedQuestOrIsReadyToTurnIn = 392, // Player has previously completed quest "{QuestV2}" or is ready to turn it in
PlayerTitle = 393, // Player is currently using "{ChrTitles}" title
PlayerIsInGuild = 404, // Player is in a guild
};
enum class ModifierTreeOperator : int8
@@ -1996,6 +2008,14 @@ enum class PlayerInteractionType : int32
CharacterBanker = 67,
AccountBanker = 68,
ProfessionRespec = 69,
PlaceholderType71 = 70,
PlaceholderType72 = 71,
PlaceholderType73 = 72,
PlaceholderType74 = 73,
PlaceholderType75 = 74,
PlaceholderType76 = 75,
GuildRename = 76,
PlaceholderType77 = 77,
};
enum class PowerTypeFlags : int16
@@ -2301,7 +2321,7 @@ enum class SummonPropertiesFlags : uint32
DEFINE_ENUM_FLAG(SummonPropertiesFlags);
#define MAX_TALENT_TIERS 7
#define MAX_TALENT_COLUMNS 3
#define MAX_TALENT_COLUMNS 4
#define MAX_PVP_TALENT_SLOTS 4
enum class TaxiNodeFlags : int32
+2
View File
@@ -134,6 +134,8 @@ enum LfgJoinResult
LFG_JOIN_ALREADY_USING_LFG_LIST = 0x3F, // You can't do that while using Premade Groups.
LFG_JOIN_NOT_LEADER = 0x45, // You are not the party leader.
LFG_JOIN_DEAD = 0x49,
LFG_FARM_LIMIT = 0x4D, // You or someone in your party has entered too many instances recently. Please wait awhile and try again.
LFG_NO_CROSS_FACTION_PARTIES = 0x4E, // Cross-faction groups can't queue for this instance
LFG_JOIN_PARTY_NOT_MEET_REQS = 6, // One or more party members do not meet the requirements for the chosen dungeons (FIXME)
};
@@ -287,6 +287,7 @@ void PlayerMenu::SendGossipMenu(uint32 titleTextId, ObjectGuid objectGUID)
text.QuestFlags[0] = quest->GetFlags();
text.QuestFlags[1] = quest->GetFlagsEx();
text.QuestFlags[2] = quest->GetFlagsEx2();
text.QuestFlags[3] = quest->GetFlagsEx3();
text.Repeatable = quest->IsTurnIn() && quest->IsRepeatable() && !quest->IsDailyOrWeekly() && !quest->IsMonthly();
text.ResetByScheduler = quest->IsResetByScheduler();
text.Important = quest->IsImportant();
@@ -418,6 +419,7 @@ void PlayerMenu::SendQuestGiverQuestListMessage(Object* questgiver)
text.QuestFlags[0] = quest->GetFlags();
text.QuestFlags[1] = quest->GetFlagsEx();
text.QuestFlags[2] = quest->GetFlagsEx2();
text.QuestFlags[3] = quest->GetFlagsEx3();
text.Repeatable = quest->IsTurnIn() && quest->IsRepeatable() && !quest->IsDailyOrWeekly() && !quest->IsMonthly();
text.ResetByScheduler = quest->IsResetByScheduler();
text.Important = quest->IsImportant();
@@ -495,6 +497,7 @@ void PlayerMenu::SendQuestGiverQuestDetails(Quest const* quest, ObjectGuid npcGU
packet.QuestFlags[0] = quest->GetFlags() & (sWorld->getBoolConfig(CONFIG_QUEST_IGNORE_AUTO_ACCEPT) ? ~QUEST_FLAGS_AUTO_ACCEPT : ~0);
packet.QuestFlags[1] = quest->GetFlagsEx();
packet.QuestFlags[2] = quest->GetFlagsEx2();
packet.QuestFlags[3] = quest->GetFlagsEx3();
packet.SuggestedPartyMembers = quest->GetSuggestedPlayers();
// Is there a better way? what about game objects?
@@ -602,6 +605,7 @@ void PlayerMenu::SendQuestGiverOfferReward(Quest const* quest, ObjectGuid npcGUI
offer.QuestFlags[0] = quest->GetFlags();
offer.QuestFlags[1] = quest->GetFlagsEx();
offer.QuestFlags[2] = quest->GetFlagsEx2();
offer.QuestFlags[3] = quest->GetFlagsEx3();
packet.PortraitTurnIn = quest->GetQuestTurnInPortrait();
packet.PortraitGiver = quest->GetQuestGiverPortrait();
@@ -668,6 +672,7 @@ void PlayerMenu::SendQuestGiverRequestItems(Quest const* quest, ObjectGuid npcGU
packet.QuestFlags[0] = quest->GetFlags();
packet.QuestFlags[1] = quest->GetFlagsEx();
packet.QuestFlags[2] = quest->GetFlagsEx2();
packet.QuestFlags[3] = quest->GetFlagsEx3();
packet.SuggestPartyMembers = quest->GetSuggestedPlayers();
packet.QuestInfoID = quest->GetQuestInfoID();
@@ -92,6 +92,12 @@ enum class GossipOptionNpc : uint8
CharacterBanker = 56,
AccountBanker = 57,
ProfessionRespec = 58,
Placeholder1 = 59,
Placeholder2 = 60,
Placeholder3 = 61,
GuildRename = 62,
Placeholder4 = 63,
ItemUpgrade = 64,
Count
};
+4 -2
View File
@@ -472,10 +472,12 @@ enum ItemSubclassConsumable
ITEM_SUBCLASS_ITEM_ENHANCEMENT = 6,
ITEM_SUBCLASS_BANDAGE = 7,
ITEM_SUBCLASS_CONSUMABLE_OTHER = 8,
ITEM_SUBCLASS_VANTUS_RUNE = 9
ITEM_SUBCLASS_VANTUS_RUNE = 9,
ITEM_SUBCLASS_UTILITY_CURIO = 10,
ITEM_SUBCLASS_COMBAT_CURIO = 11,
};
#define MAX_ITEM_SUBCLASS_CONSUMABLE 10
#define MAX_ITEM_SUBCLASS_CONSUMABLE 12
enum ItemSubclassContainer
{
@@ -3061,7 +3061,7 @@ void BitVectors::ClearChangesMask()
void PlayerDataElement::WriteCreate(ByteBuffer& data, Player const* owner, Player const* receiver) const
{
data.WriteBits(Type, 1);
data << uint32(Type);
if (Type == 1)
{
data << float(FloatValue);
@@ -3070,12 +3070,11 @@ void PlayerDataElement::WriteCreate(ByteBuffer& data, Player const* owner, Playe
{
data << int64(Int64Value);
}
data.FlushBits();
}
void PlayerDataElement::WriteUpdate(ByteBuffer& data, bool ignoreChangesMask, Player const* owner, Player const* receiver) const
{
data.WriteBits(Type, 1);
data << uint32(Type);
if (Type == 1)
{
data << float(FloatValue);
@@ -3084,7 +3083,6 @@ void PlayerDataElement::WriteUpdate(ByteBuffer& data, bool ignoreChangesMask, Pl
{
data << int64(Int64Value);
}
data.FlushBits();
}
bool PlayerDataElement::operator==(PlayerDataElement const& right) const
@@ -4760,7 +4758,7 @@ void ActivePlayerData::WriteCreate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> f
data << uint8(MultiActionBars);
data << uint8(LifetimeMaxRank);
data << uint8(NumRespecs);
data << uint8(PvpMedals);
data << uint32(PvpMedals);
for (uint32 i = 0; i < 12; ++i)
{
data << uint32(BuybackPrice[i]);
@@ -4807,10 +4805,6 @@ void ActivePlayerData::WriteCreate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> f
{
data << uint32(BankBagSlotFlags[i]);
}
for (uint32 i = 0; i < 1000; ++i)
{
data << uint64(QuestCompleted[i]);
}
data << int32(Honor);
data << int32(HonorNextLevel);
data << int32(PerksProgramCurrency);
@@ -4883,6 +4877,14 @@ void ActivePlayerData::WriteCreate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> f
{
data << uint64(KnownTitles[i]);
}
for (uint32 i = 0; i < CharacterDataElements.size(); ++i)
{
CharacterDataElements[i].WriteCreate(data, owner, receiver);
}
for (uint32 i = 0; i < AccountDataElements.size(); ++i)
{
AccountDataElements[i].WriteCreate(data, owner, receiver);
}
for (uint32 i = 0; i < DailyQuestsCompleted.size(); ++i)
{
data << int32(DailyQuestsCompleted[i]);
@@ -5004,14 +5006,6 @@ void ActivePlayerData::WriteCreate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> f
data << FrozenPerksVendorItem;
Field_1410->WriteCreate(data, owner, receiver);
data << DungeonScore;
for (uint32 i = 0; i < CharacterDataElements.size(); ++i)
{
CharacterDataElements[i].WriteCreate(data, owner, receiver);
}
for (uint32 i = 0; i < AccountDataElements.size(); ++i)
{
AccountDataElements[i].WriteCreate(data, owner, receiver);
}
for (uint32 i = 0; i < PvpInfo.size(); ++i)
{
PvpInfo[i].WriteCreate(data, owner, receiver);
@@ -5054,10 +5048,8 @@ void ActivePlayerData::WriteUpdate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> f
void ActivePlayerData::WriteUpdate(ByteBuffer& data, Mask const& changesMask, bool ignoreNestedChangesMask, Player const* owner, Player const* receiver) const
{
for (uint32 i = 0; i < 1; ++i)
data << uint32(changesMask.GetBlocksMask(i));
data.WriteBits(changesMask.GetBlocksMask(1), 16);
for (uint32 i = 0; i < 48; ++i)
data.WriteBits(changesMask.GetBlocksMask(0), 17);
for (uint32 i = 0; i < 17; ++i)
if (changesMask.GetBlock(i))
data.WriteBits(changesMask.GetBlock(i), 32);
@@ -5419,6 +5411,26 @@ void ActivePlayerData::WriteUpdate(ByteBuffer& data, Mask const& changesMask, bo
}
}
}
if (changesMask[8])
{
for (uint32 i = 0; i < CharacterDataElements.size(); ++i)
{
if (CharacterDataElements.HasChanged(i) || ignoreNestedChangesMask)
{
CharacterDataElements[i].WriteUpdate(data, ignoreNestedChangesMask, owner, receiver);
}
}
}
if (changesMask[9])
{
for (uint32 i = 0; i < AccountDataElements.size(); ++i)
{
if (AccountDataElements.HasChanged(i) || ignoreNestedChangesMask)
{
AccountDataElements[i].WriteUpdate(data, ignoreNestedChangesMask, owner, receiver);
}
}
}
if (changesMask[11])
{
for (uint32 i = 0; i < DailyQuestsCompleted.size(); ++i)
@@ -5682,26 +5694,6 @@ void ActivePlayerData::WriteUpdate(ByteBuffer& data, Mask const& changesMask, bo
}
if (changesMask[0])
{
if (changesMask[8])
{
for (uint32 i = 0; i < CharacterDataElements.size(); ++i)
{
if (CharacterDataElements.HasChanged(i) || ignoreNestedChangesMask)
{
CharacterDataElements[i].WriteUpdate(data, ignoreNestedChangesMask, owner, receiver);
}
}
}
if (changesMask[9])
{
for (uint32 i = 0; i < AccountDataElements.size(); ++i)
{
if (AccountDataElements.HasChanged(i) || ignoreNestedChangesMask)
{
AccountDataElements[i].WriteUpdate(data, ignoreNestedChangesMask, owner, receiver);
}
}
}
if (changesMask[10])
{
for (uint32 i = 0; i < PvpInfo.size(); ++i)
@@ -5956,7 +5948,7 @@ void ActivePlayerData::WriteUpdate(ByteBuffer& data, Mask const& changesMask, bo
}
if (changesMask[97])
{
data << uint8(PvpMedals);
data << uint32(PvpMedals);
}
if (changesMask[98])
{
@@ -6299,20 +6291,10 @@ void ActivePlayerData::WriteUpdate(ByteBuffer& data, Mask const& changesMask, bo
}
}
if (changesMask[498])
{
for (uint32 i = 0; i < 1000; ++i)
{
if (changesMask[499 + i])
{
data << uint64(QuestCompleted[i]);
}
}
}
if (changesMask[1499])
{
for (uint32 i = 0; i < 17; ++i)
{
if (changesMask[1500 + i])
if (changesMask[499 + i])
{
data << float(ItemUpgradeHighWatermark[i]);
}
@@ -6333,6 +6315,8 @@ void ActivePlayerData::ClearChangesMask()
Base::ClearChangesMask(ResearchSiteProgress);
Base::ClearChangesMask(Research);
Base::ClearChangesMask(KnownTitles);
Base::ClearChangesMask(CharacterDataElements);
Base::ClearChangesMask(AccountDataElements);
Base::ClearChangesMask(DailyQuestsCompleted);
Base::ClearChangesMask(AvailableQuestLineXQuestIDs);
Base::ClearChangesMask(Heirlooms);
@@ -6358,8 +6342,6 @@ void ActivePlayerData::ClearChangesMask()
Base::ClearChangesMask(CategoryCooldownMods);
Base::ClearChangesMask(WeeklySpellUses);
Base::ClearChangesMask(TrackedCollectableSources);
Base::ClearChangesMask(CharacterDataElements);
Base::ClearChangesMask(AccountDataElements);
Base::ClearChangesMask(PvpInfo);
Base::ClearChangesMask(CharacterRestrictions);
Base::ClearChangesMask(TraitConfigs);
@@ -6476,7 +6458,6 @@ void ActivePlayerData::ClearChangesMask()
Base::ClearChangesMask(ProfessionSkillLine);
Base::ClearChangesMask(BagSlotFlags);
Base::ClearChangesMask(BankBagSlotFlags);
Base::ClearChangesMask(QuestCompleted);
Base::ClearChangesMask(ItemUpgradeHighWatermark);
_changesMask.ResetAll();
}
@@ -1034,7 +1034,7 @@ struct Research : public IsUpdateFieldStructureTag
bool operator!=(Research const& right) const { return !(*this == right); }
};
struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMask<1517>
struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMask<516>
{
UpdateField<bool, 0, 1> BackpackAutoSortDisabled;
UpdateField<bool, 0, 2> BackpackSellJunkDisabled;
@@ -1046,6 +1046,8 @@ struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMas
UpdateFieldArray<DynamicUpdateFieldBase<uint32>, 1, 43, 44> ResearchSiteProgress;
UpdateFieldArray<DynamicUpdateFieldBase<UF::Research>, 1, 45, 46> Research;
DynamicUpdateField<uint64, 0, 7> KnownTitles;
DynamicUpdateField<UF::PlayerDataElement, 0, 8> CharacterDataElements;
DynamicUpdateField<UF::PlayerDataElement, 0, 9> AccountDataElements;
DynamicUpdateField<int32, 0, 11> DailyQuestsCompleted;
DynamicUpdateField<int32, 0, 12> AvailableQuestLineXQuestIDs;
DynamicUpdateField<int32, 0, 13> Heirlooms;
@@ -1071,8 +1073,6 @@ struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMas
DynamicUpdateField<UF::CategoryCooldownMod, 32, 37> CategoryCooldownMods;
DynamicUpdateField<UF::WeeklySpellUse, 32, 38> WeeklySpellUses;
DynamicUpdateField<UF::CollectableSourceTrackedData, 32, 39> TrackedCollectableSources;
DynamicUpdateField<UF::PlayerDataElement, 0, 8> CharacterDataElements;
DynamicUpdateField<UF::PlayerDataElement, 0, 9> AccountDataElements;
DynamicUpdateField<UF::PVPInfo, 0, 10> PvpInfo;
DynamicUpdateField<UF::CharacterRestriction, 0, 23> CharacterRestrictions;
DynamicUpdateField<UF::TraitConfig, 32, 33> TraitConfigs;
@@ -1127,7 +1127,7 @@ struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMas
UpdateField<uint8, 70, 94> MultiActionBars;
UpdateField<uint8, 70, 95> LifetimeMaxRank;
UpdateField<uint8, 70, 96> NumRespecs;
UpdateField<uint8, 70, 97> PvpMedals;
UpdateField<uint32, 70, 97> PvpMedals;
UpdateField<uint16, 70, 98> TodayHonorableKills;
UpdateField<uint16, 70, 99> YesterdayHonorableKills;
UpdateField<uint32, 70, 100> LifetimeHonorableKills;
@@ -1189,8 +1189,7 @@ struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMas
UpdateFieldArray<int32, 2, 481, 482> ProfessionSkillLine;
UpdateFieldArray<uint32, 5, 484, 485> BagSlotFlags;
UpdateFieldArray<uint32, 7, 490, 491> BankBagSlotFlags;
UpdateFieldArray<uint64, 1000, 498, 499> QuestCompleted;
UpdateFieldArray<float, 17, 1499, 1500> ItemUpgradeHighWatermark;
UpdateFieldArray<float, 17, 498, 499> ItemUpgradeHighWatermark;
void WriteCreate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> fieldVisibilityFlags, Player const* owner, Player const* receiver) const;
void WriteUpdate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> fieldVisibilityFlags, Player const* owner, Player const* receiver) const;
+12 -20
View File
@@ -14277,7 +14277,9 @@ void Player::OnGossipSelect(WorldObject* source, int32 gossipOptionId, uint32 me
PlayerInteractionType::ProfessionsCraftingOrder, PlayerInteractionType::Professions, PlayerInteractionType::ProfessionsCustomerOrder,
PlayerInteractionType::TraitSystem, PlayerInteractionType::BarbersChoice, PlayerInteractionType::MajorFactionRenown,
PlayerInteractionType::PersonalTabardVendor, PlayerInteractionType::ForgeMaster, PlayerInteractionType::CharacterBanker,
PlayerInteractionType::AccountBanker, PlayerInteractionType::ProfessionRespec
PlayerInteractionType::AccountBanker, PlayerInteractionType::ProfessionRespec, PlayerInteractionType::PlaceholderType72,
PlayerInteractionType::PlaceholderType75, PlayerInteractionType::PlaceholderType76, PlayerInteractionType::GuildRename,
PlayerInteractionType::PlaceholderType77, PlayerInteractionType::ItemUpgrade
};
PlayerInteractionType interactionType = GossipOptionNpcToInteractionType[AsUnderlyingType(gossipOptionNpc)];
@@ -16569,26 +16571,17 @@ void Player::SetQuestCompletedBit(uint32 questId, bool completed)
uint32 fieldOffset = (questBit - 1) / QUESTS_COMPLETED_BITS_PER_BLOCK;
uint64 flag = UI64LIT(1) << ((questBit - 1) % QUESTS_COMPLETED_BITS_PER_BLOCK);
if (fieldOffset < QUESTS_COMPLETED_BITS_SIZE)
{
if (completed)
SetUpdateFieldFlagValue(m_values.ModifyValue(&Player::m_activePlayerData).ModifyValue(&UF::ActivePlayerData::QuestCompleted, fieldOffset), flag);
else
RemoveUpdateFieldFlagValue(m_values.ModifyValue(&Player::m_activePlayerData).ModifyValue(&UF::ActivePlayerData::QuestCompleted, fieldOffset), flag);
}
auto field = m_values
.ModifyValue(&Player::m_activePlayerData)
.ModifyValue(&UF::ActivePlayerData::BitVectors)
.ModifyValue(&UF::BitVectors::Values, PLAYER_DATA_FLAG_CHARACTER_QUEST_COMPLETED_INDEX)
.ModifyValue(&UF::BitVector::Values, fieldOffset);
if (completed)
SetUpdateFieldFlagValue(m_values
.ModifyValue(&Player::m_activePlayerData)
.ModifyValue(&UF::ActivePlayerData::BitVectors)
.ModifyValue(&UF::BitVectors::Values, PLAYER_DATA_FLAG_CHARACTER_QUEST_COMPLETED_INDEX)
.ModifyValue(&UF::BitVector::Values, fieldOffset), flag);
SetUpdateFieldFlagValue(field, flag);
else
RemoveUpdateFieldFlagValue(m_values
.ModifyValue(&Player::m_activePlayerData)
.ModifyValue(&UF::ActivePlayerData::BitVectors)
.ModifyValue(&UF::BitVectors::Values, PLAYER_DATA_FLAG_CHARACTER_QUEST_COMPLETED_INDEX)
.ModifyValue(&UF::BitVector::Values, fieldOffset), flag);
RemoveUpdateFieldFlagValue(field, flag);
}
void Player::AreaExploredOrEventHappens(uint32 questId)
@@ -29851,7 +29844,7 @@ void Player::SendPlayerChoice(ObjectGuid sender, int32 choiceId)
ObjectMgr::GetLocaleString(playerChoiceLocale->Question, locale, displayPlayerChoice.Question);
displayPlayerChoice.Responses.resize(playerChoice->Responses.size());
displayPlayerChoice.CloseChoiceFrame = false;
displayPlayerChoice.InfiniteRange = false;
displayPlayerChoice.HideWarboardHeader = playerChoice->HideWarboardHeader;
displayPlayerChoice.KeepOpenAfterChoice = playerChoice->KeepOpenAfterChoice;
@@ -29945,7 +29938,6 @@ void Player::SendPlayerChoice(ObjectGuid sender, int32 choiceId)
WorldPackets::Quest::PlayerChoiceResponseMawPower& mawPower = playerChoiceResponse.MawPower.emplace();
mawPower.TypeArtFileID = playerChoiceResponseTemplate.MawPower->TypeArtFileID;
mawPower.Rarity = playerChoiceResponseTemplate.MawPower->Rarity;
mawPower.RarityColor = playerChoiceResponseTemplate.MawPower->RarityColor;
mawPower.SpellID = playerChoiceResponseTemplate.MawPower->SpellID;
mawPower.MaxStacks = playerChoiceResponseTemplate.MawPower->MaxStacks;
}
+3 -2
View File
@@ -158,6 +158,8 @@ enum PlayerDataFlagConstants
PLAYER_DATA_FLAG_ACCOUNT_COMBINED_QUEST_REWARDS_INDEX = 7,
PLAYER_DATA_FLAG_CHARACTER_CONTENTPUSH_INDEX = 8,
PLAYER_DATA_FLAG_CHARACTER_QUEST_COMPLETED_INDEX = 9,
// = 12 stores quests completed under ctrOptions & 0x2000
};
enum SpellModType : uint8
@@ -594,8 +596,7 @@ typedef std::map<uint32, QuestSaveType> QuestStatusSaveMap;
// Size of client completed quests bit map
enum PlayerQuestCompletedConstants
{
QUESTS_COMPLETED_BITS_SIZE = UF::size<decltype(UF::ActivePlayerData::QuestCompleted)>(),
QUESTS_COMPLETED_BITS_PER_BLOCK = UF::size_of_value_type<decltype(UF::ActivePlayerData::QuestCompleted)>() * 8
QUESTS_COMPLETED_BITS_PER_BLOCK = UF::size_of_value_type<decltype(UF::BitVector::Values)>() * 8
};
enum PlayerQuestLogConstants
+24 -35
View File
@@ -4577,33 +4577,33 @@ void ObjectMgr::LoadQuests()
"ID, QuestType, QuestPackageID, ContentTuningID, QuestSortID, QuestInfoID, SuggestedGroupNum, RewardNextQuest, RewardXPDifficulty, RewardXPMultiplier, "
//10 11 12 13 14 15 16
"RewardMoneyDifficulty, RewardMoneyMultiplier, RewardBonusMoney, RewardSpell, RewardHonor, RewardKillHonor, StartItem, "
//17 18 19 20 21 22
"RewardArtifactXPDifficulty, RewardArtifactXPMultiplier, RewardArtifactCategoryID, Flags, FlagsEx, FlagsEx2, "
//23 24 25 26 27 28 29 30
//17 18 19 20 21 22 23
"RewardArtifactXPDifficulty, RewardArtifactXPMultiplier, RewardArtifactCategoryID, Flags, FlagsEx, FlagsEx2, FlagsEx3, "
//24 25 26 27 28 29 30 31
"RewardItem1, RewardAmount1, ItemDrop1, ItemDropQuantity1, RewardItem2, RewardAmount2, ItemDrop2, ItemDropQuantity2, "
//31 32 33 34 35 36 37 38
//32 33 34 35 36 37 38 39
"RewardItem3, RewardAmount3, ItemDrop3, ItemDropQuantity3, RewardItem4, RewardAmount4, ItemDrop4, ItemDropQuantity4, "
//39 40 41 42 43 44
//40 41 42 43 44 45
"RewardChoiceItemID1, RewardChoiceItemQuantity1, RewardChoiceItemDisplayID1, RewardChoiceItemID2, RewardChoiceItemQuantity2, RewardChoiceItemDisplayID2, "
//45 46 47 48 49 50
//46 47 48 49 50 51
"RewardChoiceItemID3, RewardChoiceItemQuantity3, RewardChoiceItemDisplayID3, RewardChoiceItemID4, RewardChoiceItemQuantity4, RewardChoiceItemDisplayID4, "
//51 52 53 54 55 56
//52 53 54 55 56 57
"RewardChoiceItemID5, RewardChoiceItemQuantity5, RewardChoiceItemDisplayID5, RewardChoiceItemID6, RewardChoiceItemQuantity6, RewardChoiceItemDisplayID6, "
//57 58 59 60 61 62 63 64
//58 59 60 61 62 63 64 65
"POIContinent, POIx, POIy, POIPriority, RewardTitle, RewardArenaPoints, RewardSkillLineID, RewardNumSkillUps, "
//65 66 67 68
//66 67 68 69
"PortraitGiver, PortraitGiverMount, PortraitGiverModelSceneID, PortraitTurnIn, "
//69 70 71 72 73 74 75 76
//70 71 72 73 74 75 76 77
"RewardFactionID1, RewardFactionValue1, RewardFactionOverride1, RewardFactionCapIn1, RewardFactionID2, RewardFactionValue2, RewardFactionOverride2, RewardFactionCapIn2, "
//77 78 79 80 81 82 83 84
//78 79 80 81 82 83 84 85
"RewardFactionID3, RewardFactionValue3, RewardFactionOverride3, RewardFactionCapIn3, RewardFactionID4, RewardFactionValue4, RewardFactionOverride4, RewardFactionCapIn4, "
//85 86 87 88 89
//86 87 88 89 90
"RewardFactionID5, RewardFactionValue5, RewardFactionOverride5, RewardFactionCapIn5, RewardFactionFlags, "
//90 91 92 93 94 95 96 97
//91 92 93 94 95 96 97 98
"RewardCurrencyID1, RewardCurrencyQty1, RewardCurrencyID2, RewardCurrencyQty2, RewardCurrencyID3, RewardCurrencyQty3, RewardCurrencyID4, RewardCurrencyQty4, "
//98 99 100 101 102 103 104 105 106
//99 100 101 102 103 104 105 106 107
"AcceptedSoundKitID, CompleteSoundKitID, AreaGroupID, TimeAllowed, AllowableRaces, ResetByScheduler, Expansion, ManagedWorldStateID, QuestSessionBonus, "
//107 108 109 110 111 112 113 114 115
//108 109 110 111 112 113 114 115 116
"LogTitle, LogDescription, QuestDescription, AreaDescription, PortraitGiverText, PortraitGiverName, PortraitTurnInText, PortraitTurnInName, QuestCompletionLog "
"FROM quest_template");
if (!result)
@@ -11228,8 +11228,7 @@ void ObjectMgr::LoadPlayerChoices()
continue;
}
auto responseItr = std::find_if(choice->Responses.begin(), choice->Responses.end(),
[responseId](PlayerChoiceResponse const& playerChoiceResponse) { return playerChoiceResponse.ResponseId == responseId; });
auto responseItr = std::ranges::find(choice->Responses, responseId, &PlayerChoiceResponse::ResponseId);
if (responseItr == choice->Responses.end())
{
TC_LOG_ERROR("sql.sql", "Table `playerchoice_response_reward` references non-existing ResponseId: {} for ChoiceId {}, skipped", responseId, choiceId);
@@ -11294,8 +11293,7 @@ void ObjectMgr::LoadPlayerChoices()
continue;
}
auto responseItr = std::find_if(choice->Responses.begin(), choice->Responses.end(),
[responseId](PlayerChoiceResponse const& playerChoiceResponse) { return playerChoiceResponse.ResponseId == responseId; });
auto responseItr = std::ranges::find(choice->Responses, responseId, &PlayerChoiceResponse::ResponseId);
if (responseItr == choice->Responses.end())
{
TC_LOG_ERROR("sql.sql", "Table `playerchoice_response_reward_item` references non-existing ResponseId: {} for ChoiceId {}, skipped", responseId, choiceId);
@@ -11340,8 +11338,7 @@ void ObjectMgr::LoadPlayerChoices()
continue;
}
auto responseItr = std::find_if(choice->Responses.begin(), choice->Responses.end(),
[responseId](PlayerChoiceResponse const& playerChoiceResponse) { return playerChoiceResponse.ResponseId == responseId; });
auto responseItr = std::ranges::find(choice->Responses, responseId, &PlayerChoiceResponse::ResponseId);
if (responseItr == choice->Responses.end())
{
TC_LOG_ERROR("sql.sql", "Table `playerchoice_response_reward_currency` references non-existing ResponseId: {} for ChoiceId {}, skipped", responseId, choiceId);
@@ -11386,8 +11383,7 @@ void ObjectMgr::LoadPlayerChoices()
continue;
}
auto responseItr = std::find_if(choice->Responses.begin(), choice->Responses.end(),
[responseId](PlayerChoiceResponse const& playerChoiceResponse) { return playerChoiceResponse.ResponseId == responseId; });
auto responseItr = std::ranges::find(choice->Responses, responseId, &PlayerChoiceResponse::ResponseId);
if (responseItr == choice->Responses.end())
{
TC_LOG_ERROR("sql.sql", "Table `playerchoice_response_reward_faction` references non-existing ResponseId: {} for ChoiceId {}, skipped", responseId, choiceId);
@@ -11436,8 +11432,7 @@ void ObjectMgr::LoadPlayerChoices()
continue;
}
auto responseItr = std::find_if(choice->Responses.begin(), choice->Responses.end(),
[responseId](PlayerChoiceResponse const& playerChoiceResponse) { return playerChoiceResponse.ResponseId == responseId; });
auto responseItr = std::ranges::find(choice->Responses, responseId, &PlayerChoiceResponse::ResponseId);
if (responseItr == choice->Responses.end())
{
TC_LOG_ERROR("sql.sql", "Table `playerchoice_response_reward_item_choice` references non-existing ResponseId: {} for ChoiceId {}, skipped", responseId, choiceId);
@@ -11464,7 +11459,7 @@ void ObjectMgr::LoadPlayerChoices()
} while (rewards->NextRow());
}
if (QueryResult mawPowersResult = WorldDatabase.Query("SELECT ChoiceId, ResponseId, TypeArtFileID, Rarity, RarityColor, SpellID, MaxStacks FROM playerchoice_response_maw_power"))
if (QueryResult mawPowersResult = WorldDatabase.Query("SELECT ChoiceId, ResponseId, TypeArtFileID, Rarity, SpellID, MaxStacks FROM playerchoice_response_maw_power"))
{
do
{
@@ -11479,11 +11474,7 @@ void ObjectMgr::LoadPlayerChoices()
continue;
}
auto responseItr = std::find_if(choice->Responses.begin(), choice->Responses.end(),
[responseId](PlayerChoiceResponse const& playerChoiceResponse)
{
return playerChoiceResponse.ResponseId == responseId;
});
auto responseItr = std::ranges::find(choice->Responses, responseId, &PlayerChoiceResponse::ResponseId);
if (responseItr == choice->Responses.end())
{
TC_LOG_ERROR("sql.sql", "Table `playerchoice_response_maw_power` references non-existing ResponseId: {} for ChoiceId {}, skipped", responseId, choiceId);
@@ -11494,10 +11485,8 @@ void ObjectMgr::LoadPlayerChoices()
mawPower.TypeArtFileID = fields[2].GetInt32();
if (!fields[3].IsNull())
mawPower.Rarity = fields[3].GetInt32();
if (!fields[4].IsNull())
mawPower.RarityColor = fields[4].GetUInt32();
mawPower.SpellID = fields[5].GetInt32();
mawPower.MaxStacks = fields[6].GetInt32();
mawPower.SpellID = fields[4].GetInt32();
mawPower.MaxStacks = fields[5].GetInt32();
++mawPowersCount;
-1
View File
@@ -908,7 +908,6 @@ struct PlayerChoiceResponseMawPower
{
int32 TypeArtFileID = 0;
Optional<int32> Rarity;
Optional<uint32> RarityColor;
int32 SpellID = 0;
int32 MaxStacks = 0;
};
+3 -2
View File
@@ -498,7 +498,8 @@ void WorldSession::HandleMirrorImageDataRequest(WorldPackets::Spells::GetMirrorI
{
WorldPackets::Spells::MirrorImageComponentedData mirrorImageComponentedData;
mirrorImageComponentedData.UnitGUID = guid;
mirrorImageComponentedData.DisplayID = creator->GetDisplayId();
if (ChrModelEntry const* chrModel = sDB2Manager.GetChrModel(creator->GetRace(), creator->GetGender()))
mirrorImageComponentedData.ChrModelID = chrModel->ID;
mirrorImageComponentedData.RaceID = creator->GetRace();
mirrorImageComponentedData.Gender = creator->GetGender();
mirrorImageComponentedData.ClassID = creator->GetClass();
@@ -511,7 +512,7 @@ void WorldSession::HandleMirrorImageDataRequest(WorldPackets::Spells::GetMirrorI
mirrorImageComponentedData.ItemDisplayID.reserve(11);
static EquipmentSlots const itemSlots[] =
static constexpr EquipmentSlots itemSlots[] =
{
EQUIPMENT_SLOT_HEAD,
EQUIPMENT_SLOT_SHOULDERS,
+3 -1
View File
@@ -33,7 +33,7 @@
#define QUEST_TEMPLATE_FIELDS (ID)(QuestType)(QuestPackageID)(ContentTuningID)(QuestSortID)(QuestInfoID)(SuggestedGroupNum)(RewardNextQuest)(RewardXPDifficulty)\
(RewardXPMultiplier)(RewardMoneyDifficulty)(RewardMoneyMultiplier)(RewardBonusMoney)(RewardSpell)(RewardHonor)(RewardKillHonor)(StartItem)\
(RewardArtifactXPDifficulty)(RewardArtifactXPMultiplier)(RewardArtifactCategoryID)(Flags)(FlagsEx)(FlagsEx2)\
(RewardArtifactXPDifficulty)(RewardArtifactXPMultiplier)(RewardArtifactCategoryID)(Flags)(FlagsEx)(FlagsEx2)(FlagsEx3)\
(RewardItem1)(RewardAmount1)(ItemDrop1)(ItemDropQuantity1)(RewardItem2)(RewardAmount2)(ItemDrop2)(ItemDropQuantity2)\
(RewardItem3)(RewardAmount3)(ItemDrop3)(ItemDropQuantity3)(RewardItem4)(RewardAmount4)(ItemDrop4)(ItemDropQuantity4)\
(RewardChoiceItemID1)(RewardChoiceItemQuantity1)(RewardChoiceItemDisplayID1)(RewardChoiceItemID2)(RewardChoiceItemQuantity2)(RewardChoiceItemDisplayID2)\
@@ -109,6 +109,7 @@ Quest::Quest(QuestTemplateQueryResult const& questRecord) :
_flags(questRecord.Flags().GetUInt32()),
_flagsEx(questRecord.FlagsEx().GetUInt32()),
_flagsEx2(questRecord.FlagsEx2().GetUInt32()),
_flagsEx3(questRecord.FlagsEx3().GetUInt32()),
_poiContinent(questRecord.POIContinent().GetUInt32()),
_poix(questRecord.POIx().GetFloat()),
_poiy(questRecord.POIy().GetFloat()),
@@ -733,6 +734,7 @@ WorldPacket Quest::BuildQueryData(LocaleConstant loc, Player* player) const
response.Info.Flags = GetFlags();
response.Info.FlagsEx = GetFlagsEx();
response.Info.FlagsEx2 = GetFlagsEx2();
response.Info.FlagsEx3 = GetFlagsEx3();
response.Info.RewardTitle = GetRewTitle();
response.Info.RewardArenaPoints = GetRewArenaPoints();
response.Info.RewardSkillLineID = GetRewardSkillId();
+13 -8
View File
@@ -402,14 +402,17 @@ enum QuestObjectiveFlags2
enum class QuestCompleteSpellType : uint32
{
LegacyBehavior = 0,
Follower = 1,
Tradeskill = 2,
Ability = 3,
Aura = 4,
Spell = 5,
Unlock = 6,
Companion = 7,
LegacyBehavior = 0,
Follower = 1,
Tradeskill = 2,
Ability = 3,
Aura = 4,
Spell = 5,
Unlock = 6,
Companion = 7,
QuestlineUnlock = 8,
QuestlineReward = 9,
QuestlineUnlockPart = 10,
Max
};
@@ -698,6 +701,7 @@ class TC_GAME_API Quest
uint32 GetFlags() const { return _flags; }
uint32 GetFlagsEx() const { return _flagsEx; }
uint32 GetFlagsEx2() const { return _flagsEx2; }
uint32 GetFlagsEx3() const { return _flagsEx3; }
uint32 GetSpecialFlags() const { return _specialFlags; }
uint32 GetScriptId() const { return _scriptId; }
uint32 GetAreaGroupID() const { return _areaGroupID; }
@@ -796,6 +800,7 @@ class TC_GAME_API Quest
uint32 _flags = 0;
uint32 _flagsEx = 0;
uint32 _flagsEx2 = 0;
uint32 _flagsEx3 = 0;
uint32 _poiContinent = 0;
float _poix = 0.f;
float _poiy = 0.f;
@@ -345,7 +345,7 @@ ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Battleground::RatedPvpInf
data << int32(bracketInfo.PvpTierID);
data << int32(bracketInfo.SeasonPvpTier);
data << int32(bracketInfo.BestWeeklyPvpTier);
data << int32(bracketInfo.BestSeasonPvpTierEnum);
data << uint8(bracketInfo.BestSeasonPvpTierEnum);
data.WriteBit(bracketInfo.Disqualified);
data.FlushBits();
@@ -469,7 +469,7 @@ namespace WorldPackets
int32 PvpTierID = 0;
int32 SeasonPvpTier = 0;
int32 BestWeeklyPvpTier = 0;
int32 BestSeasonPvpTierEnum = 0;
uint8 BestSeasonPvpTierEnum = 0;
bool Disqualified = false;
} Bracket[9];
};
@@ -215,7 +215,7 @@ ByteBuffer& operator<<(ByteBuffer& data, EnumCharactersResult::CharacterInfoBasi
{
data << charInfo.Guid;
data << uint32(charInfo.VirtualRealmAddress);
data << uint8(charInfo.ListPosition);
data << uint16(charInfo.ListPosition);
data << uint8(charInfo.RaceID);
data << uint8(charInfo.SexID);
data << uint8(charInfo.ClassID);
@@ -151,7 +151,7 @@ namespace WorldPackets
uint32 VirtualRealmAddress = 0;
uint64 GuildClubMemberID = 0; ///< same as bgs.protocol.club.v1.MemberId.unique_id, guessed basing on SMSG_QUERY_PLAYER_NAME_RESPONSE (that one is known)
std::string Name;
uint8 ListPosition = 0; ///< Order of the characters in list
uint16 ListPosition = 0; ///< Order of the characters in list
uint8 RaceID = 0;
uint8 ClassID = 0;
uint8 SexID = 0;
@@ -136,7 +136,7 @@ ByteBuffer& operator<<(ByteBuffer& data, PVPBracketData const& bracket)
data << int32(bracket.Tier);
data << int32(bracket.WeeklyBestTier);
data << int32(bracket.SeasonBestRating);
data << int32(bracket.SeasonBestTierEnum);
data << uint8(bracket.SeasonBestTierEnum);
data << int32(bracket.RoundsSeasonPlayed);
data << int32(bracket.RoundsSeasonWon);
data << int32(bracket.RoundsWeeklyPlayed);
@@ -108,7 +108,7 @@ namespace WorldPackets
int32 Tier = 0;
int32 WeeklyBestTier = 0;
int32 SeasonBestRating = 0;
int32 SeasonBestTierEnum = 0;
uint8 SeasonBestTierEnum = 0;
int32 RoundsSeasonPlayed = 0;
int32 RoundsSeasonWon = 0;
int32 RoundsWeeklyPlayed = 0;
@@ -273,7 +273,7 @@ WorldPacket const* LFGRoleCheckUpdate::Write()
WorldPacket const* LFGJoinResult::Write()
{
_worldPacket << Ticket;
_worldPacket << uint8(Result);
_worldPacket << int32(Result);
_worldPacket << uint8(ResultDetail);
_worldPacket << uint32(BlackList.size());
_worldPacket << uint32(BlackListNames.size());
+1 -1
View File
@@ -286,7 +286,7 @@ namespace WorldPackets
WorldPacket const* Write() override;
RideTicket Ticket;
uint8 Result = 0;
int32 Result = 0;
uint8 ResultDetail = 0;
std::vector<LFGBlackList> BlackList;
std::vector<std::string const*> BlackListNames;
@@ -78,9 +78,7 @@ ByteBuffer& operator<<(ByteBuffer& data, ClientGossipText const& gossipText)
data << int32(gossipText.ContentTuningID);
data << int32(gossipText.QuestType);
data << int32(gossipText.Unused1102);
data << int32(gossipText.QuestFlags[0]);
data << int32(gossipText.QuestFlags[1]);
data << int32(gossipText.QuestFlags[2]);
data.append(gossipText.QuestFlags);
data << Bits<1>(gossipText.Repeatable);
data << Bits<1>(gossipText.ResetByScheduler);
+1 -1
View File
@@ -104,7 +104,7 @@ namespace WorldPackets
bool Important = false;
bool Meta = false;
std::string QuestTitle;
std::array<int32, 3> QuestFlags = { };
std::array<int32, 4> QuestFlags = { };
};
ByteBuffer& operator<<(ByteBuffer& data, ClientGossipText const& gossipText);
@@ -111,6 +111,7 @@ WorldPacket const* QueryQuestInfoResponse::Write()
_worldPacket << uint32(Info.Flags);
_worldPacket << uint32(Info.FlagsEx);
_worldPacket << uint32(Info.FlagsEx2);
_worldPacket << uint32(Info.FlagsEx3);
for (uint32 i = 0; i < QUEST_REWARD_ITEM_COUNT; ++i)
{
@@ -368,9 +369,7 @@ ByteBuffer& operator<<(ByteBuffer& data, QuestGiverOfferReward const& offer)
data << offer.Rewards; // QuestRewards
data << int32(offer.Emotes.size());
data << offer.QuestGiverGUID;
data << int32(offer.QuestFlags[0]); // Flags
data << int32(offer.QuestFlags[1]); // FlagsEx
data << int32(offer.QuestFlags[2]); // FlagsEx2
data.append(offer.QuestFlags);
data << int32(offer.QuestGiverCreatureID);
data << int32(offer.QuestID);
data << int32(offer.SuggestedPartyMembers);
@@ -467,9 +466,7 @@ WorldPacket const* QuestGiverQuestDetails::Write()
_worldPacket << int32(PortraitGiverMount);
_worldPacket << int32(PortraitGiverModelSceneID);
_worldPacket << int32(PortraitTurnIn);
_worldPacket << uint32(QuestFlags[0]); // Flags
_worldPacket << uint32(QuestFlags[1]); // FlagsEx
_worldPacket << uint32(QuestFlags[2]); // FlagsEx
_worldPacket.append(QuestFlags);
_worldPacket << int32(SuggestedPartyMembers);
_worldPacket << uint32(LearnSpells.size());
_worldPacket << uint32(DescEmotes.size());
@@ -532,9 +529,7 @@ WorldPacket const* QuestGiverRequestItems::Write()
_worldPacket << int32(Collect.size());
_worldPacket << int32(Currency.size());
_worldPacket << QuestGiverGUID;
_worldPacket << uint32(QuestFlags[0]);
_worldPacket << uint32(QuestFlags[1]);
_worldPacket << uint32(QuestFlags[2]);
_worldPacket.append(QuestFlags);
_worldPacket << int32(StatusFlags);
_worldPacket << int32(QuestGiverCreatureID);
_worldPacket << int32(QuestID);
@@ -774,15 +769,11 @@ ByteBuffer& operator<<(ByteBuffer& data, PlayerChoiceResponseMawPower const& pla
data << int32(playerChoiceResponseMawPower.SpellID);
data << int32(playerChoiceResponseMawPower.MaxStacks);
data.WriteBit(playerChoiceResponseMawPower.Rarity.has_value());
data.WriteBit(playerChoiceResponseMawPower.RarityColor.has_value());
data.FlushBits();
if (playerChoiceResponseMawPower.Rarity)
data << int32(*playerChoiceResponseMawPower.Rarity);
if (playerChoiceResponseMawPower.RarityColor)
data << uint32(*playerChoiceResponseMawPower.RarityColor);
return data;
}
@@ -840,9 +831,11 @@ WorldPacket const* DisplayPlayerChoice::Write()
_worldPacket << Duration;
_worldPacket.WriteBits(Question.length(), 8);
_worldPacket.WriteBits(PendingChoiceText.length(), 8);
_worldPacket.WriteBit(CloseChoiceFrame);
_worldPacket.WriteBit(InfiniteRange);
_worldPacket.WriteBit(HideWarboardHeader);
_worldPacket.WriteBit(KeepOpenAfterChoice);
_worldPacket.WriteBit(Unknown_1115_1);
_worldPacket.WriteBit(Unknown_1115_2);
_worldPacket.FlushBits();
for (PlayerChoiceResponse const& response : Responses)
@@ -148,6 +148,7 @@ namespace WorldPackets
uint32 Flags = 0;
uint32 FlagsEx = 0;
uint32 FlagsEx2 = 0;
uint32 FlagsEx3 = 0;
int32 POIContinent = 0;
float POIx = 0.0f;
float POIy = 0.0f;
@@ -315,7 +316,7 @@ namespace WorldPackets
int32 SuggestedPartyMembers = 0;
QuestRewards Rewards;
std::vector<QuestDescEmote> Emotes;
std::array<int32, 3> QuestFlags = { };
std::array<int32, 4> QuestFlags = { };
int32 QuestInfoID = 0;
};
@@ -414,7 +415,7 @@ namespace WorldPackets
ObjectGuid InformUnit;
int32 QuestID = 0;
int32 QuestPackageID = 0;
uint32 QuestFlags[3] = { };
std::array<uint32, 4> QuestFlags = { };
int32 SuggestedPartyMembers = 0;
QuestRewards Rewards;
std::vector<QuestObjectiveSimple> Objectives;
@@ -478,7 +479,7 @@ namespace WorldPackets
std::vector<QuestCurrency> Currency;
int32 StatusFlags = 0;
int32 QuestInfoID = 0;
uint32 QuestFlags[3] = { };
std::array<uint32, 4> QuestFlags = { };
std::string QuestTitle;
std::string CompletionText;
std::vector<ConditionalQuestText> ConditionalCompletionText;
@@ -728,7 +729,6 @@ namespace WorldPackets
int32 Unused901_1 = 0;
int32 TypeArtFileID = 0;
Optional<int32> Rarity;
Optional<uint32> RarityColor;
int32 Unused901_2 = 0;
int32 SpellID = 0;
int32 MaxStacks = 0;
@@ -773,9 +773,11 @@ namespace WorldPackets
std::string_view Question;
std::string_view PendingChoiceText;
std::vector<PlayerChoiceResponse> Responses;
bool CloseChoiceFrame = false;
bool InfiniteRange = false;
bool HideWarboardHeader = false;
bool KeepOpenAfterChoice = false;
bool Unknown_1115_1 = false;
bool Unknown_1115_2 = false;
};
class ChoiceResponse final : public ClientPacket
@@ -388,6 +388,7 @@ ByteBuffer& operator<<(ByteBuffer& data, SpellCastData const& spellCastData)
data << spellCastData.Visual;
data << uint32(spellCastData.CastFlags);
data << uint32(spellCastData.CastFlagsEx);
data << uint32(spellCastData.CastFlagsEx2);
data << uint32(spellCastData.CastTime);
data << spellCastData.MissileTrajectory;
data << int32(spellCastData.AmmoDisplayID);
@@ -984,14 +985,15 @@ MirrorImageComponentedData::~MirrorImageComponentedData() = default;
WorldPacket const* MirrorImageComponentedData::Write()
{
_worldPacket << UnitGUID;
_worldPacket << int32(DisplayID);
_worldPacket << int32(SpellVisualKitID);
_worldPacket << int32(ChrModelID);
_worldPacket << uint8(RaceID);
_worldPacket << uint8(Gender);
_worldPacket << uint8(ClassID);
_worldPacket << uint32(Customizations.size());
_worldPacket << GuildGUID;
_worldPacket << uint32(ItemDisplayID.size());
_worldPacket << int32(SpellVisualKitID);
_worldPacket << int32(Unused_1115);
for (Character::ChrCustomizationChoice const& customization : Customizations)
_worldPacket << customization;
@@ -361,6 +361,7 @@ namespace WorldPackets
SpellCastVisual Visual;
uint32 CastFlags = 0;
uint32 CastFlagsEx = 0;
uint32 CastFlagsEx2 = 0;
uint32 CastTime = 0;
std::vector<ObjectGuid> HitTargets;
std::vector<ObjectGuid> MissTargets;
@@ -989,8 +990,9 @@ namespace WorldPackets
WorldPacket const* Write() override;
ObjectGuid UnitGUID;
int32 DisplayID = 0;
int32 ChrModelID = 0;
int32 SpellVisualKitID = 0;
int32 Unused_1115 = 0;
uint8 RaceID = 0;
uint8 Gender = 0;
uint8 ClassID = 0;
@@ -150,7 +150,6 @@ WorldPacket const* FeatureSystemStatus::Write()
_worldPacket << Bits<1>(GroupFinderEnabled);
_worldPacket << Bits<1>(IsPremadeGroupEnabled);
_worldPacket << Bits<1>(UseActivePlayerDataQuestCompleted);
_worldPacket << Bits<1>(false); // unused 10.2.7
_worldPacket << Bits<1>(GuildEventsEditsEnabled);
_worldPacket << Bits<1>(GuildTradeSkillsEnabled);
@@ -158,8 +157,8 @@ WorldPacket const* FeatureSystemStatus::Write()
_worldPacket << Bits<1>(BNSendWhisperUseV2Services);
_worldPacket << Bits<1>(BNSendGameDataUseV2Services);
_worldPacket << Bits<1>(IsAccountCurrencyTransferEnabled);
_worldPacket << Bits<1>(false); // unused 11.0.7
_worldPacket << Bits<1>(LobbyMatchmakerQueueFromMainlineEnabled);
_worldPacket << Bits<1>(CanSendLobbyMatchmakerPartyCustomizations);
_worldPacket << Bits<1>(AddonProfilerEnabled);
@@ -172,7 +172,6 @@ namespace WorldPackets
bool SellAllJunkEnabled = false;
bool GroupFinderEnabled = true; // classic only
bool IsPremadeGroupEnabled = true; // classic only
bool UseActivePlayerDataQuestCompleted = false; ///< Uses ActivePlayerData::QuestCompleted (legacy) to store completed quest bits instead of ActivePlayerData::BitVectors[9]
bool GuildEventsEditsEnabled = true;
bool GuildTradeSkillsEnabled = true;
bool BNSendWhisperUseV2Services = true; ///< BNSendWhisper will send to v2.WhisperService instead of v1.NotificationService
+16 -3
View File
@@ -307,6 +307,7 @@ void OpcodeTable::InitializeClientOpcodes()
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_INVITE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelPlayerCommand);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_KICK, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelPlayerCommand);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_LIST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelCommand);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_MODERATE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_MODERATOR, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelPlayerCommand);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_OWNER, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelCommand);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_PASSWORD, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelPassword);
@@ -315,6 +316,7 @@ void OpcodeTable::InitializeClientOpcodes()
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_UNBAN, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelPlayerCommand);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_UNMODERATOR, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelPlayerCommand);
DEFINE_HANDLER(CMSG_CHAT_CHANNEL_UNSILENCE_ALL, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChannelPlayerCommand);
DEFINE_HANDLER(CMSG_CHAT_DROP_CAUTIONARY_CHAT_MESSAGE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_CHAT_JOIN_CHANNEL, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleJoinChannel);
DEFINE_HANDLER(CMSG_CHAT_LEAVE_CHANNEL, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleLeaveChannel);
DEFINE_HANDLER(CMSG_CHAT_LOBBY_MATCHMAKER_MESSAGE_INSTANCE_CHAT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
@@ -335,6 +337,8 @@ void OpcodeTable::InitializeClientOpcodes()
DEFINE_HANDLER(CMSG_CHAT_REGISTER_ADDON_PREFIXES, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleAddonRegisteredPrefixesOpcode);
DEFINE_HANDLER(CMSG_CHAT_REPORT_FILTERED, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_CHAT_REPORT_IGNORED, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleChatIgnoredOpcode);
DEFINE_HANDLER(CMSG_CHAT_SEND_CAUTIONARY_CHANNEL_MESSAGE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_CHAT_SEND_CAUTIONARY_CHAT_MESSAGE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_CHAT_UNREGISTER_ALL_ADDON_PREFIXES, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleUnregisterAllAddonPrefixesOpcode);
DEFINE_HANDLER(CMSG_CHECK_CHARACTER_NAME_AVAILABILITY, STATUS_AUTHED, PROCESS_THREADUNSAFE, &WorldSession::HandleCheckCharacterNameAvailability);
DEFINE_HANDLER(CMSG_CHECK_IS_ADVENTURE_MAP_POI_VALID, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleCheckIsAdventureMapPoiValid);
@@ -532,6 +536,10 @@ void OpcodeTable::InitializeClientOpcodes()
DEFINE_HANDLER(CMSG_GUILD_QUERY_NEWS, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleGuildQueryNews);
DEFINE_HANDLER(CMSG_GUILD_QUERY_RECIPES, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_GUILD_REPLACE_GUILD_MASTER, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleGuildReplaceGuildMaster);
DEFINE_HANDLER(CMSG_GUILD_REQUEST_RENAME, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_GUILD_REQUEST_RENAME_NAME_CHECK, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_GUILD_REQUEST_RENAME_REFUND, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_GUILD_REQUEST_RENAME_STATUS, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_GUILD_SET_ACHIEVEMENT_TRACKING, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleGuildSetAchievementTracking);
DEFINE_HANDLER(CMSG_GUILD_SET_FOCUSED_ACHIEVEMENT, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleGuildSetFocusedAchievement);
DEFINE_HANDLER(CMSG_GUILD_SET_GUILD_MASTER, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleGuildSetGuildMaster);
@@ -727,6 +735,7 @@ void OpcodeTable::InitializeClientOpcodes()
DEFINE_HANDLER(CMSG_PARTY_UNINVITE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandlePartyUninviteOpcode);
DEFINE_HANDLER(CMSG_PERFORM_ITEM_INTERACTION, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_PERKS_PROGRAM_ITEMS_REFRESHED, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_PERKS_PROGRAM_REQUEST_CART_CHECKOUT, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_PERKS_PROGRAM_REQUEST_PENDING_REWARDS, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_PERKS_PROGRAM_REQUEST_PURCHASE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_PERKS_PROGRAM_REQUEST_REFUND, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
@@ -822,9 +831,6 @@ void OpcodeTable::InitializeClientOpcodes()
DEFINE_HANDLER(CMSG_REPAIR_ITEM, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::HandleRepairItemOpcode);
DEFINE_HANDLER(CMSG_REPLACE_TROPHY, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_REPOP_REQUEST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleRepopRequest);
DEFINE_HANDLER(CMSG_REPORT_CLIENT_VARIABLES, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_REPORT_ENABLED_ADDONS, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_REPORT_KEYBINDING_EXECUTION_COUNTS, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_REPORT_PVP_PLAYER_AFK, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleReportPvPAFK);
DEFINE_HANDLER(CMSG_REPORT_SERVER_LAG, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_REPORT_STUCK_IN_COMBAT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL);
@@ -1232,6 +1238,8 @@ void OpcodeTable::InitializeServerOpcodes()
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CAPTURE_POINT_REMOVED, STATUS_NEVER, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CAST_FAILED, STATUS_NEVER, CONNECTION_TYPE_INSTANCE);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CAS_REFRESH_REMOTE_DATA, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CAUTIONARY_CHANNEL_MESSAGE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CAUTIONARY_CHAT_MESSAGE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CHAIN_MISSILE_BOUNCE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CHALLENGE_MODE_COMPLETE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_CHALLENGE_MODE_REQUEST_LEADERS_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
@@ -1389,6 +1397,7 @@ void OpcodeTable::InitializeServerOpcodes()
DEFINE_SERVER_OPCODE_HANDLER(SMSG_EQUIPMENT_SET_ID, STATUS_NEVER, CONNECTION_TYPE_INSTANCE);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_EXPECTED_SPAM_RECORDS, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_EXPLORATION_EXPERIENCE, STATUS_NEVER, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_EXPORT_ACCOUNT_PROFILE, STATUS_NEVER, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_EXTERNAL_TRANSACTION_ID_GENERATED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_FACTION_BONUS_INFO, STATUS_UNHANDLED, CONNECTION_TYPE_INSTANCE);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_FAILED_PLAYER_CONDITION, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
@@ -1570,6 +1579,10 @@ void OpcodeTable::InitializeServerOpcodes()
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_PARTY_STATE, STATUS_NEVER, CONNECTION_TYPE_INSTANCE);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_PERMISSIONS_QUERY_RESULTS, STATUS_NEVER, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RANKS, STATUS_NEVER, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RENAME_NAME_CHECK, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RENAME_REFUND_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RENAME_REQUESTED_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RENAME_STATUS_UPDATE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_REPUTATION_REACTION_CHANGED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RESET, STATUS_UNHANDLED, CONNECTION_TYPE_REALM);
DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_REWARD_LIST, STATUS_NEVER, CONNECTION_TYPE_REALM);
File diff suppressed because it is too large Load Diff
+17 -15
View File
@@ -53,21 +53,23 @@ enum class ReportMajorCategory : int32
enum class ReportMinorCategory : int32
{
TextChat = 0x0001,
Boosting = 0x0002,
Spam = 0x0004,
Afk = 0x0008,
IntentionallyFeeding = 0x0010,
BlockingProgress = 0x0020,
Hacking = 0x0040,
Botting = 0x0080,
Advertisement = 0x0100,
BTag = 0x0200,
GroupName = 0x0400,
CharacterName = 0x0800,
GuildName = 0x1000,
Description = 0x2000,
Name = 0x4000,
TextChat = 0x00000001,
Boosting = 0x00000002,
Spam = 0x00000004,
Afk = 0x00000008,
IntentionallyFeeding = 0x00000010,
BlockingProgress = 0x00000020,
Hacking = 0x00000040,
Botting = 0x00000080,
Advertisement = 0x00000100,
BTag = 0x00000200,
GroupName = 0x00000400,
CharacterName = 0x00000800,
GuildName = 0x00001000,
Description = 0x00002000,
Name = 0x00004000,
ChinaHarmfulMinors = 0x00008000,
Disruption = 0x00010000,
};
// from blizzard lua
@@ -0,0 +1,979 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/client/v2/presence_types.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "api/client/v2/presence_types.pb.h"
#include <utility>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
namespace bgs {
namespace protocol {
namespace presence {
namespace v2 {
namespace {
const ::google::protobuf::Descriptor* RichPresenceKey_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
RichPresenceKey_reflection_ = NULL;
const ::google::protobuf::Descriptor* PresenceFieldKey_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PresenceFieldKey_reflection_ = NULL;
const ::google::protobuf::Descriptor* PresenceField_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PresenceField_reflection_ = NULL;
const ::google::protobuf::Descriptor* PresenceFieldState_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PresenceFieldState_reflection_ = NULL;
const ::google::protobuf::Descriptor* PresenceFieldUpdate_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PresenceFieldUpdate_reflection_ = NULL;
const ::google::protobuf::Descriptor* PresenceOnlineGameAccount_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PresenceOnlineGameAccount_reflection_ = NULL;
const ::google::protobuf::Descriptor* PresenceOnlineGameAccountFieldValue_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PresenceOnlineGameAccountFieldValue_reflection_ = NULL;
const ::google::protobuf::Descriptor* PresenceExternalIdentityFieldValue_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PresenceExternalIdentityFieldValue_reflection_ = NULL;
const ::google::protobuf::EnumDescriptor* PresenceQueryBehavior_descriptor_ = NULL;
const ::google::protobuf::EnumDescriptor* PresenceAccountStatus_descriptor_ = NULL;
} // namespace
void protobuf_AssignDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto() {
protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
const ::google::protobuf::FileDescriptor* file =
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
"api/client/v2/presence_types.proto");
GOOGLE_CHECK(file != NULL);
RichPresenceKey_descriptor_ = file->message_type(0);
static const int RichPresenceKey_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RichPresenceKey, title_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RichPresenceKey, stream_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RichPresenceKey, localization_id_),
};
RichPresenceKey_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
RichPresenceKey_descriptor_,
RichPresenceKey::default_instance_,
RichPresenceKey_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RichPresenceKey, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RichPresenceKey, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(RichPresenceKey));
PresenceFieldKey_descriptor_ = file->message_type(1);
static const int PresenceFieldKey_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldKey, title_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldKey, group_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldKey, field_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldKey, unique_id_),
};
PresenceFieldKey_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PresenceFieldKey_descriptor_,
PresenceFieldKey::default_instance_,
PresenceFieldKey_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldKey, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldKey, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceFieldKey));
PresenceField_descriptor_ = file->message_type(2);
static const int PresenceField_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceField, key_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceField, value_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceField, deleted_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceField, updated_time_us_),
};
PresenceField_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PresenceField_descriptor_,
PresenceField::default_instance_,
PresenceField_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceField, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceField, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceField));
PresenceFieldState_descriptor_ = file->message_type(3);
static const int PresenceFieldState_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldState, account_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldState, game_account_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldState, fields_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldState, oldest_time_us_),
};
PresenceFieldState_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PresenceFieldState_descriptor_,
PresenceFieldState::default_instance_,
PresenceFieldState_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldState, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldState, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceFieldState));
PresenceFieldUpdate_descriptor_ = file->message_type(4);
static const int PresenceFieldUpdate_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldUpdate, key_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldUpdate, value_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldUpdate, delete__),
};
PresenceFieldUpdate_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PresenceFieldUpdate_descriptor_,
PresenceFieldUpdate::default_instance_,
PresenceFieldUpdate_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldUpdate, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceFieldUpdate, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceFieldUpdate));
PresenceOnlineGameAccount_descriptor_ = file->message_type(5);
static const int PresenceOnlineGameAccount_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceOnlineGameAccount, game_account_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceOnlineGameAccount, online_time_us_),
};
PresenceOnlineGameAccount_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PresenceOnlineGameAccount_descriptor_,
PresenceOnlineGameAccount::default_instance_,
PresenceOnlineGameAccount_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceOnlineGameAccount, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceOnlineGameAccount, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceOnlineGameAccount));
PresenceOnlineGameAccountFieldValue_descriptor_ = file->message_type(6);
static const int PresenceOnlineGameAccountFieldValue_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceOnlineGameAccountFieldValue, online_game_accounts_),
};
PresenceOnlineGameAccountFieldValue_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PresenceOnlineGameAccountFieldValue_descriptor_,
PresenceOnlineGameAccountFieldValue::default_instance_,
PresenceOnlineGameAccountFieldValue_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceOnlineGameAccountFieldValue, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceOnlineGameAccountFieldValue, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceOnlineGameAccountFieldValue));
PresenceExternalIdentityFieldValue_descriptor_ = file->message_type(7);
static const int PresenceExternalIdentityFieldValue_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceExternalIdentityFieldValue, unique_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceExternalIdentityFieldValue, display_id_),
};
PresenceExternalIdentityFieldValue_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PresenceExternalIdentityFieldValue_descriptor_,
PresenceExternalIdentityFieldValue::default_instance_,
PresenceExternalIdentityFieldValue_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceExternalIdentityFieldValue, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceExternalIdentityFieldValue, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceExternalIdentityFieldValue));
PresenceQueryBehavior_descriptor_ = file->enum_type(0);
PresenceAccountStatus_descriptor_ = file->enum_type(1);
}
namespace {
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
inline void protobuf_AssignDescriptorsOnce() {
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
&protobuf_AssignDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto);
}
void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
RichPresenceKey_descriptor_, &RichPresenceKey::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PresenceFieldKey_descriptor_, &PresenceFieldKey::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PresenceField_descriptor_, &PresenceField::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PresenceFieldState_descriptor_, &PresenceFieldState::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PresenceFieldUpdate_descriptor_, &PresenceFieldUpdate::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PresenceOnlineGameAccount_descriptor_, &PresenceOnlineGameAccount::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PresenceOnlineGameAccountFieldValue_descriptor_, &PresenceOnlineGameAccountFieldValue::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PresenceExternalIdentityFieldValue_descriptor_, &PresenceExternalIdentityFieldValue::default_instance());
}
} // namespace
void protobuf_ShutdownFile_api_2fclient_2fv2_2fpresence_5ftypes_2eproto() {
delete RichPresenceKey::default_instance_;
delete RichPresenceKey_reflection_;
delete PresenceFieldKey::default_instance_;
delete PresenceFieldKey_reflection_;
delete PresenceField::default_instance_;
delete PresenceField_reflection_;
delete PresenceFieldState::default_instance_;
delete PresenceFieldState_reflection_;
delete PresenceFieldUpdate::default_instance_;
delete PresenceFieldUpdate_reflection_;
delete PresenceOnlineGameAccount::default_instance_;
delete PresenceOnlineGameAccount_reflection_;
delete PresenceOnlineGameAccountFieldValue::default_instance_;
delete PresenceOnlineGameAccountFieldValue_reflection_;
delete PresenceExternalIdentityFieldValue::default_instance_;
delete PresenceExternalIdentityFieldValue_reflection_;
}
void protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto() {
static bool already_here = false;
if (already_here) return;
already_here = true;
GOOGLE_PROTOBUF_VERIFY_VERSION;
::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto();
::bgs::protocol::account::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\"api/client/v2/presence_types.proto\022\030bg"
"s.protocol.presence.v2\032#api/common/v2/at"
"tribute_types.proto\032\'api/common/v2/game_"
"account_handle.proto\"L\n\017RichPresenceKey\022"
"\020\n\010title_id\030\001 \001(\r\022\016\n\006stream\030\002 \001(\007\022\027\n\017loc"
"alization_id\030\003 \001(\r\"U\n\020PresenceFieldKey\022\020"
"\n\010title_id\030\001 \001(\r\022\r\n\005group\030\002 \001(\r\022\r\n\005field"
"\030\003 \001(\r\022\021\n\tunique_id\030\004 \001(\004\"\233\001\n\rPresenceFi"
"eld\0227\n\003key\030\001 \001(\0132*.bgs.protocol.presence"
".v2.PresenceFieldKey\022\'\n\005value\030\002 \001(\0132\030.bg"
"s.protocol.v2.Variant\022\017\n\007deleted\030\003 \001(\010\022\027"
"\n\017updated_time_us\030\004 \001(\004\"\273\001\n\022PresenceFiel"
"dState\022\022\n\naccount_id\030\001 \001(\004\022@\n\014game_accou"
"nt\030\002 \001(\0132*.bgs.protocol.account.v2.GameA"
"ccountHandle\0227\n\006fields\030\003 \003(\0132\'.bgs.proto"
"col.presence.v2.PresenceField\022\026\n\016oldest_"
"time_us\030\004 \001(\004\"\207\001\n\023PresenceFieldUpdate\0227\n"
"\003key\030\001 \001(\0132*.bgs.protocol.presence.v2.Pr"
"esenceFieldKey\022\'\n\005value\030\002 \001(\0132\030.bgs.prot"
"ocol.v2.Variant\022\016\n\006delete\030\003 \001(\010\"u\n\031Prese"
"nceOnlineGameAccount\022@\n\014game_account\030\001 \001"
"(\0132*.bgs.protocol.account.v2.GameAccount"
"Handle\022\026\n\016online_time_us\030\002 \001(\004\"x\n#Presen"
"ceOnlineGameAccountFieldValue\022Q\n\024online_"
"game_accounts\030\001 \003(\01323.bgs.protocol.prese"
"nce.v2.PresenceOnlineGameAccount\"K\n\"Pres"
"enceExternalIdentityFieldValue\022\021\n\tunique"
"_id\030\001 \001(\t\022\022\n\ndisplay_id\030\002 \001(\t*r\n\025Presenc"
"eQueryBehavior\022\033\n\027BATTLE_NET_ACCOUNT_ONL"
"Y\020\000\022\035\n\031INCLUDE_SAME_GAME_ACCOUNT\020\001\022\035\n\031IN"
"CLUDE_ALL_GAME_ACCOUNTS\020\002*C\n\025PresenceAcc"
"ountStatus\022\013\n\007OFFLINE\020\000\022\n\n\006ONLINE\020\001\022\010\n\004A"
"WAY\020\002\022\007\n\003DND\020\003B\002H\002", 1298);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"api/client/v2/presence_types.proto", &protobuf_RegisterTypes);
RichPresenceKey::default_instance_ = new RichPresenceKey();
PresenceFieldKey::default_instance_ = new PresenceFieldKey();
PresenceField::default_instance_ = new PresenceField();
PresenceFieldState::default_instance_ = new PresenceFieldState();
PresenceFieldUpdate::default_instance_ = new PresenceFieldUpdate();
PresenceOnlineGameAccount::default_instance_ = new PresenceOnlineGameAccount();
PresenceOnlineGameAccountFieldValue::default_instance_ = new PresenceOnlineGameAccountFieldValue();
PresenceExternalIdentityFieldValue::default_instance_ = new PresenceExternalIdentityFieldValue();
RichPresenceKey::default_instance_->InitAsDefaultInstance();
PresenceFieldKey::default_instance_->InitAsDefaultInstance();
PresenceField::default_instance_->InitAsDefaultInstance();
PresenceFieldState::default_instance_->InitAsDefaultInstance();
PresenceFieldUpdate::default_instance_->InitAsDefaultInstance();
PresenceOnlineGameAccount::default_instance_->InitAsDefaultInstance();
PresenceOnlineGameAccountFieldValue::default_instance_->InitAsDefaultInstance();
PresenceExternalIdentityFieldValue::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fpresence_5ftypes_2eproto);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_api_2fclient_2fv2_2fpresence_5ftypes_2eproto {
StaticDescriptorInitializer_api_2fclient_2fv2_2fpresence_5ftypes_2eproto() {
protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
}
} static_descriptor_initializer_api_2fclient_2fv2_2fpresence_5ftypes_2eproto_;
const ::google::protobuf::EnumDescriptor* PresenceQueryBehavior_descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceQueryBehavior_descriptor_;
}
bool PresenceQueryBehavior_IsValid(int value) {
switch(value) {
case 0:
case 1:
case 2:
return true;
default:
return false;
}
}
const ::google::protobuf::EnumDescriptor* PresenceAccountStatus_descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceAccountStatus_descriptor_;
}
bool PresenceAccountStatus_IsValid(int value) {
switch(value) {
case 0:
case 1:
case 2:
case 3:
return true;
default:
return false;
}
}
// ===================================================================
#ifndef _MSC_VER
const int RichPresenceKey::kTitleIdFieldNumber;
const int RichPresenceKey::kStreamFieldNumber;
const int RichPresenceKey::kLocalizationIdFieldNumber;
#endif // !_MSC_VER
RichPresenceKey::RichPresenceKey()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.RichPresenceKey)
}
void RichPresenceKey::InitAsDefaultInstance() {
}
RichPresenceKey::RichPresenceKey(const RichPresenceKey& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.RichPresenceKey)
}
void RichPresenceKey::SharedCtor() {
_cached_size_ = 0;
title_id_ = 0u;
stream_ = 0u;
localization_id_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
RichPresenceKey::~RichPresenceKey() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.RichPresenceKey)
SharedDtor();
}
void RichPresenceKey::SharedDtor() {
if (this != default_instance_) {
}
}
void RichPresenceKey::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* RichPresenceKey::descriptor() {
protobuf_AssignDescriptorsOnce();
return RichPresenceKey_descriptor_;
}
const RichPresenceKey& RichPresenceKey::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
RichPresenceKey* RichPresenceKey::default_instance_ = NULL;
RichPresenceKey* RichPresenceKey::New() const {
return new RichPresenceKey;
}
void RichPresenceKey::Swap(RichPresenceKey* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata RichPresenceKey::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = RichPresenceKey_descriptor_;
metadata.reflection = RichPresenceKey_reflection_;
return metadata;
}
// ===================================================================
#ifndef _MSC_VER
const int PresenceFieldKey::kTitleIdFieldNumber;
const int PresenceFieldKey::kGroupFieldNumber;
const int PresenceFieldKey::kFieldFieldNumber;
const int PresenceFieldKey::kUniqueIdFieldNumber;
#endif // !_MSC_VER
PresenceFieldKey::PresenceFieldKey()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.PresenceFieldKey)
}
void PresenceFieldKey::InitAsDefaultInstance() {
}
PresenceFieldKey::PresenceFieldKey(const PresenceFieldKey& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.PresenceFieldKey)
}
void PresenceFieldKey::SharedCtor() {
_cached_size_ = 0;
title_id_ = 0u;
group_ = 0u;
field_ = 0u;
unique_id_ = GOOGLE_ULONGLONG(0);
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PresenceFieldKey::~PresenceFieldKey() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.PresenceFieldKey)
SharedDtor();
}
void PresenceFieldKey::SharedDtor() {
if (this != default_instance_) {
}
}
void PresenceFieldKey::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PresenceFieldKey::descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceFieldKey_descriptor_;
}
const PresenceFieldKey& PresenceFieldKey::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
PresenceFieldKey* PresenceFieldKey::default_instance_ = NULL;
PresenceFieldKey* PresenceFieldKey::New() const {
return new PresenceFieldKey;
}
void PresenceFieldKey::Swap(PresenceFieldKey* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata PresenceFieldKey::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PresenceFieldKey_descriptor_;
metadata.reflection = PresenceFieldKey_reflection_;
return metadata;
}
// ===================================================================
#ifndef _MSC_VER
const int PresenceField::kKeyFieldNumber;
const int PresenceField::kValueFieldNumber;
const int PresenceField::kDeletedFieldNumber;
const int PresenceField::kUpdatedTimeUsFieldNumber;
#endif // !_MSC_VER
PresenceField::PresenceField()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.PresenceField)
}
void PresenceField::InitAsDefaultInstance() {
key_ = const_cast< ::bgs::protocol::presence::v2::PresenceFieldKey*>(&::bgs::protocol::presence::v2::PresenceFieldKey::default_instance());
value_ = const_cast< ::bgs::protocol::v2::Variant*>(&::bgs::protocol::v2::Variant::default_instance());
}
PresenceField::PresenceField(const PresenceField& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.PresenceField)
}
void PresenceField::SharedCtor() {
_cached_size_ = 0;
key_ = NULL;
value_ = NULL;
deleted_ = false;
updated_time_us_ = GOOGLE_ULONGLONG(0);
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PresenceField::~PresenceField() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.PresenceField)
SharedDtor();
}
void PresenceField::SharedDtor() {
if (this != default_instance_) {
delete key_;
delete value_;
}
}
void PresenceField::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PresenceField::descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceField_descriptor_;
}
const PresenceField& PresenceField::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
PresenceField* PresenceField::default_instance_ = NULL;
PresenceField* PresenceField::New() const {
return new PresenceField;
}
void PresenceField::Swap(PresenceField* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata PresenceField::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PresenceField_descriptor_;
metadata.reflection = PresenceField_reflection_;
return metadata;
}
// ===================================================================
#ifndef _MSC_VER
const int PresenceFieldState::kAccountIdFieldNumber;
const int PresenceFieldState::kGameAccountFieldNumber;
const int PresenceFieldState::kFieldsFieldNumber;
const int PresenceFieldState::kOldestTimeUsFieldNumber;
#endif // !_MSC_VER
PresenceFieldState::PresenceFieldState()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.PresenceFieldState)
}
void PresenceFieldState::InitAsDefaultInstance() {
game_account_ = const_cast< ::bgs::protocol::account::v2::GameAccountHandle*>(&::bgs::protocol::account::v2::GameAccountHandle::default_instance());
}
PresenceFieldState::PresenceFieldState(const PresenceFieldState& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.PresenceFieldState)
}
void PresenceFieldState::SharedCtor() {
_cached_size_ = 0;
account_id_ = GOOGLE_ULONGLONG(0);
game_account_ = NULL;
oldest_time_us_ = GOOGLE_ULONGLONG(0);
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PresenceFieldState::~PresenceFieldState() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.PresenceFieldState)
SharedDtor();
}
void PresenceFieldState::SharedDtor() {
if (this != default_instance_) {
delete game_account_;
}
}
void PresenceFieldState::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PresenceFieldState::descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceFieldState_descriptor_;
}
const PresenceFieldState& PresenceFieldState::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
PresenceFieldState* PresenceFieldState::default_instance_ = NULL;
PresenceFieldState* PresenceFieldState::New() const {
return new PresenceFieldState;
}
void PresenceFieldState::Swap(PresenceFieldState* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata PresenceFieldState::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PresenceFieldState_descriptor_;
metadata.reflection = PresenceFieldState_reflection_;
return metadata;
}
// ===================================================================
#ifndef _MSC_VER
const int PresenceFieldUpdate::kKeyFieldNumber;
const int PresenceFieldUpdate::kValueFieldNumber;
const int PresenceFieldUpdate::kDeleteFieldNumber;
#endif // !_MSC_VER
PresenceFieldUpdate::PresenceFieldUpdate()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.PresenceFieldUpdate)
}
void PresenceFieldUpdate::InitAsDefaultInstance() {
key_ = const_cast< ::bgs::protocol::presence::v2::PresenceFieldKey*>(&::bgs::protocol::presence::v2::PresenceFieldKey::default_instance());
value_ = const_cast< ::bgs::protocol::v2::Variant*>(&::bgs::protocol::v2::Variant::default_instance());
}
PresenceFieldUpdate::PresenceFieldUpdate(const PresenceFieldUpdate& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.PresenceFieldUpdate)
}
void PresenceFieldUpdate::SharedCtor() {
_cached_size_ = 0;
key_ = NULL;
value_ = NULL;
delete__ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PresenceFieldUpdate::~PresenceFieldUpdate() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.PresenceFieldUpdate)
SharedDtor();
}
void PresenceFieldUpdate::SharedDtor() {
if (this != default_instance_) {
delete key_;
delete value_;
}
}
void PresenceFieldUpdate::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PresenceFieldUpdate::descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceFieldUpdate_descriptor_;
}
const PresenceFieldUpdate& PresenceFieldUpdate::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
PresenceFieldUpdate* PresenceFieldUpdate::default_instance_ = NULL;
PresenceFieldUpdate* PresenceFieldUpdate::New() const {
return new PresenceFieldUpdate;
}
void PresenceFieldUpdate::Swap(PresenceFieldUpdate* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata PresenceFieldUpdate::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PresenceFieldUpdate_descriptor_;
metadata.reflection = PresenceFieldUpdate_reflection_;
return metadata;
}
// ===================================================================
#ifndef _MSC_VER
const int PresenceOnlineGameAccount::kGameAccountFieldNumber;
const int PresenceOnlineGameAccount::kOnlineTimeUsFieldNumber;
#endif // !_MSC_VER
PresenceOnlineGameAccount::PresenceOnlineGameAccount()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.PresenceOnlineGameAccount)
}
void PresenceOnlineGameAccount::InitAsDefaultInstance() {
game_account_ = const_cast< ::bgs::protocol::account::v2::GameAccountHandle*>(&::bgs::protocol::account::v2::GameAccountHandle::default_instance());
}
PresenceOnlineGameAccount::PresenceOnlineGameAccount(const PresenceOnlineGameAccount& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.PresenceOnlineGameAccount)
}
void PresenceOnlineGameAccount::SharedCtor() {
_cached_size_ = 0;
game_account_ = NULL;
online_time_us_ = GOOGLE_ULONGLONG(0);
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PresenceOnlineGameAccount::~PresenceOnlineGameAccount() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.PresenceOnlineGameAccount)
SharedDtor();
}
void PresenceOnlineGameAccount::SharedDtor() {
if (this != default_instance_) {
delete game_account_;
}
}
void PresenceOnlineGameAccount::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PresenceOnlineGameAccount::descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceOnlineGameAccount_descriptor_;
}
const PresenceOnlineGameAccount& PresenceOnlineGameAccount::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
PresenceOnlineGameAccount* PresenceOnlineGameAccount::default_instance_ = NULL;
PresenceOnlineGameAccount* PresenceOnlineGameAccount::New() const {
return new PresenceOnlineGameAccount;
}
void PresenceOnlineGameAccount::Swap(PresenceOnlineGameAccount* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata PresenceOnlineGameAccount::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PresenceOnlineGameAccount_descriptor_;
metadata.reflection = PresenceOnlineGameAccount_reflection_;
return metadata;
}
// ===================================================================
#ifndef _MSC_VER
const int PresenceOnlineGameAccountFieldValue::kOnlineGameAccountsFieldNumber;
#endif // !_MSC_VER
PresenceOnlineGameAccountFieldValue::PresenceOnlineGameAccountFieldValue()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.PresenceOnlineGameAccountFieldValue)
}
void PresenceOnlineGameAccountFieldValue::InitAsDefaultInstance() {
}
PresenceOnlineGameAccountFieldValue::PresenceOnlineGameAccountFieldValue(const PresenceOnlineGameAccountFieldValue& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.PresenceOnlineGameAccountFieldValue)
}
void PresenceOnlineGameAccountFieldValue::SharedCtor() {
_cached_size_ = 0;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PresenceOnlineGameAccountFieldValue::~PresenceOnlineGameAccountFieldValue() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.PresenceOnlineGameAccountFieldValue)
SharedDtor();
}
void PresenceOnlineGameAccountFieldValue::SharedDtor() {
if (this != default_instance_) {
}
}
void PresenceOnlineGameAccountFieldValue::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PresenceOnlineGameAccountFieldValue::descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceOnlineGameAccountFieldValue_descriptor_;
}
const PresenceOnlineGameAccountFieldValue& PresenceOnlineGameAccountFieldValue::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
PresenceOnlineGameAccountFieldValue* PresenceOnlineGameAccountFieldValue::default_instance_ = NULL;
PresenceOnlineGameAccountFieldValue* PresenceOnlineGameAccountFieldValue::New() const {
return new PresenceOnlineGameAccountFieldValue;
}
void PresenceOnlineGameAccountFieldValue::Swap(PresenceOnlineGameAccountFieldValue* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata PresenceOnlineGameAccountFieldValue::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PresenceOnlineGameAccountFieldValue_descriptor_;
metadata.reflection = PresenceOnlineGameAccountFieldValue_reflection_;
return metadata;
}
// ===================================================================
#ifndef _MSC_VER
const int PresenceExternalIdentityFieldValue::kUniqueIdFieldNumber;
const int PresenceExternalIdentityFieldValue::kDisplayIdFieldNumber;
#endif // !_MSC_VER
PresenceExternalIdentityFieldValue::PresenceExternalIdentityFieldValue()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:bgs.protocol.presence.v2.PresenceExternalIdentityFieldValue)
}
void PresenceExternalIdentityFieldValue::InitAsDefaultInstance() {
}
PresenceExternalIdentityFieldValue::PresenceExternalIdentityFieldValue(const PresenceExternalIdentityFieldValue& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:bgs.protocol.presence.v2.PresenceExternalIdentityFieldValue)
}
void PresenceExternalIdentityFieldValue::SharedCtor() {
::google::protobuf::internal::GetEmptyString();
_cached_size_ = 0;
unique_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
display_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PresenceExternalIdentityFieldValue::~PresenceExternalIdentityFieldValue() {
// @@protoc_insertion_point(destructor:bgs.protocol.presence.v2.PresenceExternalIdentityFieldValue)
SharedDtor();
}
void PresenceExternalIdentityFieldValue::SharedDtor() {
if (unique_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete unique_id_;
}
if (display_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete display_id_;
}
if (this != default_instance_) {
}
}
void PresenceExternalIdentityFieldValue::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PresenceExternalIdentityFieldValue::descriptor() {
protobuf_AssignDescriptorsOnce();
return PresenceExternalIdentityFieldValue_descriptor_;
}
const PresenceExternalIdentityFieldValue& PresenceExternalIdentityFieldValue::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fpresence_5ftypes_2eproto();
return *default_instance_;
}
PresenceExternalIdentityFieldValue* PresenceExternalIdentityFieldValue::default_instance_ = NULL;
PresenceExternalIdentityFieldValue* PresenceExternalIdentityFieldValue::New() const {
return new PresenceExternalIdentityFieldValue;
}
void PresenceExternalIdentityFieldValue::Swap(PresenceExternalIdentityFieldValue* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata PresenceExternalIdentityFieldValue::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PresenceExternalIdentityFieldValue_descriptor_;
metadata.reflection = PresenceExternalIdentityFieldValue_reflection_;
return metadata;
}
// @@protoc_insertion_point(namespace_scope)
} // namespace v2
} // namespace presence
} // namespace protocol
} // namespace bgs
// @@protoc_insertion_point(global_scope)
File diff suppressed because it is too large Load Diff
+21 -21
View File
@@ -1335,28 +1335,28 @@ void ExtractGameTables()
printf("output path %s\n", outputPath.string().c_str());
DB2FileInfo GameTables[] =
static constexpr DB2FileInfo GameTables[] =
{
{ 1582086, "ArtifactKnowledgeMultiplier.txt" },
{ 1391662, "ArtifactLevelXP.txt" },
{ 1391663, "BarberShopCostBase.txt" },
{ 1391664, "BaseMp.txt" },
{ 4494528, "BaseProfessionRatings.txt" },
{ 1391665, "BattlePetTypeDamageMod.txt" },
{ 1391666, "BattlePetXP.txt" },
{ 1391669, "CombatRatings.txt" },
{ 1391670, "CombatRatingsMultByILvl.txt" },
{ 1391671, "HonorLevel.txt" },
{ 1391642, "HpPerSta.txt" },
{ 2012881, "ItemLevelByLevel.txt" },
{ 1726830, "ItemLevelSquish.txt" },
{ 1391643, "ItemSocketCostPerLevel.txt" },
{ 1391651, "NPCManaCostScaler.txt" },
{ 4492239, "ProfessionRatings.txt" },
{ 1391659, "SandboxScaling.txt" },
{ 1391660, "SpellScaling.txt" },
{ 1980632, "StaminaMultByILvl.txt" },
{ 1391661, "xp.txt" }
{ .FileDataId = 1582086, .Name = "ArtifactKnowledgeMultiplier.txt" },
{ .FileDataId = 1391662, .Name = "ArtifactLevelXP.txt" },
{ .FileDataId = 1391663, .Name = "BarberShopCostBase.txt" },
{ .FileDataId = 1391664, .Name = "BaseMp.txt" },
{ .FileDataId = 4494528, .Name = "BaseProfessionRatings.txt" },
{ .FileDataId = 1391665, .Name = "BattlePetTypeDamageMod.txt" },
{ .FileDataId = 1391666, .Name = "BattlePetXP.txt" },
{ .FileDataId = 1391669, .Name = "CombatRatings.txt" },
{ .FileDataId = 1391670, .Name = "CombatRatingsMultByILvl.txt" },
{ .FileDataId = 1391671, .Name = "HonorLevel.txt" },
{ .FileDataId = 1391642, .Name = "HpPerSta.txt" },
{ .FileDataId = 2012881, .Name = "ItemLevelByLevel.txt" },
{ .FileDataId = 1726830, .Name = "ItemLevelSquish.txt" },
{ .FileDataId = 1391643, .Name = "ItemSocketCostPerLevel.txt" },
{ .FileDataId = 1391651, .Name = "NPCManaCostScaler.txt" },
{ .FileDataId = 4492239, .Name = "ProfessionRatings.txt" },
{ .FileDataId = 1391659, .Name = "SandboxScaling.txt" },
{ .FileDataId = 1391660, .Name = "SpellScaling.txt" },
{ .FileDataId = 1980632, .Name = "StaminaMultByILvl.txt" },
{ .FileDataId = 1391661, .Name = "xp.txt" }
};
uint32 count = 0;
@@ -138,6 +138,7 @@ constexpr DB2FileInfo DBFilesClientList[] =
{ .FileDataId = 1592470, .Name = "CelestialBody.db2" },
{ .FileDataId = 1068162, .Name = "Cfg_Categories.db2" },
{ .FileDataId = 1080949, .Name = "Cfg_Configs.db2" },
{ .FileDataId = 6841377, .Name = "Cfg_GameRules.db2" },
{ .FileDataId = 1082876, .Name = "Cfg_Regions.db2" },
{ .FileDataId = 2965645, .Name = "ChallengeModeItemBonusOverride.db2" },
{ .FileDataId = 1343386, .Name = "CharBaseInfo.db2" },
@@ -234,6 +235,9 @@ constexpr DB2FileInfo DBFilesClientList[] =
{ .FileDataId = 2143633, .Name = "ContributionStyle.db2" },
{ .FileDataId = 2143634, .Name = "ContributionStyleContainer.db2" },
{ .FileDataId = 1260801, .Name = "ConversationLine.db2" },
{ .FileDataId = 6405756, .Name = "CooldownSet.db2" },
{ .FileDataId = 6422327, .Name = "CooldownSetLinkedSpell.db2" },
{ .FileDataId = 6405757, .Name = "CooldownSetSpell.db2" },
{ .FileDataId = 3220711, .Name = "CorruptionEffects.db2" },
{ .FileDataId = 3384973, .Name = "Covenant.db2" },
{ .FileDataId = 4545611, .Name = "CraftingData.db2" },
@@ -882,7 +886,6 @@ constexpr DB2FileInfo DBFilesClientList[] =
{ .FileDataId = 1101657, .Name = "SpellXSpellVisual.db2" },
{ .FileDataId = 5735565, .Name = "SpotLightConditionMap.db2" },
{ .FileDataId = 1604265, .Name = "StartupFiles.db2" },
{ .FileDataId = 1375805, .Name = "Startup_Strings.db2" },
{ .FileDataId = 1140758, .Name = "Stationery.db2" },
{ .FileDataId = 1345276, .Name = "SummonProperties.db2" },
{ .FileDataId = 1302850, .Name = "TactKey.db2" },