Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Modding:Common tasks
(view source)
Revision as of 03:42, 28 November 2022
63 bytes removed
,
03:42, 28 November 2022
→Send a letter (using dynamic content)
Line 415:
Line 415:
Game1.mailbox.Add("MyModMailWool"); // Add to mailbox and we don't need to track it
Game1.mailbox.Add("MyModMailWool"); // Add to mailbox and we don't need to track it
−
modHelper
.
Content
.InvalidateCache("Data\\mail");
// (modHelper was assigned in ModEntry for use throughout the class)
+
this
.
Helper.GameContent
.InvalidateCache("Data\\mail");
}
}
</syntaxhighlight>
</syntaxhighlight>
Atravita
528
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Modding
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version