Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← Older edit
Newer edit →
Modding:Modder Guide/APIs/Content Packs
(view source)
Revision as of 04:37, 6 July 2021
5 bytes added
,
04:37, 6 July 2021
→Create a fake content pack
:
update example
Line 78:
Line 78:
// create with given manifest fields
// create with given manifest fields
−
IContentPack contentPack = this.Helper.ContentPacks.
CreateFake
(
+
IContentPack contentPack = this.Helper.ContentPacks.
CreateTemporary
(
directoryPath: Path.Combine(this.Helper.DirectoryPath, "content-pack"),
directoryPath: Path.Combine(this.Helper.DirectoryPath, "content-pack"),
id: Guid.NewGuid().ToString("N"),
id: Guid.NewGuid().ToString("N"),
Pathoschild
translators
8,446
edits