bestdoriChart

package
v0.0.0-...-e9647d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BestdoriV2BasicNote

type BestdoriV2BasicNote struct {
	Beat_  *float64 `json:"beat,omitempty"`
	Lane_  *float64 `json:"lane,omitempty"`
	Flick  bool     `json:"flick,omitempty"`
	Hidden bool     `json:"hidden,omitempty"`
}

type BestdoriV2Chart

type BestdoriV2Chart []BestdoriV2Note

func Encode

func Encode(chart ayachanChart.AyachanChart) (formatChart *BestdoriV2Chart, err error)

func (BestdoriV2Chart) ChartCheck

func (formatChart BestdoriV2Chart) ChartCheck() (result bool, err error)

func (BestdoriV2Chart) DecodeToAyachan

func (formatChart BestdoriV2Chart) DecodeToAyachan() (Chart ayachanChart.AyachanChart)

func (BestdoriV2Chart) Len

func (formatChart BestdoriV2Chart) Len() int

func (BestdoriV2Chart) Less

func (formatChart BestdoriV2Chart) Less(i, j int) bool

func (BestdoriV2Chart) Swap

func (formatChart BestdoriV2Chart) Swap(i, j int)

type BestdoriV2Note

type BestdoriV2Note struct {
	BestdoriV2BasicNote
	Type        string                `json:"type"`
	BPM         float64               `json:"bpm,omitempty"`
	Connections []BestdoriV2BasicNote `json:"connections,omitempty"`
	Direction   string                `json:"direction,omitempty"`
	Width       int                   `json:"width,omitempty"`
}

func (BestdoriV2Note) Beat

func (note BestdoriV2Note) Beat() (value float64)

func (BestdoriV2Note) Lane

func (note BestdoriV2Note) Lane() (value float64)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL