battleroyal

package
v1.5.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

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 (b *BattleRoyalScenario) MatchFunction(p *pb.MatchProfile, poolBackfills map[string][]*pb.Backfill, poolTickets map[string][]*pb.Ticket) ([]*pb.Match, error)

func (*BattleRoyalScenario) Profiles

func (b *BattleRoyalScenario) Profiles() []*pb.MatchProfile

func (*BattleRoyalScenario) Ticket

func (b *BattleRoyalScenario) Ticket() *pb.Ticket

Jump to

Keyboard shortcuts

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