Ejemplo n.º 1
0
        public Xmb2Writer(Xmb xmb, BinaryWriter writer)
        {
            _xmb    = xmb;
            _writer = writer;

            elementsOffset   = new int[xmb.Elements.Count()];
            attributesOffset = new int[xmb.Elements.Count()];
            variantsOffset   = new int[xmb.Elements.Count()];
        }
Ejemplo n.º 2
0
 public static void Create(Xmb xmb, BinaryWriter writer)
 {
     new Xmb2Writer(xmb, writer).Convert();
 }