Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

EntityData

Syadeu edited this page Sep 2, 2021 · 5 revisions

Namespace: Syadeu.Presentation.Entities

[Serializable, StructLayout(LayoutKind.Sequential)]
public readonly struct EntityData<T> : IValidation, IEquatable<EntityData<T>>, IEquatable<Hash> where T : class, IEntityData

사용자가 EntityDataBase 를 좀 더 안전하게 접근할 수 있도록 랩핑하는 struct 입니다.

struct 는 이미 생성된 엔티티만 담습니다. Raw 데이터 접근은 허용하지 않습니다.

Inheritance: System.Object -> EntityData<T>
Implements: IValidation, IEquatable<EntityData<T>>, IEquatable<Hash>

Overview

  • 모든 Entity 들을 wrapping 할 수 있는 구조체입니다.

Remarks

IEntityData, EntityDataBase 를 상속받는 타입이라면 얼마든지 해당 타입으로 형변환이 가능합니다. EntityBaseEntity<T> 를 참조하세요.

만약 목표 Entity 가 상위 EntityBase 를 상속받고 있으면 해당 타입으로 캐스팅 할 수 있습니다. EntityExtensionMethods 를 참조하세요.

Description

Examples


- Interfaces
- Enums
- Attributes
- Abstract Classes
- Classes
- Structs
- Exceptions

- Syadeu.Presentation
- Syadeu.Collections
- Syadeu.Collections.Converters
- Syadeu.Collections.Proxy
- Syadeu.Presentation.Proxy
- Syadeu.Presentation.Internal
- Syadeu.Presentation.Entities
- Syadeu.Presentation.Attributes
- Syadeu.Presentation.Components
- Syadeu.Presentation.Actions
- Syadeu.Presentation.Render
  • CameraData
  • CameraFrustum
  • IntersectionType
  • RenderSystem
  • WorldCanvasSystem
- Syadeu.Presentation.Data
  • DataContainerSystem
  • DataObjectBase
  • EntityAnimationClipEventData
- Syadeu.Presentation.Events

Clone this wiki locally