EntityAssignments class
화면에 엔터티 관련 이벤트를 추적합니다.
설명
엔터티를 처리할 때 가능한 모호성이 식별되고 해결되면 이벤트 할당으로 바뀝니다. 이 추적은 여러 입력 발화에서 유지됩니다.
생성자
| Entity |
EntityAssignments 클래스의 새 인스턴스를 초기화합니다. |
속성
| assignments | |
| next |
표시할 다음 엔터티 이벤트를 가져옵니다. |
메서드
| dequeue(Action |
현재 이벤트를 제거하고 메모리를 업데이트합니다. |
| read(Action |
메모리에서 엔터티 이벤트 큐를 읽습니다. |
| write(Action |
메모리에 상태를 씁니다. |
생성자 세부 정보
EntityAssignments(EntityAssignment[])
EntityAssignments 클래스의 새 인스턴스를 초기화합니다.
new EntityAssignments(assignments?: EntityAssignment[])
매개 변수
- assignments
사용할 EntityAssignments 목록입니다.
속성 세부 정보
assignments
nextAssignment
메서드 세부 정보
dequeue(ActionContext)
현재 이벤트를 제거하고 메모리를 업데이트합니다.
function dequeue(actionContext: ActionContext): EntityAssignment
매개 변수
- actionContext
- ActionContext
메모리 컨텍스트입니다.
반환
제거된 이벤트입니다.
read(ActionContext)
메모리에서 엔터티 이벤트 큐를 읽습니다.
static function read(actionContext: ActionContext): EntityAssignments
매개 변수
- actionContext
- ActionContext
메모리 컨텍스트입니다.
반환
엔터티 이벤트 큐입니다.
write(ActionContext)
메모리에 상태를 씁니다.
function write(actionContext: ActionContext)
매개 변수
- actionContext
- ActionContext
메모리 컨텍스트입니다.