26 lines
678 B
C#
26 lines
678 B
C#
using PkmnLibSharp.FFI;
|
|
using PkmnLibSharp.Utils;
|
|
using Interface = PkmnLibSharp.FFI.DynamicData.Libraries.MiscLibrary;
|
|
|
|
namespace PkmnLibSharp.DynamicData.Libraries
|
|
{
|
|
public abstract class MiscLibrary : HandleType
|
|
{
|
|
protected MiscLibrary(FFIHandle handle) : base(handle)
|
|
{
|
|
}
|
|
}
|
|
|
|
public class Gen7MiscLibrary : MiscLibrary
|
|
{
|
|
protected Gen7MiscLibrary(FFIHandle handle) : base(handle)
|
|
{
|
|
}
|
|
|
|
public static Gen7MiscLibrary Create()
|
|
{
|
|
var handle = Interface.gen_7_misc_library_new();
|
|
return Resolver.Instance.ResolveGen7MiscLibrary(handle.Resolve());
|
|
}
|
|
}
|
|
} |