port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
using System.ComponentModel;
using System.IO;
using Editor.Attributes;
namespace Editor.Operators
{
public class Load : OperatorBase
{
public override ushort OpId { get { return 6; } }
public int &Output
{
get
{
return m_&Output;
}
set
{
m_&Output = value;
RaisePropertyChanged();
}
}
private int m_&Output;
public int Intput
{
get
{
return m_Intput;
}
set
{
m_Intput = value;
RaisePropertyChanged();
}
}
private int m_Intput;
public Load()
{
}
public override byte[] Serialize()
{
using (var stream = new MemoryStream())
{
using (var writer = new BinaryWriter(stream))
{
writer.Write(OpId);
writer.Write(m_&Output);
writer.Write(m_Intput);
return stream.ToArray();
}
}
}
}
}