Table of Contents

Class Entity

Namespace
CedarDotNet.Models
Assembly
CedarDotNet.dll

An entity.

public sealed record Entity : IEquatable<Entity>
Inheritance
Entity
Implements
Inherited Members

Properties

Attrs

The attributes.

[JsonPropertyName("attrs")]
public IReadOnlyDictionary<string, Value> Attrs { get; init; }

Property Value

IReadOnlyDictionary<string, Value>

Parents

The references to the parent entities.

[JsonPropertyName("parents")]
public IReadOnlyCollection<EntityUid> Parents { get; init; }

Property Value

IReadOnlyCollection<EntityUid>

Tags

The tags.

[JsonPropertyName("tags")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyDictionary<string, Value> Tags { get; init; }

Property Value

IReadOnlyDictionary<string, Value>

Uid

The entity UID.

[JsonPropertyName("uid")]
public required EntityUid Uid { get; init; }

Property Value

EntityUid