12 lines
300 B
C#
12 lines
300 B
C#
using static ExampleWorld.wit.imports.lyra.api.IEcs;
|
|
|
|
namespace LyraApi.Ecs;
|
|
|
|
public interface IResource
|
|
{
|
|
public abstract static ulong TypeId { get; }
|
|
|
|
public abstract static object? FromWasmResult(WorldResourceResult result);
|
|
}
|
|
|
|
public class MismatchedResourceResultException : Exception {} |