using System;
using System.Collections.Generic;
using System.IO;
namespace ACE.DatLoader.Entity
{
///
/// A list of indexed vertices, and their associated type
///
public class CVertexArray : IUnpackable
{
public int VertexType { get; private set; }
public Dictionary Vertices { get; } = new Dictionary();
public void Unpack(BinaryReader reader)
{
VertexType = reader.ReadInt32();
var numVertices = reader.ReadUInt32();
if (VertexType == 1)
Vertices.Unpack(reader, numVertices);
else
throw new NotImplementedException();
}
}
}