コード例 #1
0
 protected override void WriteCore(ResourceWriter writer)
 {
     writer.WriteStringWithHash(Version, Name);
     writer.WriteInt32(Field44);
     writer.WriteByte(Field48);
     writer.WriteByte(Field49);
     writer.WriteByte(Field4A);
     writer.WriteByte(Field4B);
     writer.WriteSingle(Field4C);
     writer.WriteSingle(Field50);
     writer.WriteSingle(Field54);
     writer.WriteSingle(Field58);
     writer.WriteSingle(Field5C);
     writer.WriteSingle(Field60);
     writer.WriteSingle(Field64);
     writer.WriteSingle(Field68);
     writer.WriteSingle(Field6C);
     writer.WriteSingle(Field70);
     writer.WriteSingle(Field74);
     writer.WriteSingle(Field78);
     writer.WriteSingle(Field7C);
     writer.WriteSingle(Field80);
     writer.WriteSingle(Field84);
     writer.WriteSingle(Field88);
 }
コード例 #2
0
ファイル: Texture.cs プロジェクト: D3fau4/image2gnf
 internal override void Write(ResourceWriter writer)
 {
     writer.WriteString(Name);
     writer.WriteInt16(( short )Format);
     writer.WriteInt32(Data.Length);
     writer.WriteBytes(Data);
     writer.WriteByte(Field1C);
     writer.WriteByte(Field1D);
     writer.WriteByte(Field1E);
     writer.WriteByte(Field1F);
 }
コード例 #3
0
 internal override void Write(ResourceWriter writer)
 {
     writer.WriteSingle(Field00);
     writer.WriteSingle(Field04);
     writer.WriteSingle(Field08);
     writer.WriteSingle(Field0C);
     writer.WriteByte(Byte);
 }
コード例 #4
0
 internal override void Write(ResourceWriter writer)
 {
     writer.WriteInt32(Field04);
     writer.WriteInt32(Field08);
     writer.WriteInt16(Field0C);
     writer.WriteSingle(Field10);
     writer.WriteSingle(Field14);
     writer.WriteSingle(Field18);
     writer.WriteInt32(Field1C);
     writer.WriteInt16(Field20);
     writer.WriteSingle(Field24);
     writer.WriteSingle(Field28);
     writer.WriteSingle(Field2C);
     writer.WriteByte(Field00);
 }
コード例 #5
0
 internal override void Write(ResourceWriter writer)
 {
     base.Write(writer);
     writer.WriteByte(Byte);
 }