Documentation ¶
Index ¶
- type BattleRoyalScenario
- func (b *BattleRoyalScenario) Backfill() *pb.Backfill
- func (b *BattleRoyalScenario) Evaluate(stream pb.Evaluator_EvaluateServer) error
- func (b *BattleRoyalScenario) MatchFunction(p *pb.MatchProfile, poolBackfills map[string][]*pb.Backfill, ...) ([]*pb.Match, error)
- func (b *BattleRoyalScenario) Profiles() []*pb.MatchProfile
- func (b *BattleRoyalScenario) Ticket() *pb.Ticket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BattleRoyalScenario ¶
type BattleRoyalScenario struct {
// contains filtered or unexported fields
}
func Scenario ¶
func Scenario() *BattleRoyalScenario
func (*BattleRoyalScenario) Backfill ¶ added in v1.2.0
func (b *BattleRoyalScenario) Backfill() *pb.Backfill
func (*BattleRoyalScenario) Evaluate ¶
func (b *BattleRoyalScenario) Evaluate(stream pb.Evaluator_EvaluateServer) error
fifoEvaluate accepts all matches which don't contain the same ticket as in a previously accepted match. Essentially first to claim the ticket wins.
func (*BattleRoyalScenario) MatchFunction ¶
func (*BattleRoyalScenario) Profiles ¶
func (b *BattleRoyalScenario) Profiles() []*pb.MatchProfile
func (*BattleRoyalScenario) Ticket ¶
func (b *BattleRoyalScenario) Ticket() *pb.Ticket
Click to show internal directories.
Click to hide internal directories.