This commit is contained in:
Zoryn Aaron 2016-02-28 20:28:46 -05:00
parent cbf741d5ac
commit 2a716aa23c
1 changed files with 3 additions and 0 deletions

View File

@ -2,8 +2,11 @@
A Modding API For Stardew Valley A Modding API For Stardew Valley
You can create a mod by making a direct reference to the ModdingApi.exe You can create a mod by making a direct reference to the ModdingApi.exe
From there, you need to inherit from StardewModdingAPI.Mod From there, you need to inherit from StardewModdingAPI.Mod
The first class that inherits from that class will be loaded into the game at runtime, and once the game fully initializes the mod, the method Entry() will be called once. The first class that inherits from that class will be loaded into the game at runtime, and once the game fully initializes the mod, the method Entry() will be called once.
It is recommended to subscribe to an event (from Events.cs) to be able to interface with the game rather than directly make changes from the Entry() method It is recommended to subscribe to an event (from Events.cs) to be able to interface with the game rather than directly make changes from the Entry() method
TestMod.cs: TestMod.cs: