Farmhouse_Basement_Revised/ModEntry.cs
/// <summary>The method invoked when the player presses a controller, keyboard, or mouse button.</summary>
/// <param name="sender">The event sender.</param>
/// <param name="e">The event data.</param>
The method invoked when the player presses a controller, keyboard, or mouse button.
The method invoked when the player presses a controller keyboard or mouse button .
private void InputEvents_ButtonPressed(object sender, EventArgsInput e)
        {
            if (Context.IsWorldReady) 
            {
                this.Monitor.Log($"{Game1.player.Name} pressed {e.Button}.", LogLevel.Debug);
            }
        }
private void InputEvents_ButtonPressed ( object sender , EventArgsInput e ) { if ( Context . IsWorldReady ) { this . Monitor . Log ( $" { Game1 . player . Name }  pressed  { e . Button } . " , LogLevel . Debug ) ; } }
The method invoked when the player presses a controller, keyboard, or mouse button.
The method invoked when the player presses a controller keyboard or mouse button .
// save is loaded
sender
object
The event sender.
The event sender .
e
EventArgsInput
The event data.
The event data .