public static new BlendedGraphicalElementData ReadFromStream(EleInstance instance, int id, BigEndianReader reader) { var data = new BlendedGraphicalElementData(instance, id); data.Gfx = reader.ReadInt(); data.Height = reader.ReadUInt(); data.HorizontalSymmetry = reader.ReadBoolean(); data.Origin = new System.Drawing.Point(reader.ReadShort(), reader.ReadShort()); data.Size = new System.Drawing.Point(reader.ReadShort(), reader.ReadShort()); data.BlendMode = reader.ReadUTF7BitLength(); return(data); }
public static new BlendedGraphicalElementData ReadFromStream(EleInstance instance, int id, BigEndianReader reader) { var data = new BlendedGraphicalElementData(instance, id); data.Gfx = reader.ReadInt(); data.Height = reader.ReadUInt(); data.HorizontalSymmetry = reader.ReadBoolean(); data.Origin = new System.Drawing.Point(reader.ReadShort(), reader.ReadShort()); data.Size = new System.Drawing.Point(reader.ReadShort(), reader.ReadShort()); data.BlendMode = reader.ReadUTF7BitLength(); return data; }