Line 188: |
Line 188: |
| </source> | | </source> |
| (e.g. "junimoMeep1") | | (e.g. "junimoMeep1") |
| + | |
| + | ===Send a letter=== |
| + | |
| + | Use IAssetEditor to inject new mail into Data\Mail.xnb. Then use Game1.addMailForTomorrow to send it to the player. |
| + | |
| + | <source lang="c#"> |
| + | public static void addMailForTomorrow(string mailName, bool noLetter = false, bool sendToEveryone = false); |
| + | </source> |
| + | |
| + | Where mailName is the letter key in Mail.xnb. |
| | | |
| ==Open Source== | | ==Open Source== |