diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-07-15 20:59:31 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-07-15 20:59:31 -0400 |
commit | 5050bd75e7b86749d994ae268cdc3dabb7f7fcf8 (patch) | |
tree | e5044f4d8271e8dad66565e54fb3b00638f6944b /src/SMAPI/Framework/Events | |
parent | 76f12a9aa9ba504d62c4511d67b756dff40b0efd (diff) | |
download | SMAPI-5050bd75e7b86749d994ae268cdc3dabb7f7fcf8.tar.gz SMAPI-5050bd75e7b86749d994ae268cdc3dabb7f7fcf8.tar.bz2 SMAPI-5050bd75e7b86749d994ae268cdc3dabb7f7fcf8.zip |
fix misnamed types
Diffstat (limited to 'src/SMAPI/Framework/Events')
-rw-r--r-- | src/SMAPI/Framework/Events/EventManager.cs | 12 | ||||
-rw-r--r-- | src/SMAPI/Framework/Events/ModInputEvents.cs | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/SMAPI/Framework/Events/EventManager.cs b/src/SMAPI/Framework/Events/EventManager.cs index 4de333a3..168ddde0 100644 --- a/src/SMAPI/Framework/Events/EventManager.cs +++ b/src/SMAPI/Framework/Events/EventManager.cs @@ -27,13 +27,13 @@ namespace StardewModdingAPI.Framework.Events ** Input ****/ /// <summary>Raised after the player presses a button on the keyboard, controller, or mouse.</summary> - public readonly ManagedEvent<InputButtonPressedArgsInput> Input_ButtonPressed; + public readonly ManagedEvent<InputButtonPressedEventArgs> Input_ButtonPressed; /// <summary>Raised after the player released a button on the keyboard, controller, or mouse.</summary> - public readonly ManagedEvent<InputButtonReleasedArgsInput> Input_ButtonReleased; + public readonly ManagedEvent<InputButtonReleasedEventArgs> Input_ButtonReleased; /// <summary>Raised after the player moves the in-game cursor.</summary> - public readonly ManagedEvent<InputCursorMovedArgsInput> Input_CursorMoved; + public readonly ManagedEvent<InputCursorMovedEventArgs> Input_CursorMoved; /// <summary>Raised after the player scrolls the mouse wheel.</summary> public readonly ManagedEvent<InputMouseWheelScrolledEventArgs> Input_MouseWheelScrolled; @@ -268,9 +268,9 @@ namespace StardewModdingAPI.Framework.Events this.GameLoop_Updating = ManageEventOf<GameLoopUpdatingEventArgs>(nameof(IModEvents.GameLoop), nameof(IGameLoopEvents.Updating)); this.GameLoop_Updated = ManageEventOf<GameLoopUpdatedEventArgs>(nameof(IModEvents.GameLoop), nameof(IGameLoopEvents.Updated)); - this.Input_ButtonPressed = ManageEventOf<InputButtonPressedArgsInput>(nameof(IModEvents.Input), nameof(IInputEvents.ButtonPressed)); - this.Input_ButtonReleased = ManageEventOf<InputButtonReleasedArgsInput>(nameof(IModEvents.Input), nameof(IInputEvents.ButtonReleased)); - this.Input_CursorMoved = ManageEventOf<InputCursorMovedArgsInput>(nameof(IModEvents.Input), nameof(IInputEvents.CursorMoved)); + this.Input_ButtonPressed = ManageEventOf<InputButtonPressedEventArgs>(nameof(IModEvents.Input), nameof(IInputEvents.ButtonPressed)); + this.Input_ButtonReleased = ManageEventOf<InputButtonReleasedEventArgs>(nameof(IModEvents.Input), nameof(IInputEvents.ButtonReleased)); + this.Input_CursorMoved = ManageEventOf<InputCursorMovedEventArgs>(nameof(IModEvents.Input), nameof(IInputEvents.CursorMoved)); this.Input_MouseWheelScrolled = ManageEventOf<InputMouseWheelScrolledEventArgs>(nameof(IModEvents.Input), nameof(IInputEvents.MouseWheelScrolled)); this.World_BuildingListChanged = ManageEventOf<WorldBuildingListChangedEventArgs>(nameof(IModEvents.World), nameof(IWorldEvents.LocationListChanged)); diff --git a/src/SMAPI/Framework/Events/ModInputEvents.cs b/src/SMAPI/Framework/Events/ModInputEvents.cs index 387ea87a..feca34f3 100644 --- a/src/SMAPI/Framework/Events/ModInputEvents.cs +++ b/src/SMAPI/Framework/Events/ModInputEvents.cs @@ -10,21 +10,21 @@ namespace StardewModdingAPI.Framework.Events ** Accessors *********/ /// <summary>Raised after the player presses a button on the keyboard, controller, or mouse.</summary> - public event EventHandler<InputButtonPressedArgsInput> ButtonPressed + public event EventHandler<InputButtonPressedEventArgs> ButtonPressed { add => this.EventManager.Input_ButtonPressed.Add(value); remove => this.EventManager.Input_ButtonPressed.Remove(value); } /// <summary>Raised after the player releases a button on the keyboard, controller, or mouse.</summary> - public event EventHandler<InputButtonReleasedArgsInput> ButtonReleased + public event EventHandler<InputButtonReleasedEventArgs> ButtonReleased { add => this.EventManager.Input_ButtonReleased.Add(value); remove => this.EventManager.Input_ButtonReleased.Remove(value); } /// <summary>Raised after the player moves the in-game cursor.</summary> - public event EventHandler<InputCursorMovedArgsInput> CursorMoved + public event EventHandler<InputCursorMovedEventArgs> CursorMoved { add => this.EventManager.Input_CursorMoved.Add(value); remove => this.EventManager.Input_CursorMoved.Remove(value); |