← 목록

mLua · Nemotron SDG 질문-응답 (SFT)

총 21,567개 · 페이지 207/719
🔀 랜덤
불러오는 중…

[task] | two_turn [pass] | ✅ 통과 [title] | EntityMapChangedEvent [question] | EntityMapChangedEvent 이벤트의 구조와 포함하는 프로퍼티에 대해 알려주세요 [answer] | `EntityMapChangedEvent`는 엔티티가 속한 맵이 변경되었을 때 발생하는 이벤트입니다. 이 이벤트는 `MODEntity` API에 의해 서버와 클라이언트 모두에서 발생합니다. 이벤트 객체에는 다음과 같은 프로퍼티가 포함되어 있습니다. * **Entity NewMap**: 엔티티가 새롭게 속하게 된 맵 엔티티입니다. * **Entity OldMap**: 이전에 엔티티가 속했던 맵 엔티티입니다. * **Entity Entity**: 이벤트를 발생시킨 엔티티입니다. (`EntityEventType`에서 상속된 [followup] | NewMap, OldMap, Entity 프로퍼티 각각이 어떤 엔티티를 나타내며, 이 이벤트는 어떤 API에 의해 발생하나요? [followup_answer] | `EntityMapChangedEvent`의 프로퍼티와 발생 API는 다음과 같습니다. **프로퍼티 설명** * **NewMap**: 엔티티가 새롭게 속하게 된 맵 엔티티를 나타냅니다. * **OldMap**: 이전에 엔티티가 속했던 맵 엔티티를 나타냅니다. * **Entity**: 이벤트를 발생시킨 엔티티 자체를 나타냅니다. (이 프로퍼티는 `EntityEventType`에서 상속되었습니다.) **발생 API** 이 이벤트는 **MODEntity** API에 의해 발생하며, 서버(Server)와 클라이언트(Clien [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서에 명시된 이벤트의 발생 조건, 프로퍼티(NewMap, OldMap, Entity), 그리고 생성자 시그니처를 정확하고 간결하게 설명하고 있습니다. [source_doc] | 엔티티가 속한 맵이 변경되었을 때 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity NewMap** 엔티티가 새롭게 속하게 된 맵 엔티티입니다. - **Enti

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPostInitSyncedEvent [question] | EntityPostInitSyncedEvent가 발생하는 공간과 발생 원인을 2문장 이내로 설명하세요. [answer] | `EntityPostInitSyncedEvent`는 클라이언트 공간에서 발생하며, 엔티티의 InitSynced가 완료된 이후 MODEntity API에 의해 트리거됩니다. [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서에 명시된 발생 공간(Client)과 원인(InitSynced 완료, MODEntity)을 2문장 이내로 정확하고 간결하게 서술했습니다. [source_doc] | 엔티티의 InitSynced가 완료된 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity** 이벤트를

[task] | single_turn [pass] | ✅ 통과 [title] | EntityPostAttachEntityEvent [question] | EntityPostAttachEntityEvent의 PrevParent 프로퍼티는 어떤 상황에 null이 될 수 있나요? [answer] | 제공된 참고 문서에는 `EntityPostAttachEntityEvent`의 `PrevParent` 프로퍼티가 어떤 상황에서 `null`(또는 nil)이 되는지에 대한 정보가 포함되어 있지 않습니다. 문서에는 해당 프로퍼티가 "엔티티의 이전 부모 엔티티"라고만 정의되어 있을 뿐, 구체적인 null 발생 조건에 대한 설명이 없습니다. [followup] | [followup_answer] | [scores] | helpfulness=3 correctness=4 coherence=4 complexity=1 verbosity=1 [judge_reason] | 문서에 없는 정보를 지어내지 않고 문서 한계를 정확히 지적하여 질문자의 혼란을 줄였으나, 직접적인 답변은 제공하지 못함 [source_doc] | 엔티티가 다른 엔티티에게로 붙을 때 발생하는 이벤트입니다. EntityChangedParentEvent로 대체 사용을 권장합니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity Pre

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPostInitSyncedEvent [question] | EntityPostInitSyncedEvent의 생성자 시그니처만 코드 블록으로 출력하세요. [answer] | ```lua EntityPostInitSyncedEvent(Entity entity = nil) ``` [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 참고 문서의 생성자 시그니처를 정확하고 간결하게 출력했습니다. [source_doc] | 엔티티의 InitSynced가 완료된 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity** 이벤트를

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityMapChangedEvent [question] | EntityMapChangedEvent에서 상속받은 속성을 포함하여 전체 프로퍼티를 3문장 이내로 요약하세요. [answer] | EntityMapChangedEvent는 엔티티가 새롭게 속하게 된 맵을 나타내는 `NewMap`과 이전에 속했던 맵을 나타내는 `OldMap` 프로퍼티를 가집니다. 또한 EntityEventType에서 상속받아 이벤트를 발생시킨 엔티티 자체를 참조하는 `Entity` 프로퍼티를 포함합니다. 이로써 이벤트 발생 주체와 이전·신규 맵 정보를 모두 확인할 수 있습니다. [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 문서의 모든 프로퍼티를 정확히 포함하여 3문장 이내로 명확하게 요약했습니다. [source_doc] | 엔티티가 속한 맵이 변경되었을 때 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity NewMap** 엔티티가 새롭게 속하게 된 맵 엔티티입니다. - **Enti

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityMapChangedEvent [question] | EntityMapChangedEvent의 Properties 목록을 표로 정리해서 출력하세요. [answer] | `EntityMapChangedEvent`의 프로퍼티는 다음과 같습니다. | 프로퍼티 | 타입 | 설명 | | :--- | :--- | :--- | | `NewMap` | `Entity` | 엔티티가 새롭게 속하게 된 맵 엔티티입니다. | | `OldMap` | `Entity` | 이전에 엔티티가 속했던 맵 엔티티입니다. | | `Entity` | `Entity` | 이벤트를 발생시킨 엔티티입니다. (`EntityEventType`에서 상속) | [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 참고 문서의 Properties 정보를 정확하고 명확한 표 형식으로 제시하여 질문에 완벽히 부응했습니다. [source_doc] | 엔티티가 속한 맵이 변경되었을 때 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity NewMap** 엔티티가 새롭게 속하게 된 맵 엔티티입니다. - **Enti

[task] | single_turn [pass] | ✅ 통과 [title] | EntityPostAttachEntityEvent [question] | EntityPostAttachEntityEvent 생성자를 직접 호출해서 이벤트를 만들 때 인자를 생략하면 어떤 값으로 초기화되나요? [answer] | `EntityPostAttachEntityEvent` 생성자를 직접 호출할 때 인자를 생략하면, 해당 인자에는 `nil` 값이 초기화됩니다. 생성자의 정의는 다음과 같습니다. ```lua EntityPostAttachEntityEvent(Entity entity = nil, Entity prevParent = nil) ``` 따라서 `EntityPostAttachEntityEvent()` 처럼 인자 없이 호출하면 `Entity` 프로퍼티와 `PrevParent` 프로퍼티 모두 `nil` 상태가 됩니다. [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서에 명시된 생성자 시그니처와 기본값(nil)을 정확히 인용하여 질문에 답했으므로 모든 항목이 적정합니다. [source_doc] | 엔티티가 다른 엔티티에게로 붙을 때 발생하는 이벤트입니다. EntityChangedParentEvent로 대체 사용을 권장합니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity Pre

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPreApplyChangedPropertiesEvent [question] | 이벤트에서 상속된 Entity 프로퍼티의 의미와 생성자 시그니처를 표로 정리해서 출력하세요. [answer] | `EntityPreApplyChangedPropertiesEvent`는 엔티티의 변경된 프로퍼티 값이 실제로 적용되기 직전에 발생하는 이벤트입니다. 요청하신 정보에 대한 표는 다음과 같습니다. | 항목 | 시그니처 / 타입 | 설명 | | :--- | :--- | :--- | | **Property** | `Entity Entity` | `EntityEventType`에서 상속된 프로퍼티로, 해당 이벤트를 발생시킨 엔티티를 참조합니다. | | **Constructor** | `EntityPreApplyChangedPropertie [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서의 프로퍼티와 생성자 정보를 정확하고 명확한 표 형식으로 제시하여 질문에 완벽히 부응합니다. [source_doc] | 엔티티의 변경된 프로퍼티들의 값이 적용되기 이전에 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity**

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPostInitSyncedEvent [question] | EntityPostInitSyncedEvent의 속성 이름과 설명을 표로 정리하세요. [answer] | `EntityPostInitSyncedEvent`의 속성은 `EntityEventType`에서 상속된 것으로, 아래 표와 같습니다. | 속성 이름 | 설명 | | :--- | :--- | | `Entity` | 이벤트를 발생시킨 엔티티입니다. | [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 참고 문서에 명시된 EntityPostInitSyncedEvent의 상속 속성 이름과 설명을 정확하고 간결하게 표로 정리했습니다. [source_doc] | 엔티티의 InitSynced가 완료된 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity** 이벤트를

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityMapChangedEvent [question] | EntityMapChangedEvent 생성자를 호출하는 코드만 출력하고 설명은 주석으로 작성하세요. [answer] | ```lua -- EntityMapChangedEvent 생성자를 호출하여 초기화합니다. -- 파라미터 순서: (Entity entity, Entity oldMap, Entity newMap) -- 모든 파라미터는 선택 사항이며, 생략 시 nil 값으로 초기화됩니다. local myEntityMapChangedEvent = EntityMapChangedEvent() -- 특정 엔티티와 맵 정보를 지정하여 초기화하는 예시 local myEntity = self.Entity local myOldMap = nil local myNewM [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=3 verbosity=2 [judge_reason] | 참고 문서의 생성자 시그니처와 파라미터 순서, nil 기본값 정보를 정확히 반영하여 요청대로 코드와 주석만 제시했습니다. [source_doc] | 엔티티가 속한 맵이 변경되었을 때 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity NewMap** 엔티티가 새롭게 속하게 된 맵 엔티티입니다. - **Enti

[task] | two_turn [pass] | ❌ 탈락 [title] | EntityPostInitSyncedEvent [question] | EntityPostInitSyncedEvent 가 언제 발생하며 어떤 엔티티 정보를 포함하는지 알려줘 [answer] | `EntityPostInitSyncedEvent`는 엔티티의 `InitSynced` 과정이 완료된 이후에 발생합니다. 이 이벤트는 클라이언트 공간(Client)에서 트리거됩니다. 이 이벤트 객체는 `Entity` 타입의 프로퍼티를 하나 포함하고 있으며, 해당 프로퍼티는 이벤트를 발생시킨 엔티티 자체를 참조합니다. 이벤트를 처리하는 스크립트 예제는 다음과 같습니다. ```lua Event Handler: [client only] [entity] HandleEntityPostInitSyncedEvent(EntityPostInitS [followup] | 이 이벤트 핸들러에서 특정 엔티티의 InitSynced 완료 후 즉시 실행해야 하는 로직을 mLua 코드로 작성해 줘 [followup_answer] | `EntityPostInitSyncedEvent`는 클라이언트 공간에서 발생하므로, 해당 이벤트 핸들러도 `[client only]` 또는 `[client]` 실행 공간으로 정의해야 합니다. 또한 이벤트가 특정 엔티티에 대해 발생하는 것을 확인하기 위해 `event.Entity`를 참조하는 로직을 포함할 수 있습니다. 참고 문서에 명시된 정보에 따르면, 이 이벤트는 `MODEntity` API에 의해 발생하며 `Entity` 타입의 프로퍼티를 포함합니다. 따라서 아래처럼 엔티티 경로나 ID를 비교하여 특정 엔티티가 초기화 동기화를 [scores] | helpfulness=3 correctness=2 coherence=4 complexity=3 verbosity=2 [judge_reason] | 문서에 없는 `[entity]` 속성을 코드 예제에 지어냈으며, 클라이언트에서 발생하는 이벤트 처리 시 `[client only]`만 명시하는 것이 일반적이나 문서에 명시되지 않은 속성을 추가하여 정확도가 낮습니다. [source_doc] | 엔티티의 InitSynced가 완료된 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity** 이벤트를

[task] | code [pass] | ❌ 탈락 [title] | EntityPreApplyChangedPropertiesEvent [question] | `EntityPreApplyChangedPropertiesEvent`를 처리하는 `HandleEntityPreApplyChangedPropertiesEvent` 이벤트 핸들러를 포함하여, 엔티티의 프로퍼티 변경이 적용되기 직전에 `log`로 `event.Entity`의 경로를 출력하는 스크립트를 작성해줘. [answer] | 요청하신 `EntityPreApplyChangedPropertiesEvent`를 처리하는 이벤트 핸들러를 포함하여, 프로퍼티 변경이 적용되기 직전에 해당 엔티티의 경로를 로그로 출력하는 스크립트는 다음과 같습니다. 참고 문서에 따르면 이 이벤트는 `MODEntity` API에 의해 **클라이언트**에서 발생하며, 이벤트 객체에는 이벤트를 발생시킨 엔티티를 가리키는 `Entity` 프로퍼티가 포함됩니다. 엔티티의 경로를 얻기 위해 `entity.Path`를 사용하여 로그를 출력하도록 작성했습니다. ```lua Event Handl [followup] | [followup_answer] | [scores] | helpfulness=3 correctness=2 coherence=3 complexity=2 verbosity=2 [judge_reason] | 이벤트 핸들러 구조와 [client only] 공간 지정은 적절하지만, 문서에 명시되지 않은 Entity.Path 프로퍼티를 지어내어 정확도가 떨어집니다. [source_doc] | 엔티티의 변경된 프로퍼티들의 값이 적용되기 이전에 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity**

[task] | code [pass] | ✅ 통과 [title] | EntityPreInitAdditionalComponentsEvent [question] | `EntityPreInitAdditionalComponentsEvent`의 `Entity` 프로퍼티를 참조하여, `AdditionalComponents` 리스트가 비어있지 않다면 리스트의 첫 번째 항목 이름을 변수에 저장하고 `log`로 출력하는 `[multicast]` 메서드를 가진 스크립트를 작성해줘. [answer] | `EntityPreInitAdditionalComponentsEvent`는 클라이언트에서 발생하는 이벤트이며, 요청하신 `[multicast]` 메서드를 구현하기 위해 이벤트 핸들러와 메서드를 분리하여 작성했습니다. 1. **이벤트 핸들러**: `[client only]` 공간에서 `HandleEntityPreInitAdditionalComponentsEvent`를 정의하여 이벤트가 발생하면 데이터를 추출합니다. 2. **데이터 추출**: `event.AdditionalComponents` 리스트가 비어있지 않다면(`#list > [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=3 coherence=4 complexity=3 verbosity=2 [judge_reason] | 요청된 로직 구현은 정확하지만, 참고 문서에 명시되지 않은 '1-based indexing' 주장을 포함하여 사실성에서 일부 감점이 필요함. [source_doc] | 엔티티의 추가적인 컴포넌트들이 초기화되기 이전에 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **List<string> AdditionalComponents** 추가적인 컴포넌트 리스트입니다. #

[task] | single_turn [pass] | ✅ 통과 [title] | EntityFirstSpawnInEditModeEvent [question] | 클라이언트와 서버 중 어느 실행 공간에서 EntityFirstSpawnInEditModeEvent 를 처리해야 하며, 잘못된 공간에서 처리했을 때 나타나는 현상은 무엇인가요? [answer] | 제공된 참고 문서에는 `EntityFirstSpawnInEditModeEvent` 이벤트의 **정의(편집 모드에서 엔티티가 처음 소환되었을 때 발생)**, **속성(Data, Origin, Entity)**, **생성자(Constructor)** 정보만 포함되어 있습니다. 문서에는 해당 이벤트를 **클라이언트와 서버 중 어느 실행 공간에서 처리해야 하는지(예: `[server only]`, `[client only]` 등)** 명시되어 있지 않으며, **잘못된 공간에서 처리했을 때 나타나는 현상**에 대한 설명도 없습니다. 따라 [followup] | [followup_answer] | [scores] | helpfulness=3 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서에 실행 공간 정보가 없어 답변 불가임을 정확히 명시하여 환상 방지와 정합성을 확보했습니다. [source_doc] | 편집 모드에서 엔티티가 처음 소환되었을 때 발생하는 이벤트입니다. # Properties - **Data Data** 제작자가 사용할 수 없는 기능입니다. - **EntityOrigin Origin** 제작자가 사용할 수 없는 기능입니다. ##### inherited from EntityEventType: - **Entity Entity** 이벤트를 발생시킨 엔티티입니다. # Constructors - **EntityFirstSpawnInEditModeEvent(Entity entity = nil, Entity

[task] | two_turn [pass] | ✅ 통과 [title] | EntityPreApplyChangedPropertiesEvent [question] | EntityPreApplyChangedPropertiesEvent 이벤트가 발생하는 시점과 기본 제공되는 Entity 프로퍼티에 대해 설명해 주세요. [answer] | `EntityPreApplyChangedPropertiesEvent`는 엔티티의 프로퍼티 값이 실제로 적용되기 **직전**에 발생하는 이벤트입니다. 이 이벤트는 클라이언트(`Client`) 공간에서 트리거되며, 특정 엔티티의 프로퍼티가 변경될 때 해당 변경값이 최종적으로 반영되기 전에 실행됩니다. ### 기본 제공 프로퍼티 이 이벤트는 `EntityEventType`을 상속받아 다음 프로퍼티를 기본으로 제공합니다: * **`Entity`**: 이벤트를 발생시킨 엔티티를 참조합니다. ### 이벤트 핸들러 예시 클라이언트에서 [followup] | 이 이벤트를 수신하는 핸들러 내에서 Entity 프로퍼티를 활용해 특정 엔티티의 프로퍼티 변경 직전 상태를 로그로 출력하는 mLua 코드 예시를 작성해 주세요. [followup_answer] | 참고 문서에 따르면 `EntityPreApplyChangedPropertiesEvent`는 `Entity` 프로퍼티만 제공하며, 이벤트가 발생한 시점의 "프로퍼티 변경 직전 상태"나 "변경된 프로퍼티 목록"을 직접적으로 반환하는 추가 프로퍼티는 문서에 명시되어 있지 않습니다. 따라서 단순히 `event.Entity`를 통해 엔티티 참조를 얻고, 해당 엔티티의 현재(직전) 상태를 조회하는 로직을 작성할 수는 있지만, **어떤 프로퍼티가 변경되었는지**를 이 이벤트 객체 자체로부터 알 수 있는 API는 제공되지 않습니다. 아래는 ` [scores] | helpfulness=4 correctness=4 coherence=4 complexity=3 verbosity=2 [judge_reason] | 참고 문서의 발생 시점, 공간, 상속 프로퍼티 정보가 정확히 반영되었으며, mLua 규칙에 부합하는 예시 코드를 제공하여 질문을 완벽히 해결했습니다. [source_doc] | 엔티티의 변경된 프로퍼티들의 값이 적용되기 이전에 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity**

[task] | single_turn [pass] | ✅ 통과 [title] | EntityPostAttachEntityEvent [question] | 이 이벤트 핸들러에서 Entity 프로퍼티를 통해 접근 가능한 엔티티는 붙는 엔티티 자체인가요, 아니면 부모 엔티티인가요? [answer] | `EntityPostAttachEntityEvent`에서 `event.Entity` 프로퍼티를 통해 접근할 수 있는 엔티티는 **부모 엔티티에게 붙는 엔티티 자체**입니다. 이 이벤트는 엔티티가 다른 엔티티에게 붙을 때 발생하며, `event.Entity`는 "이벤트를 발생시킨 엔티티"를 의미합니다. 즉, 부모가 바뀌는 행위(attach)의 주체가 되는 자식 엔티티를 가리킵니다. 참고로 `event.PrevParent` 프로퍼티를 사용하면 해당 엔티티의 이전 부모 엔티티에 접근할 수 있습니다. ```lua Event Handl [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=3 verbosity=2 [judge_reason] | 참고 문서의 Entity 프로퍼티 정의('이벤트를 발생시킨 엔티티')와 PrevParent 설명을 정확히 인용하여 질문을 명확히 해결했으며, mLua 문법에 부합하는 예제를 제시했습니다. [source_doc] | 엔티티가 다른 엔티티에게로 붙을 때 발생하는 이벤트입니다. EntityChangedParentEvent로 대체 사용을 권장합니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity Pre

[task] | code [pass] | ✅ 통과 [title] | EntityAddChildrenEvent [question] | EntityAddChildrenEvent 이벤트가 발생했을 때 AddedChildren 에 접근하여 해당 엔티티의 이름 또는 식별자를 확인하고 OnBeginPlay 에서 설정한 테이블에 추가하는 스크립트를 작성해줘. [answer] | EntityAddChildrenEvent는 엔티티에 자식 엔티티가 추가될 때 발생하며, 이벤트 객체의 `AddedChildren` 프로퍼티를 통해 추가된 자식 엔티티에 접근할 수 있습니다. 참고 문서에는 `EntityAddChildrenEvent`의 생성자와 프로퍼티(`AddedChildren`, `Entity`)만 명시되어 있으며, 엔티티의 이름 또는 식별자를 직접 반환하는 특정 메서드나 프로퍼티(예: `GetName()`, `Id` 등)에 대한 설명은 포함되어 있지 않습니다. 따라서, 문서에 명시된 정보만 사용하여 `Added [followup] | [followup_answer] | [scores] | helpfulness=3 correctness=3 coherence=4 complexity=2 verbosity=2 [judge_reason] | 문서에 없는 엔티티 이름/ID 접근 API를 지어내지 않고 제한을 명확히 설명했으나, 질문에서 요구한 이름/식별자 확인 부분을 충족하지 못해 도움 정도가 제한적이며, 참고 문서에 명시된 'AddedChildren'이 복수(Children)임에도 단일 'AddedChild' 변수로 처리하는 등 명세와 미묘한 어긋남이 있음. [source_doc] | 엔티티에 자식 엔티티가 추가되었을 때 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity AddedChildren** 추가된 자식 엔티티입니다. ##### in

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPostDeserializeComponentsEvent [question] | EntityPostDeserializeComponentsEvent가 발생하는 실행 공간을 1문장 이내로 서술하세요. [answer] | 서버(Server)와 클라이언트(Client) 공간에서 발생합니다. [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 참고 문서의 'Server, Client' 표기와 일치하며 질문의 요청 사항(1문장 이내)을 정확히 충족합니다. [source_doc] | 엔티티의 역직렬화가 끝난 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity*

[task] | code [pass] | ✅ 통과 [title] | EntityEndPlayEvent [question] | _SpawnService 로 생성한 오브젝트가 종료될 때 EntityEndPlayEvent 를 통해 자원을 정리하는 스크립트를 작성해줘 [answer] | `_SpawnService` 로 생성된 엔티티가 종료(EndPlay)될 때 `EntityEndPlayEvent` 를 처리하여 자원을 정리하는 스크립트입니다. 참고로, 엔티티가 종료되면 해당 엔티티에 붙어있던 스크립트 컴포넌트도 함께 파괴되므로, **자신(self)이 종료되는 경우**를 처리하기 위해 `[self]` 공간의 `HandleEntityEndPlayEvent` 를 사용합니다. 이 이벤트 핸들러는 엔티티의 EndPlay 시점에 실행되며, 이벤트 객체(`event`)에서 종료되는 엔티티 정보를 `event.Entity` 속성 [followup] | [followup_answer] | [scores] | helpfulness=3 correctness=3 coherence=3 complexity=2 verbosity=2 [judge_reason] | 응답은 문서에 없는 _ResourceService API를 예시로 제시했으나 주석으로 실제 존재 여부가 프로젝트에 따라 다름이라고 명시하여 오해의 소지를 줄였고, 핵심적인 EntityEndPlayEvent 처리 구조와 self.Entity 접근 방식은 mLua 규칙과 문서에 부합하며 질문 의도에 부합하는 구조를 제공하였음. [source_doc] | 엔티티의 EndPlay 시점에 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity*

[task] | single_turn [pass] | ✅ 통과 [title] | EntityPostAttachEntityEvent [question] | EntityPostAttachEntityEvent와 EntityChangedParentEvent 중 어떤 것을 사용해야 하며, 왜 후자가 권장되는지 궁금합니다. [answer] | 제공된 참고 문서에 따르면, 엔티티가 다른 엔티티에게 붙을 때 발생하는 이벤트는 **`EntityPostAttachEntityEvent`** 입니다. 하지만 이 이벤트는 **`EntityChangedParentEvent`** 로 대체 사용을 권장받습니다. 참고 문서에는 `EntityChangedParentEvent` 가 `EntityPostAttachEntityEvent` 보다 권장되는 구체적인 이유나 두 이벤트의 기능적 차이(예: 발생 시점, 처리 안정성 등)에 대한 상세 설명이 포함되어 있지 않습니다. 따라서 문서 내에서 확인 [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 문서에 없는 세부 이유를 지어내지 않고 문서 기반 권고만 정확히 전달하며, 표준 구문에 맞는 예시를 제공해 질문을 효과적으로 해결함. [source_doc] | 엔티티가 다른 엔티티에게로 붙을 때 발생하는 이벤트입니다. EntityChangedParentEvent로 대체 사용을 권장합니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties - **Entity Pre

[task] | single_turn [pass] | ❌ 탈락 [title] | EntityPostInitAdditionalComponentsEvent [question] | 이벤트 핸들러에서 self.Entity.TransformComponent.Position 을 바로 읽으면 값이 정상적으로 반영되는 건가요? [answer] | 제시된 참고 문서에는 `self.Entity.TransformComponent.Position` 프로퍼티에 대한 정의나 동작 방식에 대한 정보가 포함되어 있지 않습니다. 문서에는 `EntityPostInitAdditionalComponentsEvent` 이벤트가 엔티티의 추가 컴포넌트 초기화 이후에 발생한다는 내용과, 해당 이벤트에서 `Entity` 프로퍼티에 접근할 수 있다는 사실, 그리고 예제 코드에서 `self.Entity.TransformComponent.Scale`을 설정하는 방법만 언급되어 있습니다. 따라서 위치(`Po [followup] | [followup_answer] | [scores] | helpfulness=1 correctness=3 coherence=2 complexity=1 verbosity=2 [judge_reason] | 질문과 무관한 참고 문서를 근거로 답변했고, system 규칙에 명시된 표준 구문(self.Entity.TransformComponent)의 존재를 무시하여 도움이 적습니다. [source_doc] | 엔티티의 추가적인 컴포넌트들이 초기화된 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity** 이벤트

[task] | single_turn [pass] | ❌ 탈락 [title] | EntityFirstSpawnInEditModeEvent [question] | 이벤트 핸들러에서 self.Entity.TransformComponent 로 접근할 때, EntityFirstSpawnInEditModeEvent 의 Entity 속성이 nil 로 들어올 수 있는 경우와 그 해결 방법은 무엇인가요? [answer] | 제시된 참고 문서에는 `EntityFirstSpawnInEditModeEvent`의 `Entity` 속성이 `nil`로 들어올 수 있는 조건이나 그 해결 방법에 대한 정보가 포함되어 있지 않습니다. 문서에는 해당 이벤트의 생성자(Constructor) 시그니처만 확인할 수 있으며, 여기서 `entity` 파라미터의 기본값이 `nil`로 설정되어 있는 것을 알 수 있습니다. ```lua EntityFirstSpawnInEditModeEvent(Entity entity = nil, EntityOrigin origin = nil, D [followup] | [followup_answer] | [scores] | helpfulness=2 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서에 없는 정보를 지어내지 않고, 문서의 생성자 시그니처를 근거로 한계를 정확히 서술하여 질문에 대한 적절한 답변을 제공했습니다. [source_doc] | 편집 모드에서 엔티티가 처음 소환되었을 때 발생하는 이벤트입니다. # Properties - **Data Data** 제작자가 사용할 수 없는 기능입니다. - **EntityOrigin Origin** 제작자가 사용할 수 없는 기능입니다. ##### inherited from EntityEventType: - **Entity Entity** 이벤트를 발생시킨 엔티티입니다. # Constructors - **EntityFirstSpawnInEditModeEvent(Entity entity = nil, Entity

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPostDeserializeComponentsEvent [question] | EntityPostDeserializeComponentsEvent의 생성자 매개변수 이름을 표로 정리해서 출력하세요. [answer] | `EntityPostDeserializeComponentsEvent` 생성자의 매개변수는 다음과 같습니다. | 매개변수 이름 | 타입 | 기본값 | | :--- | :--- | :--- | | `entity` | `Entity` | `nil` | [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 참고 문서의 생성자 시그니처를 정확하고 간결한 표 형태로 요약했습니다. [source_doc] | 엔티티의 역직렬화가 끝난 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity*

[task] | single_turn [pass] | ❌ 탈락 [title] | EntityFirstSpawnInEditModeEvent [question] | 편집 모드에서 엔티티가 처음 소환될 때 OnBeginPlay() 와 EntityFirstSpawnInEditModeEvent 핸들러 중 어느 쪽이 먼저 실행되는지, 그리고 두 메서드의 차이점은 무엇인가요? [answer] | 제공된 참고 문서에는 `EntityFirstSpawnInEditModeEvent`의 프로퍼티(`Data`, `Origin`, `Entity`)와 생성자(Constructor) 정보만 포함되어 있습니다. `OnBeginPlay()`와 `EntityFirstSpawnInEditModeEvent` 핸들러의 **실행 순서(어느 쪽이 먼저 실행되는지)** 에 대한 정보는 문서에 명시되어 있지 않으며, 두 메서드의 기능적 **차이점**에 대한 설명도 문서에 없습니다. 따라서 주어진 문서 근거만으로는 이 질문에 대해 답변할 수 없습니다. [followup] | [followup_answer] | [scores] | helpfulness=1 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 문서에 없는 실행 순서와 차이점을 지어내지 않고 사실관계를 정확히 서술했으나, 질문의 핵심을 답하지 못해 도움이 적습니다. [source_doc] | 편집 모드에서 엔티티가 처음 소환되었을 때 발생하는 이벤트입니다. # Properties - **Data Data** 제작자가 사용할 수 없는 기능입니다. - **EntityOrigin Origin** 제작자가 사용할 수 없는 기능입니다. ##### inherited from EntityEventType: - **Entity Entity** 이벤트를 발생시킨 엔티티입니다. # Constructors - **EntityFirstSpawnInEditModeEvent(Entity entity = nil, Entity

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPostDeserializeComponentsEvent [question] | 이벤트 처리 메서드 예제를 코드만 출력하고 설명은 주석으로 작성하세요. [answer] | ```lua Event Handler: [self] HandleEntityPostDeserializeComponentsEvent (EntityPostDeserializeComponentsEvent event) { -- EntityPostDeserializeComponentsEvent 핸들러 -- 엔티티의 역직렬화가 끝난 시점에 호출됩니다. -- event.Entity 를 통해 해당 엔티티에 접근할 수 있습니다. local targetEntity = event.Entity } ``` [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=3 verbosity=2 [judge_reason] | 참고 문서의 이벤트 이름과 프로퍼티를 정확히 활용하여 요청된 형식(코드 위주, 주석 설명)으로 예제를 제시했습니다. [source_doc] | 엔티티의 역직렬화가 끝난 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Server,Client&color=c4a484" alt="custom" title="Server, Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity*

[task] | two_turn [pass] | ✅ 통과 [title] | EntityPostInitAdditionalComponentsEvent [question] | EntityPostInitAdditionalComponentsEvent가 언제 발생하는지, 그리고 어떤 공간(Client/Server)에서 트리거되는지에 대해 알려주세요. [answer] | `EntityPostInitAdditionalComponentsEvent`는 엔티티의 추가적인 컴포넌트들이 초기화된 이후에 발생하는 이벤트입니다. 이 이벤트는 `MODEntity` API에 의해 발생하며, 트리거되는 공간은 **Client**입니다. [followup] | 이 이벤트 핸들러 내에서 self.Entity.TransformComponent.Position을 바로 수정하는 것이 안전한지, 아니면 다른 생명주기 메서드(OnBeginPlay 등)와 비교했을 때 어떤 차이가 있는지 설명해 주세요. [followup_answer] | 제공된 참고 문서에는 `EntityPostInitAdditionalComponentsEvent`가 "엔티티의 추가적인 컴포넌트들이 초기화된 이후 발생하는 이벤트"라는 정의와, Client 공간에서 발생한다는 사실, 그리고 `Entity` 프로퍼티와 생성자 정보만 포함되어 있습니다. 문서에는 `OnBeginPlay`와 같은 다른 생명주기 메서드와의 시퀀스 비교, 또는 이 이벤트 핸들러 내에서 `self.Entity.TransformComponent.Position`을 수정하는 것의 안전성(예: 렌더링 파이프라인과의 충돌 여부, 동기 [scores] | helpfulness=4 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 참고 문서의 발생 시점과 발생 공간(Client) 정보를 정확하고 간결하게 답변했습니다. [source_doc] | 엔티티의 추가적인 컴포넌트들이 초기화된 이후 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity** 이벤트

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPreModelSetEvent [question] | EntityPreModelSetEvent의 Properties와 Constructors 정보를 3문장 이내로 요약하세요. [answer] | `EntityPreModelSetEvent`는 `Model` 프로퍼티로 설정하려는 모델을, `Entity` 프로퍼티로 이벤트를 발생시킨 엔티티를 포함합니다. 생성자는 `Entity`와 `Model`을 인자로 받아 초기화할 수 있으며, 두 인자 모두 기본값이 `nil`로 설정되어 있습니다. [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서의 프로퍼티와 생성자 정보를 3문장 이내로 정확하고 간결하게 요약했습니다. [source_doc] | 엔티티의 대상 Model 설정 이전에 발생하는 이벤트입니다. # Properties - **Model Model** 설정하려는 Model입니다. ##### inherited from EntityEventType: - **Entity Entity** 이벤트를 발생시킨 엔티티입니다. # Constructors - **EntityPreModelSetEvent(Entity entity = nil, Model model = nil)** 지정한 값으로 EntityPreModelSetEvent를 초기화합니다.

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPreModelSetEvent [question] | EntityPreModelSetEvent 생성자 시그니처를 코드만 출력하고 설명은 주석으로 작성하세요. [answer] | ```lua -- EntityPreModelSetEvent 생성자 시그니처 -- Entity entity = nil: 이벤트를 발생시킨 엔티티 (선택, 기본값 nil) -- Model model = nil: 설정하려는 Model (선택, 기본값 nil) EntityPreModelSetEvent(Entity entity = nil, Model model = nil) ``` [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 참고 문서에 명시된 EntityPreModelSetEvent 생성자 시그니처를 정확히 코드 블록으로 제시하고, 요구사항에 맞춰 설명을 주석으로 작성했습니다. [source_doc] | 엔티티의 대상 Model 설정 이전에 발생하는 이벤트입니다. # Properties - **Model Model** 설정하려는 Model입니다. ##### inherited from EntityEventType: - **Entity Entity** 이벤트를 발생시킨 엔티티입니다. # Constructors - **EntityPreModelSetEvent(Entity entity = nil, Model model = nil)** 지정한 값으로 EntityPreModelSetEvent를 초기화합니다.

[task] | instruction_following [pass] | ✅ 통과 [title] | EntityPreModelSetEvent [question] | EntityPreModelSetEvent의 Properties 항목을 표로 정리해서 출력하세요. [answer] | `EntityPreModelSetEvent`의 Properties는 다음과 같습니다. | Property 이름 | 타입 | 설명 | | :--- | :--- | :--- | | `Model` | `Model` | 설정하려는 Model입니다. | | `Entity` | `Entity` | 이벤트를 발생시킨 엔티티입니다. (`EntityEventType`에서 상속됨) | [followup] | [followup_answer] | [scores] | helpfulness=4 correctness=4 coherence=4 complexity=1 verbosity=2 [judge_reason] | 참고 문서에 명시된 Properties 정보(이름, 타입, 설명, 상속 관계)를 정확하고 간결하게 표로 정리했습니다. [source_doc] | 엔티티의 대상 Model 설정 이전에 발생하는 이벤트입니다. # Properties - **Model Model** 설정하려는 Model입니다. ##### inherited from EntityEventType: - **Entity Entity** 이벤트를 발생시킨 엔티티입니다. # Constructors - **EntityPreModelSetEvent(Entity entity = nil, Model model = nil)** 지정한 값으로 EntityPreModelSetEvent를 초기화합니다.

[task] | single_turn [pass] | ✅ 통과 [title] | EntityPreApplyChangedPropertiesEvent [question] | 이 이벤트 핸들러에서 프로퍼티 값을 직접 수정하면 적용되는 값에 영향을 주나요? [answer] | 제공된 문서에는 `EntityPreApplyChangedPropertiesEvent`가 "엔티티의 변경된 프로퍼티들의 값이 적용되기 이전에 발생하는 이벤트"라는 사실만 명시되어 있습니다. 이 이벤트 핸들러 내부에서 프로퍼티 값을 직접 수정할 경우, 최종적으로 엔티티에 적용되는 값에 영향을 미치는지에 대한 구체적인 동작 방식이나 예외 처리 규칙에 대한 정보는 문서에 포함되어 있지 않습니다. 따라서 해당 질문에 대해 문서 근거로 답변할 수 없습니다. [followup] | [followup_answer] | [scores] | helpfulness=3 correctness=4 coherence=4 complexity=2 verbosity=2 [judge_reason] | 문서에 없는 동작 방식을 추측하지 않고 문서 한계 내에서 정확하고 간결하게 답변했습니다. [source_doc] | 엔티티의 변경된 프로퍼티들의 값이 적용되기 이전에 발생하는 이벤트입니다. 이 Event는 아래 API에 의해 발생합니다. * MODEntity <img src="https://img.shields.io/static/v1?label=Space&message=Client&color=c4a484" alt="custom" title="Client에서 이벤트가 발생합니다." data-nodeid="4"> # Properties ##### inherited from EntityEventType: - **Entity Entity**

← → 방향키로 페이지 이동 · 숫자 입력 후 Enter로 점프