blob: a1aacbce1f1662100dbbdc4535721cf8eb5162dc (
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
27
28
29
30
31
32
|
#nullable disable
namespace StardewModdingAPI.Events
{
/// <summary>Manages access to events raised by SMAPI.</summary>
public interface IModEvents
{
/// <summary>Events related to assets loaded from the content pipeline (including data, maps, and textures).</summary>
IContentEvents Content { get; }
/// <summary>Events related to UI and drawing to the screen.</summary>
IDisplayEvents Display { get; }
/// <summary>Events linked to the game's update loop. The update loop runs roughly ≈60 times/second to run game logic like state changes, action handling, etc. These can be useful, but you should consider more semantic events like <see cref="Input"/> if possible.</summary>
IGameLoopEvents GameLoop { get; }
/// <summary>Events raised when the player provides input using a controller, keyboard, or mouse.</summary>
IInputEvents Input { get; }
/// <summary>Events raised for multiplayer messages and connections.</summary>
IMultiplayerEvents Multiplayer { get; }
/// <summary>Events raised when the player data changes.</summary>
IPlayerEvents Player { get; }
/// <summary>Events raised when something changes in the world.</summary>
IWorldEvents World { get; }
/// <summary>Events serving specialized edge cases that shouldn't be used by most mods.</summary>
ISpecializedEvents Specialized { get; }
}
}
|