public ArkArrayInt16(ArkArchive archive, int dataSize)
        {
            var size = archive.GetInt();

            for (int n = 0; n < size; n++)
            {
                Add(archive.GetShort());
            }
        }
Beispiel #2
0
        public PropertyInt16(ArkArchive archive, PropertyArgs args, bool propertyIsExcluded = false) : base(archive, args, propertyIsExcluded)
        {
            if (propertyIsExcluded)
            {
                archive.Position += 2;
                return;
            }


            _value = archive.GetShort();
        }
 public PropertyInt16(ArkArchive archive, PropertyArgs args) : base(archive, args)
 {
     _value = archive.GetShort();
 }