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

11 lines
266 B
C#
Raw Permalink Normal View History

namespace LyraApi.Ecs;
using ExampleWorld.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; }
}