コード例 #1
0
ファイル: BlendInfo.cs プロジェクト: Tarcontar/SageCS
 public BlendInfo(BinaryReader br)
 {
     this = new BlendInfo();
     this.secondaryTextureTile = br.ReadInt32();
     this.blendDirection = this.ToBlendDirection(br.ReadBytes(6));
     this.i3 = br.ReadUInt32();
     if ((int)this.i3 != -1)
         Console.WriteLine("!\t Asset: BlendTileData.BlendInfo expected 0xffffffff for i3 instead of 0x{0:x8}", (object)this.i3);
     this.i4 = br.ReadUInt32();
     if ((int)this.i4 == 2061107200)
         return;
     Console.WriteLine("!\t Asset: BlendTileData.BlendInfo expected 0x7ada0000 for i4 instead of 0x{0:x8}", (object)this.i4);
 }
コード例 #2
0
 public BlendInfo(BinaryReader br)
 {
     this = new BlendInfo();
     this.secondaryTextureTile = br.ReadInt32();
     this.blendDirection       = this.ToBlendDirection(br.ReadBytes(6));
     this.i3 = br.ReadUInt32();
     if ((int)this.i3 != -1)
     {
         Console.WriteLine("!\t Asset: BlendTileData.BlendInfo expected 0xffffffff for i3 instead of 0x{0:x8}", (object)this.i3);
     }
     this.i4 = br.ReadUInt32();
     if ((int)this.i4 == 2061107200)
     {
         return;
     }
     Console.WriteLine("!\t Asset: BlendTileData.BlendInfo expected 0x7ada0000 for i4 instead of 0x{0:x8}", (object)this.i4);
 }