@chamosmp-net/replay-viewer 0.0.0-stage → 1.16.1
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.
- package/LICENSE +661 -0
- package/README.md +9 -3
- package/dist/atlas/1.21.11/armor/chainmail_layer_1.png +0 -0
- package/dist/atlas/1.21.11/armor/chainmail_layer_2.png +0 -0
- package/dist/atlas/1.21.11/armor/diamond_layer_1.png +0 -0
- package/dist/atlas/1.21.11/armor/diamond_layer_2.png +0 -0
- package/dist/atlas/1.21.11/armor/gold_layer_1.png +0 -0
- package/dist/atlas/1.21.11/armor/gold_layer_2.png +0 -0
- package/dist/atlas/1.21.11/armor/iron_layer_1.png +0 -0
- package/dist/atlas/1.21.11/armor/iron_layer_2.png +0 -0
- package/dist/atlas/1.21.11/armor/leather_layer_1.png +0 -0
- package/dist/atlas/1.21.11/armor/leather_layer_2.png +0 -0
- package/dist/atlas/1.21.11/armor/netherite_layer_1.png +0 -0
- package/dist/atlas/1.21.11/armor/netherite_layer_2.png +0 -0
- package/dist/atlas/1.21.11/armor/turtle_layer_1.png +0 -0
- package/dist/atlas/1.21.11/atlas-data.json +1 -0
- package/dist/atlas/1.21.11/atlas.png +0 -0
- package/dist/atlas/1.21.11/entities/allay.png +0 -0
- package/dist/atlas/1.21.11/entities/armadillo.png +0 -0
- package/dist/atlas/1.21.11/entities/axolotl.png +0 -0
- package/dist/atlas/1.21.11/entities/bat.png +0 -0
- package/dist/atlas/1.21.11/entities/bee.png +0 -0
- package/dist/atlas/1.21.11/entities/blaze.png +0 -0
- package/dist/atlas/1.21.11/entities/bogged.png +0 -0
- package/dist/atlas/1.21.11/entities/breeze.png +0 -0
- package/dist/atlas/1.21.11/entities/camel.png +0 -0
- package/dist/atlas/1.21.11/entities/cat.png +0 -0
- package/dist/atlas/1.21.11/entities/cave_spider.png +0 -0
- package/dist/atlas/1.21.11/entities/creaking.png +0 -0
- package/dist/atlas/1.21.11/entities/creeper.png +0 -0
- package/dist/atlas/1.21.11/entities/dolphin.png +0 -0
- package/dist/atlas/1.21.11/entities/donkey.png +0 -0
- package/dist/atlas/1.21.11/entities/drowned.png +0 -0
- package/dist/atlas/1.21.11/entities/elder_guardian.png +0 -0
- package/dist/atlas/1.21.11/entities/enderman.png +0 -0
- package/dist/atlas/1.21.11/entities/endermite.png +0 -0
- package/dist/atlas/1.21.11/entities/evoker.png +0 -0
- package/dist/atlas/1.21.11/entities/fox.png +0 -0
- package/dist/atlas/1.21.11/entities/frog.png +0 -0
- package/dist/atlas/1.21.11/entities/ghast.png +0 -0
- package/dist/atlas/1.21.11/entities/glow_squid.png +0 -0
- package/dist/atlas/1.21.11/entities/goat.png +0 -0
- package/dist/atlas/1.21.11/entities/guardian.png +0 -0
- package/dist/atlas/1.21.11/entities/hoglin.png +0 -0
- package/dist/atlas/1.21.11/entities/horse.png +0 -0
- package/dist/atlas/1.21.11/entities/husk.png +0 -0
- package/dist/atlas/1.21.11/entities/iron_golem.png +0 -0
- package/dist/atlas/1.21.11/entities/llama.png +0 -0
- package/dist/atlas/1.21.11/entities/magma_cube.png +0 -0
- package/dist/atlas/1.21.11/entities/mooshroom.png +0 -0
- package/dist/atlas/1.21.11/entities/mule.png +0 -0
- package/dist/atlas/1.21.11/entities/ocelot.png +0 -0
- package/dist/atlas/1.21.11/entities/panda.png +0 -0
- package/dist/atlas/1.21.11/entities/phantom.png +0 -0
- package/dist/atlas/1.21.11/entities/piglin.png +0 -0
- package/dist/atlas/1.21.11/entities/piglin_brute.png +0 -0
- package/dist/atlas/1.21.11/entities/pillager.png +0 -0
- package/dist/atlas/1.21.11/entities/polar_bear.png +0 -0
- package/dist/atlas/1.21.11/entities/rabbit.png +0 -0
- package/dist/atlas/1.21.11/entities/ravager.png +0 -0
- package/dist/atlas/1.21.11/entities/sheep.png +0 -0
- package/dist/atlas/1.21.11/entities/shulker.png +0 -0
- package/dist/atlas/1.21.11/entities/silverfish.png +0 -0
- package/dist/atlas/1.21.11/entities/skeleton.png +0 -0
- package/dist/atlas/1.21.11/entities/skeleton_horse.png +0 -0
- package/dist/atlas/1.21.11/entities/slime.png +0 -0
- package/dist/atlas/1.21.11/entities/sniffer.png +0 -0
- package/dist/atlas/1.21.11/entities/snow_golem.png +0 -0
- package/dist/atlas/1.21.11/entities/spider.png +0 -0
- package/dist/atlas/1.21.11/entities/squid.png +0 -0
- package/dist/atlas/1.21.11/entities/stray.png +0 -0
- package/dist/atlas/1.21.11/entities/strider.png +0 -0
- package/dist/atlas/1.21.11/entities/trader_llama.png +0 -0
- package/dist/atlas/1.21.11/entities/turtle.png +0 -0
- package/dist/atlas/1.21.11/entities/vex.png +0 -0
- package/dist/atlas/1.21.11/entities/villager.png +0 -0
- package/dist/atlas/1.21.11/entities/vindicator.png +0 -0
- package/dist/atlas/1.21.11/entities/wandering_trader.png +0 -0
- package/dist/atlas/1.21.11/entities/warden.png +0 -0
- package/dist/atlas/1.21.11/entities/witch.png +0 -0
- package/dist/atlas/1.21.11/entities/wither.png +0 -0
- package/dist/atlas/1.21.11/entities/wither_skeleton.png +0 -0
- package/dist/atlas/1.21.11/entities/wolf.png +0 -0
- package/dist/atlas/1.21.11/entities/zoglin.png +0 -0
- package/dist/atlas/1.21.11/entities/zombie.png +0 -0
- package/dist/atlas/1.21.11/entities/zombie_horse.png +0 -0
- package/dist/atlas/1.21.11/entities/zombie_villager.png +0 -0
- package/dist/atlas/1.21.11/entities/zombified_piglin.png +0 -0
- package/dist/atlas/26.1.2/armor/chainmail_layer_1.png +0 -0
- package/dist/atlas/26.1.2/armor/chainmail_layer_2.png +0 -0
- package/dist/atlas/26.1.2/armor/diamond_layer_1.png +0 -0
- package/dist/atlas/26.1.2/armor/diamond_layer_2.png +0 -0
- package/dist/atlas/26.1.2/armor/gold_layer_1.png +0 -0
- package/dist/atlas/26.1.2/armor/gold_layer_2.png +0 -0
- package/dist/atlas/26.1.2/armor/iron_layer_1.png +0 -0
- package/dist/atlas/26.1.2/armor/iron_layer_2.png +0 -0
- package/dist/atlas/26.1.2/armor/leather_layer_1.png +0 -0
- package/dist/atlas/26.1.2/armor/leather_layer_2.png +0 -0
- package/dist/atlas/26.1.2/armor/netherite_layer_1.png +0 -0
- package/dist/atlas/26.1.2/armor/netherite_layer_2.png +0 -0
- package/dist/atlas/26.1.2/armor/turtle_layer_1.png +0 -0
- package/dist/atlas/26.1.2/atlas-data.json +1 -0
- package/dist/atlas/26.1.2/atlas.png +0 -0
- package/dist/atlas/26.1.2/entities/allay.png +0 -0
- package/dist/atlas/26.1.2/entities/axolotl.png +0 -0
- package/dist/atlas/26.1.2/entities/bee.png +0 -0
- package/dist/atlas/26.1.2/entities/bogged.png +0 -0
- package/dist/atlas/26.1.2/entities/breeze.png +0 -0
- package/dist/atlas/26.1.2/entities/camel.png +0 -0
- package/dist/atlas/26.1.2/entities/cave_spider.png +0 -0
- package/dist/atlas/26.1.2/entities/creaking.png +0 -0
- package/dist/atlas/26.1.2/entities/creeper.png +0 -0
- package/dist/atlas/26.1.2/entities/donkey.png +0 -0
- package/dist/atlas/26.1.2/entities/drowned.png +0 -0
- package/dist/atlas/26.1.2/entities/enderman.png +0 -0
- package/dist/atlas/26.1.2/entities/evoker.png +0 -0
- package/dist/atlas/26.1.2/entities/fox.png +0 -0
- package/dist/atlas/26.1.2/entities/ghast.png +0 -0
- package/dist/atlas/26.1.2/entities/glow_squid.png +0 -0
- package/dist/atlas/26.1.2/entities/goat.png +0 -0
- package/dist/atlas/26.1.2/entities/hoglin.png +0 -0
- package/dist/atlas/26.1.2/entities/horse.png +0 -0
- package/dist/atlas/26.1.2/entities/husk.png +0 -0
- package/dist/atlas/26.1.2/entities/iron_golem.png +0 -0
- package/dist/atlas/26.1.2/entities/magma_cube.png +0 -0
- package/dist/atlas/26.1.2/entities/mule.png +0 -0
- package/dist/atlas/26.1.2/entities/ocelot.png +0 -0
- package/dist/atlas/26.1.2/entities/panda.png +0 -0
- package/dist/atlas/26.1.2/entities/piglin.png +0 -0
- package/dist/atlas/26.1.2/entities/piglin_brute.png +0 -0
- package/dist/atlas/26.1.2/entities/pillager.png +0 -0
- package/dist/atlas/26.1.2/entities/polar_bear.png +0 -0
- package/dist/atlas/26.1.2/entities/ravager.png +0 -0
- package/dist/atlas/26.1.2/entities/sheep.png +0 -0
- package/dist/atlas/26.1.2/entities/shulker.png +0 -0
- package/dist/atlas/26.1.2/entities/skeleton.png +0 -0
- package/dist/atlas/26.1.2/entities/skeleton_horse.png +0 -0
- package/dist/atlas/26.1.2/entities/slime.png +0 -0
- package/dist/atlas/26.1.2/entities/sniffer.png +0 -0
- package/dist/atlas/26.1.2/entities/spider.png +0 -0
- package/dist/atlas/26.1.2/entities/squid.png +0 -0
- package/dist/atlas/26.1.2/entities/stray.png +0 -0
- package/dist/atlas/26.1.2/entities/strider.png +0 -0
- package/dist/atlas/26.1.2/entities/vex.png +0 -0
- package/dist/atlas/26.1.2/entities/villager.png +0 -0
- package/dist/atlas/26.1.2/entities/vindicator.png +0 -0
- package/dist/atlas/26.1.2/entities/warden.png +0 -0
- package/dist/atlas/26.1.2/entities/wither.png +0 -0
- package/dist/atlas/26.1.2/entities/wither_skeleton.png +0 -0
- package/dist/atlas/26.1.2/entities/wolf.png +0 -0
- package/dist/atlas/26.1.2/entities/zoglin.png +0 -0
- package/dist/atlas/26.1.2/entities/zombie.png +0 -0
- package/dist/atlas/26.1.2/entities/zombie_horse.png +0 -0
- package/dist/atlas/26.1.2/entities/zombie_villager.png +0 -0
- package/dist/atlas/26.1.2/entities/zombified_piglin.png +0 -0
- package/dist/atlas/26.2/armor/chainmail_layer_1.png +0 -0
- package/dist/atlas/26.2/armor/chainmail_layer_2.png +0 -0
- package/dist/atlas/26.2/armor/diamond_layer_1.png +0 -0
- package/dist/atlas/26.2/armor/diamond_layer_2.png +0 -0
- package/dist/atlas/26.2/armor/gold_layer_1.png +0 -0
- package/dist/atlas/26.2/armor/gold_layer_2.png +0 -0
- package/dist/atlas/26.2/armor/iron_layer_1.png +0 -0
- package/dist/atlas/26.2/armor/iron_layer_2.png +0 -0
- package/dist/atlas/26.2/armor/leather_layer_1.png +0 -0
- package/dist/atlas/26.2/armor/leather_layer_2.png +0 -0
- package/dist/atlas/26.2/armor/netherite_layer_1.png +0 -0
- package/dist/atlas/26.2/armor/netherite_layer_2.png +0 -0
- package/dist/atlas/26.2/armor/turtle_layer_1.png +0 -0
- package/dist/atlas/26.2/atlas-data.json +1 -0
- package/dist/atlas/26.2/atlas.png +0 -0
- package/dist/atlas/26.2/entities/allay.png +0 -0
- package/dist/atlas/26.2/entities/axolotl.png +0 -0
- package/dist/atlas/26.2/entities/bee.png +0 -0
- package/dist/atlas/26.2/entities/bogged.png +0 -0
- package/dist/atlas/26.2/entities/breeze.png +0 -0
- package/dist/atlas/26.2/entities/camel.png +0 -0
- package/dist/atlas/26.2/entities/cave_spider.png +0 -0
- package/dist/atlas/26.2/entities/creaking.png +0 -0
- package/dist/atlas/26.2/entities/creeper.png +0 -0
- package/dist/atlas/26.2/entities/donkey.png +0 -0
- package/dist/atlas/26.2/entities/drowned.png +0 -0
- package/dist/atlas/26.2/entities/enderman.png +0 -0
- package/dist/atlas/26.2/entities/evoker.png +0 -0
- package/dist/atlas/26.2/entities/fox.png +0 -0
- package/dist/atlas/26.2/entities/ghast.png +0 -0
- package/dist/atlas/26.2/entities/glow_squid.png +0 -0
- package/dist/atlas/26.2/entities/goat.png +0 -0
- package/dist/atlas/26.2/entities/hoglin.png +0 -0
- package/dist/atlas/26.2/entities/horse.png +0 -0
- package/dist/atlas/26.2/entities/husk.png +0 -0
- package/dist/atlas/26.2/entities/iron_golem.png +0 -0
- package/dist/atlas/26.2/entities/magma_cube.png +0 -0
- package/dist/atlas/26.2/entities/mule.png +0 -0
- package/dist/atlas/26.2/entities/ocelot.png +0 -0
- package/dist/atlas/26.2/entities/panda.png +0 -0
- package/dist/atlas/26.2/entities/piglin.png +0 -0
- package/dist/atlas/26.2/entities/piglin_brute.png +0 -0
- package/dist/atlas/26.2/entities/pillager.png +0 -0
- package/dist/atlas/26.2/entities/polar_bear.png +0 -0
- package/dist/atlas/26.2/entities/ravager.png +0 -0
- package/dist/atlas/26.2/entities/sheep.png +0 -0
- package/dist/atlas/26.2/entities/shulker.png +0 -0
- package/dist/atlas/26.2/entities/skeleton.png +0 -0
- package/dist/atlas/26.2/entities/skeleton_horse.png +0 -0
- package/dist/atlas/26.2/entities/slime.png +0 -0
- package/dist/atlas/26.2/entities/sniffer.png +0 -0
- package/dist/atlas/26.2/entities/spider.png +0 -0
- package/dist/atlas/26.2/entities/squid.png +0 -0
- package/dist/atlas/26.2/entities/stray.png +0 -0
- package/dist/atlas/26.2/entities/strider.png +0 -0
- package/dist/atlas/26.2/entities/vex.png +0 -0
- package/dist/atlas/26.2/entities/villager.png +0 -0
- package/dist/atlas/26.2/entities/vindicator.png +0 -0
- package/dist/atlas/26.2/entities/warden.png +0 -0
- package/dist/atlas/26.2/entities/wither.png +0 -0
- package/dist/atlas/26.2/entities/wither_skeleton.png +0 -0
- package/dist/atlas/26.2/entities/wolf.png +0 -0
- package/dist/atlas/26.2/entities/zoglin.png +0 -0
- package/dist/atlas/26.2/entities/zombie.png +0 -0
- package/dist/atlas/26.2/entities/zombie_horse.png +0 -0
- package/dist/atlas/26.2/entities/zombie_villager.png +0 -0
- package/dist/atlas/26.2/entities/zombified_piglin.png +0 -0
- package/dist/atlas/26.3/armor/chainmail_layer_1.png +0 -0
- package/dist/atlas/26.3/armor/chainmail_layer_2.png +0 -0
- package/dist/atlas/26.3/armor/diamond_layer_1.png +0 -0
- package/dist/atlas/26.3/armor/diamond_layer_2.png +0 -0
- package/dist/atlas/26.3/armor/gold_layer_1.png +0 -0
- package/dist/atlas/26.3/armor/gold_layer_2.png +0 -0
- package/dist/atlas/26.3/armor/iron_layer_1.png +0 -0
- package/dist/atlas/26.3/armor/iron_layer_2.png +0 -0
- package/dist/atlas/26.3/armor/leather_layer_1.png +0 -0
- package/dist/atlas/26.3/armor/leather_layer_2.png +0 -0
- package/dist/atlas/26.3/armor/netherite_layer_1.png +0 -0
- package/dist/atlas/26.3/armor/netherite_layer_2.png +0 -0
- package/dist/atlas/26.3/armor/turtle_layer_1.png +0 -0
- package/dist/atlas/26.3/atlas-data.json +1 -0
- package/dist/atlas/26.3/atlas.png +0 -0
- package/dist/atlas/26.3/entities/allay.png +0 -0
- package/dist/atlas/26.3/entities/axolotl.png +0 -0
- package/dist/atlas/26.3/entities/bee.png +0 -0
- package/dist/atlas/26.3/entities/bogged.png +0 -0
- package/dist/atlas/26.3/entities/breeze.png +0 -0
- package/dist/atlas/26.3/entities/camel.png +0 -0
- package/dist/atlas/26.3/entities/cave_spider.png +0 -0
- package/dist/atlas/26.3/entities/creaking.png +0 -0
- package/dist/atlas/26.3/entities/creeper.png +0 -0
- package/dist/atlas/26.3/entities/donkey.png +0 -0
- package/dist/atlas/26.3/entities/drowned.png +0 -0
- package/dist/atlas/26.3/entities/enderman.png +0 -0
- package/dist/atlas/26.3/entities/evoker.png +0 -0
- package/dist/atlas/26.3/entities/fox.png +0 -0
- package/dist/atlas/26.3/entities/ghast.png +0 -0
- package/dist/atlas/26.3/entities/glow_squid.png +0 -0
- package/dist/atlas/26.3/entities/goat.png +0 -0
- package/dist/atlas/26.3/entities/hoglin.png +0 -0
- package/dist/atlas/26.3/entities/horse.png +0 -0
- package/dist/atlas/26.3/entities/husk.png +0 -0
- package/dist/atlas/26.3/entities/iron_golem.png +0 -0
- package/dist/atlas/26.3/entities/magma_cube.png +0 -0
- package/dist/atlas/26.3/entities/mule.png +0 -0
- package/dist/atlas/26.3/entities/ocelot.png +0 -0
- package/dist/atlas/26.3/entities/panda.png +0 -0
- package/dist/atlas/26.3/entities/piglin.png +0 -0
- package/dist/atlas/26.3/entities/piglin_brute.png +0 -0
- package/dist/atlas/26.3/entities/pillager.png +0 -0
- package/dist/atlas/26.3/entities/polar_bear.png +0 -0
- package/dist/atlas/26.3/entities/ravager.png +0 -0
- package/dist/atlas/26.3/entities/sheep.png +0 -0
- package/dist/atlas/26.3/entities/shulker.png +0 -0
- package/dist/atlas/26.3/entities/skeleton.png +0 -0
- package/dist/atlas/26.3/entities/skeleton_horse.png +0 -0
- package/dist/atlas/26.3/entities/slime.png +0 -0
- package/dist/atlas/26.3/entities/sniffer.png +0 -0
- package/dist/atlas/26.3/entities/spider.png +0 -0
- package/dist/atlas/26.3/entities/squid.png +0 -0
- package/dist/atlas/26.3/entities/stray.png +0 -0
- package/dist/atlas/26.3/entities/strider.png +0 -0
- package/dist/atlas/26.3/entities/vex.png +0 -0
- package/dist/atlas/26.3/entities/villager.png +0 -0
- package/dist/atlas/26.3/entities/vindicator.png +0 -0
- package/dist/atlas/26.3/entities/warden.png +0 -0
- package/dist/atlas/26.3/entities/wither.png +0 -0
- package/dist/atlas/26.3/entities/wither_skeleton.png +0 -0
- package/dist/atlas/26.3/entities/wolf.png +0 -0
- package/dist/atlas/26.3/entities/zoglin.png +0 -0
- package/dist/atlas/26.3/entities/zombie.png +0 -0
- package/dist/atlas/26.3/entities/zombie_horse.png +0 -0
- package/dist/atlas/26.3/entities/zombie_villager.png +0 -0
- package/dist/atlas/26.3/entities/zombified_piglin.png +0 -0
- package/dist/atlas/versions.json +9 -0
- package/dist/components/InfoButton.d.ts +8 -0
- package/dist/components/InfoButton.d.ts.map +1 -0
- package/dist/components/InfoOverlay.d.ts +12 -0
- package/dist/components/InfoOverlay.d.ts.map +1 -0
- package/dist/components/InfoSidebar.d.ts +21 -0
- package/dist/components/InfoSidebar.d.ts.map +1 -0
- package/dist/components/InventoryPanel.d.ts +67 -0
- package/dist/components/InventoryPanel.d.ts.map +1 -0
- package/dist/components/LabelingWizard.d.ts +17 -0
- package/dist/components/LabelingWizard.d.ts.map +1 -0
- package/dist/components/LoadingOverlay.d.ts +7 -0
- package/dist/components/LoadingOverlay.d.ts.map +1 -0
- package/dist/components/PlayerHUD.d.ts +18 -0
- package/dist/components/PlayerHUD.d.ts.map +1 -0
- package/dist/components/PlayerList.d.ts +51 -0
- package/dist/components/PlayerList.d.ts.map +1 -0
- package/dist/components/ReplayViewer.d.ts +28 -0
- package/dist/components/ReplayViewer.d.ts.map +1 -0
- package/dist/components/TimelineControls.d.ts +13 -0
- package/dist/components/TimelineControls.d.ts.map +1 -0
- package/dist/components/labeling/CheatTypeStep.d.ts +10 -0
- package/dist/components/labeling/CheatTypeStep.d.ts.map +1 -0
- package/dist/components/labeling/ConfidenceStep.d.ts +11 -0
- package/dist/components/labeling/ConfidenceStep.d.ts.map +1 -0
- package/dist/components/labeling/PlayerVerdictStep.d.ts +8 -0
- package/dist/components/labeling/PlayerVerdictStep.d.ts.map +1 -0
- package/dist/components/labeling/ReviewStep.d.ts +12 -0
- package/dist/components/labeling/ReviewStep.d.ts.map +1 -0
- package/dist/components/labeling/TimeRangeStep.d.ts +16 -0
- package/dist/components/labeling/TimeRangeStep.d.ts.map +1 -0
- package/dist/engine/Interpolation.d.ts +41 -0
- package/dist/engine/Interpolation.d.ts.map +1 -0
- package/dist/engine/ReplayEngine.d.ts +109 -0
- package/dist/engine/ReplayEngine.d.ts.map +1 -0
- package/dist/engine/ReplayParser.d.ts +13 -0
- package/dist/engine/ReplayParser.d.ts.map +1 -0
- package/dist/engine/ReplayParser.test.d.ts +2 -0
- package/dist/engine/ReplayParser.test.d.ts.map +1 -0
- package/dist/engine/VersionResolver.d.ts +19 -0
- package/dist/engine/VersionResolver.d.ts.map +1 -0
- package/dist/engine/WorldState.d.ts +34 -0
- package/dist/engine/WorldState.d.ts.map +1 -0
- package/dist/index.cjs +4276 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17613 -0
- package/dist/renderer/CameraController.d.ts +53 -0
- package/dist/renderer/CameraController.d.ts.map +1 -0
- package/dist/renderer/PrismarineRenderer.d.ts +250 -0
- package/dist/renderer/PrismarineRenderer.d.ts.map +1 -0
- package/dist/types/PlaybackState.d.ts +14 -0
- package/dist/types/PlaybackState.d.ts.map +1 -0
- package/dist/types/ReplayFile.d.ts +185 -0
- package/dist/types/ReplayFile.d.ts.map +1 -0
- package/dist/types/labeling.d.ts +18 -0
- package/dist/types/labeling.d.ts.map +1 -0
- package/package.json +72 -6
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoButton.d.ts","sourceRoot":"","sources":["../../src/components/InfoButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAiChD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface InfoOverlayProps {
|
|
3
|
+
replayId?: string;
|
|
4
|
+
duration: number;
|
|
5
|
+
playerCount: number;
|
|
6
|
+
playerNames: string[];
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onLabelReplay: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const InfoOverlay: React.FC<InfoOverlayProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=InfoOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoOverlay.d.ts","sourceRoot":"","sources":["../../src/components/InfoOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AASD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqHlD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PlayerLabel } from '../types/labeling';
|
|
3
|
+
interface InfoSidebarProps {
|
|
4
|
+
replayId?: string;
|
|
5
|
+
duration: number;
|
|
6
|
+
playerCount: number;
|
|
7
|
+
playerNames: string[];
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
players: Array<{
|
|
10
|
+
uuid: string;
|
|
11
|
+
playerName: string;
|
|
12
|
+
}>;
|
|
13
|
+
currentTimeMs: number;
|
|
14
|
+
totalDurationMs: number;
|
|
15
|
+
onLabelSubmit?: (labels: PlayerLabel[]) => void | Promise<void>;
|
|
16
|
+
labelApiUrl?: string;
|
|
17
|
+
labeled?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const InfoSidebar: React.FC<InfoSidebarProps>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=InfoSidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoSidebar.d.ts","sourceRoot":"","sources":["../../src/components/InfoSidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrD,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AASD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwLlD,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface AtlasInfo {
|
|
3
|
+
atlasImage: HTMLImageElement;
|
|
4
|
+
textures: Record<string, {
|
|
5
|
+
u: number;
|
|
6
|
+
v: number;
|
|
7
|
+
su: number;
|
|
8
|
+
sv: number;
|
|
9
|
+
}>;
|
|
10
|
+
items?: Record<string, {
|
|
11
|
+
texture: string | null;
|
|
12
|
+
isBlock: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
blockNameToState?: Record<string, number>;
|
|
15
|
+
blocks?: Record<number, {
|
|
16
|
+
top: string;
|
|
17
|
+
side: string;
|
|
18
|
+
bottom: string;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
|
21
|
+
interface InventoryPanelProps {
|
|
22
|
+
playerName: string;
|
|
23
|
+
inventory: Map<number, {
|
|
24
|
+
itemName: string;
|
|
25
|
+
count: number;
|
|
26
|
+
enchantments?: Array<{
|
|
27
|
+
id: string;
|
|
28
|
+
level: number;
|
|
29
|
+
}>;
|
|
30
|
+
}>;
|
|
31
|
+
onClose: () => void;
|
|
32
|
+
atlas?: AtlasInfo | null;
|
|
33
|
+
}
|
|
34
|
+
export declare const SLOT_SIZE = 36;
|
|
35
|
+
export declare const ICON_SIZE = 28;
|
|
36
|
+
export declare function formatItemName(name: string): string;
|
|
37
|
+
export declare function formatEnchantName(id: string, level: number): string;
|
|
38
|
+
export declare function itemColor(name: string): string;
|
|
39
|
+
export declare const ITEM_TEXTURE_FALLBACKS: Record<string, string>;
|
|
40
|
+
/**
|
|
41
|
+
* Resolve atlas UV coords for an item name.
|
|
42
|
+
*/
|
|
43
|
+
export declare function getItemUV(itemName: string, atlas: AtlasInfo): {
|
|
44
|
+
u: number;
|
|
45
|
+
v: number;
|
|
46
|
+
su: number;
|
|
47
|
+
sv: number;
|
|
48
|
+
} | null;
|
|
49
|
+
export declare const ItemIcon: React.FC<{
|
|
50
|
+
itemName: string;
|
|
51
|
+
atlas: AtlasInfo;
|
|
52
|
+
}>;
|
|
53
|
+
export declare const SlotCell: React.FC<{
|
|
54
|
+
slot: {
|
|
55
|
+
itemName: string;
|
|
56
|
+
count: number;
|
|
57
|
+
enchantments?: Array<{
|
|
58
|
+
id: string;
|
|
59
|
+
level: number;
|
|
60
|
+
}>;
|
|
61
|
+
} | undefined;
|
|
62
|
+
label?: string;
|
|
63
|
+
atlas?: AtlasInfo | null;
|
|
64
|
+
}>;
|
|
65
|
+
export declare const InventoryPanel: React.FC<InventoryPanelProps>;
|
|
66
|
+
export {};
|
|
67
|
+
//# sourceMappingURL=InventoryPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryPanel.d.ts","sourceRoot":"","sources":["../../src/components/InventoryPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACxE;AAED,UAAU,mBAAmB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,CAAC,CAAC;IACjH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1B;AAGD,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD;AAID,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAInE;AAGD,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAO9C;AAGD,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQzD,CAAC;AAEF;;GAEG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAmCrH;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,CAkCrE,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IAC9B,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1B,CAoEA,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4ExD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PlayerLabel } from '../types/labeling';
|
|
3
|
+
interface LabelingWizardProps {
|
|
4
|
+
players: Array<{
|
|
5
|
+
uuid: string;
|
|
6
|
+
playerName: string;
|
|
7
|
+
}>;
|
|
8
|
+
currentTimeMs: number;
|
|
9
|
+
totalDurationMs: number;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
onSubmit?: (labels: PlayerLabel[]) => void | Promise<void>;
|
|
12
|
+
labelApiUrl?: string;
|
|
13
|
+
replayId?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const LabelingWizard: React.FC<LabelingWizardProps>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=LabelingWizard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LabelingWizard.d.ts","sourceRoot":"","sources":["../../src/components/LabelingWizard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAA0B,MAAM,mBAAmB,CAAC;AAiK7E,UAAU,mBAAmB;IAC3B,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrD,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2FxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingOverlay.d.ts","sourceRoot":"","sources":["../../src/components/LoadingOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,mBAAmB;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA0BxD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface PlayerHUDProps {
|
|
3
|
+
health: number;
|
|
4
|
+
food: number;
|
|
5
|
+
saturation: number;
|
|
6
|
+
effects: Array<{
|
|
7
|
+
effectTypeId: number;
|
|
8
|
+
amplifier: number;
|
|
9
|
+
durationTicks: number;
|
|
10
|
+
appliedAtMs: number;
|
|
11
|
+
}>;
|
|
12
|
+
currentTimeMs: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function computeHearts(health: number): ('full' | 'half' | 'empty')[];
|
|
15
|
+
export declare function computeDrumsticks(food: number): ('full' | 'half' | 'empty')[];
|
|
16
|
+
export declare const PlayerHUD: React.FC<PlayerHUDProps>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=PlayerHUD.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlayerHUD.d.ts","sourceRoot":"","sources":["../../src/components/PlayerHUD.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxG,aAAa,EAAE,MAAM,CAAC;CACvB;AAyBD,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,EAAE,CAS3E;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,EAAE,CAS7E;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAyH9C,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AtlasInfo } from './InventoryPanel';
|
|
3
|
+
interface EffectInfo {
|
|
4
|
+
effectTypeId: number;
|
|
5
|
+
amplifier: number;
|
|
6
|
+
durationTicks: number;
|
|
7
|
+
appliedAtMs: number;
|
|
8
|
+
}
|
|
9
|
+
interface PlayerInfo {
|
|
10
|
+
uuid: string;
|
|
11
|
+
playerName: string;
|
|
12
|
+
effects?: EffectInfo[];
|
|
13
|
+
}
|
|
14
|
+
export interface PlayerState {
|
|
15
|
+
uuid: string;
|
|
16
|
+
playerName: string;
|
|
17
|
+
health: number;
|
|
18
|
+
food: number;
|
|
19
|
+
saturation: number;
|
|
20
|
+
effects: EffectInfo[];
|
|
21
|
+
equipment: Map<number, {
|
|
22
|
+
itemName: string;
|
|
23
|
+
enchantments?: Array<{
|
|
24
|
+
id: string;
|
|
25
|
+
level: number;
|
|
26
|
+
}>;
|
|
27
|
+
}>;
|
|
28
|
+
inventory: Map<number, {
|
|
29
|
+
itemName: string;
|
|
30
|
+
count: number;
|
|
31
|
+
enchantments?: Array<{
|
|
32
|
+
id: string;
|
|
33
|
+
level: number;
|
|
34
|
+
}>;
|
|
35
|
+
}>;
|
|
36
|
+
}
|
|
37
|
+
interface PlayerSidebarProps {
|
|
38
|
+
players: PlayerInfo[];
|
|
39
|
+
followingPlayer: string | null;
|
|
40
|
+
expandedPlayer: string | null;
|
|
41
|
+
onFollowPlayer: (uuid: string | null) => void;
|
|
42
|
+
onExpandPlayer: (uuid: string | null) => void;
|
|
43
|
+
currentTimeMs?: number;
|
|
44
|
+
visible?: boolean;
|
|
45
|
+
selectedPlayerState?: PlayerState | null;
|
|
46
|
+
atlas?: AtlasInfo | null;
|
|
47
|
+
}
|
|
48
|
+
export declare const PlayerSidebar: React.FC<PlayerSidebarProps>;
|
|
49
|
+
export declare const PlayerList: React.FC<PlayerSidebarProps>;
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=PlayerList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlayerList.d.ts","sourceRoot":"","sources":["../../src/components/PlayerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,kBAAkB,CAAC;AAkC1B,UAAU,UAAU;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;CACxB;AAqED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,CAAC,CAAC;IAClG,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,CAAC,CAAC;CAClH;AAED,UAAU,kBAAkB;IAC1B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1B;AAqLD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuHtD,CAAC;AAGF,eAAO,MAAM,UAAU,8BAAgB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PlayerLabel } from '../types/labeling';
|
|
3
|
+
export interface ReplayViewerProps {
|
|
4
|
+
/** URL to fetch the .modlreplay file from (e.g., presigned B2 URL) */
|
|
5
|
+
replayUrl: string;
|
|
6
|
+
/** Minecraft version for block rendering (e.g., "1.21.4") */
|
|
7
|
+
mcVersion: string;
|
|
8
|
+
/** URL to the texture atlas PNG (e.g., "/atlas.png") — overrides auto-resolution */
|
|
9
|
+
atlasUrl?: string;
|
|
10
|
+
/** URL to the atlas mapping JSON (e.g., "/atlas-data.json") — overrides auto-resolution */
|
|
11
|
+
atlasMappingUrl?: string;
|
|
12
|
+
/** Base URL for versioned atlas directory (default: "/atlas") */
|
|
13
|
+
atlasBaseUrl?: string;
|
|
14
|
+
/** Called when the replay has been loaded and is ready to play */
|
|
15
|
+
onLoad?: () => void;
|
|
16
|
+
/** Called when an error occurs during loading or playback */
|
|
17
|
+
onError?: (error: Error) => void;
|
|
18
|
+
/** Replay identifier for info display and label submission */
|
|
19
|
+
replayId?: string;
|
|
20
|
+
/** Base URL for label submission API (e.g., "https://replay-api.modl.gg"). When set, the viewer POSTs labels directly. */
|
|
21
|
+
labelApiUrl?: string;
|
|
22
|
+
/** Called when user submits labels via the labeling wizard */
|
|
23
|
+
onLabelSubmit?: (labels: PlayerLabel[]) => void;
|
|
24
|
+
/** Whether the replay has already been labeled (hides labeling wizard) */
|
|
25
|
+
labeled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare const ReplayViewer: React.FC<ReplayViewerProps>;
|
|
28
|
+
//# sourceMappingURL=ReplayViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplayViewer.d.ts","sourceRoot":"","sources":["../../src/components/ReplayViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAQrD,MAAM,WAAW,iBAAiB;IAChC,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2FAA2F;IAC3F,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kEAAkE;IAClE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,6DAA6D;IAC7D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0HAA0H;IAC1H,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IAChD,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAkBD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAygBpD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PlaybackState, PlaybackRate } from '../types/PlaybackState';
|
|
3
|
+
interface TimelineControlsProps {
|
|
4
|
+
state: PlaybackState;
|
|
5
|
+
onPlay: () => void;
|
|
6
|
+
onPause: () => void;
|
|
7
|
+
onSeek: (timeMs: number) => void;
|
|
8
|
+
onRateChange: (rate: PlaybackRate) => void;
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const TimelineControls: React.FC<TimelineControlsProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=TimelineControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelineControls.d.ts","sourceRoot":"","sources":["../../src/components/TimelineControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE1E,UAAU,qBAAqB;IAC7B,KAAK,EAAE,aAAa,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,YAAY,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAWD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAyR5D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CheatType } from '../../types/labeling';
|
|
3
|
+
interface CheatTypeStepProps {
|
|
4
|
+
selected: CheatType[];
|
|
5
|
+
onToggle: (type: CheatType) => void;
|
|
6
|
+
onNext: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const CheatTypeStep: React.FC<CheatTypeStepProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=CheatTypeStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheatTypeStep.d.ts","sourceRoot":"","sources":["../../../src/components/labeling/CheatTypeStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AActD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACpC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsDtD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ConfidenceStepProps {
|
|
3
|
+
confidence: number;
|
|
4
|
+
notes: string;
|
|
5
|
+
onConfidenceChange: (value: number) => void;
|
|
6
|
+
onNotesChange: (value: string) => void;
|
|
7
|
+
onNext: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ConfidenceStep: React.FC<ConfidenceStepProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ConfidenceStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfidenceStep.d.ts","sourceRoot":"","sources":["../../../src/components/labeling/ConfidenceStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,mBAAmB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsExD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface PlayerVerdictStepProps {
|
|
3
|
+
playerName: string;
|
|
4
|
+
onVerdict: (verdict: 'legit' | 'cheating' | 'unsure') => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const PlayerVerdictStep: React.FC<PlayerVerdictStepProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=PlayerVerdictStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlayerVerdictStep.d.ts","sourceRoot":"","sources":["../../../src/components/labeling/PlayerVerdictStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,sBAAsB;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,KAAK,IAAI,CAAC;CAC/D;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA8D9D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PlayerLabel } from '../../types/labeling';
|
|
3
|
+
interface ReviewStepProps {
|
|
4
|
+
labels: PlayerLabel[];
|
|
5
|
+
onSubmit?: (labels: PlayerLabel[]) => void | Promise<void>;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
labelApiUrl?: string;
|
|
8
|
+
replayId?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ReviewStep: React.FC<ReviewStepProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=ReviewStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewStep.d.ts","sourceRoot":"","sources":["../../../src/components/labeling/ReviewStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,sBAAsB,CAAC;AA6BnE,UAAU,eAAe;IACvB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA2LhD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CheatType, TimeRange } from '../../types/labeling';
|
|
3
|
+
interface TimeRangeStepProps {
|
|
4
|
+
cheatType: CheatType;
|
|
5
|
+
ranges: TimeRange[];
|
|
6
|
+
currentTimeMs: number;
|
|
7
|
+
totalDurationMs: number;
|
|
8
|
+
onAddRange: () => void;
|
|
9
|
+
onSetStart: (index: number, timeMs?: number) => void;
|
|
10
|
+
onSetEnd: (index: number, timeMs?: number) => void;
|
|
11
|
+
onRemoveRange: (index: number) => void;
|
|
12
|
+
onNext: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const TimeRangeStep: React.FC<TimeRangeStepProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=TimeRangeStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeRangeStep.d.ts","sourceRoot":"","sources":["../../../src/components/labeling/TimeRangeStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAqBjE,UAAU,kBAAkB;IAC1B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAUD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4QtD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Linearly interpolate between two values.
|
|
3
|
+
*/
|
|
4
|
+
export declare function lerp(a: number, b: number, t: number): number;
|
|
5
|
+
/**
|
|
6
|
+
* Decode a raw int16 yaw/pitch value to degrees.
|
|
7
|
+
* Encoding: value = (short)(angle / 360.0 * 32767.0)
|
|
8
|
+
* Decoding: angle = value * 360.0 / 32767.0
|
|
9
|
+
*/
|
|
10
|
+
export declare function decodeAngle(raw: number): number;
|
|
11
|
+
/**
|
|
12
|
+
* Interpolate an angle (in degrees) with wrap-around handling.
|
|
13
|
+
* Ensures shortest-path interpolation (e.g., 350 to 10 goes through 0, not 180).
|
|
14
|
+
*/
|
|
15
|
+
export declare function lerpAngle(a: number, b: number, t: number): number;
|
|
16
|
+
/**
|
|
17
|
+
* Given two timestamped positions, compute the interpolated position at time T.
|
|
18
|
+
*/
|
|
19
|
+
export declare function interpolatePosition(before: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
z: number;
|
|
23
|
+
timestampDeltaMs: number;
|
|
24
|
+
}, after: {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
z: number;
|
|
28
|
+
timestampDeltaMs: number;
|
|
29
|
+
}, timeMs: number): {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
z: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Binary search for the last event index where timestampDeltaMs <= targetTime.
|
|
36
|
+
* Returns -1 if no event is at or before targetTime.
|
|
37
|
+
*/
|
|
38
|
+
export declare function binarySearchTime<T extends {
|
|
39
|
+
timestampDeltaMs: number;
|
|
40
|
+
}>(events: T[], targetTime: number): number;
|
|
41
|
+
//# sourceMappingURL=Interpolation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Interpolation.d.ts","sourceRoot":"","sources":["../../src/engine/Interpolation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAMjE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAE,EACrE,KAAK,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAE,EACpE,MAAM,EAAE,MAAM,GACb;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAUrC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS;IAAE,gBAAgB,EAAE,MAAM,CAAA;CAAE,EACrE,MAAM,EAAE,CAAC,EAAE,EACX,UAAU,EAAE,MAAM,GACjB,MAAM,CAgBR"}
|