@carbonenginejs/runtime-resource 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/NOTICE +6 -0
  2. package/dist/CjsResMan.js +1374 -1318
  3. package/dist/CjsResMan.js.map +1 -1
  4. package/dist/format/CjsFormat.js +393 -164
  5. package/dist/format/CjsFormat.js.map +1 -1
  6. package/dist/format/CjsFormatStore.js +315 -0
  7. package/dist/format/CjsFormatStore.js.map +1 -0
  8. package/dist/format/CjsResourceProbe.js +66 -234
  9. package/dist/format/CjsResourceProbe.js.map +1 -1
  10. package/dist/format/payloadContract.js +47 -6
  11. package/dist/format/payloadContract.js.map +1 -1
  12. package/dist/formats/black/CjsBlackFormat.js +23 -6
  13. package/dist/formats/black/CjsBlackFormat.js.map +1 -1
  14. package/dist/formats/bnk/CjsBnkFormat.js +122 -120
  15. package/dist/formats/bnk/CjsBnkFormat.js.map +1 -1
  16. package/dist/formats/bnk/core/helpers.js +5 -15
  17. package/dist/formats/bnk/core/helpers.js.map +1 -1
  18. package/dist/formats/cmf/CjsCmfFormat.js +31 -14
  19. package/dist/formats/cmf/CjsCmfFormat.js.map +1 -1
  20. package/dist/formats/dds/CjsDdsFormat.js +29 -19
  21. package/dist/formats/dds/CjsDdsFormat.js.map +1 -1
  22. package/dist/formats/dds/core/helpers.js +4 -5
  23. package/dist/formats/dds/core/helpers.js.map +1 -1
  24. package/dist/formats/dxbc/CjsDxbcFormat.js +15 -13
  25. package/dist/formats/dxbc/CjsDxbcFormat.js.map +1 -1
  26. package/dist/formats/fbx/CjsFbxFormat.js +27 -19
  27. package/dist/formats/fbx/CjsFbxFormat.js.map +1 -1
  28. package/dist/formats/fbx/core/helpers.js +4 -4
  29. package/dist/formats/fbx/core/helpers.js.map +1 -1
  30. package/dist/formats/flac/CjsFlacFormat.js +19 -17
  31. package/dist/formats/flac/CjsFlacFormat.js.map +1 -1
  32. package/dist/formats/flac/core/helpers.js +5 -11
  33. package/dist/formats/flac/core/helpers.js.map +1 -1
  34. package/dist/formats/fsd/32/CjsFsd32Format.js +55 -0
  35. package/dist/formats/fsd/32/CjsFsd32Format.js.map +1 -0
  36. package/dist/formats/fsd/32/index.js +2 -0
  37. package/dist/formats/fsd/32/index.js.map +1 -0
  38. package/dist/formats/fsd/64/CjsFsd64Format.js +119 -0
  39. package/dist/formats/fsd/64/CjsFsd64Format.js.map +1 -0
  40. package/dist/formats/fsd/64/core/CjsFsd64Binary.js +393 -0
  41. package/dist/formats/fsd/64/core/CjsFsd64Binary.js.map +1 -0
  42. package/dist/formats/fsd/64/core/CjsFsd64Reader.js +138 -0
  43. package/dist/formats/fsd/64/core/CjsFsd64Reader.js.map +1 -0
  44. package/dist/formats/fsd/64/core/CjsFsd64SchemaDecoder.js +389 -0
  45. package/dist/formats/fsd/64/core/CjsFsd64SchemaDecoder.js.map +1 -0
  46. package/dist/formats/fsd/64/core/CjsFsd64SchemaReader.js +43 -0
  47. package/dist/formats/fsd/64/core/CjsFsd64SchemaReader.js.map +1 -0
  48. package/dist/formats/fsd/64/core/fsd64Records.js +60 -0
  49. package/dist/formats/fsd/64/core/fsd64Records.js.map +1 -0
  50. package/dist/formats/fsd/64/index.js +7 -0
  51. package/dist/formats/fsd/64/index.js.map +1 -0
  52. package/dist/formats/fsd/64/readers/CjsFsd64ReaderSetCharacterStaticData.js +33 -0
  53. package/dist/formats/fsd/64/readers/CjsFsd64ReaderSetCharacterStaticData.js.map +1 -0
  54. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAgentTypes.js +35 -0
  55. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAgentTypes.js.map +1 -0
  56. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAgentsInSpace.js +50 -0
  57. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAgentsInSpace.js.map +1 -0
  58. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAncestries.js +75 -0
  59. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAncestries.js.map +1 -0
  60. package/dist/formats/fsd/64/readers/CjsFsd64SchemaArchetypes.js +57 -0
  61. package/dist/formats/fsd/64/readers/CjsFsd64SchemaArchetypes.js.map +1 -0
  62. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAudioMetadata.js +201 -0
  63. package/dist/formats/fsd/64/readers/CjsFsd64SchemaAudioMetadata.js.map +1 -0
  64. package/dist/formats/fsd/64/readers/CjsFsd64SchemaBloodlines.js +73 -0
  65. package/dist/formats/fsd/64/readers/CjsFsd64SchemaBloodlines.js.map +1 -0
  66. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCategories.js +53 -0
  67. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCategories.js.map +1 -0
  68. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterAvatarBehaviors.js +44 -0
  69. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterAvatarBehaviors.js.map +1 -0
  70. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterColorLocations.js +38 -0
  71. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterColorLocations.js.map +1 -0
  72. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterColorNames.js +34 -0
  73. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterColorNames.js.map +1 -0
  74. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterModifierLocations.js +34 -0
  75. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterModifierLocations.js.map +1 -0
  76. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterPortraitResources.js +44 -0
  77. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterPortraitResources.js.map +1 -0
  78. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterResources.js +81 -0
  79. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterResources.js.map +1 -0
  80. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterSculptingLocations.js +34 -0
  81. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCharacterSculptingLocations.js.map +1 -0
  82. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCompressibleTypes.js +41 -0
  83. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCompressibleTypes.js.map +1 -0
  84. package/dist/formats/fsd/64/readers/CjsFsd64SchemaContrabandTypes.js +63 -0
  85. package/dist/formats/fsd/64/readers/CjsFsd64SchemaContrabandTypes.js.map +1 -0
  86. package/dist/formats/fsd/64/readers/CjsFsd64SchemaControlTowerResources.js +76 -0
  87. package/dist/formats/fsd/64/readers/CjsFsd64SchemaControlTowerResources.js.map +1 -0
  88. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCorporationActivities.js +38 -0
  89. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCorporationActivities.js.map +1 -0
  90. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCorporationRoleGroups.js +74 -0
  91. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCorporationRoleGroups.js.map +1 -0
  92. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCorporationRoles.js +59 -0
  93. package/dist/formats/fsd/64/readers/CjsFsd64SchemaCorporationRoles.js.map +1 -0
  94. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaAttributeCategories.js +46 -0
  95. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaAttributeCategories.js.map +1 -0
  96. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaAttributes.js +133 -0
  97. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaAttributes.js.map +1 -0
  98. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaEffects.js +236 -0
  99. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaEffects.js.map +1 -0
  100. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaUnits.js +60 -0
  101. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDogmaUnits.js.map +1 -0
  102. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDynamicItemAttributes.js +95 -0
  103. package/dist/formats/fsd/64/readers/CjsFsd64SchemaDynamicItemAttributes.js.map +1 -0
  104. package/dist/formats/fsd/64/readers/CjsFsd64SchemaEpicArcs.js +106 -0
  105. package/dist/formats/fsd/64/readers/CjsFsd64SchemaEpicArcs.js.map +1 -0
  106. package/dist/formats/fsd/64/readers/CjsFsd64SchemaExpertSystems.js +86 -0
  107. package/dist/formats/fsd/64/readers/CjsFsd64SchemaExpertSystems.js.map +1 -0
  108. package/dist/formats/fsd/64/readers/CjsFsd64SchemaFactions.js +117 -0
  109. package/dist/formats/fsd/64/readers/CjsFsd64SchemaFactions.js.map +1 -0
  110. package/dist/formats/fsd/64/readers/CjsFsd64SchemaGraphicIds.js +70 -0
  111. package/dist/formats/fsd/64/readers/CjsFsd64SchemaGraphicIds.js.map +1 -0
  112. package/dist/formats/fsd/64/readers/CjsFsd64SchemaGraphicMaterialSets.js +173 -0
  113. package/dist/formats/fsd/64/readers/CjsFsd64SchemaGraphicMaterialSets.js.map +1 -0
  114. package/dist/formats/fsd/64/readers/CjsFsd64SchemaGroups.js +77 -0
  115. package/dist/formats/fsd/64/readers/CjsFsd64SchemaGroups.js.map +1 -0
  116. package/dist/formats/fsd/64/readers/CjsFsd64SchemaIcons.js +62 -0
  117. package/dist/formats/fsd/64/readers/CjsFsd64SchemaIcons.js.map +1 -0
  118. package/dist/formats/fsd/64/readers/CjsFsd64SchemaMarketGroups.js +63 -0
  119. package/dist/formats/fsd/64/readers/CjsFsd64SchemaMarketGroups.js.map +1 -0
  120. package/dist/formats/fsd/64/readers/CjsFsd64SchemaMetaGroups.js +86 -0
  121. package/dist/formats/fsd/64/readers/CjsFsd64SchemaMetaGroups.js.map +1 -0
  122. package/dist/formats/fsd/64/readers/CjsFsd64SchemaNpcCorporationDivisions.js +72 -0
  123. package/dist/formats/fsd/64/readers/CjsFsd64SchemaNpcCorporationDivisions.js.map +1 -0
  124. package/dist/formats/fsd/64/readers/CjsFsd64SchemaNpcCorporations.js +326 -0
  125. package/dist/formats/fsd/64/readers/CjsFsd64SchemaNpcCorporations.js.map +1 -0
  126. package/dist/formats/fsd/64/readers/CjsFsd64SchemaPaperdolls.js +279 -0
  127. package/dist/formats/fsd/64/readers/CjsFsd64SchemaPaperdolls.js.map +1 -0
  128. package/dist/formats/fsd/64/readers/CjsFsd64SchemaRaces.js +64 -0
  129. package/dist/formats/fsd/64/readers/CjsFsd64SchemaRaces.js.map +1 -0
  130. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSchoolMap.js +40 -0
  131. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSchoolMap.js.map +1 -0
  132. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSchools.js +113 -0
  133. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSchools.js.map +1 -0
  134. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkillPlans.js +130 -0
  135. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkillPlans.js.map +1 -0
  136. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponentCategories.js +38 -0
  137. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponentCategories.js.map +1 -0
  138. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponentPointValues.js +45 -0
  139. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponentPointValues.js.map +1 -0
  140. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponentRarities.js +44 -0
  141. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponentRarities.js.map +1 -0
  142. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponents.js +163 -0
  143. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrComponents.js.map +1 -0
  144. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlotCategories.js +37 -0
  145. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlotCategories.js.map +1 -0
  146. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlotConfigurations.js +77 -0
  147. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlotConfigurations.js.map +1 -0
  148. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlotNames.js +37 -0
  149. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlotNames.js.map +1 -0
  150. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlots.js +74 -0
  151. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlots.js.map +1 -0
  152. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrTierThresholds.js +44 -0
  153. package/dist/formats/fsd/64/readers/CjsFsd64SchemaSkinrTierThresholds.js.map +1 -0
  154. package/dist/formats/fsd/64/readers/CjsFsd64SchemaStationOperations.js +120 -0
  155. package/dist/formats/fsd/64/readers/CjsFsd64SchemaStationOperations.js.map +1 -0
  156. package/dist/formats/fsd/64/readers/CjsFsd64SchemaStationServices.js +49 -0
  157. package/dist/formats/fsd/64/readers/CjsFsd64SchemaStationServices.js.map +1 -0
  158. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypeDogma.js +73 -0
  159. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypeDogma.js.map +1 -0
  160. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypeLists.js +122 -0
  161. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypeLists.js.map +1 -0
  162. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypeMaterials.js +83 -0
  163. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypeMaterials.js.map +1 -0
  164. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypes.js +194 -0
  165. package/dist/formats/fsd/64/readers/CjsFsd64SchemaTypes.js.map +1 -0
  166. package/dist/formats/fsd/64/readers/index.js +58 -0
  167. package/dist/formats/fsd/64/readers/index.js.map +1 -0
  168. package/dist/formats/fsd/CjsFsdFormat.js +62 -0
  169. package/dist/formats/fsd/CjsFsdFormat.js.map +1 -0
  170. package/dist/formats/fsd/index.js +9 -0
  171. package/dist/formats/fsd/index.js.map +1 -0
  172. package/dist/formats/gif/CjsGifFormat.js +26 -16
  173. package/dist/formats/gif/CjsGifFormat.js.map +1 -1
  174. package/dist/formats/gif/core/helpers.js +6 -18
  175. package/dist/formats/gif/core/helpers.js.map +1 -1
  176. package/dist/formats/gltf/CjsGltfFormat.js +25 -13
  177. package/dist/formats/gltf/CjsGltfFormat.js.map +1 -1
  178. package/dist/formats/gr2/CjsGr2Format.js +27 -6
  179. package/dist/formats/gr2/CjsGr2Format.js.map +1 -1
  180. package/dist/formats/hlsl/CjsHlslFormat.js +20 -16
  181. package/dist/formats/hlsl/CjsHlslFormat.js.map +1 -1
  182. package/dist/formats/hlsl/core/analysis.js +1 -1
  183. package/dist/formats/index.js +5 -0
  184. package/dist/formats/index.js.map +1 -1
  185. package/dist/formats/jpeg/CjsJpegFormat.js +26 -19
  186. package/dist/formats/jpeg/CjsJpegFormat.js.map +1 -1
  187. package/dist/formats/jpeg/core/helpers.js +6 -15
  188. package/dist/formats/jpeg/core/helpers.js.map +1 -1
  189. package/dist/formats/jpeg/core/jpeg.js +0 -3
  190. package/dist/formats/jpeg/core/jpeg.js.map +1 -1
  191. package/dist/formats/mp3/CjsMp3Format.js +19 -19
  192. package/dist/formats/mp3/CjsMp3Format.js.map +1 -1
  193. package/dist/formats/mp3/core/helpers.js +5 -11
  194. package/dist/formats/mp3/core/helpers.js.map +1 -1
  195. package/dist/formats/mp4/CjsMp4Format.js +20 -19
  196. package/dist/formats/mp4/CjsMp4Format.js.map +1 -1
  197. package/dist/formats/mp4/core/helpers.js +6 -15
  198. package/dist/formats/mp4/core/helpers.js.map +1 -1
  199. package/dist/formats/obj/CjsObjFormat.js +25 -12
  200. package/dist/formats/obj/CjsObjFormat.js.map +1 -1
  201. package/dist/formats/ogg/CjsOggFormat.js +26 -17
  202. package/dist/formats/ogg/CjsOggFormat.js.map +1 -1
  203. package/dist/formats/ogg/core/helpers.js +5 -16
  204. package/dist/formats/ogg/core/helpers.js.map +1 -1
  205. package/dist/formats/pickle/CjsPickleFormat.js +64 -5
  206. package/dist/formats/pickle/CjsPickleFormat.js.map +1 -1
  207. package/dist/formats/png/CjsPngFormat.js +28 -19
  208. package/dist/formats/png/CjsPngFormat.js.map +1 -1
  209. package/dist/formats/png/core/helpers.js +5 -14
  210. package/dist/formats/png/core/helpers.js.map +1 -1
  211. package/dist/formats/red/CjsRedFormat.js +19 -5
  212. package/dist/formats/red/CjsRedFormat.js.map +1 -1
  213. package/dist/formats/schemabound/CjsSchemaBoundFormat.js +48 -38
  214. package/dist/formats/schemabound/CjsSchemaBoundFormat.js.map +1 -1
  215. package/dist/formats/sqlite/CjsSqliteFormat.js +49 -41
  216. package/dist/formats/sqlite/CjsSqliteFormat.js.map +1 -1
  217. package/dist/formats/static/CjsStaticFormat.js +15 -57
  218. package/dist/formats/static/CjsStaticFormat.js.map +1 -1
  219. package/dist/formats/static/staticContainers.js +6 -6
  220. package/dist/formats/static/staticContainers.js.map +1 -1
  221. package/dist/formats/stl/CjsStlFormat.js +25 -12
  222. package/dist/formats/stl/CjsStlFormat.js.map +1 -1
  223. package/dist/formats/tga/CjsTgaFormat.js +26 -19
  224. package/dist/formats/tga/CjsTgaFormat.js.map +1 -1
  225. package/dist/formats/tga/core/helpers.js +7 -22
  226. package/dist/formats/tga/core/helpers.js.map +1 -1
  227. package/dist/formats/wav/CjsWavFormat.js +26 -19
  228. package/dist/formats/wav/CjsWavFormat.js.map +1 -1
  229. package/dist/formats/wav/core/helpers.js +7 -16
  230. package/dist/formats/wav/core/helpers.js.map +1 -1
  231. package/dist/formats/webgl/CjsWebglFormat.js +11 -13
  232. package/dist/formats/webgl/CjsWebglFormat.js.map +1 -1
  233. package/dist/formats/webgl/core/glsl/DxbcGlslEmitter.js +31 -1
  234. package/dist/formats/webgl/core/glsl/DxbcGlslEmitter.js.map +1 -1
  235. package/dist/formats/webgl/core/readGlslEffectContainer.js +8 -8
  236. package/dist/formats/webgl/core/readGlslEffectContainer.js.map +1 -1
  237. package/dist/formats/webgpu/CjsWebgpuFormat.js +11 -5
  238. package/dist/formats/webgpu/CjsWebgpuFormat.js.map +1 -1
  239. package/dist/formats/webm/CjsWebmFormat.js +20 -19
  240. package/dist/formats/webm/CjsWebmFormat.js.map +1 -1
  241. package/dist/formats/webm/core/helpers.js +6 -15
  242. package/dist/formats/webm/core/helpers.js.map +1 -1
  243. package/dist/formats/webp/CjsWebpFormat.js +19 -17
  244. package/dist/formats/webp/CjsWebpFormat.js.map +1 -1
  245. package/dist/formats/webp/core/helpers.js +5 -11
  246. package/dist/formats/webp/core/helpers.js.map +1 -1
  247. package/dist/formats/wem/CjsWemFormat.js +128 -141
  248. package/dist/formats/wem/CjsWemFormat.js.map +1 -1
  249. package/dist/formats/wem/core/helpers.js +1 -114
  250. package/dist/formats/wem/core/helpers.js.map +1 -1
  251. package/dist/formats/wem/core/{resolve.js → probeCodecSupport.js} +11 -18
  252. package/dist/formats/wem/core/probeCodecSupport.js.map +1 -0
  253. package/dist/formats/yaml/CjsYamlFormat.js +20 -5
  254. package/dist/formats/yaml/CjsYamlFormat.js.map +1 -1
  255. package/dist/generated/index.js +2 -0
  256. package/dist/generated/index.js.map +1 -0
  257. package/dist/generated/resources/Tr2RaycastGeometryRes.js +34 -0
  258. package/dist/generated/resources/Tr2RaycastGeometryRes.js.map +1 -0
  259. package/dist/generated/resources/index.js +2 -0
  260. package/dist/generated/resources/index.js.map +1 -0
  261. package/dist/index.js +3 -1
  262. package/dist/index.js.map +1 -1
  263. package/dist/resource/CjsResource.js +134 -0
  264. package/dist/resource/CjsResource.js.map +1 -1
  265. package/dist/resource/ResourceRequirement.js +42 -0
  266. package/dist/resource/ResourceRequirement.js.map +1 -0
  267. package/dist/resource/Tr2LightProfileRes.js +2 -1
  268. package/dist/resource/Tr2LightProfileRes.js.map +1 -1
  269. package/dist/resource/geometry/TriGeometryRes.js +34 -7
  270. package/dist/resource/geometry/TriGeometryRes.js.map +1 -1
  271. package/dist/resource/geometry/granny/Tr2GrannyStateRes.js +184 -7
  272. package/dist/resource/geometry/granny/Tr2GrannyStateRes.js.map +1 -1
  273. package/dist/resource/geometry/granny/TriGrannyRes.js +20 -8
  274. package/dist/resource/geometry/granny/TriGrannyRes.js.map +1 -1
  275. package/dist/resource/index.js +1 -0
  276. package/dist/resource/index.js.map +1 -1
  277. package/dist/resource/resourceBoundary.js +24 -1
  278. package/dist/resource/resourceBoundary.js.map +1 -1
  279. package/dist/resource/shader/Tr2EffectRes.js +2 -1
  280. package/dist/resource/shader/Tr2EffectRes.js.map +1 -1
  281. package/dist/resource/texture/CjsTextureArrayRes.js +2 -1
  282. package/dist/resource/texture/CjsTextureArrayRes.js.map +1 -1
  283. package/dist/resource/texture/Tr2ImageRes.js +2 -1
  284. package/dist/resource/texture/Tr2ImageRes.js.map +1 -1
  285. package/dist/resource/texture/TriTextureRes.js +40 -2
  286. package/dist/resource/texture/TriTextureRes.js.map +1 -1
  287. package/docs/architecture.md +121 -116
  288. package/docs/concepts/format-capabilities.md +90 -0
  289. package/docs/formats/README.md +14 -6
  290. package/docs/formats/fsd.md +104 -0
  291. package/docs/formats/gr2.md +1 -1
  292. package/docs/formats/hlsl/reference/api.md +6 -4
  293. package/docs/formats/provenance.md +18 -0
  294. package/docs/formats/schemabound.md +10 -4
  295. package/docs/formats/static.md +26 -26
  296. package/docs/formats/webgpu/reference/api.md +4 -3
  297. package/docs/reference/classes/core.md +22 -2
  298. package/docs/reference/classes/formats.md +643 -1
  299. package/docs/reference/classes/resources.md +463 -453
  300. package/docs/reference/queues.md +205 -194
  301. package/docs/roadmap.md +14 -18
  302. package/format-notices/fsd/LICENSE +21 -0
  303. package/format-notices/fsd/NOTICE +11 -0
  304. package/package.json +70 -64
  305. package/dist/formats/wem/core/resolve.js.map +0 -1
  306. package/docs/concepts/format-type-resolution.md +0 -79
