cashout.go 309 B

12345678910111213141516
  1. package player
  2. import (
  3. "github.com/mhaya/game/game_cluster/internal/code"
  4. "github.com/mhaya/game/game_cluster/internal/param"
  5. )
  6. func (p *actorPlayer) cashout(req *param.CashOutReq) int32 {
  7. if !p.isOnline {
  8. return code.PlayerNotLogin
  9. }
  10. // ret, ok := data.DiscreteRuleConfig.Get()
  11. return code.OK
  12. }