Documentation ¶
Index ¶
- Constants
- Variables
- func BuffGroupName(info meter.Buff) string
- func IsEqualized(difficulty string) bool
- func PartySynergyFilter(info meter.Buff) (string, bool)
- func SelfBuffFilter(info meter.Buff) (string, bool)
- func Skill(enc *meter.Encounter, player meter.Entity, skill meter.Skill) structs.SkillDamage
- func ValidPlayerName(name string) bool
- type BuffData
- type BuffFilter
- type BuffGroup
- type BuffGroups
- type Buffs
- type Encounter
- type EncounterSaveOptions
- type PassiveOption
- type Player
- type Processor
- func (p *Processor) Initialize() error
- func (p *Processor) Lint(enc *meter.Encounter) (error, int)
- func (p *Processor) PopulateDifficulty(raw *meter.Encounter)
- func (p *Processor) Preprocess(raw *meter.Encounter)
- func (p *Processor) Process(raw *meter.Encounter) (*Encounter, error)
- func (p *Processor) Save(ctx context.Context, user pgtype.UUID, str []byte, raw *meter.Encounter, ...) (int32, error)
- func (p *Processor) ValidPlayer(ent meter.Entity) bool
- type SkillData
Constants ¶
View Source
const (
LogVersion = 3
)
Variables ¶
View Source
var GuardianLookup = make(map[string]struct{})
View Source
var Guardians = []string{
"Veskal", "Gargadeth", "Sonavel", "Hanumatan", "Caliligos", "Deskaluda", "Kungelanium", "Achates",
}
View Source
var RaidLookup = make(map[string][2]string)
View Source
var Raids = map[string][][]string{
"Valtan": {
{"Dark Mountain Predator", "Destroyer Lucas", "Leader Lugaru"},
{"Demon Beast Commander Valtan", "Ravaged Tyrant of Beasts"},
},
"Vykas": {
{"Incubus Morphe", "Nightmarish Morphe"},
{"Covetous Devourer Vykas"},
{"Covetous Legion Commander Vykas"},
},
"Kakul Saydon": {
{"Saydon"},
{"Kakul"},
{"Kakul-Saydon", "Encore-Desiring Kakul-Saydon"},
},
"Brelshaza": {
{"Gehenna Helkasirs"},
{"Prokel", "Prokel's Spiritual Echo", "Ashtarot"},
{"Primordial Nightmare"},
{"Phantom Legion Commander Brelshaza"},
{"Brelshaza, Monarch of Nightmares", "Imagined Primordial Nightmare", "Pseudospace Primordial Nightmare"},
{"Phantom Legion Commander Brelshaza"},
},
"Kayangel": {
{"Tienis"},
{"Prunya"},
{"Lauriel"},
},
"Akkan": {
{"Griefbringer Maurug", "Evolved Maurug"},
{"Lord of Degradation Akkan"},
{"Plague Legion Commander Akkan", "Lord of Kartheon Akkan"},
},
"Ivory": {
{"Kaltaya, the Blooming Chaos"},
{"Rakathus, the Lurking Arrogance"},
{"Firehorn, Trampler of Earth"},
{"Lazaram, the Trailblazer", "Subordinated Vertus", "Subordinated Calventus", "Subordinated Legoros", "Brand of Subordination"},
},
"Thaemine": {
{"Killineza the Dark Worshipper"},
{"Valinak, Knight of Darkness", "Valinak, Taboo Usurper", "Valinak, Herald of the End"},
{"Thaemine the Lightqueller", "Darkness Sword", "Giant Darkness Sword"},
{"Darkness Legion Commander Thaemine", "Thaemine, Conqueror of Stars"},
},
}
View Source
var SynergyOrder = map[string]int{
"204_101204": 0,
"204_210230": 1,
"204_Serenade of Courage": 2,
"204_Heavenly Tune": 3,
"105_101105": 4,
"105_210230": 5,
"105_368000": 6,
"602_314004": 6,
"602_210230": 7,
"602_310501": 8,
}
Functions ¶
func BuffGroupName ¶
func IsEqualized ¶
func ValidPlayerName ¶
Types ¶
type BuffData ¶
type BuffData struct { ID int32 `json:"id"` Name string `json:"name"` Desc string `json:"desc"` Icon string `json:"icon"` IconShowType string `json:"iconshowtype"` Duration int32 `json:"duration"` BuffType string `json:"type"` BuffCategory string `json:"buffcategory"` Target string `json:"target"` UniqueGroup int32 `json:"uniquegroup"` OverlapFlag int32 `json:"overlapflag"` PassiveOption []PassiveOption `json:"passiveoption"` SourceSkill *int32 `json:"sourceskill"` SetName *string `json:"setname"` }
type BuffFilter ¶
func PlayerSelfBuffFilter ¶
func PlayerSelfBuffFilter(player meter.Entity) BuffFilter
type BuffGroups ¶
func (BuffGroups) Collect ¶
func (bgs BuffGroups) Collect(group, buff string)
func (BuffGroups) Serialize ¶
func (bgs BuffGroups) Serialize(order func(a, b structs.BuffGroupInfo) int) []structs.BuffGroupInfo
type Buffs ¶
func (Buffs) CollectAll ¶
func (b Buffs) CollectAll(catalog meter.BuffInfo, damages meter.BuffDamage, filter BuffFilter)
type Encounter ¶
type Encounter struct { Raw *meter.Encounter Header structs.EncounterHeader Data structs.EncounterData }
func (*Encounter) CatalogBuff ¶
func (enc *Encounter) CatalogBuff(data structs.EncounterData, buff string)
func (*Encounter) ProcessPlayer ¶
func (*Encounter) UniqueHash ¶
type EncounterSaveOptions ¶
type EncounterSaveOptions struct {
Auto bool
}
type PassiveOption ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func (*Processor) Initialize ¶
func (*Processor) PopulateDifficulty ¶
func (*Processor) Preprocess ¶
Click to show internal directories.
Click to hide internal directories.