@@ -0,0 +1,37 @@
1
+ import { CjsFsd64SchemaDecoder } from '../core/CjsFsd64SchemaDecoder.js';
2
+ import { CjsFsd64SchemaReader } from '../core/CjsFsd64SchemaReader.js';
3
+
4
+ /**
5
+ * Reads caller-supplied `ship_cosmetic_slot_names.fsdbinary` bytes.
6
+ *
7
+ * Internal slot names such as `primary_nanocoating`. Shares its layout with
8
+ * the component-category and slot-category tables.
9
+ *
10
+ * Solved against CCP's published export at build 3466501, every record.
11
+ */
12
+ class CjsFsd64SchemaSkinrSlotNames extends CjsFsd64SchemaReader {
13
+ static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({
14
+ "schema": "carbonenginejs.fsdBinarySchema",
15
+ "name": "skinrSlotNames",
16
+ "schemaVersion": 1,
17
+ "path": "res:/staticdata/ship_cosmetic_slot_names.fsdbinary",
18
+ "schemaID": "cd2521438d1b750a28a532a11743a248",
19
+ "container": {
20
+ "type": "MAP",
21
+ "recordSize": 16,
22
+ "key": {
23
+ "type": "UINT_32_IDENTIFIER",
24
+ "offset": 0
25
+ },
26
+ "fields": [{
27
+ "name": "name",
28
+ "type": "STRING",
29
+ "offset": 8,
30
+ "sourceName": "name"
31
+ }]
32
+ }
33
+ }));
34
+ }
35
+
36
+ export { CjsFsd64SchemaSkinrSlotNames };
37
+ //# sourceMappingURL=CjsFsd64SchemaSkinrSlotNames.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CjsFsd64SchemaSkinrSlotNames.js","sources":["../../../../../../src/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlotNames.js"],"sourcesContent":["import { CjsFsd64SchemaDecoder } from \"../core/CjsFsd64SchemaDecoder.js\";\nimport { CjsFsd64SchemaReader } from \"../core/CjsFsd64SchemaReader.js\";\n\n\n/**\n * Reads caller-supplied `ship_cosmetic_slot_names.fsdbinary` bytes.\n *\n * Internal slot names such as `primary_nanocoating`. Shares its layout with\n * the component-category and slot-category tables.\n *\n * Solved against CCP's published export at build 3466501, every record.\n */\nexport class CjsFsd64SchemaSkinrSlotNames extends CjsFsd64SchemaReader\n{\n static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({\n \"schema\": \"carbonenginejs.fsdBinarySchema\",\n \"name\": \"skinrSlotNames\",\n \"schemaVersion\": 1,\n \"path\": \"res:/staticdata/ship_cosmetic_slot_names.fsdbinary\",\n \"schemaID\": \"cd2521438d1b750a28a532a11743a248\",\n \"container\": {\n \"type\": \"MAP\",\n \"recordSize\": 16,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"STRING\",\n \"offset\": 8,\n \"sourceName\": \"name\"\n }\n ]\n }\n }));\n\n}\n\nexport default new CjsFsd64SchemaSkinrSlotNames();\n"],"names":["CjsFsd64SchemaSkinrSlotNames","CjsFsd64SchemaReader","getFsdSchema","bindFsdSchema","CjsFsd64SchemaDecoder","defineSchema"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,4BAA4B,SAASC,oBAAoB,CACtE;EACI,OAAOC,YAAY,GAAGD,oBAAoB,CAACE,aAAa,CAACC,qBAAqB,CAACC,YAAY,CAAC;AACxF,IAAA,QAAQ,EAAE,gCAAgC;AAC1C,IAAA,MAAM,EAAE,gBAAgB;AACxB,IAAA,eAAe,EAAE,CAAC;AAClB,IAAA,MAAM,EAAE,oDAAoD;AAC5D,IAAA,UAAU,EAAE,kCAAkC;AAC9C,IAAA,WAAW,EAAE;AACT,MAAA,MAAM,EAAE,KAAK;AACb,MAAA,YAAY,EAAE,EAAE;AAChB,MAAA,KAAK,EAAE;AACH,QAAA,MAAM,EAAE,oBAAoB;AAC5B,QAAA,QAAQ,EAAE;OACb;AACD,MAAA,QAAQ,EAAE,CACN;AACI,QAAA,MAAM,EAAE,MAAM;AACd,QAAA,MAAM,EAAE,QAAQ;AAChB,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,YAAY,EAAE;OACjB;AAET;AACJ,GAAC,CAAC,CAAC;AAEP;;;;"}
@@ -0,0 +1,74 @@
1
+ import { CjsFsd64SchemaDecoder } from '../core/CjsFsd64SchemaDecoder.js';
2
+ import { CjsFsd64SchemaReader } from '../core/CjsFsd64SchemaReader.js';
3
+
4
+ /**
5
+ * Reads caller-supplied `ship_cosmetic_slots.fsdbinary` bytes.
6
+ *
7
+ * The eight cosmetic slots, each naming the design-component categories it
8
+ * accepts.
9
+ *
10
+ * `internalNameID` is a reference into `skinrSlotNames` - slot 5 resolves to
11
+ * `pattern`, slot 6 to `pattern_material`. It was first read as a repeated
12
+ * record key, because the two tables are one-to-one and the values therefore
13
+ * match the key on all eight rows. Only the loader's field list distinguishes
14
+ * the two readings, which is the argument for recording `sourceName`.
15
+ *
16
+ * CCP's export publishes neither it nor `descriptionID`, whose label reads
17
+ * `DO NOT TRANSLATE - DEBUG` on every slot.
18
+ *
19
+ * Solved against CCP's published export at build 3466501, every record.
20
+ */
21
+ class CjsFsd64SchemaSkinrSlots extends CjsFsd64SchemaReader {
22
+ static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({
23
+ "schema": "carbonenginejs.fsdBinarySchema",
24
+ "name": "skinrSlots",
25
+ "schemaVersion": 1,
26
+ "path": "res:/staticdata/ship_cosmetic_slots.fsdbinary",
27
+ "schemaID": "482cf3464798a55849582ce140076805",
28
+ "container": {
29
+ "type": "MAP",
30
+ "recordSize": 32,
31
+ "key": {
32
+ "type": "UINT_32_IDENTIFIER",
33
+ "offset": 0
34
+ },
35
+ "fields": [{
36
+ "name": "allowedDesignComponentCategories",
37
+ "type": "LIST",
38
+ "offset": 8,
39
+ "itemSize": 4,
40
+ "item": {
41
+ "type": "UINT_32_IDENTIFIER",
42
+ "offset": 0
43
+ },
44
+ "sourceName": "allowed_design_component_categories"
45
+ }, {
46
+ "name": "category",
47
+ "type": "UINT_32_IDENTIFIER",
48
+ "offset": 16,
49
+ "sourceName": "category"
50
+ }, {
51
+ "name": "descriptionID",
52
+ "type": "UINT_32",
53
+ "offset": 20,
54
+ "sourceName": "description",
55
+ "renamed": true
56
+ }, {
57
+ "name": "internalNameID",
58
+ "type": "UINT_32_IDENTIFIER",
59
+ "offset": 24,
60
+ "sourceName": "internal_name",
61
+ "renamed": true
62
+ }, {
63
+ "name": "nameID",
64
+ "type": "UINT_32",
65
+ "offset": 28,
66
+ "sourceName": "name",
67
+ "renamed": true
68
+ }]
69
+ }
70
+ }));
71
+ }
72
+
73
+ export { CjsFsd64SchemaSkinrSlots };
74
+ //# sourceMappingURL=CjsFsd64SchemaSkinrSlots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CjsFsd64SchemaSkinrSlots.js","sources":["../../../../../../src/formats/fsd/64/readers/CjsFsd64SchemaSkinrSlots.js"],"sourcesContent":["import { CjsFsd64SchemaDecoder } from \"../core/CjsFsd64SchemaDecoder.js\";\nimport { CjsFsd64SchemaReader } from \"../core/CjsFsd64SchemaReader.js\";\n\n\n/**\n * Reads caller-supplied `ship_cosmetic_slots.fsdbinary` bytes.\n *\n * The eight cosmetic slots, each naming the design-component categories it\n * accepts.\n *\n * `internalNameID` is a reference into `skinrSlotNames` - slot 5 resolves to\n * `pattern`, slot 6 to `pattern_material`. It was first read as a repeated\n * record key, because the two tables are one-to-one and the values therefore\n * match the key on all eight rows. Only the loader's field list distinguishes\n * the two readings, which is the argument for recording `sourceName`.\n *\n * CCP's export publishes neither it nor `descriptionID`, whose label reads\n * `DO NOT TRANSLATE - DEBUG` on every slot.\n *\n * Solved against CCP's published export at build 3466501, every record.\n */\nexport class CjsFsd64SchemaSkinrSlots extends CjsFsd64SchemaReader\n{\n static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({\n \"schema\": \"carbonenginejs.fsdBinarySchema\",\n \"name\": \"skinrSlots\",\n \"schemaVersion\": 1,\n \"path\": \"res:/staticdata/ship_cosmetic_slots.fsdbinary\",\n \"schemaID\": \"482cf3464798a55849582ce140076805\",\n \"container\": {\n \"type\": \"MAP\",\n \"recordSize\": 32,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"fields\": [\n {\n \"name\": \"allowedDesignComponentCategories\",\n \"type\": \"LIST\",\n \"offset\": 8,\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"sourceName\": \"allowed_design_component_categories\"\n },\n {\n \"name\": \"category\",\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 16,\n \"sourceName\": \"category\"\n },\n {\n \"name\": \"descriptionID\",\n \"type\": \"UINT_32\",\n \"offset\": 20,\n \"sourceName\": \"description\",\n \"renamed\": true\n },\n {\n \"name\": \"internalNameID\",\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 24,\n \"sourceName\": \"internal_name\",\n \"renamed\": true\n },\n {\n \"name\": \"nameID\",\n \"type\": \"UINT_32\",\n \"offset\": 28,\n \"sourceName\": \"name\",\n \"renamed\": true\n }\n ]\n }\n }));\n\n}\n\nexport default new CjsFsd64SchemaSkinrSlots();\n"],"names":["CjsFsd64SchemaSkinrSlots","CjsFsd64SchemaReader","getFsdSchema","bindFsdSchema","CjsFsd64SchemaDecoder","defineSchema"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,wBAAwB,SAASC,oBAAoB,CAClE;EACI,OAAOC,YAAY,GAAGD,oBAAoB,CAACE,aAAa,CAACC,qBAAqB,CAACC,YAAY,CAAC;AACxF,IAAA,QAAQ,EAAE,gCAAgC;AAC1C,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,eAAe,EAAE,CAAC;AAClB,IAAA,MAAM,EAAE,+CAA+C;AACvD,IAAA,UAAU,EAAE,kCAAkC;AAC9C,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
5
+ * Reads caller-supplied `ship_skin_design_tier_thresholds.fsdbinary` bytes.
6
+ *
7
+ * A map of maps, the same shape as the point-value table: ship tree group to a
8
+ * table of tier to the point threshold that reaches it.
9
+ *
10
+ * Solved against CCP's published export at build 3466501, every record.
11
+ */
12
+ class CjsFsd64SchemaSkinrTierThresholds extends CjsFsd64SchemaReader {
13
+ static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({
14
+ "schema": "carbonenginejs.fsdBinarySchema",
15
+ "name": "skinrTierThresholds",
16
+ "schemaVersion": 1,
17
+ "path": "res:/staticdata/ship_skin_design_tier_thresholds.fsdbinary",
18
+ "schemaID": "d81f4379a45e5f23134643ef3d279dc5",
19
+ "container": {
20
+ "type": "MAP",
21
+ "recordSize": 24,
22
+ "key": {
23
+ "type": "UINT_32_IDENTIFIER",
24
+ "offset": 0
25
+ },
26
+ "value": {
27
+ "type": "MAP",
28
+ "offset": 8,
29
+ "recordSize": 8,
30
+ "key": {
31
+ "type": "UINT_32_IDENTIFIER",
32
+ "offset": 0
33
+ },
34
+ "value": {
35
+ "type": "UINT_32",
36
+ "offset": 4
37
+ }
38
+ }
39
+ }
40
+ }));
41
+ }
42
+
43
+ export { CjsFsd64SchemaSkinrTierThresholds };
44
+ //# sourceMappingURL=CjsFsd64SchemaSkinrTierThresholds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CjsFsd64SchemaSkinrTierThresholds.js","sources":["../../../../../../src/formats/fsd/64/readers/CjsFsd64SchemaSkinrTierThresholds.js"],"sourcesContent":["import { CjsFsd64SchemaDecoder } from \"../core/CjsFsd64SchemaDecoder.js\";\nimport { CjsFsd64SchemaReader } from \"../core/CjsFsd64SchemaReader.js\";\n\n\n/**\n * Reads caller-supplied `ship_skin_design_tier_thresholds.fsdbinary` bytes.\n *\n * A map of maps, the same shape as the point-value table: ship tree group to a\n * table of tier to the point threshold that reaches it.\n *\n * Solved against CCP's published export at build 3466501, every record.\n */\nexport class CjsFsd64SchemaSkinrTierThresholds extends CjsFsd64SchemaReader\n{\n static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({\n \"schema\": \"carbonenginejs.fsdBinarySchema\",\n \"name\": \"skinrTierThresholds\",\n \"schemaVersion\": 1,\n \"path\": \"res:/staticdata/ship_skin_design_tier_thresholds.fsdbinary\",\n \"schemaID\": \"d81f4379a45e5f23134643ef3d279dc5\",\n \"container\": {\n \"type\": \"MAP\",\n \"recordSize\": 24,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"value\": {\n \"type\": \"MAP\",\n \"offset\": 8,\n \"recordSize\": 8,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"value\": {\n \"type\": \"UINT_32\",\n \"offset\": 4\n }\n }\n }\n }));\n\n}\n\nexport default new CjsFsd64SchemaSkinrTierThresholds();\n"],"names":["CjsFsd64SchemaSkinrTierThresholds","CjsFsd64SchemaReader","getFsdSchema","bindFsdSchema","CjsFsd64SchemaDecoder","defineSchema"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,iCAAiC,SAASC,oBAAoB,CAC3E;EACI,OAAOC,YAAY,GAAGD,oBAAoB,CAACE,aAAa,CAACC,qBAAqB,CAACC,YAAY,CAAC;AACxF,IAAA,QAAQ,EAAE,gCAAgC;AAC1C,IAAA,MAAM,EAAE,qBAAqB;AAC7B,IAAA,eAAe,EAAE,CAAC;AAClB,IAAA,MAAM,EAAE,4DAA4D;AACpE,IAAA,UAAU,EAAE,kCAAkC;AAC9C,IAAA,WAAW,EAAE;AACT,MAAA,MAAM,EAAE,KAAK;AACb,MAAA,YAAY,EAAE,EAAE;AAChB,MAAA,KAAK,EAAE;AACH,QAAA,MAAM,EAAE,oBAAoB;AAC5B,QAAA,QAAQ,EAAE;OACb;AACD,MAAA,OAAO,EAAE;AACL,QAAA,MAAM,EAAE,KAAK;AACb,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,YAAY,EAAE,CAAC;AACf,QAAA,KAAK,EAAE;AACH,UAAA,MAAM,EAAE,oBAAoB;AAC5B,UAAA,QAAQ,EAAE;SACb;AACD,QAAA,OAAO,EAAE;AACL,UAAA,MAAM,EAAE,SAAS;AACjB,UAAA,QAAQ,EAAE;AACd;AACJ;AACJ;AACJ,GAAC,CAAC,CAAC;AAEP;;;;"}
@@ -0,0 +1,120 @@
1
+ import { CjsFsd64SchemaDecoder } from '../core/CjsFsd64SchemaDecoder.js';
2
+ import { CjsFsd64SchemaReader } from '../core/CjsFsd64SchemaReader.js';
3
+
4
+ /**
5
+ * Reads caller-supplied `stationoperations.fsdbinary` bytes.
6
+ *
7
+ * `descriptionID`, `operationNameID` are localisation label identifiers;
8
+ * resolve them through `CjsFsdLocalization`.
9
+ *
10
+ * `manufacturingFactor` and `researchFactor` are stored as doubles rather than
11
+ * the single-precision floats most of this format uses, so they need no
12
+ * rounding on the way out.
13
+ *
14
+ * `stationTypes` is present-but-empty on 8 records, and the exporter drops an
15
+ * empty map exactly as it drops an absent one, so the presence bit does not
16
+ * predict what the export publishes. `CjsFsd64SchemaExpertSystems` carries the same
17
+ * trap and describes it at length.
18
+ */
19
+ class CjsFsd64SchemaStationOperations extends CjsFsd64SchemaReader {
20
+ static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({
21
+ "schema": "carbonenginejs.fsdBinarySchema",
22
+ "name": "stationOperations",
23
+ "schemaVersion": 1,
24
+ "path": "res:/staticdata/stationoperations.fsdbinary",
25
+ "schemaID": "8d1167a29fb37cd42de4f7440206f63e",
26
+ "container": {
27
+ "type": "MAP",
28
+ "recordSize": 88,
29
+ "key": {
30
+ "type": "UINT_32_IDENTIFIER",
31
+ "offset": 0
32
+ },
33
+ "presence": {
34
+ "type": "UINT_32",
35
+ "offset": 80,
36
+ "allowedMask": 3
37
+ },
38
+ "fields": [{
39
+ "name": "manufacturingFactor",
40
+ "type": "FLOAT_64",
41
+ "offset": 8,
42
+ "sourceName": "manufacturingFactor"
43
+ }, {
44
+ "name": "researchFactor",
45
+ "type": "FLOAT_64",
46
+ "offset": 16,
47
+ "sourceName": "researchFactor"
48
+ }, {
49
+ "name": "services",
50
+ "type": "LIST",
51
+ "offset": 24,
52
+ "sourceName": "services",
53
+ "itemSize": 4,
54
+ "item": {
55
+ "type": "UINT_32_IDENTIFIER",
56
+ "offset": 0
57
+ }
58
+ }, {
59
+ "name": "stationTypes",
60
+ "type": "MAP",
61
+ "offset": 32,
62
+ "sourceName": "stationTypes",
63
+ "presenceMask": 2,
64
+ "recordSize": 8,
65
+ "key": {
66
+ "type": "UINT_32_IDENTIFIER",
67
+ "offset": 0
68
+ },
69
+ "value": {
70
+ "type": "UINT_32_IDENTIFIER",
71
+ "offset": 4
72
+ }
73
+ }, {
74
+ "name": "activityID",
75
+ "type": "UINT_32_IDENTIFIER",
76
+ "offset": 48,
77
+ "sourceName": "activityID"
78
+ }, {
79
+ "name": "border",
80
+ "type": "FLOAT_32",
81
+ "offset": 52,
82
+ "sourceName": "border"
83
+ }, {
84
+ "name": "corridor",
85
+ "type": "FLOAT_32",
86
+ "offset": 56,
87
+ "sourceName": "corridor"
88
+ }, {
89
+ "name": "descriptionID",
90
+ "type": "UINT_32",
91
+ "offset": 60,
92
+ "sourceName": "descriptionID",
93
+ "presenceMask": 1
94
+ }, {
95
+ "name": "fringe",
96
+ "type": "FLOAT_32",
97
+ "offset": 64,
98
+ "sourceName": "fringe"
99
+ }, {
100
+ "name": "hub",
101
+ "type": "FLOAT_32",
102
+ "offset": 68,
103
+ "sourceName": "hub"
104
+ }, {
105
+ "name": "operationNameID",
106
+ "type": "UINT_32",
107
+ "offset": 72,
108
+ "sourceName": "operationNameID"
109
+ }, {
110
+ "name": "ratio",
111
+ "type": "FLOAT_32",
112
+ "offset": 76,
113
+ "sourceName": "ratio"
114
+ }]
115
+ }
116
+ }));
117
+ }
118
+
119
+ export { CjsFsd64SchemaStationOperations };
120
+ //# sourceMappingURL=CjsFsd64SchemaStationOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CjsFsd64SchemaStationOperations.js","sources":["../../../../../../src/formats/fsd/64/readers/CjsFsd64SchemaStationOperations.js"],"sourcesContent":["import { CjsFsd64SchemaDecoder } from \"../core/CjsFsd64SchemaDecoder.js\";\nimport { CjsFsd64SchemaReader } from \"../core/CjsFsd64SchemaReader.js\";\n\n\n/**\n * Reads caller-supplied `stationoperations.fsdbinary` bytes.\n *\n * `descriptionID`, `operationNameID` are localisation label identifiers;\n * resolve them through `CjsFsdLocalization`.\n *\n * `manufacturingFactor` and `researchFactor` are stored as doubles rather than\n * the single-precision floats most of this format uses, so they need no\n * rounding on the way out.\n *\n * `stationTypes` is present-but-empty on 8 records, and the exporter drops an\n * empty map exactly as it drops an absent one, so the presence bit does not\n * predict what the export publishes. `CjsFsd64SchemaExpertSystems` carries the same\n * trap and describes it at length.\n */\nexport class CjsFsd64SchemaStationOperations extends CjsFsd64SchemaReader\n{\n static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({\n \"schema\": \"carbonenginejs.fsdBinarySchema\",\n \"name\": \"stationOperations\",\n \"schemaVersion\": 1,\n \"path\": \"res:/staticdata/stationoperations.fsdbinary\",\n \"schemaID\": \"8d1167a29fb37cd42de4f7440206f63e\",\n \"container\": {\n \"type\": \"MAP\",\n \"recordSize\": 88,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"presence\": {\n \"type\": \"UINT_32\",\n \"offset\": 80,\n \"allowedMask\": 3\n },\n \"fields\": [\n {\n \"name\": \"manufacturingFactor\",\n \"type\": \"FLOAT_64\",\n \"offset\": 8,\n \"sourceName\": \"manufacturingFactor\"\n },\n {\n \"name\": \"researchFactor\",\n \"type\": \"FLOAT_64\",\n \"offset\": 16,\n \"sourceName\": \"researchFactor\"\n },\n {\n \"name\": \"services\",\n \"type\": \"LIST\",\n \"offset\": 24,\n \"sourceName\": \"services\",\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n }\n },\n {\n \"name\": \"stationTypes\",\n \"type\": \"MAP\",\n \"offset\": 32,\n \"sourceName\": \"stationTypes\",\n \"presenceMask\": 2,\n \"recordSize\": 8,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"value\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 4\n }\n },\n {\n \"name\": \"activityID\",\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 48,\n \"sourceName\": \"activityID\"\n },\n {\n \"name\": \"border\",\n \"type\": \"FLOAT_32\",\n \"offset\": 52,\n \"sourceName\": \"border\"\n },\n {\n \"name\": \"corridor\",\n \"type\": \"FLOAT_32\",\n \"offset\": 56,\n \"sourceName\": \"corridor\"\n },\n {\n \"name\": \"descriptionID\",\n \"type\": \"UINT_32\",\n \"offset\": 60,\n \"sourceName\": \"descriptionID\",\n \"presenceMask\": 1\n },\n {\n \"name\": \"fringe\",\n \"type\": \"FLOAT_32\",\n \"offset\": 64,\n \"sourceName\": \"fringe\"\n },\n {\n \"name\": \"hub\",\n \"type\": \"FLOAT_32\",\n \"offset\": 68,\n \"sourceName\": \"hub\"\n },\n {\n \"name\": \"operationNameID\",\n \"type\": \"UINT_32\",\n \"offset\": 72,\n \"sourceName\": \"operationNameID\"\n },\n {\n \"name\": \"ratio\",\n \"type\": \"FLOAT_32\",\n \"offset\": 76,\n \"sourceName\": \"ratio\"\n }\n ]\n }\n }));\n\n}\n\nexport default new CjsFsd64SchemaStationOperations();\n"],"names":["CjsFsd64SchemaStationOperations","CjsFsd64SchemaReader","getFsdSchema","bindFsdSchema","CjsFsd64SchemaDecoder","defineSchema"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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C,EACD;AACI,QAAA,MAAM,EAAE,OAAO;AACf,QAAA,MAAM,EAAE,UAAU;AAClB,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,YAAY,EAAE;OACjB;AAET;AACJ,GAAC,CAAC,CAAC;AAEP;;;;"}
@@ -0,0 +1,49 @@
1
+ import { CjsFsd64SchemaDecoder } from '../core/CjsFsd64SchemaDecoder.js';
2
+ import { CjsFsd64SchemaReader } from '../core/CjsFsd64SchemaReader.js';
3
+
4
+ /**
5
+ * Reads caller-supplied `stationservices.fsdbinary` bytes.
6
+ *
7
+ * `descriptionID`, `serviceNameID` are localisation label identifiers; resolve
8
+ * them through `CjsFsdLocalization`.
9
+ *
10
+ * The record holds nothing but its two labels, so a caller that does not
11
+ * resolve localisation gets identifiers and nothing else.
12
+ */
13
+ class CjsFsd64SchemaStationServices extends CjsFsd64SchemaReader {
14
+ static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({
15
+ "schema": "carbonenginejs.fsdBinarySchema",
16
+ "name": "stationServices",
17
+ "schemaVersion": 1,
18
+ "path": "res:/staticdata/stationservices.fsdbinary",
19
+ "schemaID": "883e4ac257a8407999d885bd984b30b1",
20
+ "container": {
21
+ "type": "MAP",
22
+ "recordSize": 16,
23
+ "key": {
24
+ "type": "UINT_32_IDENTIFIER",
25
+ "offset": 0
26
+ },
27
+ "presence": {
28
+ "type": "UINT_32",
29
+ "offset": 12,
30
+ "allowedMask": 1
31
+ },
32
+ "fields": [{
33
+ "name": "descriptionID",
34
+ "type": "UINT_32",
35
+ "offset": 4,
36
+ "sourceName": "descriptionID",
37
+ "presenceMask": 1
38
+ }, {
39
+ "name": "serviceNameID",
40
+ "type": "UINT_32",
41
+ "offset": 8,
42
+ "sourceName": "serviceNameID"
43
+ }]
44
+ }
45
+ }));
46
+ }
47
+
48
+ export { CjsFsd64SchemaStationServices };
49
+ //# sourceMappingURL=CjsFsd64SchemaStationServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CjsFsd64SchemaStationServices.js","sources":["../../../../../../src/formats/fsd/64/readers/CjsFsd64SchemaStationServices.js"],"sourcesContent":["import { CjsFsd64SchemaDecoder } from \"../core/CjsFsd64SchemaDecoder.js\";\nimport { CjsFsd64SchemaReader } from \"../core/CjsFsd64SchemaReader.js\";\n\n\n/**\n * Reads caller-supplied `stationservices.fsdbinary` bytes.\n *\n * `descriptionID`, `serviceNameID` are localisation label identifiers; resolve\n * them through `CjsFsdLocalization`.\n *\n * The record holds nothing but its two labels, so a caller that does not\n * resolve localisation gets identifiers and nothing else.\n */\nexport class CjsFsd64SchemaStationServices extends CjsFsd64SchemaReader\n{\n static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({\n \"schema\": \"carbonenginejs.fsdBinarySchema\",\n \"name\": \"stationServices\",\n \"schemaVersion\": 1,\n \"path\": \"res:/staticdata/stationservices.fsdbinary\",\n \"schemaID\": \"883e4ac257a8407999d885bd984b30b1\",\n \"container\": {\n \"type\": \"MAP\",\n \"recordSize\": 16,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"presence\": {\n \"type\": \"UINT_32\",\n \"offset\": 12,\n \"allowedMask\": 1\n },\n \"fields\": [\n {\n \"name\": \"descriptionID\",\n \"type\": \"UINT_32\",\n \"offset\": 4,\n \"sourceName\": \"descriptionID\",\n \"presenceMask\": 1\n },\n {\n \"name\": \"serviceNameID\",\n \"type\": \"UINT_32\",\n \"offset\": 8,\n \"sourceName\": \"serviceNameID\"\n }\n ]\n }\n }));\n\n}\n\nexport default new CjsFsd64SchemaStationServices();\n"],"names":["CjsFsd64SchemaStationServices","CjsFsd64SchemaReader","getFsdSchema","bindFsdSchema","CjsFsd64SchemaDecoder","defineSchema"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,6BAA6B,SAASC,oBAAoB,CACvE;EACI,OAAOC,YAAY,GAAGD,oBAAoB,CAACE,aAAa,CAACC,qBAAqB,CAACC,YAAY,CAAC;AACxF,IAAA,QAAQ,EAAE,gCAAgC;AAC1C,IAAA,MAAM,EAAE,iBAAiB;AACzB,IAAA,eAAe,EAAE,CAAC;AAClB,IAAA,MAAM,EAAE,2CAA2C;AACnD,IAAA,UAAU,EAAE,kCAAkC;AAC9C,IAAA,WAAW,EAAE;AACT,MAAA,MAAM,EAAE,KAAK;AACb,MAAA,YAAY,EAAE,EAAE;AAChB,MAAA,KAAK,EAAE;AACH,QAAA,MAAM,EAAE,oBAAoB;AAC5B,QAAA,QAAQ,EAAE;OACb;AACD,MAAA,UAAU,EAAE;AACR,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,aAAa,EAAE;OAClB;AACD,MAAA,QAAQ,EAAE,CACN;AACI,QAAA,MAAM,EAAE,eAAe;AACvB,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,YAAY,EAAE,eAAe;AAC7B,QAAA,cAAc,EAAE;AACpB,OAAC,EACD;AACI,QAAA,MAAM,EAAE,eAAe;AACvB,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,YAAY,EAAE;OACjB;AAET;AACJ,GAAC,CAAC,CAAC;AAEP;;;;"}
@@ -0,0 +1,73 @@
1
+ import { CjsFsd64SchemaDecoder } from '../core/CjsFsd64SchemaDecoder.js';
2
+ import { CjsFsd64SchemaReader } from '../core/CjsFsd64SchemaReader.js';
3
+
4
+ /**
5
+ * Reads caller-supplied `typedogma.fsdbinary` bytes.
6
+ *
7
+ * Decodes each type's dogma attributes and effects. The record itself carries
8
+ * nothing but the type identifier and two list pointers, so there is no
9
+ * presence word to honour; an absent list is an absent pointer.
10
+ *
11
+ * The attribute item stores its payload before its key — `value` at 0 and
12
+ * `attributeID` at 8 — which reads as a mistake until you notice that the
13
+ * eight-byte double has to be aligned and the four-byte identifier does not.
14
+ *
15
+ * Offsets were solved against CCP's published export at build 3466501 and
16
+ * verified on every one of its 26,828 records, both lists exact.
17
+ */
18
+ class CjsFsd64SchemaTypeDogma extends CjsFsd64SchemaReader {
19
+ static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({
20
+ "schema": "carbonenginejs.fsdBinarySchema",
21
+ "name": "typeDogma",
22
+ "schemaVersion": 1,
23
+ "path": "res:/staticdata/typedogma.fsdbinary",
24
+ "schemaID": "817d560b9962768e1a4b18598e9a1761",
25
+ "container": {
26
+ "type": "MAP",
27
+ "recordSize": 24,
28
+ "key": {
29
+ "type": "UINT_32_IDENTIFIER",
30
+ "offset": 0
31
+ },
32
+ "fields": [{
33
+ "name": "dogmaAttributes",
34
+ "type": "LIST",
35
+ "offset": 8,
36
+ "itemSize": 16,
37
+ "item": {
38
+ "type": "OBJECT",
39
+ "fields": [{
40
+ "name": "value",
41
+ "type": "FLOAT_64",
42
+ "offset": 0
43
+ }, {
44
+ "name": "attributeID",
45
+ "type": "UINT_32_IDENTIFIER",
46
+ "offset": 8
47
+ }]
48
+ }
49
+ }, {
50
+ "name": "dogmaEffects",
51
+ "type": "LIST",
52
+ "offset": 16,
53
+ "itemSize": 8,
54
+ "item": {
55
+ "type": "OBJECT",
56
+ "fields": [{
57
+ "name": "effectID",
58
+ "type": "UINT_32_IDENTIFIER",
59
+ "offset": 0
60
+ }, {
61
+ "name": "isDefault",
62
+ "type": "BOOLEAN",
63
+ "offset": 4,
64
+ "bit": 0
65
+ }]
66
+ }
67
+ }]
68
+ }
69
+ }));
70
+ }
71
+
72
+ export { CjsFsd64SchemaTypeDogma };
73
+ //# sourceMappingURL=CjsFsd64SchemaTypeDogma.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CjsFsd64SchemaTypeDogma.js","sources":["../../../../../../src/formats/fsd/64/readers/CjsFsd64SchemaTypeDogma.js"],"sourcesContent":["import { CjsFsd64SchemaDecoder } from \"../core/CjsFsd64SchemaDecoder.js\";\nimport { CjsFsd64SchemaReader } from \"../core/CjsFsd64SchemaReader.js\";\n\n\n/**\n * Reads caller-supplied `typedogma.fsdbinary` bytes.\n *\n * Decodes each type's dogma attributes and effects. The record itself carries\n * nothing but the type identifier and two list pointers, so there is no\n * presence word to honour; an absent list is an absent pointer.\n *\n * The attribute item stores its payload before its key — `value` at 0 and\n * `attributeID` at 8 — which reads as a mistake until you notice that the\n * eight-byte double has to be aligned and the four-byte identifier does not.\n *\n * Offsets were solved against CCP's published export at build 3466501 and\n * verified on every one of its 26,828 records, both lists exact.\n */\nexport class CjsFsd64SchemaTypeDogma extends CjsFsd64SchemaReader\n{\n static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({\n \"schema\": \"carbonenginejs.fsdBinarySchema\",\n \"name\": \"typeDogma\",\n \"schemaVersion\": 1,\n \"path\": \"res:/staticdata/typedogma.fsdbinary\",\n \"schemaID\": \"817d560b9962768e1a4b18598e9a1761\",\n \"container\": {\n \"type\": \"MAP\",\n \"recordSize\": 24,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"fields\": [\n {\n \"name\": \"dogmaAttributes\",\n \"type\": \"LIST\",\n \"offset\": 8,\n \"itemSize\": 16,\n \"item\": {\n \"type\": \"OBJECT\",\n \"fields\": [\n {\n \"name\": \"value\",\n \"type\": \"FLOAT_64\",\n \"offset\": 0\n },\n {\n \"name\": \"attributeID\",\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 8\n }\n ]\n }\n },\n {\n \"name\": \"dogmaEffects\",\n \"type\": \"LIST\",\n \"offset\": 16,\n \"itemSize\": 8,\n \"item\": {\n \"type\": \"OBJECT\",\n \"fields\": [\n {\n \"name\": \"effectID\",\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n {\n \"name\": \"isDefault\",\n \"type\": \"BOOLEAN\",\n \"offset\": 4,\n \"bit\": 0\n }\n ]\n }\n }\n ]\n }\n }));\n\n}\n\nexport default new CjsFsd64SchemaTypeDogma();\n"],"names":["CjsFsd64SchemaTypeDogma","CjsFsd64SchemaReader","getFsdSchema","bindFsdSchema","CjsFsd64SchemaDecoder","defineSchema"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,uBAAuB,SAASC,oBAAoB,CACjE;EACI,OAAOC,YAAY,GAAGD,oBAAoB,CAACE,aAAa,CAACC,qBAAqB,CAACC,YAAY,CAAC;AACxF,IAAA,QAAQ,EAAE,gCAAgC;AAC1C,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,eAAe,EAAE,CAAC;AAClB,IAAA,MAAM,EAAE,qCAAqC;AAC7C,IAAA,UAAU,EAAE,kCAAkC;AAC9C,IAAA,WAAW,EAAE;AACT,MAAA,MAAM,EAAE,KAAK;AACb,MAAA,YAAY,EAAE,EAAE;AAChB,MAAA,KAAK,EAAE;AACH,QAAA,MAAM,EAAE,oBAAoB;AAC5B,QAAA,QAAQ,EAAE;OACb;AACD,MAAA,QAAQ,EAAE,CACN;AACI,QAAA,MAAM,EAAE,iBAAiB;AACzB,QAAA,MAAM,EAAE,MAAM;AACd,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,UAAU,EAAE,EAAE;AACd,QAAA,MAAM,EAAE;AACJ,UAAA,MAAM,EAAE,QAAQ;AAChB,UAAA,QAAQ,EAAE,CACN;AACI,YAAA,MAAM,EAAE,OAAO;AACf,YAAA,MAAM,EAAE,UAAU;AAClB,YAAA,QAAQ,EAAE;AACd,WAAC,EACD;AACI,YAAA,MAAM,EAAE,aAAa;AACrB,YAAA,MAAM,EAAE,oBAAoB;AAC5B,YAAA,QAAQ,EAAE;WACb;AAET;AACJ,OAAC,EACD;AACI,QAAA,MAAM,EAAE,cAAc;AACtB,QAAA,MAAM,EAAE,MAAM;AACd,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,UAAU,EAAE,CAAC;AACb,QAAA,MAAM,EAAE;AACJ,UAAA,MAAM,EAAE,QAAQ;AAChB,UAAA,QAAQ,EAAE,CACN;AACI,YAAA,MAAM,EAAE,UAAU;AAClB,YAAA,MAAM,EAAE,oBAAoB;AAC5B,YAAA,QAAQ,EAAE;AACd,WAAC,EACD;AACI,YAAA,MAAM,EAAE,WAAW;AACnB,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,QAAQ,EAAE,CAAC;AACX,YAAA,KAAK,EAAE;WACV;AAET;OACH;AAET;AACJ,GAAC,CAAC,CAAC;AAEP;;;;"}
@@ -0,0 +1,122 @@
1
+ import { CjsFsd64SchemaDecoder } from '../core/CjsFsd64SchemaDecoder.js';
2
+ import { CjsFsd64SchemaReader } from '../core/CjsFsd64SchemaReader.js';
3
+
4
+ /**
5
+ * Reads caller-supplied `typelist.fsdbinary` bytes.
6
+ *
7
+ * Named sets of types, expressed as six lists of includes and excludes over
8
+ * types, groups and categories. The lists hold bare identifiers rather than
9
+ * objects.
10
+ *
11
+ * **The file is `typelist` and the export's table is `typeLists`.** That one
12
+ * letter is why the table sat in the "no same-named client file" column and was
13
+ * assumed to have no source: a name match was doing the searching. The map
14
+ * holds 462 records against the export's 462 rows, every key shared.
15
+ *
16
+ * Only the two label identifiers are presence-guarded. An empty list is empty
17
+ * rather than absent, and `description` is an internal string the export does
18
+ * not publish at all - it publishes `displayDescription`, resolved from
19
+ * `displayDescriptionID`, which is a different field.
20
+ *
21
+ * Field names and order were read from `typeListLoader.pyd`; offsets were
22
+ * solved against CCP's published export at build 3466501, unanimously over
23
+ * every record of every list.
24
+ */
25
+ class CjsFsd64SchemaTypeLists extends CjsFsd64SchemaReader {
26
+ static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({
27
+ "schema": "carbonenginejs.fsdBinarySchema",
28
+ "name": "typeLists",
29
+ "schemaVersion": 1,
30
+ "path": "res:/staticdata/typelist.fsdbinary",
31
+ "schemaID": "72f87d9a7bdaad1533852559a2afcc02",
32
+ "container": {
33
+ "type": "MAP",
34
+ "recordSize": 88,
35
+ "key": {
36
+ "type": "UINT_32_IDENTIFIER",
37
+ "offset": 0
38
+ },
39
+ "presence": {
40
+ "type": "UINT_32",
41
+ "offset": 80,
42
+ "allowedMask": 3
43
+ },
44
+ "fields": [{
45
+ "name": "description",
46
+ "type": "STRING",
47
+ "offset": 8
48
+ }, {
49
+ "name": "excludedCategoryIDs",
50
+ "type": "LIST",
51
+ "offset": 16,
52
+ "itemSize": 4,
53
+ "item": {
54
+ "type": "UINT_32_IDENTIFIER",
55
+ "offset": 0
56
+ }
57
+ }, {
58
+ "name": "excludedGroupIDs",
59
+ "type": "LIST",
60
+ "offset": 24,
61
+ "itemSize": 4,
62
+ "item": {
63
+ "type": "UINT_32_IDENTIFIER",
64
+ "offset": 0
65
+ }
66
+ }, {
67
+ "name": "excludedTypeIDs",
68
+ "type": "LIST",
69
+ "offset": 32,
70
+ "itemSize": 4,
71
+ "item": {
72
+ "type": "UINT_32_IDENTIFIER",
73
+ "offset": 0
74
+ }
75
+ }, {
76
+ "name": "includedCategoryIDs",
77
+ "type": "LIST",
78
+ "offset": 40,
79
+ "itemSize": 4,
80
+ "item": {
81
+ "type": "UINT_32_IDENTIFIER",
82
+ "offset": 0
83
+ }
84
+ }, {
85
+ "name": "includedGroupIDs",
86
+ "type": "LIST",
87
+ "offset": 48,
88
+ "itemSize": 4,
89
+ "item": {
90
+ "type": "UINT_32_IDENTIFIER",
91
+ "offset": 0
92
+ }
93
+ }, {
94
+ "name": "includedTypeIDs",
95
+ "type": "LIST",
96
+ "offset": 56,
97
+ "itemSize": 4,
98
+ "item": {
99
+ "type": "UINT_32_IDENTIFIER",
100
+ "offset": 0
101
+ }
102
+ }, {
103
+ "name": "name",
104
+ "type": "STRING",
105
+ "offset": 64
106
+ }, {
107
+ "name": "displayDescriptionID",
108
+ "type": "UINT_32",
109
+ "offset": 72,
110
+ "presenceMask": 1
111
+ }, {
112
+ "name": "displayNameID",
113
+ "type": "UINT_32",
114
+ "offset": 76,
115
+ "presenceMask": 2
116
+ }]
117
+ }
118
+ }));
119
+ }
120
+
121
+ export { CjsFsd64SchemaTypeLists };
122
+ //# sourceMappingURL=CjsFsd64SchemaTypeLists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CjsFsd64SchemaTypeLists.js","sources":["../../../../../../src/formats/fsd/64/readers/CjsFsd64SchemaTypeLists.js"],"sourcesContent":["import { CjsFsd64SchemaDecoder } from \"../core/CjsFsd64SchemaDecoder.js\";\nimport { CjsFsd64SchemaReader } from \"../core/CjsFsd64SchemaReader.js\";\n\n\n/**\n * Reads caller-supplied `typelist.fsdbinary` bytes.\n *\n * Named sets of types, expressed as six lists of includes and excludes over\n * types, groups and categories. The lists hold bare identifiers rather than\n * objects.\n *\n * **The file is `typelist` and the export's table is `typeLists`.** That one\n * letter is why the table sat in the \"no same-named client file\" column and was\n * assumed to have no source: a name match was doing the searching. The map\n * holds 462 records against the export's 462 rows, every key shared.\n *\n * Only the two label identifiers are presence-guarded. An empty list is empty\n * rather than absent, and `description` is an internal string the export does\n * not publish at all - it publishes `displayDescription`, resolved from\n * `displayDescriptionID`, which is a different field.\n *\n * Field names and order were read from `typeListLoader.pyd`; offsets were\n * solved against CCP's published export at build 3466501, unanimously over\n * every record of every list.\n */\nexport class CjsFsd64SchemaTypeLists extends CjsFsd64SchemaReader\n{\n static getFsdSchema = CjsFsd64SchemaReader.bindFsdSchema(CjsFsd64SchemaDecoder.defineSchema({\n \"schema\": \"carbonenginejs.fsdBinarySchema\",\n \"name\": \"typeLists\",\n \"schemaVersion\": 1,\n \"path\": \"res:/staticdata/typelist.fsdbinary\",\n \"schemaID\": \"72f87d9a7bdaad1533852559a2afcc02\",\n \"container\": {\n \"type\": \"MAP\",\n \"recordSize\": 88,\n \"key\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n },\n \"presence\": {\n \"type\": \"UINT_32\",\n \"offset\": 80,\n \"allowedMask\": 3\n },\n \"fields\": [\n {\n \"name\": \"description\",\n \"type\": \"STRING\",\n \"offset\": 8\n },\n {\n \"name\": \"excludedCategoryIDs\",\n \"type\": \"LIST\",\n \"offset\": 16,\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n }\n },\n {\n \"name\": \"excludedGroupIDs\",\n \"type\": \"LIST\",\n \"offset\": 24,\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n }\n },\n {\n \"name\": \"excludedTypeIDs\",\n \"type\": \"LIST\",\n \"offset\": 32,\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n }\n },\n {\n \"name\": \"includedCategoryIDs\",\n \"type\": \"LIST\",\n \"offset\": 40,\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n }\n },\n {\n \"name\": \"includedGroupIDs\",\n \"type\": \"LIST\",\n \"offset\": 48,\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n }\n },\n {\n \"name\": \"includedTypeIDs\",\n \"type\": \"LIST\",\n \"offset\": 56,\n \"itemSize\": 4,\n \"item\": {\n \"type\": \"UINT_32_IDENTIFIER\",\n \"offset\": 0\n }\n },\n {\n \"name\": \"name\",\n \"type\": \"STRING\",\n \"offset\": 64\n },\n {\n \"name\": \"displayDescriptionID\",\n \"type\": \"UINT_32\",\n \"offset\": 72,\n \"presenceMask\": 1\n },\n {\n \"name\": \"displayNameID\",\n \"type\": \"UINT_32\",\n \"offset\": 76,\n \"presenceMask\": 2\n }\n ]\n }\n }));\n\n}\n\nexport default new CjsFsd64SchemaTypeLists();\n"],"names":["CjsFsd64SchemaTypeLists","CjsFsd64SchemaReader","getFsdS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