- package player
- import (
- "github.com/mhaya/game/game_cluster/internal/code"
- "github.com/mhaya/game/game_cluster/internal/param"
- )
- func (p *actorPlayer) cashout(req *param.CashOutReq) int32 {
- if !p.isOnline {
- return code.PlayerNotLogin
- }
- // ret, ok := data.DiscreteRuleConfig.Get()
- return code.OK
- }
|