> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-ko/tutorials-and-examples/published-games/clean-the-club.md).

# 클린 더 클럽

공유 컴포넌트 폴링과, 들고 있는 아이템을 반영하는 아바타 부착형 소품이 있는 협동 나이트클럽 청소.

![Clean The Club 미리 보기](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-fa79832b55db3f6f4d68c9a9e744578ff9c3d461%2FcleanTheClub-preview.webp?alt=media)

다음 파티가 시작되기 전에 나이트클럽을 청소해 원래 모습으로 되돌리는 협동 청소 게임입니다. 플레이어들은 서로 경쟁하듯 청소를 진행합니다.

* [Decentraland에서 플레이하기](https://decentraland.org/jump?realm=cleantheclub.dcl.eth)

## 프로젝트 정보

**관리자:** 커뮤니티 · CleanTheClub

[원본 소스 보기](https://github.com/CleanTheClub/CleanTheClub)

**라이선스:** [Apache-2.0](https://github.com/CleanTheClub/CleanTheClub/blob/main/LICENSE). 재사용하기 전에 상위 프로젝트의 약관을 확인하세요. 코드와 에셋에 서로 다른 약관이 적용될 수 있습니다.

{% hint style="warning" %}
**커뮤니티 관리 코드 — 사용 전 검토하세요**

이 커뮤니티 프로젝트는 Decentraland Foundation 및 DAO GitHub 조직 외부에서 관리됩니다. 소스 코드와 라이브 배포 버전은 별도로 변경될 수 있습니다.

이 카탈로그에 포함되었다고 해서 보안 감사를 거쳤거나 안전성이 보장되는 것은 아닙니다. 실행하거나 재사용하기 전에 코드, 종속 항목, 설치 스크립트를 검토하세요.

[카탈로그 관련 우려 사항 신고](https://github.com/decentraland/docs/issues/new). 취약점이 의심되면 원본 프로젝트의 보안 정책을 따르세요. 공개 이슈에 익스플로잇 세부 정보나 자격 증명을 포함하지 마세요.
{% endhint %}

## 코드 살펴보기

이 링크는 특정 소스 스냅샷을 가리키므로, 상위 프로젝트의 개발이 계속되어도 설명을 유용하게 참고할 수 있습니다. 학습을 위한 참고 자료이며 보안 평가 자료는 아닙니다.

### 여러 시스템에서 하나의 컴포넌트 스캔을 공유하기

onClutterPoll은 폴링 간격마다 ClutterSync 항목을 한 번 수집하고, 항목 ID 조회 테이블을 만든 뒤 같은 스냅샷을 구독자에게 전달합니다. 각 소비자는 자체적으로 필터링하고 변경 사항을 감지할 수 있습니다.

**프로젝트 맥락:** 반복되는 ECS 스캔을 피하는 방법을 살펴보는 데 유용합니다. 공유 스키마와 단계 게이트 폴링 간격에 의존하며, 구독은 클라이언트 초기화 과정에서 설정해야 합니다.

**소스 참고:**

* [onClutterPoll](https://github.com/CleanTheClub/CleanTheClub/blob/8ffc6c1fa24ff0da22a1d82ecdf2f9ce72f47f73/src/client/clutterWatcher.ts#L15-L54)

### 다른 플레이어가 들고 있는 장비 표시하기

updateRemoteCarry는 소품 계층 구조를 다른 아바타의 왼손에 연결하고, 현재 장비 또는 운반 상태에 따라 모델을 선택하며, 가방의 채움 비율에 맞춰 크기를 조정합니다. 표시할 항목이 없으면 계층 구조도 제거합니다.

**프로젝트 맥락:** 운반 메시지 핸들러, 테마 모델 조회, 모델 맞춤 오프셋을 함께 살펴보세요. 이들이 상태 정보와 에셋별 위치 설정을 제공합니다.

**소스 참고:**

* [updateRemoteCarry](https://github.com/CleanTheClub/CleanTheClub/blob/8ffc6c1fa24ff0da22a1d82ecdf2f9ce72f47f73/src/client/carrySystem.ts#L805-L846)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/creator/content-creator-ko/tutorials-and-examples/published-games/clean-the-club.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
