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

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 {}