lyra-wasm-scripting-test/guests/csharp/LyraApi/Ecs/Entity.cs

10 lines
270 B
C#
Raw Permalink Normal View History

namespace LyraApi.Ecs;
using ImportsWorld.wit.imports.lyra.api;
public class Entity(IEcs.Entity entity) {
internal IEcs.Entity Inner { get; set; } = entity;
public ulong Id { get => Inner.id.id; }
public ulong Generation { get => Inner.generation; }
}