Exemplo n.º 1
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     Event21PartIndices = new int[Event21PartNames.Length];
     for (int i = 0; i < Event21PartNames.Length; i++)
     {
         Event21PartIndices[i] = GetIndex(entries.Parts, Event21PartNames[i]);
     }
 }
Exemplo n.º 2
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     GroupPartIndices = new int[GroupPartNames.Length];
     for (int i = 0; i < GroupPartNames.Length; i++)
     {
         GroupPartIndices[i] = GetIndex(entries.Parts, GroupPartNames[i]);
     }
 }
Exemplo n.º 3
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     EnemyIndices = new int[EnemyNames.Length];
     for (int i = 0; i < EnemyNames.Length; i++)
     {
         EnemyIndices[i] = GetIndex(msb.Parts.Enemies, EnemyNames[i]);
     }
 }
Exemplo n.º 4
0
                internal override void GetIndices(MSBS msb, Entries entries)
                {
                    base.GetIndices(msb, entries);
                    WalkRegionIndices = new short[WalkRegionNames.Length];
                    for (int i = 0; i < WalkRegionNames.Length; i++)
                    {
                        WalkRegionIndices[i] = (short)MSB.FindIndex(entries.Regions, WalkRegionNames[i]);
                    }

                    foreach (WREntry wrEntry in WREntries)
                    {
                        wrEntry.GetIndices(entries);
                    }
                }
Exemplo n.º 5
0
                internal override void GetIndices(MSBS msb, Entries entries)
                {
                    base.GetIndices(msb, entries);
                    SpawnRegionIndices = new int[SpawnRegionNames.Length];
                    for (int i = 0; i < SpawnRegionNames.Length; i++)
                    {
                        SpawnRegionIndices[i] = GetIndex(entries.Regions, SpawnRegionNames[i]);
                    }

                    SpawnPartIndices = new int[SpawnPartNames.Length];
                    for (int i = 0; i < SpawnPartNames.Length; i++)
                    {
                        SpawnPartIndices[i] = GetIndex(entries.Parts, SpawnPartNames[i]);
                    }
                }
Exemplo n.º 6
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     ObjActPartIndex = MSB.FindIndex(entries.Parts, ObjActPartName);
 }
Exemplo n.º 7
0
 internal override void GetNames(MSBS msb, Entries entries)
 {
     base.GetNames(msb, entries);
     ObjActPartName = MSB.FindName(entries.Parts, ObjActPartIndex);
 }
Exemplo n.º 8
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     SpawnRegionIndices = MSB.FindIndices(entries.Regions, SpawnRegionNames);
     SpawnPartIndices   = MSB.FindIndices(entries.Parts, SpawnPartNames);
 }
Exemplo n.º 9
0
 internal virtual void GetIndices(MSBS msb, Entries entries)
 {
     PartIndex   = MSB.FindIndex(entries.Parts, PartName);
     RegionIndex = MSB.FindIndex(entries.Regions, RegionName);
 }
Exemplo n.º 10
0
 internal virtual void GetNames(MSBS msb, Entries entries)
 {
     PartName   = MSB.FindName(entries.Parts, PartIndex);
     RegionName = MSB.FindName(entries.Regions, RegionIndex);
 }
Exemplo n.º 11
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     EnemyIndices = MSB.FindIndices(msb.Parts.Enemies, EnemyNames);
 }
Exemplo n.º 12
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     Event21PartIndices = MSB.FindIndices(entries.Parts, Event21PartNames);
 }
Exemplo n.º 13
0
 internal override void GetNames(MSBS msb, Entries entries)
 {
     base.GetNames(msb, entries);
     GroupPartNames = MSB.FindNames(entries.Parts, GroupPartIndices);
 }
Exemplo n.º 14
0
 internal override void GetIndices(MSBS msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     TreasurePartIndex = GetIndex(entries.Parts, TreasurePartName);
 }
Exemplo n.º 15
0
 internal override void GetNames(MSBS msb, Entries entries)
 {
     base.GetNames(msb, entries);
     TreasurePartName = FindName(entries.Parts, TreasurePartIndex);
 }