score

package
v0.0.0-...-50c553c Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateAccuracy

func CalculateAccuracy(hits []int64) float64

func CalculateDiffbyNum

func CalculateDiffbyNum(filename string, objnum int, mods uint32) oppai.PP

部分载入map,并计算难度信息

func CalculateRealtimeValue

func CalculateRealtimeValue(firstvalue float64, secondvalue float64, firsttime int64, secondtime int64, nowtime float64) (realvalue float64)

计算每帧实时数值(PP、UR)

func IsSilver

func IsSilver(mods uint32) bool

func LoadMapbyNum

func LoadMapbyNum(filename string, objnum int) *oppai.Map

部分载入map

Types

type Rank

type Rank int
const (
	SSH Rank = -2
	SH  Rank = -1
	SS  Rank = 0
	S   Rank = 1
	A   Rank = 2
	B   Rank = 3
	C   Rank = 4
	D   Rank = 5
)

func CalculateRank

func CalculateRank(hits []int64, mods uint32) Rank

Jump to

Keyboard shortcuts

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