public override void Serialize(BinaryWriter writer) { writer.Write(Name); writer.Write(X); writer.Write(Y); writer.Write((int)Direction); Pin.Serialize(writer); }
public override void Serialize(BinaryWriter writer) { writer.Write(GateType); writer.Write(Name); writer.Write(NameRoot); writer.Write(X); writer.Write(Y); writer.Write((int)Direction); IN.Serialize(writer); OUT.Serialize(writer); }