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

12 lines
300 B
C#
Raw Normal View History

2024-11-10 00:13:15 +00:00
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 {}