public void Read(BinaryReader binaryReader) { byte[] nameBytes = binaryReader.ReadBytes(15); MorphName = System.Text.Encoding.GetEncoding("shift_jis").GetString(nameBytes); //ヌル文字除去 MorphName = MorphName.TrimEnd('\0').TrimEnd('?').TrimEnd('\0'); FrameNumber = binaryReader.ReadUInt32(); Weight = binaryReader.ReadSingle(); }
public override int GetHashCode()// { return(MorphName.GetHashCode()); }