mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-11 01:02:48 +00:00
19 lines
442 B
C#
19 lines
442 B
C#
using System.IO;
|
|
|
|
using OMI.Formats.Behaviour;
|
|
using OMI.Workers.Behaviour;
|
|
|
|
namespace PckStudio.Helper
|
|
{
|
|
public static class BehaviourResources
|
|
{
|
|
internal static byte[] BehaviourFileInitializer()
|
|
{
|
|
using var stream = new MemoryStream();
|
|
var writer = new BehavioursWriter(new BehaviourFile());
|
|
writer.WriteToStream(stream);
|
|
return stream.ToArray();
|
|
}
|
|
}
|
|
}
|