package smallrocket

import "time"

// 场景状态
const (
	SmallRocketSceneStateWait     int = iota //等待状态
	SmallRocketSceneStateStart               //开始倒计时
	SmallRocketSceneStatePlayGame            //发射游戏中
	SmallRocketSceneStateBilled              //结算
	SmallRocketSceneStateMax
)

const (
	SmallRocketSceneWaitTimeout   = time.Second * 2 //等待倒计时
	SmallRocketSceneStartTimeout  = time.Second * 6 //开始倒计时
	SmallRocketSceneBilledTimeout = time.Second * 2 //结算
)

const (
	SmallRocketBombRandomMulMaxE  = 100000000 // 随机最大值
	SmallRocketPlayerTakeMulMax   = 100       // 玩家下注倍数  为了满足浮点数放大100倍
	SmallRocketPlayerTransDataMul = 10000
	SmallRocketBombRoomMulMaxE    = 1000 // 每局房间里随机的最大倍数
)

// 玩家操作
const (
	SmallRocketPlayerOpBet                  = 0 // 下注
	SmallRocketPlayerOpCancelBet            = 1 // 取消下注
	SmallRocketPlayerOpTakeReward           = 2 // 下车收取奖励
	SmallRocketPlayerOpSetAutoBet           = 3 // 设置自动下注
	SmallRocketPlayerOpSetAutoTakeGain      = 4 // 设置自动领取
	SmallRocketPlayerOpSResumeGetPlayerInfo = 5 // 中断后回到游戏请求玩家信息
	SmallRocketPlayerOpStopAutoBet          = 6 // 自动下注停止提示信息
	SmallRocketPlayerOpAutoSubCoin          = 7 // 自动下注收取提前扣除金币
)
