@sonolus/core 7.5.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.
- package/LICENSE.txt +21 -0
- package/README.md +17 -0
- package/dist/common/core/auto-exit.d.ts +1 -0
- package/dist/common/core/auto-exit.js +2 -0
- package/dist/common/core/background/configuration.d.ts +5 -0
- package/dist/common/core/background/configuration.js +2 -0
- package/dist/common/core/background/data.d.ts +5 -0
- package/dist/common/core/background/data.js +2 -0
- package/dist/common/core/background/index.d.ts +3 -0
- package/dist/common/core/background/index.js +2 -0
- package/dist/common/core/background/item.d.ts +15 -0
- package/dist/common/core/background/item.js +2 -0
- package/dist/common/core/effect/data/clip.d.ts +5 -0
- package/dist/common/core/effect/data/clip.js +2 -0
- package/dist/common/core/effect/data/data.d.ts +4 -0
- package/dist/common/core/effect/data/data.js +2 -0
- package/dist/common/core/effect/data/index.d.ts +2 -0
- package/dist/common/core/effect/data/index.js +2 -0
- package/dist/common/core/effect/effect-clip-name.d.ts +14 -0
- package/dist/common/core/effect/effect-clip-name.js +16 -0
- package/dist/common/core/effect/index.d.ts +3 -0
- package/dist/common/core/effect/index.js +20 -0
- package/dist/common/core/effect/item.d.ts +14 -0
- package/dist/common/core/effect/item.js +2 -0
- package/dist/common/core/engine/bucket.d.ts +14 -0
- package/dist/common/core/engine/bucket.js +2 -0
- package/dist/common/core/engine/configuration/configuration.d.ts +6 -0
- package/dist/common/core/engine/configuration/configuration.js +2 -0
- package/dist/common/core/engine/configuration/index.d.ts +3 -0
- package/dist/common/core/engine/configuration/index.js +2 -0
- package/dist/common/core/engine/configuration/option.d.ts +31 -0
- package/dist/common/core/engine/configuration/option.js +2 -0
- package/dist/common/core/engine/configuration/ui.d.ts +35 -0
- package/dist/common/core/engine/configuration/ui.js +2 -0
- package/dist/common/core/engine/engine-archetype-data-name.d.ts +8 -0
- package/dist/common/core/engine/engine-archetype-data-name.js +10 -0
- package/dist/common/core/engine/engine-archetype-name.d.ts +5 -0
- package/dist/common/core/engine/engine-archetype-name.js +7 -0
- package/dist/common/core/engine/index.d.ts +10 -0
- package/dist/common/core/engine/index.js +26 -0
- package/dist/common/core/engine/item.d.ts +26 -0
- package/dist/common/core/engine/item.js +2 -0
- package/dist/common/core/engine/node.d.ts +9 -0
- package/dist/common/core/engine/node.js +2 -0
- package/dist/common/core/engine/playData/archetype.d.ts +23 -0
- package/dist/common/core/engine/playData/archetype.js +2 -0
- package/dist/common/core/engine/playData/index.d.ts +2 -0
- package/dist/common/core/engine/playData/index.js +2 -0
- package/dist/common/core/engine/playData/playData.d.ts +29 -0
- package/dist/common/core/engine/playData/playData.js +2 -0
- package/dist/common/core/engine/previewData/archetype.d.ts +15 -0
- package/dist/common/core/engine/previewData/archetype.js +2 -0
- package/dist/common/core/engine/previewData/index.d.ts +2 -0
- package/dist/common/core/engine/previewData/index.js +2 -0
- package/dist/common/core/engine/previewData/previewData.d.ts +13 -0
- package/dist/common/core/engine/previewData/previewData.js +2 -0
- package/dist/common/core/engine/tutorialData/index.d.ts +1 -0
- package/dist/common/core/engine/tutorialData/index.js +2 -0
- package/dist/common/core/engine/tutorialData/tutorialData.d.ts +40 -0
- package/dist/common/core/engine/tutorialData/tutorialData.js +2 -0
- package/dist/common/core/engine/watchData/archetype.d.ts +21 -0
- package/dist/common/core/engine/watchData/archetype.js +2 -0
- package/dist/common/core/engine/watchData/index.d.ts +2 -0
- package/dist/common/core/engine/watchData/index.js +2 -0
- package/dist/common/core/engine/watchData/watchData.d.ts +30 -0
- package/dist/common/core/engine/watchData/watchData.js +2 -0
- package/dist/common/core/gameplay-result.d.ts +11 -0
- package/dist/common/core/gameplay-result.js +2 -0
- package/dist/common/core/icon.d.ts +16 -0
- package/dist/common/core/icon.js +18 -0
- package/dist/common/core/index.d.ts +21 -0
- package/dist/common/core/index.js +36 -0
- package/dist/common/core/instruction/index.d.ts +1 -0
- package/dist/common/core/instruction/index.js +5 -0
- package/dist/common/core/instruction/instruction-icon-name.d.ts +5 -0
- package/dist/common/core/instruction/instruction-icon-name.js +7 -0
- package/dist/common/core/level/data/data.d.ts +5 -0
- package/dist/common/core/level/data/data.js +2 -0
- package/dist/common/core/level/data/entity.d.ts +12 -0
- package/dist/common/core/level/data/entity.js +2 -0
- package/dist/common/core/level/data/index.d.ts +2 -0
- package/dist/common/core/level/data/index.js +2 -0
- package/dist/common/core/level/index.d.ts +2 -0
- package/dist/common/core/level/index.js +17 -0
- package/dist/common/core/level/item.d.ts +32 -0
- package/dist/common/core/level/item.js +2 -0
- package/dist/common/core/package/index.d.ts +1 -0
- package/dist/common/core/package/index.js +2 -0
- package/dist/common/core/package/info.d.ts +3 -0
- package/dist/common/core/package/info.js +2 -0
- package/dist/common/core/particle/data/data.d.ts +9 -0
- package/dist/common/core/particle/data/data.js +2 -0
- package/dist/common/core/particle/data/effect.d.ts +29 -0
- package/dist/common/core/particle/data/effect.js +2 -0
- package/dist/common/core/particle/data/index.d.ts +3 -0
- package/dist/common/core/particle/data/index.js +2 -0
- package/dist/common/core/particle/data/sprite.d.ts +6 -0
- package/dist/common/core/particle/data/sprite.js +2 -0
- package/dist/common/core/particle/index.d.ts +3 -0
- package/dist/common/core/particle/index.js +20 -0
- package/dist/common/core/particle/item.d.ts +14 -0
- package/dist/common/core/particle/item.js +2 -0
- package/dist/common/core/particle/particle-effect-name.d.ts +51 -0
- package/dist/common/core/particle/particle-effect-name.js +53 -0
- package/dist/common/core/playlist/index.d.ts +1 -0
- package/dist/common/core/playlist/index.js +2 -0
- package/dist/common/core/playlist/item.d.ts +14 -0
- package/dist/common/core/playlist/item.js +2 -0
- package/dist/common/core/post/index.d.ts +1 -0
- package/dist/common/core/post/index.js +2 -0
- package/dist/common/core/post/item.d.ts +12 -0
- package/dist/common/core/post/item.js +2 -0
- package/dist/common/core/replay/configuration.d.ts +3 -0
- package/dist/common/core/replay/configuration.js +2 -0
- package/dist/common/core/replay/data.d.ts +30 -0
- package/dist/common/core/replay/data.js +2 -0
- package/dist/common/core/replay/index.d.ts +3 -0
- package/dist/common/core/replay/index.js +2 -0
- package/dist/common/core/replay/item.d.ts +15 -0
- package/dist/common/core/replay/item.js +2 -0
- package/dist/common/core/resource/index.d.ts +1 -0
- package/dist/common/core/resource/index.js +2 -0
- package/dist/common/core/resource/srl.d.ts +4 -0
- package/dist/common/core/resource/srl.js +2 -0
- package/dist/common/core/room/index.d.ts +1 -0
- package/dist/common/core/room/index.js +2 -0
- package/dist/common/core/room/item.d.ts +12 -0
- package/dist/common/core/room/item.js +2 -0
- package/dist/common/core/runtimes/function.d.ts +188 -0
- package/dist/common/core/runtimes/function.js +190 -0
- package/dist/common/core/runtimes/index.d.ts +1 -0
- package/dist/common/core/runtimes/index.js +5 -0
- package/dist/common/core/server/authenticate.d.ts +11 -0
- package/dist/common/core/server/authenticate.js +2 -0
- package/dist/common/core/server/create-room.d.ts +7 -0
- package/dist/common/core/server/create-room.js +2 -0
- package/dist/common/core/server/index.d.ts +11 -0
- package/dist/common/core/server/index.js +17 -0
- package/dist/common/core/server/item-details.d.ts +6 -0
- package/dist/common/core/server/item-details.js +2 -0
- package/dist/common/core/server/item-info.d.ts +8 -0
- package/dist/common/core/server/item-info.js +2 -0
- package/dist/common/core/server/item-list.d.ts +6 -0
- package/dist/common/core/server/item-list.js +2 -0
- package/dist/common/core/server/item-section.d.ts +7 -0
- package/dist/common/core/server/item-section.js +2 -0
- package/dist/common/core/server/join-room.d.ts +13 -0
- package/dist/common/core/server/join-room.js +2 -0
- package/dist/common/core/server/multiplayer/chat-message.d.ts +11 -0
- package/dist/common/core/server/multiplayer/chat-message.js +2 -0
- package/dist/common/core/server/multiplayer/commands/add-chat-message-command.d.ts +6 -0
- package/dist/common/core/server/multiplayer/commands/add-chat-message-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/add-suggestion-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/add-suggestion-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/clear-suggestions-command.d.ts +3 -0
- package/dist/common/core/server/multiplayer/commands/clear-suggestions-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/command.d.ts +20 -0
- package/dist/common/core/server/multiplayer/commands/command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/finish-gameplay-command.d.ts +6 -0
- package/dist/common/core/server/multiplayer/commands/finish-gameplay-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/index.d.ts +20 -0
- package/dist/common/core/server/multiplayer/commands/index.js +2 -0
- package/dist/common/core/server/multiplayer/commands/remove-suggestion-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/remove-suggestion-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/remove-user-command.d.ts +4 -0
- package/dist/common/core/server/multiplayer/commands/remove-user-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/report-user-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/report-user-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/reset-scoreboard-command.d.ts +3 -0
- package/dist/common/core/server/multiplayer/commands/reset-scoreboard-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/start-gameplay-command.d.ts +6 -0
- package/dist/common/core/server/multiplayer/commands/start-gameplay-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/swap-suggestions-command.d.ts +6 -0
- package/dist/common/core/server/multiplayer/commands/swap-suggestions-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-auto-exit-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/update-auto-exit-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-is-suggestions-locked-command.d.ts +4 -0
- package/dist/common/core/server/multiplayer/commands/update-is-suggestions-locked-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-lead-command.d.ts +4 -0
- package/dist/common/core/server/multiplayer/commands/update-lead-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-level-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/update-level-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-level-option-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/update-level-option-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-master-command.d.ts +4 -0
- package/dist/common/core/server/multiplayer/commands/update-master-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-option-values-command.d.ts +4 -0
- package/dist/common/core/server/multiplayer/commands/update-option-values-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-status-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/update-status-command.js +2 -0
- package/dist/common/core/server/multiplayer/commands/update-user-status-command.d.ts +5 -0
- package/dist/common/core/server/multiplayer/commands/update-user-status-command.js +2 -0
- package/dist/common/core/server/multiplayer/events/add-chat-message-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/add-chat-message-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/add-result-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/add-result-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/add-suggestion-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/add-suggestion-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/add-user-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/add-user-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/arrange-scoreboard-section-scores-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/arrange-scoreboard-section-scores-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/clear-suggestions-event.d.ts +3 -0
- package/dist/common/core/server/multiplayer/events/clear-suggestions-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/event.d.ts +43 -0
- package/dist/common/core/server/multiplayer/events/event.js +2 -0
- package/dist/common/core/server/multiplayer/events/index.d.ts +43 -0
- package/dist/common/core/server/multiplayer/events/index.js +2 -0
- package/dist/common/core/server/multiplayer/events/insert-scoreboard-section-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/insert-scoreboard-section-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/insert-scoreboard-section-score-event.d.ts +7 -0
- package/dist/common/core/server/multiplayer/events/insert-scoreboard-section-score-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/merge-scoreboard-section-scores-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/merge-scoreboard-section-scores-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/move-scoreboard-section-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/move-scoreboard-section-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/move-scoreboard-section-score-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/move-scoreboard-section-score-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/remove-scoreboard-section-event.d.ts +4 -0
- package/dist/common/core/server/multiplayer/events/remove-scoreboard-section-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/remove-scoreboard-section-score-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/remove-scoreboard-section-score-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/remove-suggestion-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/remove-suggestion-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/remove-user-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/remove-user-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/start-round-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/start-round-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/swap-scoreboard-section-scores-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/swap-scoreboard-section-scores-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/swap-scoreboard-sections-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/swap-scoreboard-sections-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/swap-suggestions-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/swap-suggestions-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-auto-exit-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-auto-exit-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-event.d.ts +31 -0
- package/dist/common/core/server/multiplayer/events/update-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-is-suggestions-locked-event.d.ts +4 -0
- package/dist/common/core/server/multiplayer/events/update-is-suggestions-locked-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-lead-event.d.ts +4 -0
- package/dist/common/core/server/multiplayer/events/update-lead-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-level-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-level-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-level-option-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-level-option-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-level-options-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-level-options-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-master-event.d.ts +4 -0
- package/dist/common/core/server/multiplayer/events/update-master-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-option-values-event.d.ts +4 -0
- package/dist/common/core/server/multiplayer/events/update-option-values-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-options-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/update-options-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-description-event.d.ts +4 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-description-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-icon-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-icon-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-scores-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-scores-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-scores-value.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-scores-value.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-title-event.d.ts +6 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-section-title-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-sections-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-scoreboard-sections-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-status-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-status-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-suggestions-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-suggestions-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-title-event.d.ts +4 -0
- package/dist/common/core/server/multiplayer/events/update-title-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-user-status-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-user-status-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-user-statuses-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-user-statuses-event.js +2 -0
- package/dist/common/core/server/multiplayer/events/update-users-event.d.ts +5 -0
- package/dist/common/core/server/multiplayer/events/update-users-event.js +2 -0
- package/dist/common/core/server/multiplayer/index.d.ts +13 -0
- package/dist/common/core/server/multiplayer/index.js +18 -0
- package/dist/common/core/server/multiplayer/level-locator.d.ts +4 -0
- package/dist/common/core/server/multiplayer/level-locator.js +2 -0
- package/dist/common/core/server/multiplayer/level-option-entry.d.ts +4 -0
- package/dist/common/core/server/multiplayer/level-option-entry.js +2 -0
- package/dist/common/core/server/multiplayer/result-entry.d.ts +5 -0
- package/dist/common/core/server/multiplayer/result-entry.js +2 -0
- package/dist/common/core/server/multiplayer/room-status.d.ts +1 -0
- package/dist/common/core/server/multiplayer/room-status.js +2 -0
- package/dist/common/core/server/multiplayer/room-user.d.ts +4 -0
- package/dist/common/core/server/multiplayer/room-user.js +2 -0
- package/dist/common/core/server/multiplayer/score-entry.d.ts +5 -0
- package/dist/common/core/server/multiplayer/score-entry.js +2 -0
- package/dist/common/core/server/multiplayer/scoreboard-section.d.ts +8 -0
- package/dist/common/core/server/multiplayer/scoreboard-section.js +2 -0
- package/dist/common/core/server/multiplayer/suggestion.d.ts +5 -0
- package/dist/common/core/server/multiplayer/suggestion.js +2 -0
- package/dist/common/core/server/multiplayer/user-status-entry.d.ts +5 -0
- package/dist/common/core/server/multiplayer/user-status-entry.js +2 -0
- package/dist/common/core/server/multiplayer/user-status.d.ts +1 -0
- package/dist/common/core/server/multiplayer/user-status.js +2 -0
- package/dist/common/core/server/option.d.ts +38 -0
- package/dist/common/core/server/option.js +2 -0
- package/dist/common/core/server/options-section.d.ts +9 -0
- package/dist/common/core/server/options-section.js +2 -0
- package/dist/common/core/server/server-info.d.ts +8 -0
- package/dist/common/core/server/server-info.js +2 -0
- package/dist/common/core/service/authenticate-external.d.ts +7 -0
- package/dist/common/core/service/authenticate-external.js +2 -0
- package/dist/common/core/service/index.d.ts +3 -0
- package/dist/common/core/service/index.js +5 -0
- package/dist/common/core/service/keys.d.ts +8 -0
- package/dist/common/core/service/keys.js +11 -0
- package/dist/common/core/service/user-profile.d.ts +13 -0
- package/dist/common/core/service/user-profile.js +2 -0
- package/dist/common/core/skin/data/data.d.ts +7 -0
- package/dist/common/core/skin/data/data.js +2 -0
- package/dist/common/core/skin/data/index.d.ts +2 -0
- package/dist/common/core/skin/data/index.js +2 -0
- package/dist/common/core/skin/data/sprite.d.ts +11 -0
- package/dist/common/core/skin/data/sprite.js +2 -0
- package/dist/common/core/skin/index.d.ts +3 -0
- package/dist/common/core/skin/index.js +20 -0
- package/dist/common/core/skin/item.d.ts +14 -0
- package/dist/common/core/skin/item.js +2 -0
- package/dist/common/core/skin/skin-sprite-name.d.ts +93 -0
- package/dist/common/core/skin/skin-sprite-name.js +95 -0
- package/dist/common/core/tag.d.ts +6 -0
- package/dist/common/core/tag.js +2 -0
- package/dist/common/core/text.d.ts +625 -0
- package/dist/common/core/text.js +627 -0
- package/dist/common/database/background/index.d.ts +1 -0
- package/dist/common/database/background/index.js +2 -0
- package/dist/common/database/background/item.d.ts +16 -0
- package/dist/common/database/background/item.js +2 -0
- package/dist/common/database/database.d.ts +22 -0
- package/dist/common/database/database.js +2 -0
- package/dist/common/database/effect/index.d.ts +1 -0
- package/dist/common/database/effect/index.js +2 -0
- package/dist/common/database/effect/item.d.ts +15 -0
- package/dist/common/database/effect/item.js +2 -0
- package/dist/common/database/engine/index.d.ts +1 -0
- package/dist/common/database/engine/index.js +2 -0
- package/dist/common/database/engine/item.d.ts +23 -0
- package/dist/common/database/engine/item.js +2 -0
- package/dist/common/database/index.d.ts +13 -0
- package/dist/common/database/index.js +29 -0
- package/dist/common/database/level/index.d.ts +1 -0
- package/dist/common/database/level/index.js +2 -0
- package/dist/common/database/level/item.d.ts +28 -0
- package/dist/common/database/level/item.js +2 -0
- package/dist/common/database/localization.d.ts +3 -0
- package/dist/common/database/localization.js +5 -0
- package/dist/common/database/particle/index.d.ts +1 -0
- package/dist/common/database/particle/index.js +2 -0
- package/dist/common/database/particle/item.d.ts +15 -0
- package/dist/common/database/particle/item.js +2 -0
- package/dist/common/database/playlist/index.d.ts +1 -0
- package/dist/common/database/playlist/index.js +2 -0
- package/dist/common/database/playlist/item.d.ts +14 -0
- package/dist/common/database/playlist/item.js +2 -0
- package/dist/common/database/post/index.d.ts +1 -0
- package/dist/common/database/post/index.js +2 -0
- package/dist/common/database/post/item.d.ts +13 -0
- package/dist/common/database/post/item.js +2 -0
- package/dist/common/database/replay/index.d.ts +1 -0
- package/dist/common/database/replay/index.js +2 -0
- package/dist/common/database/replay/item.d.ts +15 -0
- package/dist/common/database/replay/item.js +2 -0
- package/dist/common/database/server/index.d.ts +1 -0
- package/dist/common/database/server/index.js +2 -0
- package/dist/common/database/server/server-info.d.ts +7 -0
- package/dist/common/database/server/server-info.js +2 -0
- package/dist/common/database/skin/index.d.ts +1 -0
- package/dist/common/database/skin/index.js +2 -0
- package/dist/common/database/skin/item.d.ts +15 -0
- package/dist/common/database/skin/item.js +2 -0
- package/dist/common/database/tag.d.ts +6 -0
- package/dist/common/database/tag.js +2 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.js +21 -0
- package/dist/common/version.d.ts +4 -0
- package/dist/common/version.js +7 -0
- package/dist/index.browser.d.ts +1 -0
- package/dist/index.browser.js +17 -0
- package/dist/index.node.d.ts +2 -0
- package/dist/index.node.js +18 -0
- package/dist/node/core/index.d.ts +2 -0
- package/dist/node/core/index.js +18 -0
- package/dist/node/core/resource/compress.d.ts +3 -0
- package/dist/node/core/resource/compress.js +13 -0
- package/dist/node/core/resource/decompress.d.ts +3 -0
- package/dist/node/core/resource/decompress.js +10 -0
- package/dist/node/core/resource/hash.d.ts +2 -0
- package/dist/node/core/resource/hash.js +6 -0
- package/dist/node/core/resource/index.d.ts +3 -0
- package/dist/node/core/resource/index.js +11 -0
- package/dist/node/core/service/index.d.ts +1 -0
- package/dist/node/core/service/index.js +5 -0
- package/dist/node/core/service/keys.d.ts +2 -0
- package/dist/node/core/service/keys.js +11 -0
- package/dist/node/index.d.ts +1 -0
- package/dist/node/index.js +17 -0
- package/package.json +30 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GameplayResult } from '../gameplay-result';
|
|
2
|
+
export type ReplayData = {
|
|
3
|
+
startTime: number;
|
|
4
|
+
saveTime: number;
|
|
5
|
+
duration: number;
|
|
6
|
+
inputOffset: number;
|
|
7
|
+
playArea: {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
};
|
|
11
|
+
result: GameplayResult;
|
|
12
|
+
inputs: {
|
|
13
|
+
entityIndex: number[];
|
|
14
|
+
time: number[];
|
|
15
|
+
judgment: number[];
|
|
16
|
+
accuracy: number[];
|
|
17
|
+
};
|
|
18
|
+
entities: {
|
|
19
|
+
data: {
|
|
20
|
+
name: string;
|
|
21
|
+
value: number;
|
|
22
|
+
}[];
|
|
23
|
+
}[];
|
|
24
|
+
touches: {
|
|
25
|
+
l: number[];
|
|
26
|
+
t: number[];
|
|
27
|
+
x: number[];
|
|
28
|
+
y: number[];
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LevelItem } from '../level/item';
|
|
2
|
+
import { SRL } from '../resource/srl';
|
|
3
|
+
import { Tag } from '../tag';
|
|
4
|
+
export type ReplayItem = {
|
|
5
|
+
name: string;
|
|
6
|
+
source?: string;
|
|
7
|
+
version: 1;
|
|
8
|
+
title: string;
|
|
9
|
+
subtitle: string;
|
|
10
|
+
author: string;
|
|
11
|
+
tags: Tag[];
|
|
12
|
+
level: LevelItem;
|
|
13
|
+
data: SRL;
|
|
14
|
+
configuration: SRL;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SRL } from './srl';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RoomItem } from './item';
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
export declare const RuntimeFunction: {
|
|
2
|
+
readonly Abs: "Abs";
|
|
3
|
+
readonly Add: "Add";
|
|
4
|
+
readonly And: "And";
|
|
5
|
+
readonly Arccos: "Arccos";
|
|
6
|
+
readonly Arcsin: "Arcsin";
|
|
7
|
+
readonly Arctan: "Arctan";
|
|
8
|
+
readonly Arctan2: "Arctan2";
|
|
9
|
+
readonly BeatToBPM: "BeatToBPM";
|
|
10
|
+
readonly BeatToStartingBeat: "BeatToStartingBeat";
|
|
11
|
+
readonly BeatToStartingTime: "BeatToStartingTime";
|
|
12
|
+
readonly BeatToTime: "BeatToTime";
|
|
13
|
+
readonly Block: "Block";
|
|
14
|
+
readonly Break: "Break";
|
|
15
|
+
readonly Ceil: "Ceil";
|
|
16
|
+
readonly Clamp: "Clamp";
|
|
17
|
+
readonly Copy: "Copy";
|
|
18
|
+
readonly Cos: "Cos";
|
|
19
|
+
readonly Cosh: "Cosh";
|
|
20
|
+
readonly DebugLog: "DebugLog";
|
|
21
|
+
readonly DebugPause: "DebugPause";
|
|
22
|
+
readonly DecrementPost: "DecrementPost";
|
|
23
|
+
readonly DecrementPostPointed: "DecrementPostPointed";
|
|
24
|
+
readonly DecrementPostShifted: "DecrementPostShifted";
|
|
25
|
+
readonly DecrementPre: "DecrementPre";
|
|
26
|
+
readonly DecrementPrePointed: "DecrementPrePointed";
|
|
27
|
+
readonly DecrementPreShifted: "DecrementPreShifted";
|
|
28
|
+
readonly Degree: "Degree";
|
|
29
|
+
readonly DestroyParticleEffect: "DestroyParticleEffect";
|
|
30
|
+
readonly Divide: "Divide";
|
|
31
|
+
readonly DoWhile: "DoWhile";
|
|
32
|
+
readonly Draw: "Draw";
|
|
33
|
+
readonly DrawCurvedB: "DrawCurvedB";
|
|
34
|
+
readonly DrawCurvedBT: "DrawCurvedBT";
|
|
35
|
+
readonly DrawCurvedL: "DrawCurvedL";
|
|
36
|
+
readonly DrawCurvedLR: "DrawCurvedLR";
|
|
37
|
+
readonly DrawCurvedR: "DrawCurvedR";
|
|
38
|
+
readonly DrawCurvedT: "DrawCurvedT";
|
|
39
|
+
readonly EaseInBack: "EaseInBack";
|
|
40
|
+
readonly EaseInCirc: "EaseInCirc";
|
|
41
|
+
readonly EaseInCubic: "EaseInCubic";
|
|
42
|
+
readonly EaseInElastic: "EaseInElastic";
|
|
43
|
+
readonly EaseInExpo: "EaseInExpo";
|
|
44
|
+
readonly EaseInOutBack: "EaseInOutBack";
|
|
45
|
+
readonly EaseInOutCirc: "EaseInOutCirc";
|
|
46
|
+
readonly EaseInOutCubic: "EaseInOutCubic";
|
|
47
|
+
readonly EaseInOutElastic: "EaseInOutElastic";
|
|
48
|
+
readonly EaseInOutExpo: "EaseInOutExpo";
|
|
49
|
+
readonly EaseInOutQuad: "EaseInOutQuad";
|
|
50
|
+
readonly EaseInOutQuart: "EaseInOutQuart";
|
|
51
|
+
readonly EaseInOutQuint: "EaseInOutQuint";
|
|
52
|
+
readonly EaseInOutSine: "EaseInOutSine";
|
|
53
|
+
readonly EaseInQuad: "EaseInQuad";
|
|
54
|
+
readonly EaseInQuart: "EaseInQuart";
|
|
55
|
+
readonly EaseInQuint: "EaseInQuint";
|
|
56
|
+
readonly EaseInSine: "EaseInSine";
|
|
57
|
+
readonly EaseOutBack: "EaseOutBack";
|
|
58
|
+
readonly EaseOutCirc: "EaseOutCirc";
|
|
59
|
+
readonly EaseOutCubic: "EaseOutCubic";
|
|
60
|
+
readonly EaseOutElastic: "EaseOutElastic";
|
|
61
|
+
readonly EaseOutExpo: "EaseOutExpo";
|
|
62
|
+
readonly EaseOutInBack: "EaseOutInBack";
|
|
63
|
+
readonly EaseOutInCirc: "EaseOutInCirc";
|
|
64
|
+
readonly EaseOutInCubic: "EaseOutInCubic";
|
|
65
|
+
readonly EaseOutInElastic: "EaseOutInElastic";
|
|
66
|
+
readonly EaseOutInExpo: "EaseOutInExpo";
|
|
67
|
+
readonly EaseOutInQuad: "EaseOutInQuad";
|
|
68
|
+
readonly EaseOutInQuart: "EaseOutInQuart";
|
|
69
|
+
readonly EaseOutInQuint: "EaseOutInQuint";
|
|
70
|
+
readonly EaseOutInSine: "EaseOutInSine";
|
|
71
|
+
readonly EaseOutQuad: "EaseOutQuad";
|
|
72
|
+
readonly EaseOutQuart: "EaseOutQuart";
|
|
73
|
+
readonly EaseOutQuint: "EaseOutQuint";
|
|
74
|
+
readonly EaseOutSine: "EaseOutSine";
|
|
75
|
+
readonly Equal: "Equal";
|
|
76
|
+
readonly Execute: "Execute";
|
|
77
|
+
readonly Execute0: "Execute0";
|
|
78
|
+
readonly ExportValue: "ExportValue";
|
|
79
|
+
readonly Floor: "Floor";
|
|
80
|
+
readonly Frac: "Frac";
|
|
81
|
+
readonly Get: "Get";
|
|
82
|
+
readonly GetPointed: "GetPointed";
|
|
83
|
+
readonly GetShifted: "GetShifted";
|
|
84
|
+
readonly Greater: "Greater";
|
|
85
|
+
readonly GreaterOr: "GreaterOr";
|
|
86
|
+
readonly HasEffectClip: "HasEffectClip";
|
|
87
|
+
readonly HasParticleEffect: "HasParticleEffect";
|
|
88
|
+
readonly HasSkinSprite: "HasSkinSprite";
|
|
89
|
+
readonly If: "If";
|
|
90
|
+
readonly IncrementPost: "IncrementPost";
|
|
91
|
+
readonly IncrementPostPointed: "IncrementPostPointed";
|
|
92
|
+
readonly IncrementPostShifted: "IncrementPostShifted";
|
|
93
|
+
readonly IncrementPre: "IncrementPre";
|
|
94
|
+
readonly IncrementPrePointed: "IncrementPrePointed";
|
|
95
|
+
readonly IncrementPreShifted: "IncrementPreShifted";
|
|
96
|
+
readonly Judge: "Judge";
|
|
97
|
+
readonly JudgeSimple: "JudgeSimple";
|
|
98
|
+
readonly JumpLoop: "JumpLoop";
|
|
99
|
+
readonly Lerp: "Lerp";
|
|
100
|
+
readonly LerpClamped: "LerpClamped";
|
|
101
|
+
readonly Less: "Less";
|
|
102
|
+
readonly LessOr: "LessOr";
|
|
103
|
+
readonly Log: "Log";
|
|
104
|
+
readonly Max: "Max";
|
|
105
|
+
readonly Min: "Min";
|
|
106
|
+
readonly Mod: "Mod";
|
|
107
|
+
readonly MoveParticleEffect: "MoveParticleEffect";
|
|
108
|
+
readonly Multiply: "Multiply";
|
|
109
|
+
readonly Negate: "Negate";
|
|
110
|
+
readonly Not: "Not";
|
|
111
|
+
readonly NotEqual: "NotEqual";
|
|
112
|
+
readonly Or: "Or";
|
|
113
|
+
readonly Paint: "Paint";
|
|
114
|
+
readonly Play: "Play";
|
|
115
|
+
readonly PlayLooped: "PlayLooped";
|
|
116
|
+
readonly PlayLoopedScheduled: "PlayLoopedScheduled";
|
|
117
|
+
readonly PlayScheduled: "PlayScheduled";
|
|
118
|
+
readonly Power: "Power";
|
|
119
|
+
readonly Print: "Print";
|
|
120
|
+
readonly Radian: "Radian";
|
|
121
|
+
readonly Random: "Random";
|
|
122
|
+
readonly RandomInteger: "RandomInteger";
|
|
123
|
+
readonly Rem: "Rem";
|
|
124
|
+
readonly Remap: "Remap";
|
|
125
|
+
readonly RemapClamped: "RemapClamped";
|
|
126
|
+
readonly Round: "Round";
|
|
127
|
+
readonly Set: "Set";
|
|
128
|
+
readonly SetAdd: "SetAdd";
|
|
129
|
+
readonly SetAddPointed: "SetAddPointed";
|
|
130
|
+
readonly SetAddShifted: "SetAddShifted";
|
|
131
|
+
readonly SetDivide: "SetDivide";
|
|
132
|
+
readonly SetDividePointed: "SetDividePointed";
|
|
133
|
+
readonly SetDivideShifted: "SetDivideShifted";
|
|
134
|
+
readonly SetMod: "SetMod";
|
|
135
|
+
readonly SetModPointed: "SetModPointed";
|
|
136
|
+
readonly SetModShifted: "SetModShifted";
|
|
137
|
+
readonly SetMultiply: "SetMultiply";
|
|
138
|
+
readonly SetMultiplyPointed: "SetMultiplyPointed";
|
|
139
|
+
readonly SetMultiplyShifted: "SetMultiplyShifted";
|
|
140
|
+
readonly SetPointed: "SetPointed";
|
|
141
|
+
readonly SetPower: "SetPower";
|
|
142
|
+
readonly SetPowerPointed: "SetPowerPointed";
|
|
143
|
+
readonly SetPowerShifted: "SetPowerShifted";
|
|
144
|
+
readonly SetRem: "SetRem";
|
|
145
|
+
readonly SetRemPointed: "SetRemPointed";
|
|
146
|
+
readonly SetRemShifted: "SetRemShifted";
|
|
147
|
+
readonly SetShifted: "SetShifted";
|
|
148
|
+
readonly SetSubtract: "SetSubtract";
|
|
149
|
+
readonly SetSubtractPointed: "SetSubtractPointed";
|
|
150
|
+
readonly SetSubtractShifted: "SetSubtractShifted";
|
|
151
|
+
readonly Sign: "Sign";
|
|
152
|
+
readonly Sin: "Sin";
|
|
153
|
+
readonly Sinh: "Sinh";
|
|
154
|
+
readonly Spawn: "Spawn";
|
|
155
|
+
readonly SpawnParticleEffect: "SpawnParticleEffect";
|
|
156
|
+
readonly StackEnter: "StackEnter";
|
|
157
|
+
readonly StackGet: "StackGet";
|
|
158
|
+
readonly StackGetFrame: "StackGetFrame";
|
|
159
|
+
readonly StackGetFramePointer: "StackGetFramePointer";
|
|
160
|
+
readonly StackGetPointer: "StackGetPointer";
|
|
161
|
+
readonly StackGrow: "StackGrow";
|
|
162
|
+
readonly StackInit: "StackInit";
|
|
163
|
+
readonly StackLeave: "StackLeave";
|
|
164
|
+
readonly StackPop: "StackPop";
|
|
165
|
+
readonly StackPush: "StackPush";
|
|
166
|
+
readonly StackSet: "StackSet";
|
|
167
|
+
readonly StackSetFrame: "StackSetFrame";
|
|
168
|
+
readonly StackSetFramePointer: "StackSetFramePointer";
|
|
169
|
+
readonly StackSetPointer: "StackSetPointer";
|
|
170
|
+
readonly StopLooped: "StopLooped";
|
|
171
|
+
readonly StopLoopedScheduled: "StopLoopedScheduled";
|
|
172
|
+
readonly Subtract: "Subtract";
|
|
173
|
+
readonly Switch: "Switch";
|
|
174
|
+
readonly SwitchInteger: "SwitchInteger";
|
|
175
|
+
readonly SwitchIntegerWithDefault: "SwitchIntegerWithDefault";
|
|
176
|
+
readonly SwitchWithDefault: "SwitchWithDefault";
|
|
177
|
+
readonly Tan: "Tan";
|
|
178
|
+
readonly Tanh: "Tanh";
|
|
179
|
+
readonly TimeToScaledTime: "TimeToScaledTime";
|
|
180
|
+
readonly TimeToStartingScaledTime: "TimeToStartingScaledTime";
|
|
181
|
+
readonly TimeToStartingTime: "TimeToStartingTime";
|
|
182
|
+
readonly TimeToTimeScale: "TimeToTimeScale";
|
|
183
|
+
readonly Trunc: "Trunc";
|
|
184
|
+
readonly Unlerp: "Unlerp";
|
|
185
|
+
readonly UnlerpClamped: "UnlerpClamped";
|
|
186
|
+
readonly While: "While";
|
|
187
|
+
};
|
|
188
|
+
export type RuntimeFunction = (typeof RuntimeFunction)[keyof typeof RuntimeFunction];
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuntimeFunction = void 0;
|
|
4
|
+
exports.RuntimeFunction = {
|
|
5
|
+
Abs: 'Abs',
|
|
6
|
+
Add: 'Add',
|
|
7
|
+
And: 'And',
|
|
8
|
+
Arccos: 'Arccos',
|
|
9
|
+
Arcsin: 'Arcsin',
|
|
10
|
+
Arctan: 'Arctan',
|
|
11
|
+
Arctan2: 'Arctan2',
|
|
12
|
+
BeatToBPM: 'BeatToBPM',
|
|
13
|
+
BeatToStartingBeat: 'BeatToStartingBeat',
|
|
14
|
+
BeatToStartingTime: 'BeatToStartingTime',
|
|
15
|
+
BeatToTime: 'BeatToTime',
|
|
16
|
+
Block: 'Block',
|
|
17
|
+
Break: 'Break',
|
|
18
|
+
Ceil: 'Ceil',
|
|
19
|
+
Clamp: 'Clamp',
|
|
20
|
+
Copy: 'Copy',
|
|
21
|
+
Cos: 'Cos',
|
|
22
|
+
Cosh: 'Cosh',
|
|
23
|
+
DebugLog: 'DebugLog',
|
|
24
|
+
DebugPause: 'DebugPause',
|
|
25
|
+
DecrementPost: 'DecrementPost',
|
|
26
|
+
DecrementPostPointed: 'DecrementPostPointed',
|
|
27
|
+
DecrementPostShifted: 'DecrementPostShifted',
|
|
28
|
+
DecrementPre: 'DecrementPre',
|
|
29
|
+
DecrementPrePointed: 'DecrementPrePointed',
|
|
30
|
+
DecrementPreShifted: 'DecrementPreShifted',
|
|
31
|
+
Degree: 'Degree',
|
|
32
|
+
DestroyParticleEffect: 'DestroyParticleEffect',
|
|
33
|
+
Divide: 'Divide',
|
|
34
|
+
DoWhile: 'DoWhile',
|
|
35
|
+
Draw: 'Draw',
|
|
36
|
+
DrawCurvedB: 'DrawCurvedB',
|
|
37
|
+
DrawCurvedBT: 'DrawCurvedBT',
|
|
38
|
+
DrawCurvedL: 'DrawCurvedL',
|
|
39
|
+
DrawCurvedLR: 'DrawCurvedLR',
|
|
40
|
+
DrawCurvedR: 'DrawCurvedR',
|
|
41
|
+
DrawCurvedT: 'DrawCurvedT',
|
|
42
|
+
EaseInBack: 'EaseInBack',
|
|
43
|
+
EaseInCirc: 'EaseInCirc',
|
|
44
|
+
EaseInCubic: 'EaseInCubic',
|
|
45
|
+
EaseInElastic: 'EaseInElastic',
|
|
46
|
+
EaseInExpo: 'EaseInExpo',
|
|
47
|
+
EaseInOutBack: 'EaseInOutBack',
|
|
48
|
+
EaseInOutCirc: 'EaseInOutCirc',
|
|
49
|
+
EaseInOutCubic: 'EaseInOutCubic',
|
|
50
|
+
EaseInOutElastic: 'EaseInOutElastic',
|
|
51
|
+
EaseInOutExpo: 'EaseInOutExpo',
|
|
52
|
+
EaseInOutQuad: 'EaseInOutQuad',
|
|
53
|
+
EaseInOutQuart: 'EaseInOutQuart',
|
|
54
|
+
EaseInOutQuint: 'EaseInOutQuint',
|
|
55
|
+
EaseInOutSine: 'EaseInOutSine',
|
|
56
|
+
EaseInQuad: 'EaseInQuad',
|
|
57
|
+
EaseInQuart: 'EaseInQuart',
|
|
58
|
+
EaseInQuint: 'EaseInQuint',
|
|
59
|
+
EaseInSine: 'EaseInSine',
|
|
60
|
+
EaseOutBack: 'EaseOutBack',
|
|
61
|
+
EaseOutCirc: 'EaseOutCirc',
|
|
62
|
+
EaseOutCubic: 'EaseOutCubic',
|
|
63
|
+
EaseOutElastic: 'EaseOutElastic',
|
|
64
|
+
EaseOutExpo: 'EaseOutExpo',
|
|
65
|
+
EaseOutInBack: 'EaseOutInBack',
|
|
66
|
+
EaseOutInCirc: 'EaseOutInCirc',
|
|
67
|
+
EaseOutInCubic: 'EaseOutInCubic',
|
|
68
|
+
EaseOutInElastic: 'EaseOutInElastic',
|
|
69
|
+
EaseOutInExpo: 'EaseOutInExpo',
|
|
70
|
+
EaseOutInQuad: 'EaseOutInQuad',
|
|
71
|
+
EaseOutInQuart: 'EaseOutInQuart',
|
|
72
|
+
EaseOutInQuint: 'EaseOutInQuint',
|
|
73
|
+
EaseOutInSine: 'EaseOutInSine',
|
|
74
|
+
EaseOutQuad: 'EaseOutQuad',
|
|
75
|
+
EaseOutQuart: 'EaseOutQuart',
|
|
76
|
+
EaseOutQuint: 'EaseOutQuint',
|
|
77
|
+
EaseOutSine: 'EaseOutSine',
|
|
78
|
+
Equal: 'Equal',
|
|
79
|
+
Execute: 'Execute',
|
|
80
|
+
Execute0: 'Execute0',
|
|
81
|
+
ExportValue: 'ExportValue',
|
|
82
|
+
Floor: 'Floor',
|
|
83
|
+
Frac: 'Frac',
|
|
84
|
+
Get: 'Get',
|
|
85
|
+
GetPointed: 'GetPointed',
|
|
86
|
+
GetShifted: 'GetShifted',
|
|
87
|
+
Greater: 'Greater',
|
|
88
|
+
GreaterOr: 'GreaterOr',
|
|
89
|
+
HasEffectClip: 'HasEffectClip',
|
|
90
|
+
HasParticleEffect: 'HasParticleEffect',
|
|
91
|
+
HasSkinSprite: 'HasSkinSprite',
|
|
92
|
+
If: 'If',
|
|
93
|
+
IncrementPost: 'IncrementPost',
|
|
94
|
+
IncrementPostPointed: 'IncrementPostPointed',
|
|
95
|
+
IncrementPostShifted: 'IncrementPostShifted',
|
|
96
|
+
IncrementPre: 'IncrementPre',
|
|
97
|
+
IncrementPrePointed: 'IncrementPrePointed',
|
|
98
|
+
IncrementPreShifted: 'IncrementPreShifted',
|
|
99
|
+
Judge: 'Judge',
|
|
100
|
+
JudgeSimple: 'JudgeSimple',
|
|
101
|
+
JumpLoop: 'JumpLoop',
|
|
102
|
+
Lerp: 'Lerp',
|
|
103
|
+
LerpClamped: 'LerpClamped',
|
|
104
|
+
Less: 'Less',
|
|
105
|
+
LessOr: 'LessOr',
|
|
106
|
+
Log: 'Log',
|
|
107
|
+
Max: 'Max',
|
|
108
|
+
Min: 'Min',
|
|
109
|
+
Mod: 'Mod',
|
|
110
|
+
MoveParticleEffect: 'MoveParticleEffect',
|
|
111
|
+
Multiply: 'Multiply',
|
|
112
|
+
Negate: 'Negate',
|
|
113
|
+
Not: 'Not',
|
|
114
|
+
NotEqual: 'NotEqual',
|
|
115
|
+
Or: 'Or',
|
|
116
|
+
Paint: 'Paint',
|
|
117
|
+
Play: 'Play',
|
|
118
|
+
PlayLooped: 'PlayLooped',
|
|
119
|
+
PlayLoopedScheduled: 'PlayLoopedScheduled',
|
|
120
|
+
PlayScheduled: 'PlayScheduled',
|
|
121
|
+
Power: 'Power',
|
|
122
|
+
Print: 'Print',
|
|
123
|
+
Radian: 'Radian',
|
|
124
|
+
Random: 'Random',
|
|
125
|
+
RandomInteger: 'RandomInteger',
|
|
126
|
+
Rem: 'Rem',
|
|
127
|
+
Remap: 'Remap',
|
|
128
|
+
RemapClamped: 'RemapClamped',
|
|
129
|
+
Round: 'Round',
|
|
130
|
+
Set: 'Set',
|
|
131
|
+
SetAdd: 'SetAdd',
|
|
132
|
+
SetAddPointed: 'SetAddPointed',
|
|
133
|
+
SetAddShifted: 'SetAddShifted',
|
|
134
|
+
SetDivide: 'SetDivide',
|
|
135
|
+
SetDividePointed: 'SetDividePointed',
|
|
136
|
+
SetDivideShifted: 'SetDivideShifted',
|
|
137
|
+
SetMod: 'SetMod',
|
|
138
|
+
SetModPointed: 'SetModPointed',
|
|
139
|
+
SetModShifted: 'SetModShifted',
|
|
140
|
+
SetMultiply: 'SetMultiply',
|
|
141
|
+
SetMultiplyPointed: 'SetMultiplyPointed',
|
|
142
|
+
SetMultiplyShifted: 'SetMultiplyShifted',
|
|
143
|
+
SetPointed: 'SetPointed',
|
|
144
|
+
SetPower: 'SetPower',
|
|
145
|
+
SetPowerPointed: 'SetPowerPointed',
|
|
146
|
+
SetPowerShifted: 'SetPowerShifted',
|
|
147
|
+
SetRem: 'SetRem',
|
|
148
|
+
SetRemPointed: 'SetRemPointed',
|
|
149
|
+
SetRemShifted: 'SetRemShifted',
|
|
150
|
+
SetShifted: 'SetShifted',
|
|
151
|
+
SetSubtract: 'SetSubtract',
|
|
152
|
+
SetSubtractPointed: 'SetSubtractPointed',
|
|
153
|
+
SetSubtractShifted: 'SetSubtractShifted',
|
|
154
|
+
Sign: 'Sign',
|
|
155
|
+
Sin: 'Sin',
|
|
156
|
+
Sinh: 'Sinh',
|
|
157
|
+
Spawn: 'Spawn',
|
|
158
|
+
SpawnParticleEffect: 'SpawnParticleEffect',
|
|
159
|
+
StackEnter: 'StackEnter',
|
|
160
|
+
StackGet: 'StackGet',
|
|
161
|
+
StackGetFrame: 'StackGetFrame',
|
|
162
|
+
StackGetFramePointer: 'StackGetFramePointer',
|
|
163
|
+
StackGetPointer: 'StackGetPointer',
|
|
164
|
+
StackGrow: 'StackGrow',
|
|
165
|
+
StackInit: 'StackInit',
|
|
166
|
+
StackLeave: 'StackLeave',
|
|
167
|
+
StackPop: 'StackPop',
|
|
168
|
+
StackPush: 'StackPush',
|
|
169
|
+
StackSet: 'StackSet',
|
|
170
|
+
StackSetFrame: 'StackSetFrame',
|
|
171
|
+
StackSetFramePointer: 'StackSetFramePointer',
|
|
172
|
+
StackSetPointer: 'StackSetPointer',
|
|
173
|
+
StopLooped: 'StopLooped',
|
|
174
|
+
StopLoopedScheduled: 'StopLoopedScheduled',
|
|
175
|
+
Subtract: 'Subtract',
|
|
176
|
+
Switch: 'Switch',
|
|
177
|
+
SwitchInteger: 'SwitchInteger',
|
|
178
|
+
SwitchIntegerWithDefault: 'SwitchIntegerWithDefault',
|
|
179
|
+
SwitchWithDefault: 'SwitchWithDefault',
|
|
180
|
+
Tan: 'Tan',
|
|
181
|
+
Tanh: 'Tanh',
|
|
182
|
+
TimeToScaledTime: 'TimeToScaledTime',
|
|
183
|
+
TimeToStartingScaledTime: 'TimeToStartingScaledTime',
|
|
184
|
+
TimeToStartingTime: 'TimeToStartingTime',
|
|
185
|
+
TimeToTimeScale: 'TimeToTimeScale',
|
|
186
|
+
Trunc: 'Trunc',
|
|
187
|
+
Unlerp: 'Unlerp',
|
|
188
|
+
UnlerpClamped: 'UnlerpClamped',
|
|
189
|
+
While: 'While',
|
|
190
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RuntimeFunction } from './function';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuntimeFunction = void 0;
|
|
4
|
+
var function_1 = require("./function");
|
|
5
|
+
Object.defineProperty(exports, "RuntimeFunction", { enumerable: true, get: function () { return function_1.RuntimeFunction; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UserProfile } from '../service/user-profile';
|
|
2
|
+
export type AuthenticateServerRequest = {
|
|
3
|
+
type: 'authenticateServer';
|
|
4
|
+
address: string;
|
|
5
|
+
time: number;
|
|
6
|
+
userProfile: UserProfile;
|
|
7
|
+
};
|
|
8
|
+
export type AuthenticateServerResponse = {
|
|
9
|
+
session: string;
|
|
10
|
+
expiration: number;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { AuthenticateServerRequest, AuthenticateServerResponse } from './authenticate';
|
|
2
|
+
export { CreateRoomRequest, CreateRoomResponse } from './create-room';
|
|
3
|
+
export { ItemDetails } from './item-details';
|
|
4
|
+
export { ItemInfo } from './item-info';
|
|
5
|
+
export { ItemList } from './item-list';
|
|
6
|
+
export { ItemSection } from './item-section';
|
|
7
|
+
export { JoinRoomRequest, JoinRoomResponse } from './join-room';
|
|
8
|
+
export * from './multiplayer';
|
|
9
|
+
export { ServerMultiOption, ServerOption, ServerSelectOption, ServerSliderOption, ServerTextOption, ServerToggleOption, } from './option';
|
|
10
|
+
export { ServerOptionsSection } from './options-section';
|
|
11
|
+
export { ServerInfo } from './server-info';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./multiplayer"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UserProfile } from '../service/user-profile';
|
|
2
|
+
export type JoinRoomRequest = {
|
|
3
|
+
type: 'authenticateMultiplayer';
|
|
4
|
+
address: string;
|
|
5
|
+
room: string;
|
|
6
|
+
time: number;
|
|
7
|
+
userProfile: UserProfile;
|
|
8
|
+
};
|
|
9
|
+
export type JoinRoomResponse = {
|
|
10
|
+
url: string;
|
|
11
|
+
type: 'round';
|
|
12
|
+
session: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type ChatMessage = TextChatMessage | QuickChatMessage;
|
|
2
|
+
export type QuickChatMessage = {
|
|
3
|
+
userId: string;
|
|
4
|
+
type: 'quick';
|
|
5
|
+
value: 'hello' | 'glhf' | 'gg' | 'ns' | 'ty';
|
|
6
|
+
};
|
|
7
|
+
export type TextChatMessage = {
|
|
8
|
+
userId: 'room' | (string & {});
|
|
9
|
+
type: 'text';
|
|
10
|
+
value: string;
|
|
11
|
+
};
|