> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XPersistentLocalStorage

> XPersistentLocalStorage

# XPersistentLocalStorage

XPersistentLocalStorage API 的參考資料。

## 函式

| 函式 | 描述 |
| - | - |
| [XPersistentLocalStorageGetPath](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragegetpath) | 傳回裝置上永續性本機儲存體 (PLS) 的遊戲專屬路徑。 |
| [XPersistentLocalStorageGetPathSize](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragegetpathsize) | 傳回永續性本機儲存體 (PLS) 路徑的長度 (以字元為單位)。 |
| [XPersistentLocalStorageGetSpaceInfo](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragegetspaceinfo) | 傳回 [XPersistentLocalStorageSpaceInfo](/zh-TW/reference/system/xpersistentlocalstorage/structs/xpersistentlocalstoragespaceinfo) 結構，其中包含儲存空間詳細資料，例如可用空間。 |
| [XPersistentLocalStorageMountForPackage](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragemountforpackage) | 將指定套件的永續性本機儲存體 (PLS) 掛接為唯讀磁碟。 |
| [XPersistentLocalStoragePromptUserForSpaceAsync](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragepromptuserforspaceasync) | 允許遊戲提示使用者釋放所要求之可成長永續性本機儲存體的總位元組數。 |
| [XPersistentLocalStoragePromptUserForSpaceResult](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragepromptuserforspaceresult) | 傳回呼叫 [XPersistentLocalStoragePromptUserForSpaceAsync](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragepromptuserforspaceasync) 函式的結果。 |

## 結構

| 結構 | 描述 |
| - | - |
| [XPersistentLocalStorageSpaceInfo](/zh-TW/reference/system/xpersistentlocalstorage/structs/xpersistentlocalstoragespaceinfo) | 包含由 [XPersistentLocalStorageGetSpaceInfo](/zh-TW/reference/system/xpersistentlocalstorage/functions/xpersistentlocalstoragegetspaceinfo) 傳回之永續性本機儲存體 (PLS) 狀態的詳細資料 |

## 概念文件

* [時間敏感執行緒](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)
* [在 Unity 專案中使用 GDK API 的 C# 包裝函式](/zh-TW/build/gdk-and-engines/unity/unity-api-wrappers)

## 另請參閱

[系統 API 參考](/zh-TW/reference/system/gc-reference-system-toc)


## Related topics

- [XPersistentLocalStorage](/reference/system/xpersistentlocalstorage/xpersistentlocalstorage_members.md)
- [XPersistentLocalStorageSpaceInfo](/reference/system/xpersistentlocalstorage/structs/xpersistentlocalstoragespaceinfo.md)
