Search results
Page title matches
- SMAPI provides several C# events which let your mod respond when something happens (like when the player pla ===What are events?===48 KB (7,339 words) - 18:05, 6 April 2024
- [[Category:Modding]][[zh:模组:制作指南/APIs/Events/event]]</noinclude>2 KB (268 words) - 19:01, 16 November 2021
Page text matches
- * [[Modding:Modder Guide/Get Started|Get started]] * [[Modding:Modder Guide/Game Fundamentals|Game fundamentals]]2 KB (226 words) - 20:45, 27 August 2022
- '''Events''' may refer to different things: * For the events that can randomly happen overnight, see [[Random Events]].317 bytes (43 words) - 17:38, 27 March 2024
- ...s is a technical reference page which assumes you've already followed that guide.''' # a [[Modding:Modder Guide/APIs/Manifest|<samp>manifest.json</samp> file]] which describes the mod.4 KB (608 words) - 02:35, 28 November 2022
- {{#arraydefine:oldNames|{{{old events|}}}}}{{#arraydefine:newNames|{{{new events|}}}}}<!-- ...|none = ''none'' |TODO = TODO |#default=<samp>[[Modding:Modder Guide/APIs/Events#@@@|@@@]]</samp>}}}}853 bytes (89 words) - 19:48, 21 November 2021
- ==APIs== <li>The [[Modding:Modder Guide/APIs/Events#Input.ButtonReleased|<samp>ButtonReleased</samp> event]] will be raised on10 KB (1,364 words) - 18:19, 10 July 2023
- {{Modder compatibility header}} ...as every other API, and there are some glaring omissions in the available events.15 KB (1,958 words) - 05:53, 26 March 2022
- {{Modder compatibility header}} The [[Modding:Modder Guide/APIs/Content|content interception API]] (''i.e.'' <samp>IAssetLoader</samp> and14 KB (1,997 words) - 09:53, 23 August 2023
- ...t are returned too. Although you can send/receive messages through SMAPI's APIs, the game itself may not know about them yet. If you only want players who ...r.Events.Multiplayer.ModMessageReceived</samp> [[Modding:Modder Guide/APIs/Events|event]]. The event arguments specify who sent the message, and let you read10 KB (1,396 words) - 00:40, 8 November 2021
- ...0.1); padding: 1em;"| <span style="font-size: larger;">'''[[Modding:Player Guide/Getting Started|Using mods]]'''</span><br />How to install SMAPI, use mods, ...s of modding is possible, see [[Modding:Modder Guide/Get Started/Pictorial Guide]].6 KB (865 words) - 18:14, 6 April 2024
- ==Mod-provided APIs== ...ed to integrate mods, provide custom information, or provide new framework APIs beyond those offered by SMAPI itself.6 KB (933 words) - 19:53, 26 November 2022
- You don't need to worry about that when using SMAPI APIs, which take relative paths and automatically fix the format if needed: ...loaded a save and the world has finished initialising. Useful for ignoring events before the save is loaded.9 KB (1,335 words) - 00:38, 15 April 2024
- ...s is the format used by <samp>Game1.timeOfDay</samp> in a [[Modding:Modder Guide/Get Started|C# mod]] or <samp><nowiki>{{Time}}</nowiki></samp> in a [[Moddi ...veMenu|<samp>RenderingActiveMenu</samp>]]<br />[[Modding:Modder Guide/APIs/Events#Display.RenderedActiveMenu|<samp>RenderedActiveMenu</samp>]]15 KB (2,240 words) - 18:06, 6 April 2024
- ...data needs to be prepared prior to saving, the [[Modding:Modder Guide/APIs/Events#GameLoop.Saving|<samp>GameLoop.Saving</samp> event]] is a good time to do i7 KB (1,042 words) - 00:47, 31 January 2023
- Do you want to create '''SMAPI mods for Stardew Valley with C#?''' This guide is for you! ...onfiguration, translation, reflection, etc. These are covered later in the guide.20 KB (3,007 words) - 12:19, 1 April 2024
- ...ted</samp> event]] (see [[Modding:Modder Guide/APIs/Events#FAQs|how to use events]]). SMAPI will raise the event every time an asset is loaded (which may hap helper.Events.Content.AssetRequested += this.OnAssetRequested;27 KB (3,834 words) - 04:51, 12 May 2024
- SMAPI provides several C# events which let your mod respond when something happens (like when the player pla ===What are events?===48 KB (7,339 words) - 18:05, 6 April 2024
- {{Modder compatibility header}} ...y synchronises most world changes to other players (see ''[[Modding:Modder Guide/Game Fundamentals#Net fields|net fields]]''), so many mods will work in mul15 KB (2,214 words) - 01:06, 8 November 2021
- ...See [[Modding:Modder Guide/Get Started|Modding:Modder Guide]] for the main guide. ...the code that page instructed be copy and pasted, with regards to helper. Events in the Entry(IModhelper helper) method and ButtonPressedEventArgs from the16 KB (2,467 words) - 16:38, 28 April 2024
- {{modding player guide header}} ...ains how to configure them. (This works for any mod using SMAPI's standard APIs.)11 KB (1,674 words) - 02:26, 16 April 2024
- ...pens. (C# mods should usually use [[Modding:Modder Guide/APIs/Events|SMAPI events]] instead.) ...Patcher packs]]. C# mod can use [[Modding:Modder Guide/APIs/Events|SMAPI's events]] instead, which are much more flexible and efficient (unless you want to l18 KB (2,544 words) - 23:54, 14 May 2024