Documentation
¶
Index ¶
- type BestdoriV2BasicNote
- type BestdoriV2Chart
- func (formatChart BestdoriV2Chart) ChartCheck() (result bool, err error)
- func (formatChart BestdoriV2Chart) DecodeToAyachan() (Chart ayachanChart.AyachanChart)
- func (formatChart BestdoriV2Chart) Len() int
- func (formatChart BestdoriV2Chart) Less(i, j int) bool
- func (formatChart BestdoriV2Chart) Swap(i, j int)
- type BestdoriV2Note
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BestdoriV2BasicNote ¶
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)
Click to show internal directories.
Click to hide internal directories.