public static Tuple <ushort, ushort> ReadTupleUInt16UInt16(this AssetReader reader) { ushort value1 = reader.ReadUInt16(); ushort value2 = reader.ReadUInt16(); return(new Tuple <ushort, ushort>(value1, value2)); }
public static void Read(this IDictionary <string, ushort> _this, AssetReader reader) { int count = reader.ReadInt32(); for (int i = 0; i < count; i++) { string key = reader.ReadStringAligned(); ushort value = reader.ReadUInt16(); _this.Add(key, value); } }