> ## 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.

# XSystemDeviceType

> XSystemDeviceType

# XSystemDeviceType

[XSystemGetDeviceType](/reference/system/xsystem/functions/xsystemgetdevicetype) 호출로 반환되는 시스템 디바이스 유형을 나타냅니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
enum class XSystemDeviceType  : uint32_t
{
    Unknown              = 0x00,
    Pc                   = 0x01,
    XboxOne              = 0x02,
    XboxOneS             = 0x03,
    XboxOneX             = 0x04,
    XboxOneXDevkit       = 0x05,
    XboxScarlettLockhart = 0x06,
    XboxScarlettAnaconda = 0x07,
    XboxScarlettDevkit   = 0x08
}
```

<a id="constantsSection" />

## 상수

| 상수                   | 설명                                                                           |
| -------------------- | ---------------------------------------------------------------------------- |
| Unknown              | 디바이스 유형을 알 수 없습니다. 디바이스 유형을 확인할 수 없는 경우 `XSystemGetDeviceType`에서 이 값을 반환합니다. |
| Pc                   | 디바이스가 PC입니다.                                                                 |
| XboxOne              | 디바이스가 XBOX One입니다.                                                           |
| XboxOneS             | 디바이스가 XBOX One S입니다.                                                         |
| XboxOneX             | 디바이스가 XBOX One X입니다.                                                         |
| XboxOneXDevkit       | 디바이스가 XBOX One X 개발 키트입니다.                                                   |
| XboxScarlettLockhart | 디바이스가 XBOX Series S입니다.                                                      |
| XboxScarlettAnaconda | 디바이스가 XBOX Series X입니다.                                                      |
| XboxScarlettDevkit   | 디바이스가 XBOX Series X 개발 키트입니다.                                                |

<a id="remarksSection" />

## 설명

`XSystemGetDeviceType` 함수에는 명시적인 오류 상태가 없습니다. 시스템 디바이스 유형을 확인할 수 없는 경우 `XSystemDeviceType::Unknown` 값을 반환합니다.

초기 타이틀 초기화 중에 [XGameRuntimeInitialize](/reference/system/xgameruntimeinit/functions/xgameruntimeinitialize)를 호출하기 전에 `XSystemGetDeviceType`을 호출할 수 있습니다.

다음 코드 예제는 현재 사용 중인 시스템 디바이스 유형을 가져옵니다. 개발 키트에서 실행 중인 경우 게임 내에서 개발자 기능을 사용 설정하도록 사용자 지정 코드를 실행합니다.

```cpp theme={null}
const XSystemDeviceType deviceType = XSystemGetDeviceType();

const bool deviceIsDevkit = 
    deviceType == XSystemDeviceType::XboxOneXDevkit || 
    deviceType == XSystemDeviceType::XboxScarlettDevkit;

if (deviceIsDevkit)
{
    EnableGameSpecificDevkitFeatures();
}
```

<a id="requirementsSection" />

## 요구 사항

**헤더:** XSystem.h

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

<a id="seealsoSection" />

## 함께 보기

[XSystem](/reference/system/xsystem/xsystem_members)\
[XSystemGetDeviceType](/reference/system/xsystem/functions/xsystemgetdevicetype)\
[XGameRuntimeInitialize](/reference/system/xgameruntimeinit/functions/xgameruntimeinitialize)


## Related topics

- [XSystem](/ko/reference/system/xsystem/xsystem_members.md)
- [Intelligent Delivery: 장치 지정자](/ko/build/core-features/common/packaging/intelligentdelivery-device.md)
- [Understanding How PlayFab Party chat works](/ko/services/playfab/community/voice-communications/concepts-chat.md)
- [PartyAudioDeviceSelectionType](/ko/services/playfab/multiplayer/networking/reference/enums/partyaudiodeviceselectiontype.md)
- [XSystemGetAppSpecificDeviceId](/ko/reference/system/xsystem/functions/xsystemgetappspecificdeviceid.md)
