From 26921a3f0fa385cf0e267bbd9bd40b0bf8961f12 Mon Sep 17 00:00:00 2001 From: Maple <8961085+MapleHinata@users.noreply.github.com> Date: Tue, 23 May 2023 19:24:38 -0300 Subject: [PATCH] Apply project code style to files --- src/common/CommonGen.h | 1551 ++++++++++++++------------- src/common/Network/PacketDef/Ipcs.h | 882 ++++++++------- 2 files changed, 1221 insertions(+), 1212 deletions(-) diff --git a/src/common/CommonGen.h b/src/common/CommonGen.h index bff47197..01d9d7ca 100644 --- a/src/common/CommonGen.h +++ b/src/common/CommonGen.h @@ -6,793 +6,804 @@ /* This file has been automatically generated. Changes will be lost upon regeneration. To change the content edit tools/exd_common_gen */ -namespace Sapphire::Common { +namespace Sapphire::Common +{ - /////////////////////////////////////////////////////////// - //ActionCategory.exd - enum class ActionCategory : uint8_t { - None = 0, - Autoattack = 1, - Spell = 2, - Weaponskill = 3, - Ability = 4, - Item = 5, - DoLAbility = 6, - DoHAbility = 7, - Event = 8, - LimitBreak = 9, - System = 10, - System1 = 11, - Mount = 12, - Special = 13, - ItemManipulation = 14, - LimitBreak1 = 15, - //1 = 16, - Artillery = 17, - //2 = 18, - }; +/////////////////////////////////////////////////////////// +//ActionCategory.exd +enum class ActionCategory: uint8_t +{ + None = 0, + Autoattack = 1, + Spell = 2, + Weaponskill = 3, + Ability = 4, + Item = 5, + DoLAbility = 6, + DoHAbility = 7, + Event = 8, + LimitBreak = 9, + System = 10, + System1 = 11, + Mount = 12, + Special = 13, + ItemManipulation = 14, + LimitBreak1 = 15, + //1 = 16, + Artillery = 17, + //2 = 18, +}; - /////////////////////////////////////////////////////////// - //BaseParam.exd - enum class BaseParam : uint8_t { - None = 0, - Strength = 1, - Dexterity = 2, - Vitality = 3, - Intelligence = 4, - Mind = 5, - Piety = 6, - HP = 7, - MP = 8, - TP = 9, - GP = 10, - CP = 11, - PhysicalDamage = 12, - MagicDamage = 13, - Delay = 14, - AdditionalEffect = 15, - AttackSpeed = 16, - BlockRate = 17, - BlockStrength = 18, - Tenacity = 19, - AttackPower = 20, - Defense = 21, - DirectHitRate = 22, - Evasion = 23, - MagicDefense = 24, - CriticalHitPower = 25, - CriticalHitResilience = 26, - CriticalHit = 27, - CriticalHitEvasion = 28, - SlashingResistance = 29, - PiercingResistance = 30, - BluntResistance = 31, - ProjectileResistance = 32, - AttackMagicPotency = 33, - HealingMagicPotency = 34, - EnhancementMagicPotency = 35, - ElementalBonus = 36, - FireResistance = 37, - IceResistance = 38, - WindResistance = 39, - EarthResistance = 40, - LightningResistance = 41, - WaterResistance = 42, - MagicResistance = 43, - Determination = 44, - SkillSpeed = 45, - SpellSpeed = 46, - Haste = 47, - Morale = 48, - Enmity = 49, - EnmityReduction = 50, - DesynthesisSkillGain = 51, - EXPBonus = 52, - Regen = 53, - Refresh = 54, - MainAttribute = 55, - SecondaryAttribute = 56, - SlowResistance = 57, - PetrificationResistance = 58, - ParalysisResistance = 59, - SilenceResistance = 60, - BlindResistance = 61, - PoisonResistance = 62, - StunResistance = 63, - SleepResistance = 64, - BindResistance = 65, - HeavyResistance = 66, - DoomResistance = 67, - ReducedDurabilityLoss = 68, - IncreasedSpiritbondGain = 69, - Craftsmanship = 70, - Control = 71, - Gathering = 72, - Perception = 73, - }; +/////////////////////////////////////////////////////////// +//BaseParam.exd +enum class BaseParam: uint8_t +{ + None = 0, + Strength = 1, + Dexterity = 2, + Vitality = 3, + Intelligence = 4, + Mind = 5, + Piety = 6, + HP = 7, + MP = 8, + TP = 9, + GP = 10, + CP = 11, + PhysicalDamage = 12, + MagicDamage = 13, + Delay = 14, + AdditionalEffect = 15, + AttackSpeed = 16, + BlockRate = 17, + BlockStrength = 18, + Tenacity = 19, + AttackPower = 20, + Defense = 21, + DirectHitRate = 22, + Evasion = 23, + MagicDefense = 24, + CriticalHitPower = 25, + CriticalHitResilience = 26, + CriticalHit = 27, + CriticalHitEvasion = 28, + SlashingResistance = 29, + PiercingResistance = 30, + BluntResistance = 31, + ProjectileResistance = 32, + AttackMagicPotency = 33, + HealingMagicPotency = 34, + EnhancementMagicPotency = 35, + ElementalBonus = 36, + FireResistance = 37, + IceResistance = 38, + WindResistance = 39, + EarthResistance = 40, + LightningResistance = 41, + WaterResistance = 42, + MagicResistance = 43, + Determination = 44, + SkillSpeed = 45, + SpellSpeed = 46, + Haste = 47, + Morale = 48, + Enmity = 49, + EnmityReduction = 50, + DesynthesisSkillGain = 51, + EXPBonus = 52, + Regen = 53, + Refresh = 54, + MainAttribute = 55, + SecondaryAttribute = 56, + SlowResistance = 57, + PetrificationResistance = 58, + ParalysisResistance = 59, + SilenceResistance = 60, + BlindResistance = 61, + PoisonResistance = 62, + StunResistance = 63, + SleepResistance = 64, + BindResistance = 65, + HeavyResistance = 66, + DoomResistance = 67, + ReducedDurabilityLoss = 68, + IncreasedSpiritbondGain = 69, + Craftsmanship = 70, + Control = 71, + Gathering = 72, + Perception = 73, +}; - /////////////////////////////////////////////////////////// - //BeastReputationRank.exd - enum class BeastReputationRank : uint8_t { - None = 0, - Neutral = 1, - Recognized = 2, - Friendly = 3, - Trusted = 4, - Respected = 5, - Honored = 6, - Sworn = 7, - Allied = 8, - }; +/////////////////////////////////////////////////////////// +//BeastReputationRank.exd +enum class BeastReputationRank: uint8_t +{ + None = 0, Neutral = 1, Recognized = 2, Friendly = 3, Trusted = 4, Respected = 5, Honored = 6, Sworn = 7, Allied = 8, +}; - /////////////////////////////////////////////////////////// - //BeastTribe.exd - enum class BeastTribe : uint8_t { - None = 0, - Amaljaa = 1, - Sylphs = 2, - Kobolds = 3, - Sahagin = 4, - Ixal = 5, - VanuVanu = 6, - Vath = 7, - Moogles = 8, - Kojin = 9, - Ananta = 10, - Namazu = 11, - Pixies = 12, - Qitari = 13, - Dwarves = 14, - Arkasodara = 15, - Omicrons = 16, - Loporrits = 17, - }; +/////////////////////////////////////////////////////////// +//BeastTribe.exd +enum class BeastTribe: uint8_t +{ + None = 0, + Amaljaa = 1, + Sylphs = 2, + Kobolds = 3, + Sahagin = 4, + Ixal = 5, + VanuVanu = 6, + Vath = 7, + Moogles = 8, + Kojin = 9, + Ananta = 10, + Namazu = 11, + Pixies = 12, + Qitari = 13, + Dwarves = 14, + Arkasodara = 15, + Omicrons = 16, + Loporrits = 17, +}; - /////////////////////////////////////////////////////////// - //ClassJob.exd - enum class ClassJob : uint8_t { - Adventurer = 0, - Gladiator = 1, - Pugilist = 2, - Marauder = 3, - Lancer = 4, - Archer = 5, - Conjurer = 6, - Thaumaturge = 7, - Carpenter = 8, - Blacksmith = 9, - Armorer = 10, - Goldsmith = 11, - Leatherworker = 12, - Weaver = 13, - Alchemist = 14, - Culinarian = 15, - Miner = 16, - Botanist = 17, - Fisher = 18, - Paladin = 19, - Monk = 20, - Warrior = 21, - Dragoon = 22, - Bard = 23, - Whitemage = 24, - Blackmage = 25, - Arcanist = 26, - Summoner = 27, - Scholar = 28, - Rogue = 29, - Ninja = 30, - Machinist = 31, - Darkknight = 32, - Astrologian = 33, - Samurai = 34, - Redmage = 35, - Bluemage = 36, - Gunbreaker = 37, - Dancer = 38, - Reaper = 39, - Sage = 40, - }; +/////////////////////////////////////////////////////////// +//ClassJob.exd +enum class ClassJob: uint8_t +{ + Adventurer = 0, + Gladiator = 1, + Pugilist = 2, + Marauder = 3, + Lancer = 4, + Archer = 5, + Conjurer = 6, + Thaumaturge = 7, + Carpenter = 8, + Blacksmith = 9, + Armorer = 10, + Goldsmith = 11, + Leatherworker = 12, + Weaver = 13, + Alchemist = 14, + Culinarian = 15, + Miner = 16, + Botanist = 17, + Fisher = 18, + Paladin = 19, + Monk = 20, + Warrior = 21, + Dragoon = 22, + Bard = 23, + Whitemage = 24, + Blackmage = 25, + Arcanist = 26, + Summoner = 27, + Scholar = 28, + Rogue = 29, + Ninja = 30, + Machinist = 31, + Darkknight = 32, + Astrologian = 33, + Samurai = 34, + Redmage = 35, + Bluemage = 36, + Gunbreaker = 37, + Dancer = 38, + Reaper = 39, + Sage = 40, +}; - /////////////////////////////////////////////////////////// - //ContentType.exd - enum class ContentType : uint8_t { - None = 0, - DutyRoulette = 1, - Dungeons = 2, - Guildhests = 3, - Trials = 4, - Raids = 5, - PvP = 6, - QuestBattles = 7, - FATEs = 8, - TreasureHunt = 9, - Levequests = 10, - GrandCompany = 11, - Companions = 12, - TribalQuests = 13, - OverallCompletion = 14, - PlayerCommendation = 15, - DisciplesoftheLand = 16, - DisciplesoftheHand = 17, - RetainerVentures = 18, - GoldSaucer = 19, - //1 = 20, - DeepDungeons = 21, - //2 = 22, - //3 = 23, - WondrousTails = 24, - CustomDeliveries = 25, - Eureka = 26, - //4 = 27, - UltimateRaids = 28, - //5 = 29, - VAndCDungeonFinder = 30, - }; +/////////////////////////////////////////////////////////// +//ContentType.exd +enum class ContentType: uint8_t +{ + None = 0, + DutyRoulette = 1, + Dungeons = 2, + Guildhests = 3, + Trials = 4, + Raids = 5, + PvP = 6, + QuestBattles = 7, + FATEs = 8, + TreasureHunt = 9, + Levequests = 10, + GrandCompany = 11, + Companions = 12, + TribalQuests = 13, + OverallCompletion = 14, + PlayerCommendation = 15, + DisciplesoftheLand = 16, + DisciplesoftheHand = 17, + RetainerVentures = 18, + GoldSaucer = 19, + //1 = 20, + DeepDungeons = 21, + //2 = 22, + //3 = 23, + WondrousTails = 24, + CustomDeliveries = 25, + Eureka = 26, + //4 = 27, + UltimateRaids = 28, + //5 = 29, + VAndCDungeonFinder = 30, +}; - /////////////////////////////////////////////////////////// - //EmoteCategory.exd - enum class EmoteCategory : uint8_t { - None = 0, General = 1, Special = 2, Expressions = 3, - //1 = 4, - }; +/////////////////////////////////////////////////////////// +//EmoteCategory.exd +enum class EmoteCategory: uint8_t +{ + None = 0, General = 1, Special = 2, Expressions = 3, + //1 = 4, +}; - /////////////////////////////////////////////////////////// - //ExVersion.exd - enum class ExVersion : uint8_t { - ARealmReborn = 0, Heavensward = 1, Stormblood = 2, Shadowbringers = 3, Endwalker = 4, - }; +/////////////////////////////////////////////////////////// +//ExVersion.exd +enum class ExVersion: uint8_t +{ + ARealmReborn = 0, Heavensward = 1, Stormblood = 2, Shadowbringers = 3, Endwalker = 4, +}; - /////////////////////////////////////////////////////////// - //GrandCompany.exd - enum class GrandCompany : uint8_t { - None = 0, Maelstrom = 1, OrderoftheTwinAdder = 2, ImmortalFlames = 3, - }; +/////////////////////////////////////////////////////////// +//GrandCompany.exd +enum class GrandCompany: uint8_t +{ + None = 0, Maelstrom = 1, OrderoftheTwinAdder = 2, ImmortalFlames = 3, +}; - /////////////////////////////////////////////////////////// - //GuardianDeity.exd - enum class GuardianDeity : uint8_t { - None = 0, - HalonetheFury = 1, - MenphinatheLover = 2, - ThaliaktheScholar = 3, - NymeiatheSpinner = 4, - LlymlaentheNavigator = 5, - OschontheWanderer = 6, - ByregottheBuilder = 7, - RhalgrtheDestroyer = 8, - AzeymatheWarden = 9, - NaldthaltheTraders = 10, - NophicatheMatron = 11, - AlthyktheKeeper = 12, - }; +/////////////////////////////////////////////////////////// +//GuardianDeity.exd +enum class GuardianDeity: uint8_t +{ + None = 0, + HalonetheFury = 1, + MenphinatheLover = 2, + ThaliaktheScholar = 3, + NymeiatheSpinner = 4, + LlymlaentheNavigator = 5, + OschontheWanderer = 6, + ByregottheBuilder = 7, + RhalgrtheDestroyer = 8, + AzeymatheWarden = 9, + NaldthaltheTraders = 10, + NophicatheMatron = 11, + AlthyktheKeeper = 12, +}; - /////////////////////////////////////////////////////////// - //ItemUICategory.exd - enum class ItemUICategory : uint8_t { - None = 0, - PugilistsArm = 1, - GladiatorsArm = 2, - MaraudersArm = 3, - ArchersArm = 4, - LancersArm = 5, - OnehandedThaumaturgesArm = 6, - TwohandedThaumaturgesArm = 7, - OnehandedConjurersArm = 8, - TwohandedConjurersArm = 9, - ArcanistsGrimoire = 10, - Shield = 11, - CarpentersPrimaryTool = 12, - CarpentersSecondaryTool = 13, - BlacksmithsPrimaryTool = 14, - BlacksmithsSecondaryTool = 15, - ArmorersPrimaryTool = 16, - ArmorersSecondaryTool = 17, - GoldsmithsPrimaryTool = 18, - GoldsmithsSecondaryTool = 19, - LeatherworkersPrimaryTool = 20, - LeatherworkersSecondaryTool = 21, - WeaversPrimaryTool = 22, - WeaversSecondaryTool = 23, - AlchemistsPrimaryTool = 24, - AlchemistsSecondaryTool = 25, - CulinariansPrimaryTool = 26, - CulinariansSecondaryTool = 27, - MinersPrimaryTool = 28, - MinersSecondaryTool = 29, - BotanistsPrimaryTool = 30, - BotanistsSecondaryTool = 31, - FishersPrimaryTool = 32, - FishingTackle = 33, - Head = 34, - Body = 35, - Legs = 36, - Hands = 37, - Feet = 38, - Unobtainable = 39, - Necklace = 40, - Earrings = 41, - Bracelets = 42, - Ring = 43, - Medicine = 44, - Ingredient = 45, - Meal = 46, - Seafood = 47, - Stone = 48, - Metal = 49, - Lumber = 50, - Cloth = 51, - Leather = 52, - Bone = 53, - Reagent = 54, - Dye = 55, - Part = 56, - Furnishing = 57, - Materia = 58, - Crystal = 59, - Catalyst = 60, - Miscellany = 61, - SoulCrystal = 62, - Other = 63, - ConstructionPermit = 64, - Roof = 65, - ExteriorWall = 66, - Window = 67, - Door = 68, - RoofDecoration = 69, - ExteriorWallDecoration = 70, - Placard = 71, - Fence = 72, - InteriorWall = 73, - Flooring = 74, - CeilingLight = 75, - OutdoorFurnishing = 76, - Table = 77, - Tabletop = 78, - Wallmounted = 79, - Rug = 80, - Minion = 81, - Gardening = 82, - Demimateria = 83, - RoguesArm = 84, - SeasonalMiscellany = 85, - TripleTriadCard = 86, - DarkKnightsArm = 87, - MachinistsArm = 88, - AstrologiansArm = 89, - AirshipHull = 90, - AirshipRigging = 91, - AirshipAftcastle = 92, - AirshipForecastle = 93, - OrchestrionRoll = 94, - Painting = 95, - SamuraisArm = 96, - RedMagesArm = 97, - ScholarsArm = 98, - FishersSecondaryTool = 99, - Currency = 100, - SubmersibleHull = 101, - SubmersibleStern = 102, - SubmersibleBow = 103, - SubmersibleBridge = 104, - BlueMagesArm = 105, - GunbreakersArm = 106, - DancersArm = 107, - ReapersArm = 108, - SagesArm = 109, - }; +/////////////////////////////////////////////////////////// +//ItemUICategory.exd +enum class ItemUICategory: uint8_t +{ + None = 0, + PugilistsArm = 1, + GladiatorsArm = 2, + MaraudersArm = 3, + ArchersArm = 4, + LancersArm = 5, + OnehandedThaumaturgesArm = 6, + TwohandedThaumaturgesArm = 7, + OnehandedConjurersArm = 8, + TwohandedConjurersArm = 9, + ArcanistsGrimoire = 10, + Shield = 11, + CarpentersPrimaryTool = 12, + CarpentersSecondaryTool = 13, + BlacksmithsPrimaryTool = 14, + BlacksmithsSecondaryTool = 15, + ArmorersPrimaryTool = 16, + ArmorersSecondaryTool = 17, + GoldsmithsPrimaryTool = 18, + GoldsmithsSecondaryTool = 19, + LeatherworkersPrimaryTool = 20, + LeatherworkersSecondaryTool = 21, + WeaversPrimaryTool = 22, + WeaversSecondaryTool = 23, + AlchemistsPrimaryTool = 24, + AlchemistsSecondaryTool = 25, + CulinariansPrimaryTool = 26, + CulinariansSecondaryTool = 27, + MinersPrimaryTool = 28, + MinersSecondaryTool = 29, + BotanistsPrimaryTool = 30, + BotanistsSecondaryTool = 31, + FishersPrimaryTool = 32, + FishingTackle = 33, + Head = 34, + Body = 35, + Legs = 36, + Hands = 37, + Feet = 38, + Unobtainable = 39, + Necklace = 40, + Earrings = 41, + Bracelets = 42, + Ring = 43, + Medicine = 44, + Ingredient = 45, + Meal = 46, + Seafood = 47, + Stone = 48, + Metal = 49, + Lumber = 50, + Cloth = 51, + Leather = 52, + Bone = 53, + Reagent = 54, + Dye = 55, + Part = 56, + Furnishing = 57, + Materia = 58, + Crystal = 59, + Catalyst = 60, + Miscellany = 61, + SoulCrystal = 62, + Other = 63, + ConstructionPermit = 64, + Roof = 65, + ExteriorWall = 66, + Window = 67, + Door = 68, + RoofDecoration = 69, + ExteriorWallDecoration = 70, + Placard = 71, + Fence = 72, + InteriorWall = 73, + Flooring = 74, + CeilingLight = 75, + OutdoorFurnishing = 76, + Table = 77, + Tabletop = 78, + Wallmounted = 79, + Rug = 80, + Minion = 81, + Gardening = 82, + Demimateria = 83, + RoguesArm = 84, + SeasonalMiscellany = 85, + TripleTriadCard = 86, + DarkKnightsArm = 87, + MachinistsArm = 88, + AstrologiansArm = 89, + AirshipHull = 90, + AirshipRigging = 91, + AirshipAftcastle = 92, + AirshipForecastle = 93, + OrchestrionRoll = 94, + Painting = 95, + SamuraisArm = 96, + RedMagesArm = 97, + ScholarsArm = 98, + FishersSecondaryTool = 99, + Currency = 100, + SubmersibleHull = 101, + SubmersibleStern = 102, + SubmersibleBow = 103, + SubmersibleBridge = 104, + BlueMagesArm = 105, + GunbreakersArm = 106, + DancersArm = 107, + ReapersArm = 108, + SagesArm = 109, +}; - /////////////////////////////////////////////////////////// - //ItemSearchCategory.exd - enum class ItemSearchCategory : uint8_t { - None = 0, - PrimaryArms = 1, - PrimaryTools = 2, - PrimaryTools1 = 3, - Armor = 4, - Accessories = 5, - Medicines = 6, - Materials = 7, - Other = 8, - PugilistsArms = 9, - GladiatorsArms = 10, - MaraudersArms = 11, - ArchersArms = 12, - LancersArms = 13, - ThaumaturgesArms = 14, - ConjurersArms = 15, - ArcanistsArms = 16, - Shields = 17, - DancersArms = 18, - CarpentersTools = 19, - BlacksmithsTools = 20, - ArmorersTools = 21, - GoldsmithsTools = 22, - LeatherworkersTools = 23, - WeaversTools = 24, - AlchemistsTools = 25, - CulinariansTools = 26, - MinersTools = 27, - BotanistsTools = 28, - FishersTools = 29, - FishingTackle = 30, - Head = 31, - Undershirts = 32, - Body = 33, - Undergarments = 34, - Legs = 35, - Hands = 36, - Feet = 37, - Waist = 38, - Necklaces = 39, - Earrings = 40, - Bracelets = 41, - Rings = 42, - Medicine = 43, - Ingredients = 44, - Meals = 45, - Seafood = 46, - Stone = 47, - Metal = 48, - Lumber = 49, - Cloth = 50, - Leather = 51, - Bone = 52, - Reagents = 53, - Dyes = 54, - WeaponParts = 55, - Furnishings = 56, - Materia = 57, - Crystals = 58, - Catalysts = 59, - Miscellany = 60, - SoulCrystals = 61, - Arrows = 62, - QuestItems = 63, - Other1 = 64, - ExteriorFixtures = 65, - InteriorFixtures = 66, - OutdoorFurnishings = 67, - ChairsandBeds = 68, - Tables = 69, - Tabletop = 70, - Wallmounted = 71, - Rugs = 72, - RoguesArms = 73, - SeasonalMiscellany = 74, - Minions = 75, - DarkKnightsArms = 76, - MachinistsArms = 77, - AstrologiansArms = 78, - AirshipAndSubmersibleComponents = 79, - OrchestrionComponents = 80, - GardeningItems = 81, - Paintings = 82, - SamuraisArms = 83, - RedMagesArms = 84, - ScholarsArms = 85, - GunbreakersArms = 86, - DancersArms1 = 87, - ReapersArms = 88, - SagesArms = 89, - RegistrableMiscellany = 90, - /*1 = 91, - 2 = 92, - 3 = 93, - 4 = 94, - 5 = 95, - 6 = 96, - 7 = 97, - 8 = 98, - 9 = 99, - 10 = 100,*/ - }; +/////////////////////////////////////////////////////////// +//ItemSearchCategory.exd +enum class ItemSearchCategory: uint8_t +{ + None = 0, + PrimaryArms = 1, + PrimaryTools = 2, + PrimaryTools1 = 3, + Armor = 4, + Accessories = 5, + Medicines = 6, + Materials = 7, + Other = 8, + PugilistsArms = 9, + GladiatorsArms = 10, + MaraudersArms = 11, + ArchersArms = 12, + LancersArms = 13, + ThaumaturgesArms = 14, + ConjurersArms = 15, + ArcanistsArms = 16, + Shields = 17, + DancersArms = 18, + CarpentersTools = 19, + BlacksmithsTools = 20, + ArmorersTools = 21, + GoldsmithsTools = 22, + LeatherworkersTools = 23, + WeaversTools = 24, + AlchemistsTools = 25, + CulinariansTools = 26, + MinersTools = 27, + BotanistsTools = 28, + FishersTools = 29, + FishingTackle = 30, + Head = 31, + Undershirts = 32, + Body = 33, + Undergarments = 34, + Legs = 35, + Hands = 36, + Feet = 37, + Waist = 38, + Necklaces = 39, + Earrings = 40, + Bracelets = 41, + Rings = 42, + Medicine = 43, + Ingredients = 44, + Meals = 45, + Seafood = 46, + Stone = 47, + Metal = 48, + Lumber = 49, + Cloth = 50, + Leather = 51, + Bone = 52, + Reagents = 53, + Dyes = 54, + WeaponParts = 55, + Furnishings = 56, + Materia = 57, + Crystals = 58, + Catalysts = 59, + Miscellany = 60, + SoulCrystals = 61, + Arrows = 62, + QuestItems = 63, + Other1 = 64, + ExteriorFixtures = 65, + InteriorFixtures = 66, + OutdoorFurnishings = 67, + ChairsandBeds = 68, + Tables = 69, + Tabletop = 70, + Wallmounted = 71, + Rugs = 72, + RoguesArms = 73, + SeasonalMiscellany = 74, + Minions = 75, + DarkKnightsArms = 76, + MachinistsArms = 77, + AstrologiansArms = 78, + AirshipAndSubmersibleComponents = 79, + OrchestrionComponents = 80, + GardeningItems = 81, + Paintings = 82, + SamuraisArms = 83, + RedMagesArms = 84, + ScholarsArms = 85, + GunbreakersArms = 86, + DancersArms1 = 87, + ReapersArms = 88, + SagesArms = 89, + RegistrableMiscellany = 90, + /*1 = 91, + 2 = 92, + 3 = 93, + 4 = 94, + 5 = 95, + 6 = 96, + 7 = 97, + 8 = 98, + 9 = 99, + 10 = 100,*/ +}; - /////////////////////////////////////////////////////////// - //OnlineStatus.exd - enum class OnlineStatus : uint8_t { - None = 0, - GameQA = 1, - GameMaster = 2, - GameMaster1 = 3, - EventParticipant = 4, - Disconnected = 5, - WaitingforFriendListApproval = 6, - WaitingforLinkshellApproval = 7, - WaitingforFreeCompanyApproval = 8, - NotFound = 9, - Offline = 10, - BattleMentor = 11, - Busy = 12, - PvP = 13, - PlayingTripleTriad = 14, - ViewingCutscene = 15, - UsingaChocoboPorter = 16, - AwayfromKeyboard = 17, - CameraMode = 18, - LookingforRepairs = 19, - LookingtoRepair = 20, - LookingtoMeldMateria = 21, - Roleplaying = 22, - LookingforParty = 23, - SwordforHire = 24, - WaitingforDutyFinder = 25, - RecruitingPartyMembers = 26, - Mentor = 27, - PvEMentor = 28, - TradeMentor = 29, - PvPMentor = 30, - Returner = 31, - NewAdventurer = 32, - AllianceLeader = 33, - AlliancePartyLeader = 34, - AlliancePartyMember = 35, - PartyLeader = 36, - PartyMember = 37, - PartyLeaderCrossworld = 38, - PartyMemberCrossworld = 39, - AnotherWorld = 40, - SharingDuty = 41, - SimilarDuty = 42, - InDuty = 43, - TrialAdventurer = 44, - FreeCompany = 45, - GrandCompany = 46, - Online = 47, - }; +/////////////////////////////////////////////////////////// +//OnlineStatus.exd +enum class OnlineStatus: uint8_t +{ + None = 0, + GameQA = 1, + GameMaster = 2, + GameMaster1 = 3, + EventParticipant = 4, + Disconnected = 5, + WaitingforFriendListApproval = 6, + WaitingforLinkshellApproval = 7, + WaitingforFreeCompanyApproval = 8, + NotFound = 9, + Offline = 10, + BattleMentor = 11, + Busy = 12, + PvP = 13, + PlayingTripleTriad = 14, + ViewingCutscene = 15, + UsingaChocoboPorter = 16, + AwayfromKeyboard = 17, + CameraMode = 18, + LookingforRepairs = 19, + LookingtoRepair = 20, + LookingtoMeldMateria = 21, + Roleplaying = 22, + LookingforParty = 23, + SwordforHire = 24, + WaitingforDutyFinder = 25, + RecruitingPartyMembers = 26, + Mentor = 27, + PvEMentor = 28, + TradeMentor = 29, + PvPMentor = 30, + Returner = 31, + NewAdventurer = 32, + AllianceLeader = 33, + AlliancePartyLeader = 34, + AlliancePartyMember = 35, + PartyLeader = 36, + PartyMember = 37, + PartyLeaderCrossworld = 38, + PartyMemberCrossworld = 39, + AnotherWorld = 40, + SharingDuty = 41, + SimilarDuty = 42, + InDuty = 43, + TrialAdventurer = 44, + FreeCompany = 45, + GrandCompany = 46, + Online = 47, +}; - /////////////////////////////////////////////////////////// - //Race.exd - enum class Race : uint8_t { - None = 0, Hyur = 1, Elezen = 2, Lalafell = 3, Miqote = 4, Roegadyn = 5, AuRa = 6, Hrothgar = 7, Viera = 8, - }; +/////////////////////////////////////////////////////////// +//Race.exd +enum class Race: uint8_t +{ + None = 0, Hyur = 1, Elezen = 2, Lalafell = 3, Miqote = 4, Roegadyn = 5, AuRa = 6, Hrothgar = 7, Viera = 8, +}; - /////////////////////////////////////////////////////////// - //Tribe.exd - enum class Tribe : uint8_t { - None = 0, - Midlander = 1, - Highlander = 2, - Wildwood = 3, - Duskwight = 4, - Plainsfolk = 5, - Dunesfolk = 6, - SeekeroftheSun = 7, - KeeperoftheMoon = 8, - SeaWolf = 9, - Hellsguard = 10, - Raen = 11, - Xaela = 12, - Helions = 13, - TheLost = 14, - Rava = 15, - Veena = 16, - }; +/////////////////////////////////////////////////////////// +//Tribe.exd +enum class Tribe: uint8_t +{ + None = 0, + Midlander = 1, + Highlander = 2, + Wildwood = 3, + Duskwight = 4, + Plainsfolk = 5, + Dunesfolk = 6, + SeekeroftheSun = 7, + KeeperoftheMoon = 8, + SeaWolf = 9, + Hellsguard = 10, + Raen = 11, + Xaela = 12, + Helions = 13, + TheLost = 14, + Rava = 15, + Veena = 16, +}; - /////////////////////////////////////////////////////////// - //Town.exd - enum class Town : uint8_t { - Nowheresville = 0, LimsaLominsa = 1, Gridania = 2, Uldah = 3, Ishgard = 4, //= 5, - //1 = 6, - Kugane = 7, //2 = 8, - //3 = 9, - Crystarium = 10, //4 = 11, - OldSharlayan = 12, - //5 = 13, - }; +/////////////////////////////////////////////////////////// +//Town.exd +enum class Town: uint8_t +{ + Nowheresville = 0, LimsaLominsa = 1, Gridania = 2, Uldah = 3, Ishgard = 4, //= 5, + //1 = 6, + Kugane = 7, //2 = 8, + //3 = 9, + Crystarium = 10, //4 = 11, + OldSharlayan = 12, + //5 = 13, +}; - /////////////////////////////////////////////////////////// - //Weather.exd - enum class Weather : uint8_t { - None = 0, - ClearSkies = 1, - FairSkies = 2, - Clouds = 3, - Fog = 4, - Wind = 5, - Gales = 6, - Rain = 7, - Showers = 8, - Thunder = 9, - Thunderstorms = 10, - DustStorms = 11, - Sandstorms = 12, - HotSpells = 13, - HeatWaves = 14, - Snow = 15, - Blizzards = 16, - Gloom = 17, - Auroras = 18, - Darkness = 19, - Tension = 20, - Clouds1 = 21, - StormClouds = 22, - RoughSeas = 23, - RoughSeas1 = 24, - Louring = 25, - HeatWaves1 = 26, - Gloom1 = 27, - Gales1 = 28, - Eruptions = 29, - FairSkies1 = 30, - FairSkies2 = 31, - FairSkies3 = 32, - FairSkies4 = 33, - FairSkies5 = 34, - Irradiance = 35, - CoreRadiation = 36, - CoreRadiation1 = 37, - CoreRadiation2 = 38, - CoreRadiation3 = 39, - ShelfClouds = 40, - ShelfClouds1 = 41, - ShelfClouds2 = 42, - ShelfClouds3 = 43, - Oppression = 44, - Oppression1 = 45, - Oppression2 = 46, - Oppression3 = 47, - Oppression4 = 48, - UmbralWind = 49, - UmbralStatic = 50, - Smoke = 51, - FairSkies6 = 52, - RoyalLevin = 53, - Hyperelectricity = 54, - RoyalLevin1 = 55, - Oppression5 = 56, - Thunder1 = 57, - Thunder2 = 58, - CutScene = 59, - Multiplicity = 60, - Multiplicity1 = 61, - Rain1 = 62, - FairSkies7 = 63, - Rain2 = 64, - FairSkies8 = 65, - Dragonstorms = 66, - Dragonstorms1 = 67, - Subterrain = 68, - Concordance = 69, - Concordance1 = 70, - BeyondTime = 71, - BeyondTime1 = 72, - BeyondTime2 = 73, - DemonicInfinity = 74, - DemonicInfinity1 = 75, - DemonicInfinity2 = 76, - DimensionalDisruption = 77, - DimensionalDisruption1 = 78, - DimensionalDisruption2 = 79, - Revelstorms = 80, - Revelstorms1 = 81, - EternalBliss = 82, - EternalBliss1 = 83, - Wyrmstorms = 84, - Wyrmstorms1 = 85, - Revelstorms2 = 86, - Quicklevin = 87, - Thunder3 = 88, - DimensionalDisruption3 = 89, - FairSkies9 = 90, - ClearSkies1 = 91, - WhiteCyclones = 92, - WhiteCyclones1 = 93, - WhiteCyclones2 = 94, - Ultimania = 95, - WhiteCyclones3 = 96, - Moonlight = 97, - Moonlight1 = 98, - Moonlight2 = 99, - Moonlight3 = 100, - RedMoon = 101, - Scarlet = 102, - Scarlet1 = 103, - Scarlet2 = 104, - FairSkies10 = 105, - FairSkies11 = 106, - FairSkies12 = 107, - FairSkies13 = 108, - Flames = 109, - Tsunamis = 110, - Cyclones = 111, - Geostorms = 112, - TrueBlue = 113, - TrueBlue1 = 114, - TrueBlue2 = 115, - UmbralTurbulence = 116, - TrueBlue3 = 117, - EverlastingLight = 118, - Gales2 = 119, - Termination = 120, - Termination1 = 121, - Dreams = 122, - Dreams1 = 123, - Dreams2 = 124, - Brilliance = 125, - Brilliance1 = 126, - Termination2 = 127, - Termination3 = 128, - EverlastingLight1 = 129, - Eruptions1 = 130, - Termination4 = 131, - FairSkies14 = 132, - UmbralFlare = 133, - UmbralDuststorm = 134, - UmbralLevin = 135, - UmbralTempest = 136, - Starshower = 137, - Delirium = 138, - Clouds2 = 139, - Clouds3 = 140, - Irradiance1 = 141, - Irradiance2 = 142, - StormClouds1 = 143, - Firestorm = 144, - SpectralCurrent = 145, - //1 = 146, - Climactic = 147, - MoonDust = 148, - AstromagneticStorm = 149, - Apocalypse = 150, - Polarization = 151, - Polarization1 = 152, - Polarization2 = 153, - Polarization3 = 154, - Polarization4 = 155, - Projection = 156, - Pandaemonium = 157, - Pandaemonium1 = 158, - Pandaemonium2 = 159, - Ultimatum = 160, - Inevitability = 161, - Transcendence = 162, - Transcendence1 = 163, - Transcendence2 = 164, - Transcendence3 = 165, - Transcendence4 = 166, - Transcendence5 = 167, - Transcendence6 = 168, - Transcendence7 = 169, - Dragonstorms2 = 170, - Vacuity = 171, - Vacuity1 = 172, - Vacuity2 = 173, - DimensionalDisruption4 = 174, - DimensionalDisruption5 = 175, - DimensionalDisruption6 = 176, - Pandaemonium3 = 177, - Pandaemonium4 = 178, - }; +/////////////////////////////////////////////////////////// +//Weather.exd +enum class Weather: uint8_t +{ + None = 0, + ClearSkies = 1, + FairSkies = 2, + Clouds = 3, + Fog = 4, + Wind = 5, + Gales = 6, + Rain = 7, + Showers = 8, + Thunder = 9, + Thunderstorms = 10, + DustStorms = 11, + Sandstorms = 12, + HotSpells = 13, + HeatWaves = 14, + Snow = 15, + Blizzards = 16, + Gloom = 17, + Auroras = 18, + Darkness = 19, + Tension = 20, + Clouds1 = 21, + StormClouds = 22, + RoughSeas = 23, + RoughSeas1 = 24, + Louring = 25, + HeatWaves1 = 26, + Gloom1 = 27, + Gales1 = 28, + Eruptions = 29, + FairSkies1 = 30, + FairSkies2 = 31, + FairSkies3 = 32, + FairSkies4 = 33, + FairSkies5 = 34, + Irradiance = 35, + CoreRadiation = 36, + CoreRadiation1 = 37, + CoreRadiation2 = 38, + CoreRadiation3 = 39, + ShelfClouds = 40, + ShelfClouds1 = 41, + ShelfClouds2 = 42, + ShelfClouds3 = 43, + Oppression = 44, + Oppression1 = 45, + Oppression2 = 46, + Oppression3 = 47, + Oppression4 = 48, + UmbralWind = 49, + UmbralStatic = 50, + Smoke = 51, + FairSkies6 = 52, + RoyalLevin = 53, + Hyperelectricity = 54, + RoyalLevin1 = 55, + Oppression5 = 56, + Thunder1 = 57, + Thunder2 = 58, + CutScene = 59, + Multiplicity = 60, + Multiplicity1 = 61, + Rain1 = 62, + FairSkies7 = 63, + Rain2 = 64, + FairSkies8 = 65, + Dragonstorms = 66, + Dragonstorms1 = 67, + Subterrain = 68, + Concordance = 69, + Concordance1 = 70, + BeyondTime = 71, + BeyondTime1 = 72, + BeyondTime2 = 73, + DemonicInfinity = 74, + DemonicInfinity1 = 75, + DemonicInfinity2 = 76, + DimensionalDisruption = 77, + DimensionalDisruption1 = 78, + DimensionalDisruption2 = 79, + Revelstorms = 80, + Revelstorms1 = 81, + EternalBliss = 82, + EternalBliss1 = 83, + Wyrmstorms = 84, + Wyrmstorms1 = 85, + Revelstorms2 = 86, + Quicklevin = 87, + Thunder3 = 88, + DimensionalDisruption3 = 89, + FairSkies9 = 90, + ClearSkies1 = 91, + WhiteCyclones = 92, + WhiteCyclones1 = 93, + WhiteCyclones2 = 94, + Ultimania = 95, + WhiteCyclones3 = 96, + Moonlight = 97, + Moonlight1 = 98, + Moonlight2 = 99, + Moonlight3 = 100, + RedMoon = 101, + Scarlet = 102, + Scarlet1 = 103, + Scarlet2 = 104, + FairSkies10 = 105, + FairSkies11 = 106, + FairSkies12 = 107, + FairSkies13 = 108, + Flames = 109, + Tsunamis = 110, + Cyclones = 111, + Geostorms = 112, + TrueBlue = 113, + TrueBlue1 = 114, + TrueBlue2 = 115, + UmbralTurbulence = 116, + TrueBlue3 = 117, + EverlastingLight = 118, + Gales2 = 119, + Termination = 120, + Termination1 = 121, + Dreams = 122, + Dreams1 = 123, + Dreams2 = 124, + Brilliance = 125, + Brilliance1 = 126, + Termination2 = 127, + Termination3 = 128, + EverlastingLight1 = 129, + Eruptions1 = 130, + Termination4 = 131, + FairSkies14 = 132, + UmbralFlare = 133, + UmbralDuststorm = 134, + UmbralLevin = 135, + UmbralTempest = 136, + Starshower = 137, + Delirium = 138, + Clouds2 = 139, + Clouds3 = 140, + Irradiance1 = 141, + Irradiance2 = 142, + StormClouds1 = 143, + Firestorm = 144, + SpectralCurrent = 145, + //1 = 146, + Climactic = 147, + MoonDust = 148, + AstromagneticStorm = 149, + Apocalypse = 150, + Polarization = 151, + Polarization1 = 152, + Polarization2 = 153, + Polarization3 = 154, + Polarization4 = 155, + Projection = 156, + Pandaemonium = 157, + Pandaemonium1 = 158, + Pandaemonium2 = 159, + Ultimatum = 160, + Inevitability = 161, + Transcendence = 162, + Transcendence1 = 163, + Transcendence2 = 164, + Transcendence3 = 165, + Transcendence4 = 166, + Transcendence5 = 167, + Transcendence6 = 168, + Transcendence7 = 169, + Dragonstorms2 = 170, + Vacuity = 171, + Vacuity1 = 172, + Vacuity2 = 173, + DimensionalDisruption4 = 174, + DimensionalDisruption5 = 175, + DimensionalDisruption6 = 176, + Pandaemonium3 = 177, + Pandaemonium4 = 178, +}; - /////////////////////////////////////////////////////////// - //HousingAppeal.exd - enum class HousingAppeal : uint8_t { - None = 0, - Emporium = 1, - Boutique = 2, - DesignerHome = 3, - MessageBook = 4, - Tavern = 5, - Eatery = 6, - ImmersiveExperience = 7, - Cafe = 8, - Aquarium = 9, - Sanctum = 10, - Venue = 11, - Florist = 12, - //= 13, - Library = 14, - PhotoStudio = 15, - HauntedHouse = 16, - Atelier = 17, - Bathhouse = 18, - Garden = 19, - FarEastern = 20, - VisitorsWelcome = 21, - Bakery = 22, - UnderRenovation = 23, - ConcertHall = 24, - }; +/////////////////////////////////////////////////////////// +//HousingAppeal.exd +enum class HousingAppeal: uint8_t +{ + None = 0, + Emporium = 1, + Boutique = 2, + DesignerHome = 3, + MessageBook = 4, + Tavern = 5, + Eatery = 6, + ImmersiveExperience = 7, + Cafe = 8, + Aquarium = 9, + Sanctum = 10, + Venue = 11, + Florist = 12, + //= 13, + Library = 14, + PhotoStudio = 15, + HauntedHouse = 16, + Atelier = 17, + Bathhouse = 18, + Garden = 19, + FarEastern = 20, + VisitorsWelcome = 21, + Bakery = 22, + UnderRenovation = 23, + ConcertHall = 24, +}; } #endif \ No newline at end of file diff --git a/src/common/Network/PacketDef/Ipcs.h b/src/common/Network/PacketDef/Ipcs.h index 0f55a1ee..9eece767 100644 --- a/src/common/Network/PacketDef/Ipcs.h +++ b/src/common/Network/PacketDef/Ipcs.h @@ -3,468 +3,466 @@ #include -namespace Sapphire::Network::Packets +namespace Sapphire::Network::Packets { + +//////////////////////////////////////////////////////////////////////////////// +/// Lobby Connection IPC Codes +/** + * Server IPC Lobby Type Codes. + */ +enum ServerLobbyIpcType : + uint16_t { + LobbyError = 0x0002, + LobbyServiceAccountList = 0x000C, + LobbyCharList = 0x000D, + LobbyCharCreate = 0x000E, + LobbyEnterWorld = 0x000F, + LobbyServerList = 0x0015, + LobbyRetainerList = 0x0017, + +}; + +/** + * Client IPC Lobby Type Codes. + */ +enum ClientLobbyIpcType : + uint16_t +{ + ReqCharList = 0x0003, ReqEnterWorld = 0x0004, ClientVersionInfo = 0x0005, + + ReqCharDelete = 0x000A, ReqCharCreate = 0x000B, +}; + +//////////////////////////////////////////////////////////////////////////////// +/// Zone Connection IPC Codes +/** + * Server IPC Zone Type Codes. + */ +enum ServerZoneIpcType : + uint16_t +{ + Ping = 0x2c0, // updated 6.40 + Init = 0x12a, // updated 6.40 + + ActorFreeSpawn = 0x8a, // updated 6.40 + + InitZone = 0x347, // updated 6.40 + PrepareZoning = 0x17a, // updated 6.40 + + EffectResult = 0x3b4, // updated 6.40 + EffectResultBasic = 0x295, // updated 6.40 + + ActorControl = 0x381, // updated 6.40 + ActorControlTarget = 0x131, // updated 6.40 + ActorControlSelf = 0x14f, // updated 6.40 + ActorCast = 0x31c, // updated 6.40 + ActorSetPos = 0xea, // updated 6.40 + ActorMove = 0x2a9, // updated 6.40 + ActorGauge = 0x164, // updated 6.40 + + /*! + * @brief Used when resting + */ + UpdateHpMpTp = 0x21a, // updated 6.40 + UpdateClassInfo = 0x380, // updated 6.40 + + /////////////////////////////////////////////////// + + ChatBanned = 0xF06B, Playtime = 0x181, // updated 6.40 + Logout = 0x18a, // updated 6.40 + CFNotify = 0x3e0, // updated 6.40 + CFMemberStatus = 0x0079, CFDutyInfo = 0xe0, // updated 6.40 + CFPlayerInNeed = 0xF07F, CFPreferredRole = 0x221, // updated 6.40 + CFCancel = 0x77, // updated 6.40 + SocialRequestError = 0xF0AD, + + CFRegistered = 0x029F, // updated 5.58h + SocialRequestResponse = 0x323, // updated 6.40 + SocialMessage = 0x03CB, // updated 5.58h + SocialMessage2 = 0x01D7, // updated 5.58h + CancelAllianceForming = 0xF0C6, // updated 4.2 + + LogMessage = 0x113, // updated 6.40 + + Chat = 0x335, // updated 6.40 + PartyChat = 0x0065, + + WorldVisitList = 0xF0FE, // added 4.5 + + SocialList = 0x281, // updated 6.40 + + ExamineSearchInfo = 0x2b0, // updated 6.40 + UpdateSearchInfo = 0x339, // updated 6.40 + InitSearchInfo = 0x37f, // updated 6.40 + ExamineSearchComment = 0x314, // updated 6.40 + + ServerNoticeShort = 0x0333, // updated 5.58h + ServerNotice = 0x273, // updated 6.40 + SystemLogMessage = 0x19b, // updated 6.40 + SetOnlineStatus = 0xb1, // updated 6.40 + + CountdownInitiate = 0x292, // updated 6.40 + CountdownCancel = 0x2ba, // updated 6.40 + + PlayerAddedToBlacklist = 0x3be, // updated 6.40 + PlayerRemovedFromBlacklist = 0x8b, // updated 6.40 + BlackList = 0x2ad, // updated 6.40 + + LinkshellList = 0x287, // updated 6.40 + CrossWorldLinkshellList = 0x358, // updated 6.40 + FellowshipList = 0x238, // updated 6.40 + + MailDeleteRequest = 0x2e3, // updated 6.40 + + // 12D - 137 - constant gap between 4.5x -> 5.0 + ReqMoogleMailList = 0xF138, // updated 5.0 + ReqMoogleMailLetter = 0xF139, // updated 5.0 + MailLetterNotification = 0x013A, // updated 5.0 + + MarketTaxRates = 0x01F8, // updated 5.35h + + MarketBoardSearchResult = 0x197, // updated 6.40 + MarketBoardItemListingCount = 0x1a4, // updated 6.40 + MarketBoardItemListingHistory = 0x2b4, // updated 6.40 + MarketBoardItemListing = 0xa7, // updated 6.40 + MarketBoardPurchase = 0x120, // updated 6.40 + ItemMarketBoardInfo = 0x3c4, // updated 6.40 + + CharaFreeCompanyTag = 0x013B, // updated 4.5 + FreeCompanyBoardMsg = 0x03DB, // updated 5.58h + FreeCompanyInfo = 0x1ce, // updated 6.40 + FreeCompanyDialog = 0x2a1, // updated 6.40 + ExamineFreeCompanyInfo = 0x229, // updated 6.40 + + FreeCompanyUpdateShortMessage = 0xF157, // added 5.0 + + StatusEffectList = 0x13f, // updated 6.40 + EurekaStatusEffectList = 0x25d, // updated 6.40 + BossStatusEffectList = 0x1b0, // updated 6.40 + StatusEffectList2 = 0x149, // updated 6.40 + StatusEffectList3 = 0xe7, // updated 6.40 + Effect = 0x3c9, // updated 6.40 + AoeEffect8 = 0x21e, // updated 6.40 + AoeEffect16 = 0x34c, // updated 6.40 + AoeEffect24 = 0x379, // updated 6.40 + AoeEffect32 = 0x33f, // updated 6.40 + PersistantEffect = 0xe7, // updated 6.40 + + PlaceFieldMarker = 0xd8, // updated 6.40 + PlaceFieldMarkerPreset = 0xFFFF, // updated 6.40 + + GCAffiliation = 0x159, // updated 6.40 + + PlayerSpawn = 0x2cf, // updated 6.40 + NpcSpawn = 0x1c4, // updated 6.40 + NpcSpawn2 = 0x123, // updated 6.40 + + SomeCustomiseChangePacketProbably = 0x00CD, // added 5.18 + + PartyList = 0x110, // updated 6.40 + PartyMessage = 0x374, // updated 6.40 + HateRank = 0x22d, // updated 6.40 + HateList = 0x22e, // updated 6.40 + ObjectSpawn = 0x184, // updated 6.40 + ObjectDespawn = 0xb8, // updated 6.40 + SilentSetClassJob = 0xF18E, // updated 5.0 - seems to be the case, not sure if it's actually used for anything + PlayerSetup = 0x218, // updated 6.40 + PlayerStats = 0x1a3, // updated 6.40 + ActorOwner = 0x218, // updated 6.40 + PlayerStateFlags = 0x37a, // updated 6.40 + PlayerClassInfo = 0xd9, // updated 6.40 + PlayerUpdateLook = 0x1a7, // updated 6.40 + CharaVisualEffect = 0x1ef, // updated 6.40 + + ModelEquip = 0x297, // updated 6.40 + Examine = 0x364, // updated 6.40 + CharaNameReq = 0xc1, // updated 6.40 + + // nb: see #565 on github + UpdateRetainerItemSalePrice = 0xF19F, // updated 5.0 + RetainerSaleHistory = 0x16d, // updated 6.40 + RetainerInformation = 0x39c, // updated 6.40 + + SetLevelSync = 0x1186, // not updated for 4.4, not sure what it is anymore + + ItemInfo = 0x128, // updated 6.40 + ContainerInfo = 0x122, // updated 6.40 + InventoryTransactionFinish = 0x2d9, // updated 6.40 + InventoryTransaction = 0x2e9, // updated 6.40 + CurrencyCrystalInfo = 0x2be, // updated 6.40 + + InventoryActionAck = 0x19c, // updated 6.40 + UpdateInventorySlot = 0x119, // updated 6.40 + + HuntingLogEntry = 0xec, // updated 6.40 + + EventPlay = 0xfb, // updated 6.40 + EventPlay4 = 0x307, // updated 6.40 + EventPlay8 = 0x252, // updated 6.40 + EventPlay16 = 0x214, // updated 6.40 + EventPlay32 = 0x6c, // updated 6.40 + EventPlay64 = 0x223, // updated 6.40 + EventPlay128 = 0x340, // updated 6.40 + EventPlay255 = 0x3dc, // updated 6.40 + EventStart = 0x1a2, // updated 6.40 + EventFinish = 0x2b2, // updated 6.40 + + EventContinue = 0x298, // updated 6.40 + + EventLinkshell = 0x1169, + + QuestActiveList = 0x11d, // updated 6.40 + QuestUpdate = 0x92, // updated 6.40 + QuestCompleteList = 0x36f, // updated 6.40 + + QuestFinish = 0x13a, // updated 6.40 + MSQTrackerComplete = 0x28c, // updated 6.40 + MSQTrackerProgress = 0xF1CD, // updated 4.5 ? this actually looks like the two opcodes have been combined, see #474 + + QuestMessage = 0x0220, // updated 5.58h + + QuestTracker = 0x1b5, // updated 6.40 + + Mount = 0x3c0, // updated 6.40 + + DirectorVars = 0x27e, // updated 6.40 + SomeDirectorUnk1 = 0x0084, // updated 5.18 + SomeDirectorUnk2 = 0xF0C1, // updated 5.18 + SomeDirectorUnk4 = 0x03DD, // updated 5.58h + SomeDirectorUnk8 = 0x028A, // updated 5.18 + SomeDirectorUnk16 = 0x028C, // updated 5.18 + DirectorPopUp = 0x03DF, // updated 5.58h + DirectorPopUp4 = 0x019B, // updated 5.58h + DirectorPopUp8 = 0x0271, // updated 5.58h + + CFAvailableContents = 0xF1FD, // updated 4.2 + + WeatherChange = 0x1d2, // updated 6.40 + PlayerTitleList = 0x22f, // updated 6.40 + Discovery = 0x22c, // updated 6.40 + + EorzeaTimeOffset = 0x1b8, // updated 6.40 + + EquipDisplayFlags = 0x38c, // updated 6.40 + + MiniCactpotInit = 0x0286, // added 5.31 + ShopMessage = 0x0287, // updated 5.58h + LootMessage = 0x319, // updated 6.40 + ResultDialog = 0x1cb, // updated 6.40 + DesynthResult = 0x1ba, // updated 6.40 + + /// Housing ////////////////////////////////////// + + LandSetInitialize = 0x24d, // updated 6.40 + LandUpdate = 0x232, // updated 6.40 + LandAvailability = 0x67, // updated 6.40 + YardObjectSpawn = 0x1e3, // updated 6.40 + HousingIndoorInitialize = 0x22b, // updated 6.40 + LandPriceUpdate = 0x345, // updated 6.40 + LandInfoSign = 0x1dc, // updated 6.40 + LandRename = 0xf2, // updated 6.40 + HousingEstateGreeting = 0x3d1, // updated 6.40 + HousingUpdateLandFlagsSlot = 0x1b4, // updated 6.40 + HousingLandFlags = 0x32c, // updated 6.40 + HousingShowEstateGuestAccess = 0x36c, // updated 6.40 + + HousingObjectInitialize = 0x330, // updated 6.40 + HousingInternalObjectSpawn = 0x327, // updated 6.40 + + HousingWardInfo = 0x320, // updated 6.40 + HousingObjectMove = 0x245, // updated 6.40 + HousingObjectDye = 0x28b, // updated 6.40 + + SharedEstateSettingsResponse = 0x2d1, // updated 6.40 + + LandUpdateHouseName = 0x233, // updated 6.40 + LandSetMap = 0x34b, // updated 6.40 + + CeremonySetActorAppearance = 0x362, // updated 6.40 + + ////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// - /// Lobby Connection IPC Codes - /** - * Server IPC Lobby Type Codes. - */ - enum ServerLobbyIpcType : uint16_t - { - LobbyError = 0x0002, - LobbyServiceAccountList = 0x000C, - LobbyCharList = 0x000D, - LobbyCharCreate = 0x000E, - LobbyEnterWorld = 0x000F, - LobbyServerList = 0x0015, - LobbyRetainerList = 0x0017, - - }; - - /** - * Client IPC Lobby Type Codes. - */ - enum ClientLobbyIpcType : uint16_t - { - ReqCharList = 0x0003, - ReqEnterWorld = 0x0004, - ClientVersionInfo = 0x0005, - - ReqCharDelete = 0x000A, - ReqCharCreate = 0x000B, - }; - - //////////////////////////////////////////////////////////////////////////////// - /// Zone Connection IPC Codes - /** - * Server IPC Zone Type Codes. - */ - enum ServerZoneIpcType : uint16_t - { - Ping = 0x2c0, // updated 6.40 - Init = 0x12a, // updated 6.40 - - ActorFreeSpawn = 0x8a, // updated 6.40 - - InitZone = 0x347, // updated 6.40 - PrepareZoning = 0x17a, // updated 6.40 - - EffectResult = 0x3b4, // updated 6.40 - EffectResultBasic = 0x295, // updated 6.40 - - ActorControl = 0x381, // updated 6.40 - ActorControlTarget = 0x131, // updated 6.40 - ActorControlSelf = 0x14f, // updated 6.40 - ActorCast = 0x31c, // updated 6.40 - ActorSetPos = 0xea, // updated 6.40 - ActorMove = 0x2a9, // updated 6.40 - ActorGauge = 0x164, // updated 6.40 - - /*! - * @brief Used when resting - */ - UpdateHpMpTp = 0x21a, // updated 6.40 - UpdateClassInfo = 0x380, // updated 6.40 - - /////////////////////////////////////////////////// - - ChatBanned = 0xF06B, - Playtime = 0x181, // updated 6.40 - Logout = 0x18a, // updated 6.40 - CFNotify = 0x3e0, // updated 6.40 - CFMemberStatus = 0x0079, - CFDutyInfo = 0xe0, // updated 6.40 - CFPlayerInNeed = 0xF07F, - CFPreferredRole = 0x221, // updated 6.40 - CFCancel = 0x77, // updated 6.40 - SocialRequestError = 0xF0AD, - - CFRegistered = 0x029F, // updated 5.58h - SocialRequestResponse = 0x323, // updated 6.40 - SocialMessage = 0x03CB, // updated 5.58h - SocialMessage2 = 0x01D7, // updated 5.58h - CancelAllianceForming = 0xF0C6, // updated 4.2 - - LogMessage = 0x113, // updated 6.40 - - Chat = 0x335, // updated 6.40 - PartyChat = 0x0065, - - WorldVisitList = 0xF0FE, // added 4.5 - - SocialList = 0x281, // updated 6.40 - - ExamineSearchInfo = 0x2b0, // updated 6.40 - UpdateSearchInfo = 0x339, // updated 6.40 - InitSearchInfo = 0x37f, // updated 6.40 - ExamineSearchComment = 0x314, // updated 6.40 - - ServerNoticeShort = 0x0333, // updated 5.58h - ServerNotice = 0x273, // updated 6.40 - SystemLogMessage = 0x19b, // updated 6.40 - SetOnlineStatus = 0xb1, // updated 6.40 - - CountdownInitiate = 0x292, // updated 6.40 - CountdownCancel = 0x2ba, // updated 6.40 - - PlayerAddedToBlacklist = 0x3be, // updated 6.40 - PlayerRemovedFromBlacklist = 0x8b, // updated 6.40 - BlackList = 0x2ad, // updated 6.40 - - LinkshellList = 0x287, // updated 6.40 - CrossWorldLinkshellList = 0x358, // updated 6.40 - FellowshipList = 0x238, // updated 6.40 - - MailDeleteRequest = 0x2e3, // updated 6.40 - - // 12D - 137 - constant gap between 4.5x -> 5.0 - ReqMoogleMailList = 0xF138, // updated 5.0 - ReqMoogleMailLetter = 0xF139, // updated 5.0 - MailLetterNotification = 0x013A, // updated 5.0 - - MarketTaxRates = 0x01F8, // updated 5.35h - - MarketBoardSearchResult = 0x197, // updated 6.40 - MarketBoardItemListingCount = 0x1a4, // updated 6.40 - MarketBoardItemListingHistory = 0x2b4, // updated 6.40 - MarketBoardItemListing = 0xa7, // updated 6.40 - MarketBoardPurchase = 0x120, // updated 6.40 - ItemMarketBoardInfo = 0x3c4, // updated 6.40 - - CharaFreeCompanyTag = 0x013B, // updated 4.5 - FreeCompanyBoardMsg = 0x03DB, // updated 5.58h - FreeCompanyInfo = 0x1ce, // updated 6.40 - FreeCompanyDialog = 0x2a1, // updated 6.40 - ExamineFreeCompanyInfo = 0x229, // updated 6.40 - - FreeCompanyUpdateShortMessage = 0xF157, // added 5.0 - - StatusEffectList = 0x13f, // updated 6.40 - EurekaStatusEffectList = 0x25d, // updated 6.40 - BossStatusEffectList = 0x1b0, // updated 6.40 - StatusEffectList2 = 0x149, // updated 6.40 - StatusEffectList3 = 0xe7, // updated 6.40 - Effect = 0x3c9, // updated 6.40 - AoeEffect8 = 0x21e, // updated 6.40 - AoeEffect16 = 0x34c, // updated 6.40 - AoeEffect24 = 0x379, // updated 6.40 - AoeEffect32 = 0x33f, // updated 6.40 - PersistantEffect = 0xe7, // updated 6.40 - - PlaceFieldMarker = 0xd8, // updated 6.40 - PlaceFieldMarkerPreset = 0xFFFF, // updated 6.40 - - GCAffiliation = 0x159, // updated 6.40 - - PlayerSpawn = 0x2cf, // updated 6.40 - NpcSpawn = 0x1c4, // updated 6.40 - NpcSpawn2 = 0x123, // updated 6.40 - - SomeCustomiseChangePacketProbably = 0x00CD, // added 5.18 - - PartyList = 0x110, // updated 6.40 - PartyMessage = 0x374, // updated 6.40 - HateRank = 0x22d, // updated 6.40 - HateList = 0x22e, // updated 6.40 - ObjectSpawn = 0x184, // updated 6.40 - ObjectDespawn = 0xb8, // updated 6.40 - SilentSetClassJob = 0xF18E, // updated 5.0 - seems to be the case, not sure if it's actually used for anything - PlayerSetup = 0x218, // updated 6.40 - PlayerStats = 0x1a3, // updated 6.40 - ActorOwner = 0x218, // updated 6.40 - PlayerStateFlags = 0x37a, // updated 6.40 - PlayerClassInfo = 0xd9, // updated 6.40 - PlayerUpdateLook = 0x1a7, // updated 6.40 - CharaVisualEffect = 0x1ef, // updated 6.40 - - ModelEquip = 0x297, // updated 6.40 - Examine = 0x364, // updated 6.40 - CharaNameReq = 0xc1, // updated 6.40 - - // nb: see #565 on github - UpdateRetainerItemSalePrice = 0xF19F, // updated 5.0 - RetainerSaleHistory = 0x16d, // updated 6.40 - RetainerInformation = 0x39c, // updated 6.40 - - SetLevelSync = 0x1186, // not updated for 4.4, not sure what it is anymore - - ItemInfo = 0x128, // updated 6.40 - ContainerInfo = 0x122, // updated 6.40 - InventoryTransactionFinish = 0x2d9, // updated 6.40 - InventoryTransaction = 0x2e9, // updated 6.40 - CurrencyCrystalInfo = 0x2be, // updated 6.40 - - InventoryActionAck = 0x19c, // updated 6.40 - UpdateInventorySlot = 0x119, // updated 6.40 - - HuntingLogEntry = 0xec, // updated 6.40 - - EventPlay = 0xfb, // updated 6.40 - EventPlay4 = 0x307, // updated 6.40 - EventPlay8 = 0x252, // updated 6.40 - EventPlay16 = 0x214, // updated 6.40 - EventPlay32 = 0x6c, // updated 6.40 - EventPlay64 = 0x223, // updated 6.40 - EventPlay128 = 0x340, // updated 6.40 - EventPlay255 = 0x3dc, // updated 6.40 - EventStart = 0x1a2, // updated 6.40 - EventFinish = 0x2b2, // updated 6.40 - - EventContinue = 0x298, // updated 6.40 - - EventLinkshell = 0x1169, - - QuestActiveList = 0x11d, // updated 6.40 - QuestUpdate = 0x92, // updated 6.40 - QuestCompleteList = 0x36f, // updated 6.40 - - QuestFinish = 0x13a, // updated 6.40 - MSQTrackerComplete = 0x28c, // updated 6.40 - MSQTrackerProgress = 0xF1CD, // updated 4.5 ? this actually looks like the two opcodes have been combined, see #474 - - QuestMessage = 0x0220, // updated 5.58h - - QuestTracker = 0x1b5, // updated 6.40 - - Mount = 0x3c0, // updated 6.40 - - DirectorVars = 0x27e, // updated 6.40 - SomeDirectorUnk1 = 0x0084, // updated 5.18 - SomeDirectorUnk2 = 0xF0C1, // updated 5.18 - SomeDirectorUnk4 = 0x03DD, // updated 5.58h - SomeDirectorUnk8 = 0x028A, // updated 5.18 - SomeDirectorUnk16 = 0x028C, // updated 5.18 - DirectorPopUp = 0x03DF, // updated 5.58h - DirectorPopUp4 = 0x019B, // updated 5.58h - DirectorPopUp8 = 0x0271, // updated 5.58h - - CFAvailableContents = 0xF1FD, // updated 4.2 - - WeatherChange = 0x1d2, // updated 6.40 - PlayerTitleList = 0x22f, // updated 6.40 - Discovery = 0x22c, // updated 6.40 - - EorzeaTimeOffset = 0x1b8, // updated 6.40 - - EquipDisplayFlags = 0x38c, // updated 6.40 - - MiniCactpotInit = 0x0286, // added 5.31 - ShopMessage = 0x0287, // updated 5.58h - LootMessage = 0x319, // updated 6.40 - ResultDialog = 0x1cb, // updated 6.40 - DesynthResult = 0x1ba, // updated 6.40 - - /// Housing ////////////////////////////////////// - - LandSetInitialize = 0x24d, // updated 6.40 - LandUpdate = 0x232, // updated 6.40 - LandAvailability = 0x67, // updated 6.40 - YardObjectSpawn = 0x1e3, // updated 6.40 - HousingIndoorInitialize = 0x22b, // updated 6.40 - LandPriceUpdate = 0x345, // updated 6.40 - LandInfoSign = 0x1dc, // updated 6.40 - LandRename = 0xf2, // updated 6.40 - HousingEstateGreeting = 0x3d1, // updated 6.40 - HousingUpdateLandFlagsSlot = 0x1b4, // updated 6.40 - HousingLandFlags = 0x32c, // updated 6.40 - HousingShowEstateGuestAccess = 0x36c, // updated 6.40 - - HousingObjectInitialize = 0x330, // updated 6.40 - HousingInternalObjectSpawn = 0x327, // updated 6.40 - - HousingWardInfo = 0x320, // updated 6.40 - HousingObjectMove = 0x245, // updated 6.40 - HousingObjectDye = 0x28b, // updated 6.40 - - SharedEstateSettingsResponse = 0x2d1, // updated 6.40 - - LandUpdateHouseName = 0x233, // updated 6.40 - LandSetMap = 0x34b, // updated 6.40 - - CeremonySetActorAppearance = 0x362, // updated 6.40 - - ////////////////////////////////////////////////// + DuelChallenge = 0x0277, // 4.2; this is responsible for opening the ui + PerformNote = 0x1df, // updated 6.40 - DuelChallenge = 0x0277, // 4.2; this is responsible for opening the ui - PerformNote = 0x1df, // updated 6.40 + DutyGauge = 0x02E5, // updated 5.58h - DutyGauge = 0x02E5, // updated 5.58h + // daily quest info -> without them sent, login will take longer... + DailyQuests = 0x11f, // updated 6.40 + DailyQuestRepeatFlags = 0x1c0, // updated 6.40 - // daily quest info -> without them sent, login will take longer... - DailyQuests = 0x11f, // updated 6.40 - DailyQuestRepeatFlags = 0x1c0, // updated 6.40 + MapUpdate = 0x392, // updated 6.40 + MapUpdate4 = 0x237, // updated 6.40 + MapUpdate8 = 0xd5, // updated 6.40 + MapUpdate16 = 0x36e, // updated 6.40 + MapUpdate32 = 0x2df, // updated 6.40 + MapUpdate64 = 0x2b6, // updated 6.40 + MapUpdate128 = 0x3ac, // updated 6.40 - MapUpdate = 0x392, // updated 6.40 - MapUpdate4 = 0x237, // updated 6.40 - MapUpdate8 = 0xd5, // updated 6.40 - MapUpdate16 = 0x36e, // updated 6.40 - MapUpdate32 = 0x2df, // updated 6.40 - MapUpdate64 = 0x2b6, // updated 6.40 - MapUpdate128 = 0x3ac, // updated 6.40 + /// Doman Mahjong ////////////////////////////////////// + MahjongOpenGui = 0x02A4, // only available in mahjong instance + MahjongNextRound = 0x02BD, // initial hands(baipai), # of riichi(wat), winds, honba, score and stuff + MahjongPlayerAction = 0x02BE, // tsumo(as in drawing a tile) called chi/pon/kan/riichi + MahjongEndRoundTsumo = 0x02BF, // called tsumo + MahjongEndRoundRon = 0x2C0, // called ron or double ron (waiting for action must be flagged from discard packet to call) + MahjongTileDiscard = 0x02C1, // giri (discarding a tile.) chi(1)/pon(2)/kan(4)/ron(8) flags etc.. + MahjongPlayersInfo = 0xF2C2, // actor id, name, rating and stuff.. + // 2C3 and 2C4 are currently unknown + MahjongEndRoundDraw = 0x02C5, // self explanatory + MahjongEndGame = 0x02C6, // finished oorasu(all-last) round; shows a result screen. - /// Doman Mahjong ////////////////////////////////////// - MahjongOpenGui = 0x02A4, // only available in mahjong instance - MahjongNextRound = 0x02BD, // initial hands(baipai), # of riichi(wat), winds, honba, score and stuff - MahjongPlayerAction = 0x02BE, // tsumo(as in drawing a tile) called chi/pon/kan/riichi - MahjongEndRoundTsumo = 0x02BF, // called tsumo - MahjongEndRoundRon = 0x2C0, // called ron or double ron (waiting for action must be flagged from discard packet to call) - MahjongTileDiscard = 0x02C1, // giri (discarding a tile.) chi(1)/pon(2)/kan(4)/ron(8) flags etc.. - MahjongPlayersInfo = 0xF2C2, // actor id, name, rating and stuff.. - // 2C3 and 2C4 are currently unknown - MahjongEndRoundDraw = 0x02C5, // self explanatory - MahjongEndGame = 0x02C6, // finished oorasu(all-last) round; shows a result screen. + /// Airship & Submarine ////////////////////////////////////// + AirshipTimers = 0x132, // updated 6.40 + AirshipStatus = 0x1eb, // updated 6.40 + AirshipStatusList = 0x2cb, // updated 6.40 + AirshipExplorationResult = 0x2c4, // updated 6.40 - /// Airship & Submarine ////////////////////////////////////// - AirshipTimers = 0x132, // updated 6.40 - AirshipStatus = 0x1eb, // updated 6.40 - AirshipStatusList = 0x2cb, // updated 6.40 - AirshipExplorationResult = 0x2c4, // updated 6.40 + SubmarineTimers = 0x2b7, // updated 6.40 + SubmarineProgressionStatus = 0x385, // updated 6.40 + SubmarineStatusList = 0x81, // updated 6.40 + SubmarineExplorationResult = 0x2c9, // updated 6.40 - SubmarineTimers = 0x2b7, // updated 6.40 - SubmarineProgressionStatus = 0x385, // updated 6.40 - SubmarineStatusList = 0x81, // updated 6.40 - SubmarineExplorationResult = 0x2c9, // updated 6.40 + EnvironmentControl = 0x108, // updated 6.40 + IslandWorkshopSupplyDemand = 0x1b7, // updated 6.40 + +}; + +/** + * Client IPC Zone Type Codes. + */ +enum ClientZoneIpcType : + uint16_t +{ + PingHandler = 0x272, // updated 6.40 + InitHandler = 0x397, // updated 6.40 - EnvironmentControl = 0x108, // updated 6.40 - IslandWorkshopSupplyDemand = 0x1b7, // updated 6.40 - - }; - - /** - * Client IPC Zone Type Codes. - */ - enum ClientZoneIpcType : uint16_t - { - PingHandler = 0x272, // updated 6.40 - InitHandler = 0x397, // updated 6.40 + FinishLoadingHandler = 0x12a, // updated 6.40 - FinishLoadingHandler = 0x12a, // updated 6.40 + CFCommenceHandler = 0x0381, // updated 5.58h - CFCommenceHandler = 0x0381, // updated 5.58h + CFCancelHandler = 0x02B2, // updated 5.58h + CFRegisterDuty = 0x01BD, // updated 5.58h + CFRegisterRoulette = 0x037A, // updated 5.58h + PlayTimeHandler = 0x02B7, // updated 5.58h + LogoutHandler = 0xac, // updated 6.40 + CancelLogout = 0x01e3, // updated 6.31h + CFDutyInfoHandler = 0xF078, // updated 4.2 + + SocialReqSendHandler = 0x00D7, // updated 5.58h + SocialResponseHandler = 0x023B, // updated 5.58h + CreateCrossWorldLS = 0x035D, // updated 5.58h + + ChatHandler = 0xd3, // updated 6.40 + PartyChatHandler = 0x0065, PartySetLeaderHandler = 0x036C, // updated 5.58h + LeavePartyHandler = 0x019D, // updated 5.58h + KickPartyMemberHandler = 0x0262, // updated 5.58h + DisbandPartyHandler = 0x0276, // updated 5.58h + + SocialListHandler = 0x0200, // updated 6.31 + SetSearchInfoHandler = 0x3b6, // updated 6.40 + ReqSearchInfoHandler = 0x03b0, // updated 6.31h + ReqExamineSearchCommentHandler = 0x00E7, // updated 5.0 + + ReqRemovePlayerFromBlacklist = 0x00B4, // updated 5.58h + BlackListHandler = 0x010c, // updated 6.31h + PlayerSearchHandler = 0x037D, // updated 5.58h + + LinkshellListHandler = 0x03B6, // updated 5.58h + + MarketBoardRequestItemListingInfo = 0x00F4, // updated 5.58h + MarketBoardRequestItemListings = 0x0122, // updated 5.58h + MarketBoardSearch = 0x0082, // updated 5.58h + MarketBoardPurchaseHandler = 0x0256, // updated 6.40 + + ReqExamineFcInfo = 0xF37B, // updated 5.58h (prepended F. Conflicts with FinishLoadingHandler 6.38) + + FcInfoReqHandler = 0x9999, // unknown + + FreeCompanyUpdateShortMessageHandler = 0x0123, // added 5.0 + + ReqMarketWishList = 0x00C3, // updated 5.58h + + ReqJoinNoviceNetwork = 0x0129, // updated 4.2 + + ReqCountdownInitiate = 0x03e1, // updated 6.31h + ReqCountdownCancel = 0x023a, // updated 6.31h + + ZoneLineHandler = 0x00ce, // updated 6.31h + ClientTrigger = 0x01BC, // updated 6.40 + DiscoveryHandler = 0x038B, // updated 5.58h + + SkillHandler = 0x0228, // updated 6.40 + GMCommand1 = 0x0139, // updated 6.40 + GMCommand2 = 0x0195, // updated 6.40 + AoESkillHandler = 0x016f, // updated 6.40 + + UpdatePositionHandler = 0x0179, // updated 6.40 + + InventoryModifyHandler = 0x02DB, // updated 6.40 + + InventoryEquipRecommendedItems = 0x01C9, // updated 5.58h + + ReqPlaceHousingItem = 0x02D4, // updated 5.58h + BuildPresetHandler = 0x0223, // updated 5.58h + + TalkEventHandler = 0x035D, // updated 6.40 + EmoteEventHandler = 0x00B0, // updated 5.58h + WithinRangeEventHandler = 0x02B6, // updated 5.58h + OutOfRangeEventHandler = 0x00b4, // updated 6.31h + EnterTeriEventHandler = 0x208, // updated 6.40 + ShopEventHandler = 0x0384, // updated 5.58h + ReturnEventHandler = 0x0131, // updated 6.40 + TradeReturnEventHandler = 0x3c9, // updated 6.40 + TradeReturnEventHandler2 = 0x023C, // updated 5.58h + EventYield2Handler = 0x021D, // updated 5.58h + EventYield16Handler = 0x0207, // updated 5.58h - CFCancelHandler = 0x02B2, // updated 5.58h - CFRegisterDuty = 0x01BD, // updated 5.58h - CFRegisterRoulette = 0x037A, // updated 5.58h - PlayTimeHandler = 0x02B7, // updated 5.58h - LogoutHandler = 0xac, // updated 6.40 - CancelLogout = 0x01e3, // updated 6.31h - CFDutyInfoHandler = 0xF078, // updated 4.2 - - SocialReqSendHandler = 0x00D7, // updated 5.58h - SocialResponseHandler = 0x023B, // updated 5.58h - CreateCrossWorldLS = 0x035D, // updated 5.58h - - ChatHandler = 0xd3, // updated 6.40 - PartyChatHandler = 0x0065, - PartySetLeaderHandler = 0x036C, // updated 5.58h - LeavePartyHandler = 0x019D, // updated 5.58h - KickPartyMemberHandler = 0x0262, // updated 5.58h - DisbandPartyHandler = 0x0276, // updated 5.58h - - SocialListHandler = 0x0200, // updated 6.31 - SetSearchInfoHandler = 0x3b6, // updated 6.40 - ReqSearchInfoHandler = 0x03b0, // updated 6.31h - ReqExamineSearchCommentHandler = 0x00E7, // updated 5.0 - - ReqRemovePlayerFromBlacklist = 0x00B4, // updated 5.58h - BlackListHandler = 0x010c, // updated 6.31h - PlayerSearchHandler = 0x037D, // updated 5.58h - - LinkshellListHandler = 0x03B6, // updated 5.58h - - MarketBoardRequestItemListingInfo = 0x00F4, // updated 5.58h - MarketBoardRequestItemListings = 0x0122, // updated 5.58h - MarketBoardSearch = 0x0082, // updated 5.58h - MarketBoardPurchaseHandler = 0x0256, // updated 6.40 - - ReqExamineFcInfo = 0xF37B, // updated 5.58h (prepended F. Conflicts with FinishLoadingHandler 6.38) - - FcInfoReqHandler = 0x9999, // unknown - - FreeCompanyUpdateShortMessageHandler = 0x0123, // added 5.0 - - ReqMarketWishList = 0x00C3, // updated 5.58h - - ReqJoinNoviceNetwork = 0x0129, // updated 4.2 - - ReqCountdownInitiate = 0x03e1, // updated 6.31h - ReqCountdownCancel = 0x023a, // updated 6.31h - - ZoneLineHandler = 0x00ce, // updated 6.31h - ClientTrigger = 0x01BC, // updated 6.40 - DiscoveryHandler = 0x038B, // updated 5.58h - - SkillHandler = 0x0228, // updated 6.40 - GMCommand1 = 0x0139, // updated 6.40 - GMCommand2 = 0x0195, // updated 6.40 - AoESkillHandler = 0x016f, // updated 6.40 - - UpdatePositionHandler = 0x0179, // updated 6.40 - - InventoryModifyHandler = 0x02DB, // updated 6.40 - - InventoryEquipRecommendedItems = 0x01C9, // updated 5.58h - - ReqPlaceHousingItem = 0x02D4, // updated 5.58h - BuildPresetHandler = 0x0223, // updated 5.58h - - TalkEventHandler = 0x035D, // updated 6.40 - EmoteEventHandler = 0x00B0, // updated 5.58h - WithinRangeEventHandler = 0x02B6, // updated 5.58h - OutOfRangeEventHandler = 0x00b4, // updated 6.31h - EnterTeriEventHandler = 0x208, // updated 6.40 - ShopEventHandler = 0x0384, // updated 5.58h - ReturnEventHandler = 0x0131, // updated 6.40 - TradeReturnEventHandler = 0x3c9, // updated 6.40 - TradeReturnEventHandler2 = 0x023C, // updated 5.58h - EventYield2Handler = 0x021D, // updated 5.58h - EventYield16Handler = 0x0207, // updated 5.58h + LinkshellEventHandler = 0x9999, // unknown + LinkshellEventHandler1 = 0x9999, // unknown - LinkshellEventHandler = 0x9999, // unknown - LinkshellEventHandler1 = 0x9999, // unknown + ReqEquipDisplayFlagsChange = 0x03BC, // updated 6.30h - ReqEquipDisplayFlagsChange = 0x03BC, // updated 6.30h + LandRenameHandler = 0x028E, // updated 5.58h + HousingUpdateHouseGreeting = 0x0343, // updated 5.58h + HousingUpdateObjectPosition = 0x9999, // unknown + HousingEditExterior = 0x027B, // updated 5.58h + HousingEditInterior = 0x02E3, // updated 5.58h + + SetSharedEstateSettings = 0x00D2, // updated 5.58h + + UpdatePositionInstance = 0x00E5, // updated 6.40 - LandRenameHandler = 0x028E, // updated 5.58h - HousingUpdateHouseGreeting = 0x0343, // updated 5.58h - HousingUpdateObjectPosition = 0x9999, // unknown - HousingEditExterior = 0x027B, // updated 5.58h - HousingEditInterior = 0x02E3, // updated 5.58h - - SetSharedEstateSettings = 0x00D2, // updated 5.58h + PerformNoteHandler = 0x0243, // updated 5.58h - UpdatePositionInstance = 0x00E5, // updated 6.40 + WorldInteractionHandler = 0x0274, // updated 5.58h + Dive = 0x018C, // updated 6.30h +}; - PerformNoteHandler = 0x0243, // updated 5.58h +//////////////////////////////////////////////////////////////////////////////// +/// Chat Connection IPC Codes +/** + * Server IPC Chat Type Codes. + */ +enum ServerChatIpcType : + uint16_t +{ + Tell = 0x0064, // updated for sb + PublicContentTell = 0xF0FB, // added 4.5, this is used when receiving a /tell in PublicContent instances such as Eureka or Bozja (prepended F conflicts with TradeReturnEventHandler 6.38) + TellErrNotFound = 0x0066, - WorldInteractionHandler = 0x0274, // updated 5.58h - Dive = 0x018C, // updated 6.30h - }; + FreeCompanyEvent = 0x012C, // added 5.0 +}; - //////////////////////////////////////////////////////////////////////////////// - /// Chat Connection IPC Codes - /** - * Server IPC Chat Type Codes. - */ - enum ServerChatIpcType : uint16_t - { - Tell = 0x0064, // updated for sb - PublicContentTell = 0xF0FB, // added 4.5, this is used when receiving a /tell in PublicContent instances such as Eureka or Bozja (prepended F conflicts with TradeReturnEventHandler 6.38) - TellErrNotFound = 0x0066, - - FreeCompanyEvent = 0x012C, // added 5.0 - }; - - /** - * Client IPC Chat Type Codes. - */ - enum ClientChatIpcType : uint16_t - { - TellReq = 0x0064, - PublicContentTellReq = 0x0326, // updated 5.35 hotfix, this is used when sending a /tell in PublicContent instances such as Eureka or Bozja - }; +/** + * Client IPC Chat Type Codes. + */ +enum ClientChatIpcType : + uint16_t +{ + TellReq = 0x0064, + PublicContentTellReq = 0x0326, // updated 5.35 hotfix, this is used when sending a /tell in PublicContent instances such as Eureka or Bozja +}; }