// Code generated from 7DTD V3.0 SandboxOptions enum (Assembly-CSharp, // buildid 23705258). The integer value of each member IS the 2-letter code in a // SandboxCode (via IndexToAlpha2). Order is authoritative — transcribed 1:1 from // rb-decompile/3.0/src/SandboxOptions/SandboxOptions.cs, INCLUDING the UNUSED1 // (116) / UNUSED2 (117) gap. Do not reorder. package sandbox // sandboxEnumNames is the SandboxOptions enum in declaration order; the slice // index equals the enum integer value. UNUSED1/UNUSED2 are kept so subsequent // members get their correct integer. "Max" terminates the enum (not an option). var sandboxEnumNames = []string{ "RangedDamage", // 0 "MeleeDamage", // 1 "BlockDamage", // 2 "TerrainDamage", // 3 "HeadshotMultiplier", // 4 "CrouchSpeed", // 5 "WalkSpeed", // 6 "RunSpeed", // 7 "JumpStrength", // 8 "StaminaUsage", // 9 "StaminaRegen", // 10 "PlayerLevelBonusApplied", // 11 "JarRefund", // 12 "ShowHealthBars", // 13 "ShowEnemyDamage", // 14 "NewbieCoat", // 15 "HeadshotMode", // 16 "IncomingDamage", // 17 "XPMultiplier", // 18 "ShowXP", // 19 "EncumbranceModifier", // 20 "ItemDegradation", // 21 "LoseItemsOnDeathType", // 22 "LoseItemsOnDeathCount", // 23 "DegradeItemsOnDeath", // 24 "DegradeAmountOnDeath", // 25 "DeathPenalty", // 26 "DropOnDeath", // 27 "DropOnQuit", // 28 "InfectionRate", // 29 "EnemySpawnMode", // 30 "EntityDamage", // 31 "BlockDamageAI", // 32 "BlockDamageAIBM", // 33 "ZombieMove", // 34 "ZombieMoveNight", // 35 "ZombieFeralMove", // 36 "ZombieBMMove", // 37 "ZombieFeralSense", // 38 "AISmellMode", // 39 "AllowZombieDigging", // 40 "ZombieRageChance", // 41 "EntityIncomingDamage", // 42 "MaxEnemyTier", // 43 "BiomeZombieRespawn", // 44 "BiomeAnimalRespawn", // 45 "BiomeEnemyDensity", // 46 "ZombiesEatAnimals", // 47 "BloodMoonFrequency", // 48 "BloodMoonRange", // 49 "BloodMoonWarning", // 50 "BloodMoonEnemyCount", // 51 "AirDropFrequency", // 52 "AirDropMarker", // 53 "AirDropRandomTime", // 54 "BiomeProgression", // 55 "TemperatureSurvival", // 56 "StormFreq", // 57 "StormWarning", // 58 "HeatMapSensitivity", // 59 "GlobalGSModifier", // 60 "BiomeGSModifier", // 61 "GlobalLSModifier", // 62 "BiomeLSModifier", // 63 "POITierLSModifier", // 64 "GlobalTSModifier", // 65 "DayNightLength", // 66 "DayLightLength", // 67 "AllowMap", // 68 "AllowCompass", // 69 "AllowScreenMarkers", // 70 "ShowLocationInfo", // 71 "ShowDayTime", // 72 "WorkstationsInTheWild", // 73 "MaxTechType", // 74 "LootRespawnDays", // 75 "LootTimer", // 76 "LootMaxTier", // 77 "GlobalLootCount", // 78 "FoodLootCount", // 79 "DrinkLootCount", // 80 "MedicalLootCount", // 81 "AmmoLootCount", // 82 "ResourceLootCount", // 83 "ArmorLootCount", // 84 "MeleeLootCount", // 85 "RangedLootCount", // 86 "DukesLootCount", // 87 "CraftingMagazinesLootCount", // 88 "TreasureMapChance", // 89 "LootBagChance", // 90 "CropOutput", // 91 "SeedDropOutput", // 92 "CropGrowthSpeed", // 93 "BackpackCrafting", // 94 "WorkstationCrafting", // 95 "CraftingProgression", // 96 "CraftingTime", // 97 "CraftingInput", // 98 "CraftingOutput", // 99 "CraftingMaxTier", // 100 "MiningOutput", // 101 "HarvestingOutput", // 102 "ScrappingOutput", // 103 "SmeltingType", // 104 "DewCollectorTime", // 105 "DewCollectorOutput", // 106 "DewCollectorInput", // 107 "ApiaryTime", // 108 "ApiaryOutput", // 109 "ApiaryInput", // 110 "UNUSED1", // 111 "UNUSED2", // 112 "RepairTypes", // 113 "MaxDegradationAmount", // 114 "PointsPerMagazine", // 115 "SkillGainRate", // 116 "SkillPointsPerLevel", // 117 "QuestsEnabled", // 118 "IntroQuestEnabled", // 119 "TraderToTraderQuestsEnabled", // 120 "StarterSkillPoints", // 121 "QuestsPerTier", // 122 "QuestProgressionDailyLimit", // 123 "BuriedQuestsEnabled", // 124 "POIQuestsEnabled", // 125 "TraderDialog", // 126 "TraderHours", // 127 "TradersEnabled", // 128 "VendingEnabled", // 129 "TraderSellPrices", // 130 "TraderBuyPrices", // 131 "TraderProtection", // 132 "TraderResetInterval", // 133 "TraderItemAbundance", // 134 "TraderBuyLimit", // 135 "TraderMaxTier", // 136 "VendingResetInterval", // 137 "VendingItemAbundance", // 138 "ChallengesEnabled", // 139 "IntroChallengesEnabled", // 140 "VehicleFuelUsage", // 141 "VehicleEntityDamage", // 142 "VehicleBlockDamage", // 143 "VehicleSelfDamage", // 144 "ElectricalOutput", // 145 "SillyCelebrate", // 146 "SillyBigHeads", // 147 "SillyTinyZombies", // 148 "SillySounds", // 149 "SillyLowGravity", // 150 "SillyBlackandWhite", // 151 // "Max" (152) — enum terminator, not an option. } // enumByName maps a SandboxOptions member name to its integer value, built once // from sandboxEnumNames. var enumByName = func() map[string]int { m := make(map[string]int, len(sandboxEnumNames)) for i, n := range sandboxEnumNames { m[n] = i } return m }()