Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryRecord ¶
type HistoryRecord struct {
Player PlayerRef
Other PlayerStub
Kills uint16
// Relation of the other player to the player.
// Read as [other] is top [relation type] of [player].
RelationType RelationType
}
type HistoryRecordRepository ¶
type HistoryRecordRepository interface {
FindTopRelatedByPlayerID(ctx context.Context, playerID uint32) ([]HistoryRecord, error)
}
type PlayerStub ¶
type RelationType ¶
type RelationType int
const ( RelationTypeVictim RelationType = iota RelationTypeAttacker )
Click to show internal directories.
Click to hide internal directories.