diff options
author | ClxS <slxxls92@gmail.com> | 2016-03-04 20:40:46 +0000 |
---|---|---|
committer | ClxS <slxxls92@gmail.com> | 2016-03-04 20:40:46 +0000 |
commit | b8a9f8fc88706896c3191b80d17375a483183226 (patch) | |
tree | 3ebc1fb20daa09105c9e22d2c32685f74271af06 /StardewModdingAPI/Events/EventArgs.cs | |
parent | 4712da9f2d382e4593966530145140f33c7673bf (diff) | |
download | SMAPI-b8a9f8fc88706896c3191b80d17375a483183226.tar.gz SMAPI-b8a9f8fc88706896c3191b80d17375a483183226.tar.bz2 SMAPI-b8a9f8fc88706896c3191b80d17375a483183226.zip |
Added event handlers for each of the level up events
Diffstat (limited to 'StardewModdingAPI/Events/EventArgs.cs')
-rw-r--r-- | StardewModdingAPI/Events/EventArgs.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/StardewModdingAPI/Events/EventArgs.cs b/StardewModdingAPI/Events/EventArgs.cs index 7f2e28c7..66d057a7 100644 --- a/StardewModdingAPI/Events/EventArgs.cs +++ b/StardewModdingAPI/Events/EventArgs.cs @@ -108,6 +108,26 @@ namespace StardewModdingAPI.Events public List<ItemStackChange> QuantityChanged { get; private set; }
}
+ public class EventArgsLevelUp : EventArgs
+ {
+ public enum LevelType
+ {
+ Combat,
+ Farming,
+ Fishing,
+ Foraging,
+ Mining,
+ Luck
+ }
+ public EventArgsLevelUp(LevelType type, Int32 newLevel)
+ {
+ Type = type;
+ NewLevel = newLevel;
+ }
+ public LevelType Type { get; private set; }
+ public Int32 NewLevel { get; private set; }
+ }
+
public class EventArgsIntChanged : EventArgs
{
public EventArgsIntChanged(Int32 priorInt, Int32 newInt)
|