Skip to content

Commit e66e207

Browse files
committed
Analytics: Add new state changes without handling
1 parent 103e0ed commit e66e207

File tree

4 files changed

+41
-1
lines changed

4 files changed

+41
-1
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
namespace GW2Scratch.EVTCAnalytics.Model.Skills
2+
{
3+
public enum BuffFormulaAttribute
4+
{
5+
None,
6+
Power,
7+
Precision,
8+
Toughness,
9+
Vitality,
10+
Ferocity,
11+
Healing,
12+
ConditionDamage,
13+
Concentration,
14+
Expertise,
15+
CustomArmor,
16+
CustomAgony,
17+
CustomStatIncrease,
18+
CustomFlatIncrease,
19+
CustomPhysicalIncrease,
20+
CustomConditionIncrease,
21+
CustomPhysicalReceived,
22+
CustomConditionReceived,
23+
CustomAttackSpeed,
24+
}
25+
}

EVTCAnalytics/Parsed/Enums/StateChange.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ public enum StateChange : byte
3232
StackActive = 27,
3333
StackReset = 28,
3434
Guild = 29,
35+
BuffInfo = 30,
36+
BuffFormula = 31,
37+
SkillInfo = 32,
38+
SkillTiming = 33,
3539
Unknown
3640
};
3741
}

EVTCAnalytics/Processing/LogProcessor.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,14 @@ Skill GetSkillById(uint id)
671671
case StateChange.StackReset:
672672
return new ResetBuffStackEvent(item.Time, GetAgentByAddress(item.SrcAgent), item.Padding,
673673
item.Value);
674+
case StateChange.BuffInfo:
675+
// TODO: Figure out what the contents are
676+
case StateChange.BuffFormula:
677+
// TODO: Figure out what the contents are
678+
case StateChange.SkillInfo:
679+
// TODO: Figure out what the contents are
680+
case StateChange.SkillTiming:
681+
// TODO: Figure out what the contents are
674682
case StateChange.Unknown:
675683
return new UnknownEvent(item.Time, item);
676684
default:

EVTCInspector/BrowserForm.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,10 @@ public void SelectLog(string logFilename)
209209
var statusStringBuilder = new StringBuilder();
210210

211211
var parser = new EVTCParser();
212-
var processor = new LogProcessor();
212+
var processor = new LogProcessor()
213+
{
214+
IgnoreUnknownEvents = false
215+
};
213216
var generator = new HtmlGenerator(ApiData);
214217

215218
// Parsing

0 commit comments

Comments
 (0)