Documentation ¶
Index ¶
- Constants
- Variables
- func DownloadBackground(source Source, level sonolus.LevelInfo, destPath string) error
- func DownloadCover(source Source, level sonolus.LevelInfo, destPath string) error
- func FetchChart(source Source, chartId string) (sonolus.LevelInfo, error)
- func FetchLevelData(source Source, level sonolus.LevelInfo) (sonolus.LevelData, error)
- func TryInstallObject() bool
- func WriteExoFiles(assets string, destDir string, title string, description string) error
- func WritePedFile(frames []PedFrame, assets string, ap bool, path string) error
- type BpmChange
- type PedFrame
- type Source
Constants ¶
View Source
const Version = "0.0.0"
Variables ¶
View Source
var WEIGHT_MAP = map[string]float64{
"#BPM_CHANGE": 0,
"Initialization": 0,
"InputManager": 0,
"Stage": 0,
"NormalTapNote": 1,
"CriticalTapNote": 3,
"NormalFlickNote": 1,
"CriticalFlickNote": 3,
"NormalSlideStartNote": 1,
"CriticalSlideStartNote": 2,
"NormalSlideEndNote": 1,
"CriticalSlideEndNote": 2,
"NormalSlideEndFlickNote": 1,
"CriticalSlideEndFlickNote": 3,
"HiddenSlideTickNote": 0,
"NormalSlideTickNote": 0.1,
"CriticalSlideTickNote": 0.1,
"IgnoredSlideTickNote": 0.1,
"NormalAttachedSlideTickNote": 0.1,
"CriticalAttachedSlideTickNote": 0.1,
"NormalSlideConnector": 0,
"CriticalSlideConnector": 0,
"SimLine": 0,
"NormalSlotEffect": 0,
"SlideSlotEffect": 0,
"FlickSlotEffect": 0,
"CriticalSlotEffect": 0,
"NormalSlotGlowEffect": 0,
"SlideSlotGlowEffect": 0,
"FlickSlotGlowEffect": 0,
"CriticalSlotGlowEffect": 0,
"NormalTraceNote": 0.1,
"CriticalTraceNote": 0.1,
"NormalTraceSlotEffect": 0,
"NormalTraceSlotGlowEffect": 0,
"DamageNote": 0.1,
"DamageSlotEffect": 0,
"DamageSlotGlowEffect": 0,
"NormalTraceFlickNote": 0.5,
"CriticalTraceFlickNote": 0.5,
"NonDirectionalTraceFlickNote": 0.5,
"NormalTraceSlideStartNote": 0.1,
"NormalTraceSlideEndNote": 0.1,
"CriticalTraceSlideStartNote": 0.1,
"CriticalTraceSlideEndNote": 0.1,
"TimeScaleGroup": 0,
"TimeScaleChange": 0,
}
Functions ¶
func DownloadBackground ¶
func DownloadCover ¶
func FetchLevelData ¶
func TryInstallObject ¶
func TryInstallObject() bool
func WriteExoFiles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.