> For the complete documentation index, see [llms.txt](/llms.txt)

# Inbox

Delivers announcements and item-attached messages from the operator to players.




**이 데모에 대하여**

데모는 익명 계정으로 자동 로그인합니다. 이 계정은 쇼룸의 모든 데모에서 공유되므로 한 데모에서 얻은 아이템이나 재화가 다른 데모에도 반영됩니다. 로딩에 약간 시간이 걸립니다. 화면이 작다면 새 탭에서 열어 사용해 보세요.

## 개요

Have an operator announcement and a gift with coins attached delivered to your own inbox, then open them. Delivered messages appear unread under **Your inbox** and turn read once opened. Opening the gift pays its 100 coins into the wallet under **Where the coins land**.

## 체험 방법

1. Press **Deliver** under **An announcement you can have delivered**; an unread message reading "Welcome to the GS2 inbox demo!" arrives in **Your inbox**. Each press delivers one more message.
1. Press **Open** on a message in **Your inbox**; it turns read and shows **Opened.** in place of the button.
1. Press **Deliver** under **A gift with coins attached** (**Carries 100 coins.**); a message reading "A gift from the operator: 100 coins." arrives.
1. Press **Open** on the gift message; **Free balance** under **Where the coins land** goes up by 100.

**Deliver** here does not receive the announcement the way a client normally would; it sends a fresh copy through an exchange, so every press delivers another message.

## 사용하는 GS2 서비스

- [GS2-Inbox](/ko/microservices/inbox/): GS2-Inbox holds the player's inbox and whether each message is read. The gift message carries a GS2-Money2 deposit as its reward for opening, which runs when the message is opened.
- [GS2-Exchange](/ko/microservices/exchange/): Two free GS2-Exchange rates define the transactions behind the **Deliver** buttons, which send the announcement and the gift message to GS2-Inbox. Delivered messages expire after 7 days.
- [GS2-Money2](/ko/microservices/money2/): The GS2-Money2 wallet (slot 0) receives the gift's 100 free coins when the gift message is opened.

## GS2 Studio에서 사용하기

GS2 Studio의 Simple 모드에서 **Add features** 를 열고 **Inbox** 의 **Add** 를 누르면 이 기능을 자신의 프로젝트에 가져올 수 있습니다. 패키지를 직접 지정하려면 **Add from GitHub** 를 선택하고 아래 패키지를 입력합니다.

```text
https://github.com/gs2io/gs2-studio-package/tree/main/foundation-liveops-inbox/packages/foundation-liveops-inbox
```

- Owner: `gs2io`
- Repository: `gs2-studio-package`
- Subdirectory: `foundation-liveops-inbox/packages/foundation-liveops-inbox`

## 소스 코드

- 데모 프로젝트: <https://github.com/gs2io/gs2-studio-package/tree/main/foundation-liveops-inbox/live-demo>
- 기능 패키지: <https://github.com/gs2io/gs2-studio-package/tree/main/foundation-liveops-inbox>



