summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsLevelUp.cs
blob: 762422c2cb210540ae6805044230585c5d40256f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

namespace StardewModdingAPI.Events
{
    public class EventArgsLevelUp : EventArgs
    {
        public enum LevelType
        {
            Combat,
            Farming,
            Fishing,
            Foraging,
            Mining,
            Luck
        }

        public EventArgsLevelUp(LevelType type, int newLevel)
        {
            Type = type;
            NewLevel = newLevel;
        }

        public LevelType Type { get; private set; }
        public int NewLevel { get; private set; }
    }
}