{"id":7492,"date":"2021-11-21T22:24:58","date_gmt":"2021-11-21T22:24:58","guid":{"rendered":"https:\/\/eeldev.com\/?post_type=docs&#038;p=7492"},"modified":"2021-11-21T22:28:12","modified_gmt":"2021-11-21T22:28:12","slug":"custom-savegame-name","status":"publish","type":"docs","link":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/","title":{"rendered":"Custom Foliage Manager"},"content":{"rendered":"\n<p>As of plugin version 1.6.6 you can specify your own <strong>Foliage Manager<\/strong> class, this allows you to customize manager functionality such as using a custom save game name during runtime<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"519\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-1024x519.png\" alt=\"\" class=\"wp-image-7499\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-1024x519.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-300x152.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-768x390.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-1536x779.png 1536w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1.png 1662w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Override the &#8220;<strong>Get Save Game Name<\/strong>&#8221; function, this will allow us to set a custom SaveGame name<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/implement.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"714\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/implement-1024x714.png\" alt=\"\" class=\"wp-image-7500\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/implement-1024x714.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/implement-300x209.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/implement-768x536.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/implement.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customname-1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"572\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customname-1-1024x572.png\" alt=\"\" class=\"wp-image-7501\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customname-1-1024x572.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customname-1-300x168.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customname-1-768x429.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customname-1-1536x858.png 1536w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customname-1.png 1886w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n","protected":false},"featured_media":0,"parent":6653,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-7492","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom Foliage Manager - eelDev<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Foliage Manager - eelDev\" \/>\n<meta property=\"og:description\" content=\"As of plugin version 1.6.6 you can specify your own Foliage Manager class, this allows you to customize manager functionality such as using a custom save game name during runtime Override the &#8220;Get Save Game Name&#8221; function, this will allow us to set a custom SaveGame name\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/\" \/>\n<meta property=\"og:site_name\" content=\"eelDev\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-21T22:28:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-1024x519.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/\",\"url\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/\",\"name\":\"Custom Foliage Manager - eelDev\",\"isPartOf\":{\"@id\":\"https:\/\/eeldev.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-1024x519.png\",\"datePublished\":\"2021-11-21T22:24:58+00:00\",\"dateModified\":\"2021-11-21T22:28:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#primaryimage\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1.png\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1.png\",\"width\":1662,\"height\":843},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eeldev.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Foliage Plugin\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bonus Examples\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Custom Foliage Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eeldev.com\/#website\",\"url\":\"https:\/\/eeldev.com\/\",\"name\":\"eelDev\",\"description\":\"eelDev.com\",\"publisher\":{\"@id\":\"https:\/\/eeldev.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eeldev.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eeldev.com\/#organization\",\"name\":\"eelDev\",\"url\":\"https:\/\/eeldev.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"width\":2048,\"height\":682,\"caption\":\"eelDev\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Foliage Manager - eelDev","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/","og_locale":"en_US","og_type":"article","og_title":"Custom Foliage Manager - eelDev","og_description":"As of plugin version 1.6.6 you can specify your own Foliage Manager class, this allows you to customize manager functionality such as using a custom save game name during runtime Override the &#8220;Get Save Game Name&#8221; function, this will allow us to set a custom SaveGame name","og_url":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/","og_site_name":"eelDev","article_modified_time":"2021-11-21T22:28:12+00:00","og_image":[{"url":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-1024x519.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/","url":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/","name":"Custom Foliage Manager - eelDev","isPartOf":{"@id":"https:\/\/eeldev.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#primaryimage"},"image":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#primaryimage"},"thumbnailUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1-1024x519.png","datePublished":"2021-11-21T22:24:58+00:00","dateModified":"2021-11-21T22:28:12+00:00","breadcrumb":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#primaryimage","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/11\/customclass-1.png","width":1662,"height":843},{"@type":"BreadcrumbList","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/custom-savegame-name\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eeldev.com\/"},{"@type":"ListItem","position":2,"name":"Foliage Plugin","item":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/"},{"@type":"ListItem","position":3,"name":"Bonus Examples","item":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/"},{"@type":"ListItem","position":4,"name":"Custom Foliage Manager"}]},{"@type":"WebSite","@id":"https:\/\/eeldev.com\/#website","url":"https:\/\/eeldev.com\/","name":"eelDev","description":"eelDev.com","publisher":{"@id":"https:\/\/eeldev.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eeldev.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eeldev.com\/#organization","name":"eelDev","url":"https:\/\/eeldev.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","width":2048,"height":682,"caption":"eelDev"},"image":{"@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/7492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/comments?post=7492"}],"version-history":[{"count":10,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/7492\/revisions"}],"predecessor-version":[{"id":7507,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/7492\/revisions\/7507"}],"up":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6653"}],"next":[{"title":"Collision Setup","link":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/collision-setup\/","href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6636"}],"wp:attachment":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/media?parent=7492"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=7492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}