Updated gameobject template fields and GameError enum

This commit is contained in:
hondacrx
2017-11-20 12:31:49 -05:00
parent 79aeee0ebc
commit 1a26ce6002
4 changed files with 253 additions and 215 deletions
@@ -394,7 +394,7 @@ namespace Framework.Constants
// 197 - Order Hall Advancement related // 197 - Order Hall Advancement related
OrderHallTalentLearned = 198, OrderHallTalentLearned = 198,
AppearanceUnlockedBySlot = 199, AppearanceUnlockedBySlot = 199,
OrderHallRecruitTyoop = 200, OrderHallRecruitTroop = 200,
// 201 - 0 criterias (Legion - 23420) // 201 - 0 criterias (Legion - 23420)
// 202 - 0 criterias (Legion - 23420) // 202 - 0 criterias (Legion - 23420)
CompleteWorldQuest = 203, CompleteWorldQuest = 203,
+216 -214
View File
@@ -2095,220 +2095,222 @@ namespace Framework.Constants
LfgJoinedRfQueue = 768, LfgJoinedRfQueue = 768,
LfgJoinedScenarioQueue = 769, LfgJoinedScenarioQueue = 769,
LfgJoinedWorldPvpQueue = 770, LfgJoinedWorldPvpQueue = 770,
LfgJoinedList = 771, ErrLfgJoinedBattlefieldQueue = 771,
LfgLeftQueue = 772, LfgJoinedList = 772,
LfgLeftList = 773, LfgLeftQueue = 773,
LfgRoleCheckAborted = 774, LfgLeftList = 774,
LfgReadyCheckAborted = 775, LfgRoleCheckAborted = 775,
LfgCantUseBattleground = 776, LfgReadyCheckAborted = 776,
LfgCantUseDungeons = 777, LfgCantUseBattleground = 777,
LfgReasonTooManyLfg = 778, LfgCantUseDungeons = 778,
InvalidTeleportLocation = 779, LfgReasonTooManyLfg = 779,
TooFarToInteract = 780, InvalidTeleportLocation = 780,
BattlegroundPlayersFromDifferentRealms = 781, TooFarToInteract = 781,
DifficultyChangeCooldownS = 782, BattlegroundPlayersFromDifferentRealms = 782,
DifficultyChangeCombatCooldownS = 783, DifficultyChangeCooldownS = 783,
DifficultyChangeWorldstate = 784, DifficultyChangeCombatCooldownS = 784,
DifficultyChangeEncounter = 785, DifficultyChangeWorldstate = 785,
DifficultyChangeCombat = 786, DifficultyChangeEncounter = 786,
DifficultyChangePlayerBusy = 787, DifficultyChangeCombat = 787,
DifficultyChangeAlreadyStarted = 788, DifficultyChangePlayerBusy = 788,
DifficultyChangeOtherHeroicS = 789, DifficultyChangeAlreadyStarted = 789,
DifficultyChangeHeroicInstanceAlreadyRunning = 790, DifficultyChangeOtherHeroicS = 790,
ArenaTeamPartySize = 791, DifficultyChangeHeroicInstanceAlreadyRunning = 791,
QuestForceRemovedS = 792, ArenaTeamPartySize = 792,
AttackNoActions = 793, QuestForceRemovedS = 793,
InRandomBg = 794, AttackNoActions = 794,
InNonRandomBg = 795, InRandomBg = 795,
AuctionEnoughItems = 796, InNonRandomBg = 796,
BnFriendSelf = 797, AuctionEnoughItems = 797,
BnFriendAlready = 798, BnFriendSelf = 798,
BnFriendBlocked = 799, BnFriendAlready = 799,
BnFriendListFull = 800, BnFriendBlocked = 800,
BnFriendRequestSent = 801, BnFriendListFull = 801,
BnBroadcastThrottle = 802, BnFriendRequestSent = 802,
BgDeveloperOnly = 803, BnBroadcastThrottle = 803,
CurrencySpellSlotMismatch = 804, BgDeveloperOnly = 804,
CurrencyNotTradable = 805, CurrencySpellSlotMismatch = 805,
RequiresExpansionS = 806, CurrencyNotTradable = 806,
QuestFailedSpell = 807, RequiresExpansionS = 807,
TalentFailedNotEnoughTalentsInPrimaryTree = 808, QuestFailedSpell = 808,
TalentFailedNoPrimaryTreeSelected = 809, TalentFailedNotEnoughTalentsInPrimaryTree = 809,
TalentFailedCantRemoveTalent = 810, TalentFailedNoPrimaryTreeSelected = 810,
TalentFailedUnknown = 811, TalentFailedCantRemoveTalent = 811,
WargameRequestFailure = 812, TalentFailedUnknown = 812,
RankRequiresAuthenticator = 813, WargameRequestFailure = 813,
GuildBankVoucherFailed = 814, RankRequiresAuthenticator = 814,
WargameRequestSent = 815, GuildBankVoucherFailed = 815,
RequiresAchievementI = 816, WargameRequestSent = 816,
RefundResultExceedMaxCurrency = 817, RequiresAchievementI = 817,
CantBuyQuantity = 818, RefundResultExceedMaxCurrency = 818,
ItemIsBattlePayLocked = 819, CantBuyQuantity = 819,
PartyAlreadyInBattlegroundQueue = 820, ItemIsBattlePayLocked = 820,
PartyConfirmingBattlegroundQueue = 821, PartyAlreadyInBattlegroundQueue = 821,
BattlefieldTeamPartySize = 822, PartyConfirmingBattlegroundQueue = 822,
InsuffTrackedCurrencyIs = 823, BattlefieldTeamPartySize = 823,
NotOnTournamentRealm = 824, InsuffTrackedCurrencyIs = 824,
GuildTrialAccountTrial = 825, NotOnTournamentRealm = 825,
GuildTrialAccountVeteran = 826, GuildTrialAccountTrial = 826,
GuildUndeletableDueToLevel = 827, GuildTrialAccountVeteran = 827,
CantDoThatInAGroup = 828, GuildUndeletableDueToLevel = 828,
GuildLeaderReplaced = 829, CantDoThatInAGroup = 829,
TransmogrifyCantEquip = 830, GuildLeaderReplaced = 830,
TransmogrifyInvalidItemType = 831, TransmogrifyCantEquip = 831,
TransmogrifyNotSoulbound = 832, TransmogrifyInvalidItemType = 832,
TransmogrifyInvalidSource = 833, TransmogrifyNotSoulbound = 833,
TransmogrifyInvalidDestination = 834, TransmogrifyInvalidSource = 834,
TransmogrifyMismatch = 835, TransmogrifyInvalidDestination = 835,
TransmogrifyLegendary = 836, TransmogrifyMismatch = 836,
TransmogrifySameItem = 837, TransmogrifyLegendary = 837,
TransmogrifySameAppearance = 838, TransmogrifySameItem = 838,
TransmogrifyNotEquipped = 839, TransmogrifySameAppearance = 839,
VoidDepositFull = 840, TransmogrifyNotEquipped = 840,
VoidWithdrawFull = 841, VoidDepositFull = 841,
VoidStorageWrapped = 842, VoidWithdrawFull = 842,
VoidStorageStackable = 843, VoidStorageWrapped = 843,
VoidStorageUnbound = 844, VoidStorageStackable = 844,
VoidStorageRepair = 845, VoidStorageUnbound = 845,
VoidStorageCharges = 846, VoidStorageRepair = 846,
VoidStorageQuest = 847, VoidStorageCharges = 847,
VoidStorageConjured = 848, VoidStorageQuest = 848,
VoidStorageMail = 849, VoidStorageConjured = 849,
VoidStorageBag = 850, VoidStorageMail = 850,
VoidTransferStorageFull = 851, VoidStorageBag = 851,
VoidTransferInvFull = 852, VoidTransferStorageFull = 852,
VoidTransferInternalError = 853, VoidTransferInvFull = 853,
VoidTransferItemInvalid = 854, VoidTransferInternalError = 854,
DifficultyDisabledInLfg = 855, VoidTransferItemInvalid = 855,
VoidStorageUnique = 856, DifficultyDisabledInLfg = 856,
VoidStorageLoot = 857, VoidStorageUnique = 857,
VoidStorageHoliday = 858, VoidStorageLoot = 858,
VoidStorageDuration = 859, VoidStorageHoliday = 859,
VoidStorageLoadFailed = 860, VoidStorageDuration = 860,
VoidStorageInvalidItem = 861, VoidStorageLoadFailed = 861,
ParentalControlsChatMuted = 862, VoidStorageInvalidItem = 862,
SorStartExperienceIncomplete = 863, ParentalControlsChatMuted = 863,
SorInvalidEmail = 864, SorStartExperienceIncomplete = 864,
SorInvalidComment = 865, SorInvalidEmail = 865,
ChallengeModeResetCooldownS = 866, SorInvalidComment = 866,
ChallengeModeResetKeystone = 867, ChallengeModeResetCooldownS = 867,
PetJournalAlreadyInLoadout = 868, ChallengeModeResetKeystone = 868,
ReportSubmittedSuccessfully = 869, PetJournalAlreadyInLoadout = 869,
ReportSubmissionFailed = 870, ReportSubmittedSuccessfully = 870,
SuggestionSubmittedSuccessfully = 871, ReportSubmissionFailed = 871,
BugSubmittedSuccessfully = 872, SuggestionSubmittedSuccessfully = 872,
ChallengeModeEnabled = 873, BugSubmittedSuccessfully = 873,
ChallengeModeDisabled = 874, ChallengeModeEnabled = 874,
PetbattleCreateFailed = 875, ChallengeModeDisabled = 875,
PetbattleNotHere = 876, PetbattleCreateFailed = 876,
PetbattleNotHereOnTransport = 877, PetbattleNotHere = 877,
PetbattleNotHereUnevenGround = 878, PetbattleNotHereOnTransport = 878,
PetbattleNotHereObstructed = 879, PetbattleNotHereUnevenGround = 879,
PetbattleNotWhileInCombat = 880, PetbattleNotHereObstructed = 880,
PetbattleNotWhileDead = 881, PetbattleNotWhileInCombat = 881,
PetbattleNotWhileFlying = 882, PetbattleNotWhileDead = 882,
PetbattleTargetInvalid = 883, PetbattleNotWhileFlying = 883,
PetbattleTargetOutOfRange = 884, PetbattleTargetInvalid = 884,
PetbattleTargetNotCapturable = 885, PetbattleTargetOutOfRange = 885,
PetbattleNotATrainer = 886, PetbattleTargetNotCapturable = 886,
PetbattleDeclined = 887, PetbattleNotATrainer = 887,
PetbattleInBattle = 888, PetbattleDeclined = 888,
PetbattleInvalidLoadout = 889, PetbattleInBattle = 889,
PetbattleAllPetsDead = 890, PetbattleInvalidLoadout = 890,
PetbattleNoPetsInSlots = 891, PetbattleAllPetsDead = 891,
PetbattleNoAccountLock = 892, PetbattleNoPetsInSlots = 892,
PetbattleWildPetTapped = 893, PetbattleNoAccountLock = 893,
PetbattleRestrictedAccount = 894, PetbattleWildPetTapped = 894,
PetbattleNotWhileInMatchedBattle = 895, PetbattleRestrictedAccount = 895,
CantHaveMorePetsOfThatType = 896, PetbattleNotWhileInMatchedBattle = 896,
CantHaveMorePets = 897, CantHaveMorePetsOfThatType = 897,
PvpMapNotFound = 898, CantHaveMorePets = 898,
PvpMapNotSet = 899, PvpMapNotFound = 899,
PetbattleQueueQueued = 900, PvpMapNotSet = 900,
PetbattleQueueAlreadyQueued = 901, PetbattleQueueQueued = 901,
PetbattleQueueJoinFailed = 902, PetbattleQueueAlreadyQueued = 902,
PetbattleQueueJournalLock = 903, PetbattleQueueJoinFailed = 903,
PetbattleQueueRemoved = 904, PetbattleQueueJournalLock = 904,
PetbattleQueueProposalDeclined = 905, PetbattleQueueRemoved = 905,
PetbattleQueueProposalTimeout = 906, PetbattleQueueProposalDeclined = 906,
PetbattleQueueOpponentDeclined = 907, PetbattleQueueProposalTimeout = 907,
PetbattleQueueRequeuedInternal = 908, PetbattleQueueOpponentDeclined = 908,
PetbattleQueueRequeuedRemoved = 909, PetbattleQueueRequeuedInternal = 909,
PetbattleQueueSlotLocked = 910, PetbattleQueueRequeuedRemoved = 910,
PetbattleQueueSlotEmpty = 911, PetbattleQueueSlotLocked = 911,
PetbattleQueueSlotNoTracker = 912, PetbattleQueueSlotEmpty = 912,
PetbattleQueueSlotNoSpecies = 913, PetbattleQueueSlotNoTracker = 913,
PetbattleQueueSlotCantBattle = 914, PetbattleQueueSlotNoSpecies = 914,
PetbattleQueueSlotRevoked = 915, PetbattleQueueSlotCantBattle = 915,
PetbattleQueueSlotDead = 916, PetbattleQueueSlotRevoked = 916,
PetbattleQueueSlotNoPet = 917, PetbattleQueueSlotDead = 917,
PetbattleQueueNotWhileNeutral = 918, PetbattleQueueSlotNoPet = 918,
PetbattleGameTimeLimitWarning = 919, PetbattleQueueNotWhileNeutral = 919,
PetbattleGameRoundsLimitWarning = 920, PetbattleGameTimeLimitWarning = 920,
HasRestriction = 921, PetbattleGameRoundsLimitWarning = 921,
ItemUpgradeItemTooLowLevel = 922, HasRestriction = 922,
ItemUpgradeNoPath = 923, ItemUpgradeItemTooLowLevel = 923,
ItemUpgradeNoMoreUpgrades = 924, ItemUpgradeNoPath = 924,
BonusRollEmpty = 925, ItemUpgradeNoMoreUpgrades = 925,
ChallengeModeFull = 926, BonusRollEmpty = 926,
ChallengeModeInProgress = 927, ChallengeModeFull = 927,
ChallengeModeIncorrectKeystone = 928, ChallengeModeInProgress = 928,
BattletagFriendNotFound = 929, ChallengeModeIncorrectKeystone = 929,
BattletagFriendNotValid = 930, BattletagFriendNotFound = 930,
BattletagFriendNotAllowed = 931, BattletagFriendNotValid = 931,
BattletagFriendThrottled = 932, BattletagFriendNotAllowed = 932,
BattletagFriendSuccess = 933, BattletagFriendThrottled = 933,
PetTooHighLevelToUncage = 934, BattletagFriendSuccess = 934,
PetbattleInternal = 935, PetTooHighLevelToUncage = 935,
CantCagePetYet = 936, PetbattleInternal = 936,
NoLootInChallengeMode = 937, CantCagePetYet = 937,
QuestPetBattleVictoriesPvpIi = 938, NoLootInChallengeMode = 938,
RoleCheckAlreadyInProgress = 939, QuestPetBattleVictoriesPvpIi = 939,
RecruitAFriendAccountLimit = 940, RoleCheckAlreadyInProgress = 940,
RecruitAFriendFailed = 941, RecruitAFriendAccountLimit = 941,
SetLootPersonal = 942, RecruitAFriendFailed = 942,
SetLootMethodFailedCombat = 943, SetLootPersonal = 943,
ReagentBankFull = 944, SetLootMethodFailedCombat = 944,
ReagentBankLocked = 945, ReagentBankFull = 945,
GarrisonBuildingExists = 946, ReagentBankLocked = 946,
GarrisonInvalidPlot = 947, GarrisonBuildingExists = 947,
GarrisonInvalidBuildingid = 948, GarrisonInvalidPlot = 948,
GarrisonInvalidPlotBuilding = 949, GarrisonInvalidBuildingid = 949,
GarrisonRequiresBlueprint = 950, GarrisonInvalidPlotBuilding = 950,
GarrisonNotEnoughCurrency = 951, GarrisonRequiresBlueprint = 951,
GarrisonNotEnoughGold = 952, GarrisonNotEnoughCurrency = 952,
GarrisonCompleteMissionWrongFollowerType = 953, GarrisonNotEnoughGold = 953,
AlreadyUsingLfgList = 954, GarrisonCompleteMissionWrongFollowerType = 954,
RestrictedAccountLfgListTrial = 955, AlreadyUsingLfgList = 955,
ToyUseLimitReached = 956, RestrictedAccountLfgListTrial = 956,
ToyAlreadyKnown = 957, ToyUseLimitReached = 957,
TransmogSetAlreadyKnown = 958, ToyAlreadyKnown = 958,
NotEnoughCurrency = 959, TransmogSetAlreadyKnown = 959,
SpecIsDisabled = 960, NotEnoughCurrency = 960,
FeatureRestrictedTrial = 961, SpecIsDisabled = 961,
CantBeObliterated = 962, FeatureRestrictedTrial = 962,
ArtifactRelicDoesNotMatchArtifact = 963, CantBeObliterated = 963,
MustEquipArtifact = 964, ArtifactRelicDoesNotMatchArtifact = 964,
CantDoThatRightNow = 965, MustEquipArtifact = 965,
AffectingCombat = 966, CantDoThatRightNow = 966,
EquipmentManagerCombatSwapS = 967, AffectingCombat = 967,
EquipmentManagerBagsFull = 968, EquipmentManagerCombatSwapS = 968,
EquipmentManagerMissingItemS = 969, EquipmentManagerBagsFull = 969,
MovieRecordingWarningPerf = 970, EquipmentManagerMissingItemS = 970,
MovieRecordingWarningDiskFull = 971, MovieRecordingWarningPerf = 971,
MovieRecordingWarningNoMovie = 972, MovieRecordingWarningDiskFull = 972,
MovieRecordingWarningRequirements = 973, MovieRecordingWarningNoMovie = 973,
MovieRecordingWarningCompressing = 974, MovieRecordingWarningRequirements = 974,
NoChallengeModeReward = 975, MovieRecordingWarningCompressing = 975,
ClaimedChallengeModeReward = 976, NoChallengeModeReward = 976,
ChallengeModePeriodResetSs = 977, ClaimedChallengeModeReward = 977,
CantDoThatChallengeModeActive = 978, ChallengeModePeriodResetSs = 978,
TalentFailedRestArea = 979, CantDoThatChallengeModeActive = 979,
CannotAbandonLastPet = 980, TalentFailedRestArea = 980,
TestCvarSetSss = 981, CannotAbandonLastPet = 981,
QuestTurnInFailReason = 982, TestCvarSetSss = 982,
ClaimedChallengeModeRewardOld = 983, QuestTurnInFailReason = 983,
TalentGrantedByAura = 984 ClaimedChallengeModeRewardOld = 984,
TalentGrantedByAura = 985,
ChallengeModeAlreadyComplete = 986
} }
public enum SceneFlags public enum SceneFlags
@@ -391,6 +391,36 @@ namespace Game.Achievements
case CriteriaTypes.OwnToy: case CriteriaTypes.OwnToy:
case CriteriaTypes.OwnToyCount: case CriteriaTypes.OwnToyCount:
case CriteriaTypes.OwnHeirlooms: case CriteriaTypes.OwnHeirlooms:
case CriteriaTypes.SurveyGameobject:
case CriteriaTypes.ClearDigsite:
case CriteriaTypes.ManualCompleteCriteria:
case CriteriaTypes.CompleteChallengeModeGuild:
case CriteriaTypes.DefeatCreatureGroup:
case CriteriaTypes.CompleteChallengeMode:
case CriteriaTypes.SendEvent:
case CriteriaTypes.CookRecipesGuild:
case CriteriaTypes.EarnPetBattleAchievementPoints:
case CriteriaTypes.SendEventScenario:
case CriteriaTypes.ReleaseSpirit:
case CriteriaTypes.OwnPet:
case CriteriaTypes.GarrisonCompleteDungeonEncounter:
case CriteriaTypes.CompleteLfgDungeon:
case CriteriaTypes.LfgVoteKicksInitiatedByPlayer:
case CriteriaTypes.LfgVoteKicksNotInitByPlayer:
case CriteriaTypes.BeKickedFromLfg:
case CriteriaTypes.LfgLeaves:
case CriteriaTypes.CountOfLfgQueueBoostsByTank:
case CriteriaTypes.ReachAreatriggerWithActionset:
case CriteriaTypes.StartOrderHallMission:
case CriteriaTypes.RecruitGarrisonFollowerWithQuality:
case CriteriaTypes.ArtifactPowerEarned:
case CriteriaTypes.ArtifactTraitsUnlocked:
case CriteriaTypes.OrderHallTalentLearned:
case CriteriaTypes.OrderHallRecruitTroop:
case CriteriaTypes.CompleteWorldQuest:
case CriteriaTypes.GainParagonReputation:
case CriteriaTypes.EarnHonorXp:
case CriteriaTypes.RelicTalentUnlocked:
break; // Not implemented yet :( break; // Not implemented yet :(
} }
@@ -760,6 +790,9 @@ namespace Game.Achievements
case CriteriaTypes.PlaceGarrisonBuilding: case CriteriaTypes.PlaceGarrisonBuilding:
case CriteriaTypes.OwnBattlePetCount: case CriteriaTypes.OwnBattlePetCount:
case CriteriaTypes.AppearanceUnlockedBySlot: case CriteriaTypes.AppearanceUnlockedBySlot:
case CriteriaTypes.GainParagonReputation:
case CriteriaTypes.EarnHonorXp:
case CriteriaTypes.RelicTalentUnlocked:
return progress.Counter >= requiredAmount; return progress.Counter >= requiredAmount;
case CriteriaTypes.CompleteAchievement: case CriteriaTypes.CompleteAchievement:
case CriteriaTypes.CompleteQuest: case CriteriaTypes.CompleteQuest:
@@ -409,6 +409,7 @@ namespace Game.Entities
public uint DoorisOpaque; // 8 Door is Opaque (Disable portal on close), enum { false, true, }; Default: true public uint DoorisOpaque; // 8 Door is Opaque (Disable portal on close), enum { false, true, }; Default: true
public uint GiganticAOI; // 9 Gigantic AOI, enum { false, true, }; Default: false public uint GiganticAOI; // 9 Gigantic AOI, enum { false, true, }; Default: false
public uint InfiniteAOI; // 10 Infinite AOI, enum { false, true, }; Default: false public uint InfiniteAOI; // 10 Infinite AOI, enum { false, true, }; Default: false
public uint NotLOSBlocking; // 11 Not LOS Blocking, enum { false, true, }; Default: false
} }
@@ -938,6 +939,7 @@ namespace Game.Entities
public uint SpellVisual3; // 19 Spell Visual 3, References: SpellVisual, NoValue = 0 public uint SpellVisual3; // 19 Spell Visual 3, References: SpellVisual, NoValue = 0
public uint SpellVisual4; // 20 Spell Visual 4, References: SpellVisual, NoValue = 0 public uint SpellVisual4; // 20 Spell Visual 4, References: SpellVisual, NoValue = 0
public uint SpellVisual5; // 21 Spell Visual 5, References: SpellVisual, NoValue = 0 public uint SpellVisual5; // 21 Spell Visual 5, References: SpellVisual, NoValue = 0
public uint SpawnVignette; // 22 Spawn Vignette, References: vignette, NoValue = 0
} }
@@ -977,6 +979,7 @@ namespace Game.Entities
public uint IgnoreBoundingBox; // 2 Ignore Bounding Box, enum { false, true, }; Default: false public uint IgnoreBoundingBox; // 2 Ignore Bounding Box, enum { false, true, }; Default: false
public uint CameraMode; // 3 Camera Mode, References: CameraMode, NoValue = 0 public uint CameraMode; // 3 Camera Mode, References: CameraMode, NoValue = 0
public uint FadeRegionRadius; // 4 Fade Region Radius, int, Min value: 0, Max value: 2147483647, Default value: 0 public uint FadeRegionRadius; // 4 Fade Region Radius, int, Min value: 0, Max value: 2147483647, Default value: 0
public uint ForgeType; // 5 Forge Type, enum { Artifact Forge, Relic Forge, }; Default: Relic Forge
} }
public struct uilink public struct uilink