コード例 #1
0
ファイル: EventParam.cs プロジェクト: FloorBelow/dstools
 public WalkRoute() : base()
 {
     WalkRegionNames = new string[32];
     WREntries       = new WREntry[5];
     for (int i = 0; i < 5; i++)
     {
         WREntries[i] = new WREntry();
     }
 }
コード例 #2
0
ファイル: EventParam.cs プロジェクト: FloorBelow/dstools
 internal WalkRoute(BinaryReaderEx br) : base(br)
 {
     UnkT00 = br.ReadInt32();
     br.AssertInt32(0);
     br.AssertInt32(0);
     br.AssertInt32(0);
     WalkRegionIndices = br.ReadInt16s(32);
     WREntries         = new WREntry[5];
     for (int i = 0; i < 5; i++)
     {
         WREntries[i] = new WREntry(br);
     }
     br.AssertNull(0x14, false);
 }