2024-06-11 11:43:37 +01:00
<!DOCTYPE html> < html class = "default" lang = "en" > < head > < meta charSet = "utf-8" / > < meta http-equiv = "x-ua-compatible" content = "IE=edge" / > < title > GameData | pokemon-rogue-battle< / title > < meta name = "description" content = "Documentation for pokemon-rogue-battle" / > < meta name = "viewport" content = "width=device-width, initial-scale=1" / > < link rel = "stylesheet" href = "../assets/style.css" / > < link rel = "stylesheet" href = "../assets/highlight.css" / > < script defer src = "../assets/main.js" > < / script > < script async src = "../assets/icons.js" id = "tsd-icons-script" > < / script > < script async src = "../assets/search.js" id = "tsd-search-script" > < / script > < script async src = "../assets/navigation.js" id = "tsd-nav-script" > < / script > < / head > < body > < script > document . documentElement . dataset . theme = localStorage . getItem ( "tsd-theme" ) || "os" ; document . body . style . display = "none" ; setTimeout ( ( ) => app ? app . showPage ( ) : document . body . style . removeProperty ( "display" ) , 500 ) < / script > < header class = "tsd-page-toolbar" > < div class = "tsd-toolbar-contents container" > < div class = "table-cell" id = "tsd-search" data-base = ".." > < div class = "field" > < label for = "tsd-search-field" class = "tsd-widget tsd-toolbar-icon search no-caption" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < use href = "../assets/icons.svg#icon-search" > < / use > < / svg > < / label > < input type = "text" id = "tsd-search-field" aria-label = "Search" / > < / div > < div class = "field" > < div id = "tsd-toolbar-links" > < / div > < / div > < ul class = "results" > < li class = "state loading" > Preparing search index...< / li > < li class = "state failure" > The search index is not available< / li > < / ul > < a href = "../index.html" class = "title" > pokemon-rogue-battle< / a > < / div > < div class = "table-cell" id = "tsd-widgets" > < a href = "#" class = "tsd-widget tsd-toolbar-icon menu no-caption" data-toggle = "menu" aria-label = "Menu" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < use href = "../assets/icons.svg#icon-menu" > < / use > < / svg > < / a > < / div > < / div > < / header > < div class = "container container-main" > < div class = "col-content" > < div class = "tsd-page-title" > < ul class = "tsd-breadcrumb" > < li > < a href = "../index.html" > pokemon-rogue-battle< / a > < / li > < li > < a href = "../modules/system_game_data.html" > system/game-data< / a > < / li > < li > < a href = "system_game_data.GameData.html" > GameData< / a > < / li > < / ul > < h1 > Class GameData< / h1 > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L219" > src/system/game-data.ts:219< / a > < / li > < / ul > < / aside > < section class = "tsd-panel-group tsd-index-group" > < section class = "tsd-panel tsd-index-panel" > < details class = "tsd-index-content tsd-index-accordion" open > < summary class = "tsd-accordion-summary tsd-index-summary" > < h5 class = "tsd-index-heading uppercase" role = "button" aria-expanded = "false" tabIndex = "0" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < use href = "../assets/icons.svg#icon-chevronSmall" > < / use > < / svg > Index< / h5 > < / summary > < div class = "tsd-accordion-details" > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Constructors< / h3 > < div class = "tsd-index-list" > < a href = "system_game_data.GameData.html#constructor" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-512" > < / use > < / svg > < span > constructor< / span > < / a >
2024-05-31 14:57:14 +01:00
< / div > < / section > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Properties< / h3 > < div class = "tsd-index-list" > < a href = "system_game_data.GameData.html#achvUnlocks" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > achv< wbr / > Unlocks< / span > < / a >
< a href = "system_game_data.GameData.html#defaultDexData" class = "tsd-index-link tsd-is-private" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > default< wbr / > Dex< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#dexData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > dex< wbr / > Data< / span > < / a >
2024-06-03 20:45:23 +01:00
< a href = "system_game_data.GameData.html#eggPity" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > egg< wbr / > Pity< / span > < / a >
2024-05-31 14:57:14 +01:00
< a href = "system_game_data.GameData.html#eggs" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > eggs< / span > < / a >
< a href = "system_game_data.GameData.html#gameStats" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > game< wbr / > Stats< / span > < / a >
< a href = "system_game_data.GameData.html#gender" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > gender< / span > < / a >
< a href = "system_game_data.GameData.html#scene" class = "tsd-index-link tsd-is-private" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > scene< / span > < / a >
< a href = "system_game_data.GameData.html#secretId" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > secret< wbr / > Id< / span > < / a >
< a href = "system_game_data.GameData.html#starterData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > starter< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#trainerId" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > trainer< wbr / > Id< / span > < / a >
2024-06-03 20:45:23 +01:00
< a href = "system_game_data.GameData.html#unlockPity" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > unlock< wbr / > Pity< / span > < / a >
2024-05-31 14:57:14 +01:00
< a href = "system_game_data.GameData.html#unlocks" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > unlocks< / span > < / a >
< a href = "system_game_data.GameData.html#voucherCounts" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > voucher< wbr / > Counts< / span > < / a >
< a href = "system_game_data.GameData.html#voucherUnlocks" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > voucher< wbr / > Unlocks< / span > < / a >
< / div > < / section > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Methods< / h3 > < div class = "tsd-index-list" > < a href = "system_game_data.GameData.html#addStarterCandy" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > add< wbr / > Starter< wbr / > Candy< / span > < / a >
< a href = "system_game_data.GameData.html#clearLocalData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > clear< wbr / > Local< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#consolidateDexData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > consolidate< wbr / > Dex< wbr / > Data< / span > < / a >
2024-06-07 23:34:52 +01:00
< a href = "system_game_data.GameData.html#convertSystemDataStr" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > convert< wbr / > System< wbr / > Data< wbr / > Str< / span > < / a >
2024-05-31 14:57:14 +01:00
< a href = "system_game_data.GameData.html#deleteSession" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > delete< wbr / > Session< / span > < / a >
< a href = "system_game_data.GameData.html#fixLegendaryStats" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > fix< wbr / > Legendary< wbr / > Stats< / span > < / a >
< a href = "system_game_data.GameData.html#fixStarterData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > fix< wbr / > Starter< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#fixVariantData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > fix< wbr / > Variant< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#getDexAttrLuck" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Dex< wbr / > Attr< wbr / > Luck< / span > < / a >
< a href = "system_game_data.GameData.html#getFormAttr" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Form< wbr / > Attr< / span > < / a >
< a href = "system_game_data.GameData.html#getFormIndex" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Form< wbr / > Index< / span > < / a >
< a href = "system_game_data.GameData.html#getNaturesForAttr" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Natures< wbr / > For< wbr / > Attr< / span > < / a >
2024-06-03 11:50:22 +01:00
< a href = "system_game_data.GameData.html#getSeenDialogues" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Seen< wbr / > Dialogues< / span > < / a >
2024-05-31 14:57:14 +01:00
< a href = "system_game_data.GameData.html#getSession" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Session< / span > < / a >
< a href = "system_game_data.GameData.html#getSessionSaveData" class = "tsd-index-link tsd-is-private" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Session< wbr / > Save< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#getSpeciesCount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Species< wbr / > Count< / span > < / a >
< a href = "system_game_data.GameData.html#getSpeciesDefaultDexAttr" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Species< wbr / > Default< wbr / > Dex< wbr / > Attr< / span > < / a >
< a href = "system_game_data.GameData.html#getSpeciesDefaultNature" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Species< wbr / > Default< wbr / > Nature< / span > < / a >
< a href = "system_game_data.GameData.html#getSpeciesDefaultNatureAttr" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Species< wbr / > Default< wbr / > Nature< wbr / > Attr< / span > < / a >
< a href = "system_game_data.GameData.html#getSpeciesDexAttrProps" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Species< wbr / > Dex< wbr / > Attr< wbr / > Props< / span > < / a >
< a href = "system_game_data.GameData.html#getSpeciesStarterValue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Species< wbr / > Starter< wbr / > Value< / span > < / a >
< a href = "system_game_data.GameData.html#getStarterCount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Starter< wbr / > Count< / span > < / a >
< a href = "system_game_data.GameData.html#getStarterSpeciesDefaultAbilityIndex" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Starter< wbr / > Species< wbr / > Default< wbr / > Ability< wbr / > Index< / span > < / a >
< a href = "system_game_data.GameData.html#getSystemSaveData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > System< wbr / > Save< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#getTutorialFlags" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Tutorial< wbr / > Flags< / span > < / a >
< a href = "system_game_data.GameData.html#importData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > import< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#incrementRibbonCount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > increment< wbr / > Ribbon< wbr / > Count< / span > < / a >
< a href = "system_game_data.GameData.html#initDexData" class = "tsd-index-link tsd-is-private" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > init< wbr / > Dex< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#initStarterData" class = "tsd-index-link tsd-is-private" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > init< wbr / > Starter< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#initSystem" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > init< wbr / > System< / span > < / a >
2024-06-01 13:57:45 +01:00
< a href = "system_game_data.GameData.html#loadGamepadSettings" class = "tsd-index-link tsd-is-private" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > load< wbr / > Gamepad< wbr / > Settings< / span > < / a >
< a href = "system_game_data.GameData.html#loadMappingConfigs" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > load< wbr / > Mapping< wbr / > Configs< / span > < / a >
2024-05-31 14:57:14 +01:00
< a href = "system_game_data.GameData.html#loadSession" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > load< wbr / > Session< / span > < / a >
< a href = "system_game_data.GameData.html#loadSettings" class = "tsd-index-link tsd-is-private" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > load< wbr / > Settings< / span > < / a >
< a href = "system_game_data.GameData.html#loadSystem" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > load< wbr / > System< / span > < / a >
< a href = "system_game_data.GameData.html#migrateStarterAbilities" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > migrate< wbr / > Starter< wbr / > Abilities< / span > < / a >
< a href = "system_game_data.GameData.html#offlineNewClear" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > offline< wbr / > New< wbr / > Clear< / span > < / a >
< a href = "system_game_data.GameData.html#parseSessionData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > parse< wbr / > Session< wbr / > Data< / span > < / a >
2024-06-07 23:34:52 +01:00
< a href = "system_game_data.GameData.html#parseSystemData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > parse< wbr / > System< wbr / > Data< / span > < / a >
2024-06-01 13:57:45 +01:00
< a href = "system_game_data.GameData.html#resetMappingToFactory" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > reset< wbr / > Mapping< wbr / > To< wbr / > Factory< / span > < / a >
2024-05-31 14:57:14 +01:00
< a href = "system_game_data.GameData.html#saveAll" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > All< / span > < / a >
2024-06-04 00:58:57 +01:00
< a href = "system_game_data.GameData.html#saveControlSetting" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > Control< wbr / > Setting< / span > < / a >
2024-06-01 13:57:45 +01:00
< a href = "system_game_data.GameData.html#saveMappingConfigs" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > Mapping< wbr / > Configs< / span > < / a >
2024-06-03 11:50:22 +01:00
< a href = "system_game_data.GameData.html#saveSeenDialogue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > Seen< wbr / > Dialogue< / span > < / a >
2024-05-31 14:57:14 +01:00
< a href = "system_game_data.GameData.html#saveSetting" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > Setting< / span > < / a >
< a href = "system_game_data.GameData.html#saveSystem" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > System< / span > < / a >
< a href = "system_game_data.GameData.html#saveTutorialFlag" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > Tutorial< wbr / > Flag< / span > < / a >
< a href = "system_game_data.GameData.html#setEggMoveUnlocked" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Egg< wbr / > Move< wbr / > Unlocked< / span > < / a >
< a href = "system_game_data.GameData.html#setPokemonCaught" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Pokemon< wbr / > Caught< / span > < / a >
< a href = "system_game_data.GameData.html#setPokemonSeen" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Pokemon< wbr / > Seen< / span > < / a >
< a href = "system_game_data.GameData.html#setPokemonSpeciesCaught" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Pokemon< wbr / > Species< wbr / > Caught< / span > < / a >
< a href = "system_game_data.GameData.html#tryClearSession" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > try< wbr / > Clear< wbr / > Session< / span > < / a >
< a href = "system_game_data.GameData.html#tryExportData" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > try< wbr / > Export< wbr / > Data< / span > < / a >
< a href = "system_game_data.GameData.html#updateSpeciesDexIvs" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > update< wbr / > Species< wbr / > Dex< wbr / > Ivs< / span > < / a >
< a href = "system_game_data.GameData.html#verify" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > verify< / span > < / a >
2024-06-11 11:43:37 +01:00
< / div > < / section > < / div > < / details > < / section > < / section > < section class = "tsd-panel-group tsd-member-group" > < h2 > Constructors< / h2 > < section class = "tsd-panel tsd-member" > < a id = "constructor" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > constructor< / span > < a href = "#constructor" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "constructor.new_GameData" class = "tsd-anchor" > < / a > < span class = "tsd-kind-constructor-signature" > new < wbr / > Game< wbr / > Data< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > scene< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < a href = "system_game_data.GameData.html" class = "tsd-signature-type tsd-kind-class" > GameData< / a > < a href = "#constructor.new_GameData" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > scene< / span > : < a href = "battle_scene.default.html" class = "tsd-signature-type tsd-kind-class" > default< / a > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "system_game_data.GameData.html" class = "tsd-signature-type tsd-kind-class" > GameData< / a > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L244" > src/system/game-data.ts:244< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < / section > < section class = "tsd-panel-group tsd-member-group" > < h2 > Properties< / h2 > < section class = "tsd-panel tsd-member" > < a id = "achvUnlocks" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > achv< wbr / > Unlocks< / span > < a href = "#achvUnlocks" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > achv< wbr / > Unlocks< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > AchvUnlocks< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L236" > src/system/game-data.ts:236< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member tsd-is-private" > < a id = "defaultDexData" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagPrivate" > Private< / code > < span > default< wbr / > Dex< wbr / > Data< / span > < a href = "#defaultDexData" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > default< wbr / > Dex< wbr / > Data< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/system_game_data.DexData.html" class = "tsd-signature-type tsd-kind-interface" > DexData< / a > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L228" > src/system/game-data.ts:228< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < a id = "dexData" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > dex< wbr / > Data< / span > < a href = "#dexData" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > dex< wbr / > Data< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/system_game_data.DexData.html" class = "tsd-signature-type tsd-kind-interface" > DexData< / a > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/ga
2024-06-01 13:57:45 +01:00
< / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > < code > true< / code > if the configurations are successfully loaded and injected; < code > false< / code > if no configurations are found in localStorage.< / p >
< div class = "tsd-comment tsd-typography" > < h4 > Remarks< / h4 > < p > This method checks if the ' mappingConfigs' entry exists in localStorage. If it does not exist, the method returns < code > false< / code > .
If ' mappingConfigs' exists, it parses the configurations and injects each configuration into the input controller
for the corresponding gamepad or device key. The method then returns < code > true< / code > to indicate success.< / p >
2024-06-11 11:43:37 +01:00
< / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L611" > src/system/game-data.ts:611< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "loadSession" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > load< wbr / > Session< / span > < a href = "#loadSession" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "loadSession.loadSession-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > load< wbr / > Session< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > scene< / span > , < span class = "tsd-kind-parameter" > slotId< / span > , < span class = "tsd-kind-parameter" > sessionData< / span > < span class = "tsd-signature-symbol" > ?< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > > < / span > < a href = "#loadSession.loadSession-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > scene< / span > : < a href = "battle_scene.default.html" class = "tsd-signature-type tsd-kind-class" > default< / a > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > slotId< / span > : < span class = "tsd-signature-type" > number< / span > < / span > < / li > < li > < span > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span class = "tsd-kind-parameter" > sessionData< / span > : < a href = "../interfaces/system_game_data.SessionSaveData.html" class = "tsd-signature-type tsd-kind-interface" > SessionSaveData< / a > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L829" > src/system/game-data.ts:829< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member tsd-is-private" > < a id = "loadSettings" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < code class = "tsd-tag ts-flagPrivate" > Private< / code > < span > load< wbr / > Settings< / span > < a href = "#loadSettings" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures tsd-is-private" > < li class = "tsd-signature tsd-anchor-link" > < a id = "loadSettings.loadSettings-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > load< wbr / > Settings< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#loadSettings.loadSettings-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Loads Settings from local storage if available< / p >
2024-06-04 00:58:57 +01:00
< / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if succesful, false if not< / p >
2024-06-11 11:43:37 +01:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L674" > src/system/game-data.ts:674< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "loadSystem" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > load< wbr / > System< / span > < a href = "#loadSystem" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "loadSystem.loadSystem-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > load< wbr / > System< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > > < / span > < a href = "#loadSystem.loadSystem-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L329" > src/system/game-data.ts:329< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "migrateStarterAbilities" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > migrate< wbr / > Starter< wbr / > Abilities< / span > < a href = "#migrateStarterAbilities" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "migrateStarterAbilities.migrateStarterAbilities-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > migrate< wbr / > Starter< wbr / > Abilities< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > systemData< / span > , < span class = "tsd-kind-parameter" > initialStarterData< / span > < span class = "tsd-signature-symbol" > ?< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < a href = "#migrateStarterAbilities.migrateStarterAbilities-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > systemData< / span > : < span class = "tsd-signature-type" > SystemSaveData< / span > < / span > < / li > < li > < span > < code class = "tsd-tag ts-flagOptional" > Optional< / code > < span class = "tsd-kind-parameter" > initialStarterData< / span > : < a href = "../interfaces/system_game_data.StarterData.html" class = "tsd-signature-type tsd-kind-interface" > StarterData< / a > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L1662" > src/system/game-data.ts:1662< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "offlineNewClear" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > offline< wbr / > New< wbr / > Clear< / span > < a href = "#offlineNewClear" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anch
2024-06-04 00:58:57 +01:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > device< / span > : < a href = "../enums/enums_devices.Device.html" class = "tsd-signature-type tsd-kind-enum" > Device< / a > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > localStoragePropertyName< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > setting< / span > : < a href = "../enums/system_settings_settings_gamepad.SettingGamepad.html" class = "tsd-signature-type tsd-kind-enum" > SettingGamepad< / a > < span class = "tsd-signature-symbol" > | < / span > < a href = "../enums/system_settings_settings_keyboard.SettingKeyboard.html" class = "tsd-signature-type tsd-kind-enum" > SettingKeyboard< / a > < / span > < div class = "tsd-comment tsd-typography" > < p > The gamepad setting to save.< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > settingDefaults< / span > : < span class = "tsd-signature-type" > any< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > valueIndex< / span > : < span class = "tsd-signature-type" > number< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > The index of the value to set for the gamepad setting.< / p >
2024-06-01 13:57:45 +01:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > < code > true< / code > if the setting is successfully saved.< / p >
< div class = "tsd-comment tsd-typography" > < h4 > Remarks< / h4 > < p > This method initializes an empty object for gamepad settings if none exist in localStorage.
It then updates the setting in the current scene and iterates over the default gamepad settings
to update the specified setting with the new value. Finally, it saves the updated settings back
to localStorage and returns < code > true< / code > to indicate success.< / p >
2024-06-11 11:43:37 +01:00
< / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L646" > src/system/game-data.ts:646< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "saveMappingConfigs" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > save< wbr / > Mapping< wbr / > Configs< / span > < a href = "#saveMappingConfigs" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "saveMappingConfigs.saveMappingConfigs-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > save< wbr / > Mapping< wbr / > Configs< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > deviceName< / span > , < span class = "tsd-kind-parameter" > config< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#saveMappingConfigs.saveMappingConfigs-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Saves the mapping configurations for a specified device.< / p >
2024-06-01 13:57:45 +01:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > deviceName< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > The name of the device for which the configurations are being saved.< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > config< / span > : < span class = "tsd-signature-type" > any< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > The configuration object containing custom mapping details.< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > < code > true< / code > if the configurations are successfully saved.< / p >
2024-06-11 11:43:37 +01:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L587" > src/system/game-data.ts:587< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "saveSeenDialogue" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > save< wbr / > Seen< wbr / > Dialogue< / span > < a href = "#saveSeenDialogue" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "saveSeenDialogue.saveSeenDialogue-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > save< wbr / > Seen< wbr / > Dialogue< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > dialogue< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#saveSeenDialogue.saveSeenDialogue-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > dialogue< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L740" > src/system/game-data.ts:740< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "saveSetting" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > save< wbr / > Setting< / span > < a href = "#saveSetting" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "saveSetting.saveSetting-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > save< wbr / > Setting< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > setting< / span > , < span class = "tsd-kind-parameter" > valueIndex< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#saveSetting.saveSetting-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Saves a setting to localStorage< / p >
2024-06-04 00:58:57 +01:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > setting< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > string ideally of SettingKeys< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > valueIndex< / span > : < span class = "tsd-signature-type" > number< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > index of the setting' s option< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true< / p >
2024-06-11 11:43:37 +01:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L565" > src/system/game-data.ts:565< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "saveSystem" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > save< wbr / > System< / span > < a href = "#saveSystem" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "saveSystem.saveSystem-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > save< wbr / > System< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > > < / span > < a href = "#saveSystem.saveSystem-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Promise< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L293" > src/system/game-data.ts:293< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "saveTutorialFlag" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > save< wbr / > Tutorial< wbr / > Flag< / span > < a href = "#saveTutorialFlag" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "saveTutorialFlag.saveTutorialFlag-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > save< wbr / > Tutorial< wbr / > Flag< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > tutorial< / span > , < span class = "tsd-kind-parameter" > flag< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#saveTutorialFlag.saveTutorialFlag-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / li > < li class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > tutorial< / span > : < a href = "../enums/tutorial.Tutorial.html" class = "tsd-signature-type tsd-kind-enum" > Tutorial< / a > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > flag< / span > : < span class = "tsd-signature-type" > boolean< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/pagefaultgames/pokerogue/blob/4c5e0ccc150589f041a21fe36ec02f03fc3bd902/src/system/game-data.ts#L701" > src/system/game-data.ts:701< / a > < / li > < / ul > < / aside > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < a id = "setEggMoveUnlocked" class = "tsd-anchor" > < / a > < h3 class = "tsd-anchor-link" > < span > set< wbr / > Egg< wbr / > Move< wbr / > Unlocked< / span > < a href = "#setEggMoveUnlocked" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "tsd-signature tsd-anchor-link" > < a id = "setEggMoveUnlocked.setEggMoveUnlocked-1" class = "tsd-anchor" > < / a > < span class = "tsd-kind-call-signature" > set< wbr / > Egg< wbr / > Move< wbr / > Unlocked< / span > < span class = "tsd-signature-symbol" > (