From e45b70f1585537b9544f759c016ce53888cecace Mon Sep 17 00:00:00 2001 From: Christian Engelhardt Date: Fri, 31 Jan 2025 23:16:51 +0100 Subject: [PATCH] chore(game): adding and updating enums --- libNOM.io/Enums/DifficultyEnum.cs | 148 ++++++++++++--------- libNOM.io/Enums/PersistentBaseTypesEnum.cs | 2 + 2 files changed, 84 insertions(+), 66 deletions(-) diff --git a/libNOM.io/Enums/DifficultyEnum.cs b/libNOM.io/Enums/DifficultyEnum.cs index 9f6c9df..9cec475 100644 --- a/libNOM.io/Enums/DifficultyEnum.cs +++ b/libNOM.io/Enums/DifficultyEnum.cs @@ -11,45 +11,46 @@ internal enum ActiveSurvivalBarsDifficultyEnum : uint All, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcHazardDrainDifficultyOption.cs#L7 -internal enum HazardDrainDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcBreakTechOnDamageDifficultyOption.cs#L7 +internal enum BreakTechOnDamageProbabilityEnum : uint { - Slow, - Normal, - Fast, + None, + Low, + High, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcEnergyDrainDifficultyOption.cs#L7 -internal enum EnergyDrainDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcChargingRequirementsDifficultyOption.cs#L7 +internal enum ChargingRequirementsDifficultyEnum : uint { - Slow, + None, + Low, Normal, - Fast, + High, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSubstanceCollectionDifficultyOption.cs#L7 -internal enum SubstanceCollectionDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCreatureHostilityDifficultyOption.cs#L7 +internal enum CreatureHostilityDifficultyEnum : uint { - High, - Normal, - Low, + NeverAttack, + AttackIfProvoked, + FullEcosystem, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSprintingCostDifficultyOption.cs#L7 -internal enum SprintingCostDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCurrencyCostDifficultyOption.cs#L7 +internal enum CurrencyCostDifficultyEnum : uint { Free, - Low, - Full, + Cheap, + Normal, + Expensive, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcScannerRechargeDifficultyOption.cs#L7 -internal enum ScannerRechargeDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDamageGivenDifficultyOption.cs#L7 +internal enum DamageGivenDifficultyEnum : uint { - VeryFast, - Fast, + High, Normal, - Slow, + Low, } // https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDamageReceivedDifficultyOption.cs#L7 @@ -61,14 +62,6 @@ internal enum DamageReceivedDifficultyEnum : uint High, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcBreakTechOnDamageDifficultyOption.cs#L7 -internal enum BreakTechOnDamageProbabilityEnum : uint -{ - None, - Low, - High, -} - // https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDeathConsequencesDifficultyOption.cs#L7 internal enum DeathConsequencesDifficultyEnum : uint { @@ -78,13 +71,21 @@ internal enum DeathConsequencesDifficultyEnum : uint DestroySave, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcChargingRequirementsDifficultyOption.cs#L7 -internal enum ChargingRequirementsDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcEnergyDrainDifficultyOption.cs#L7 +internal enum EnergyDrainDifficultyEnum : uint { - None, - Low, + Slow, Normal, - High, + Fast, +} + +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcFishingDifficultyOption.cs#L7 +public enum FishingDifficultyEnum : uint // added in Aquarius 5.10 +{ + AutoCatch, + LongCatchWindow, + NormalCatchWindow, + ShortCatchWindow, } // https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcFuelUseDifficultyOption.cs#L7 @@ -96,30 +97,21 @@ internal enum FuelUseDifficultyEnum : uint Expensive, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcLaunchFuelCostDifficultyOption.cs#L7 -internal enum LaunchFuelCostDifficultyEnum : uint -{ - Free, - Low, - Normal, - High, -} - -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCurrencyCostDifficultyOption.cs#L7 -internal enum CurrencyCostDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCombatTimerDifficultyOption.cs#L7 +internal enum CombatTimerDifficultyOptionEnum : uint { - Free, - Cheap, + Off, + Slow, Normal, - Expensive, + Fast, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcItemShopAvailabilityDifficultyOption.cs#L7 -internal enum ItemShopAvailabilityDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcHazardDrainDifficultyOption.cs#L7 +internal enum HazardDrainDifficultyEnum : uint { - High, + Slow, Normal, - Low, + Fast, } // https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcInventoryStackLimitsDifficultyOption.cs#L7 @@ -130,29 +122,28 @@ internal enum InventoryStackLimitsDifficultyEnum : uint Low, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDamageGivenDifficultyOption.cs#L7 -internal enum DamageGivenDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcItemShopAvailabilityDifficultyOption.cs#L7 +internal enum ItemShopAvailabilityDifficultyEnum : uint { High, Normal, Low, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCombatTimerDifficultyOption.cs#L7 -internal enum CombatTimerDifficultyOptionEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcLaunchFuelCostDifficultyOption.cs#L7 +internal enum LaunchFuelCostDifficultyEnum : uint { - Off, - Slow, + Free, + Low, Normal, - Fast, + High, } -// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCreatureHostilityDifficultyOption.cs#L7 -internal enum CreatureHostilityDifficultyEnum : uint +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcNPCPopulationDifficultyOption.cs#L7 +internal enum NPCPopulationDifficultyEnum : uint // added in Worlds Part II 5.50 { - NeverAttack, - AttackIfProvoked, - FullEcosystem, + Full, + Abandoned, } // https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcReputationGainDifficultyOption.cs#L7 @@ -163,3 +154,28 @@ internal enum ReputationGainDifficultyEnum : uint Normal, Slow, } + +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcScannerRechargeDifficultyOption.cs#L7 +internal enum ScannerRechargeDifficultyEnum : uint +{ + VeryFast, + Fast, + Normal, + Slow, +} + +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSprintingCostDifficultyOption.cs#L7 +internal enum SprintingCostDifficultyEnum : uint +{ + Free, + Low, + Full, +} + +// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSubstanceCollectionDifficultyOption.cs#L7 +internal enum SubstanceCollectionDifficultyEnum : uint +{ + High, + Normal, + Low, +} diff --git a/libNOM.io/Enums/PersistentBaseTypesEnum.cs b/libNOM.io/Enums/PersistentBaseTypesEnum.cs index a5d1725..c234b72 100644 --- a/libNOM.io/Enums/PersistentBaseTypesEnum.cs +++ b/libNOM.io/Enums/PersistentBaseTypesEnum.cs @@ -17,4 +17,6 @@ internal enum PersistentBaseTypesEnum : uint SpaceBase, GeneratedPlanetBase, GeneratedPlanetBaseEdits, + PlayerShipBase, + FriendsShipBase, }