gamelimit

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServerDayPayDefault int64

ServerDayPayDefault refresh default value

View Source
var ServerDayPayLimit int64 = 15000000

ServerDayPayLimit All player total can win score

Functions

func IsInTotalBetRateWinLimit

func IsInTotalBetRateWinLimit(limit, betMoney, totalWin int64) bool

IsInTotalBetRateWinLimit if int limit return true 0 is no limit

func IsInTotalMoneyWinLimit

func IsInTotalMoneyWinLimit(limit, betMoney, totalWin int64) bool

IsInTotalMoneyWinLimit if int limit return true 0 is no limit

func IsServerDayPayInLimit

func IsServerDayPayInLimit(allPlayerWinScore int64) bool

IsServerDayPayInLimit if over limit shutdown server

Types

This section is empty.

Jump to

Keyboard shortcuts

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