Documentation
¶
Overview ¶
Package core holds value types shared between the public flexi package and the internal sub-packages, defined here to break an import cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeKind ¶
type AttributeKind int
const ( AttrUnknown AttributeKind = iota AttrString AttrNumber AttrStringList AttrStringNumberMap )
type Attributes ¶
type Match ¶
type Match struct {
Teams map[string][]Player
TicketIDs []string
RuleEvaluationMetrics []RuleMetric
}
type RuleMetric ¶ added in v0.0.2
RuleMetric aggregates how often a single rule passed or failed during matchmaking. It mirrors one entry of FlexMatch's ruleEvaluationMetrics array. RuleName matches the name declared in the rule set's rules block.
type TicketStatus ¶
type TicketStatus string
TicketStatus mirrors the FlexMatch ticket lifecycle as documented for MatchmakingTicket.Status. See types.go in the public package for user-facing docs.
const ( StatusQueued TicketStatus = "QUEUED" StatusSearching TicketStatus = "SEARCHING" StatusRequiresAcceptance TicketStatus = "REQUIRES_ACCEPTANCE" StatusPlacing TicketStatus = "PLACING" StatusCompleted TicketStatus = "COMPLETED" StatusFailed TicketStatus = "FAILED" StatusCancelled TicketStatus = "CANCELLED" StatusTimedOut TicketStatus = "TIMED_OUT" )
Click to show internal directories.
Click to hide internal directories.