Documentation
¶
Index ¶
- func AddBaseCoin(id int64, add float64) (left float64, ok bool)
- func AddFavor(id int64, add float64) (left float64, ok bool)
- func BaseCoinOf(id int64) float64
- func FavorOf(id int64) float64
- func LevelAt(favor float64) (level int, up float64)
- func RealCoin(base float64) float64
- func SumFavorAt(level int) float64
- func Unit() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBaseCoin ¶
AddBaseCoin 将指定用户的!基础货币!加add,为负数时则减
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.