示例#1
0
 internal void GetIndices(MSBD msb, Entries entries)
 {
     foreach (Part part in entries.Parts)
     {
         part.GetIndices(msb, entries);
     }
 }
示例#2
0
                internal override void GetIndices(MSBD msb, Entries entries)
                {
                    base.GetIndices(msb, entries);
                    CollisionIndex = MSB.FindIndex(entries.Parts, CollisionName);

                    MovePointIndices = new short[MovePointNames.Length];
                    for (int i = 0; i < MovePointNames.Length; i++)
                    {
                        MovePointIndices[i] = (short)MSB.FindIndex(entries.Regions, MovePointNames[i]);
                    }
                }
示例#3
0
 internal virtual void GetIndices(MSBD msb, Entries entries)
 {
     ModelIndex = MSB.FindIndex(entries.Models, ModelName);
 }
示例#4
0
 internal virtual void GetNames(MSBD msb, Entries entries)
 {
     ModelName = MSB.FindName(entries.Models, ModelIndex);
 }
示例#5
0
 internal override void GetIndices(MSBD msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     CollisionIndex = MSB.FindIndex(msb.Parts.Collisions, CollisionName);
 }
示例#6
0
 internal override void GetNames(MSBD msb, Entries entries)
 {
     base.GetNames(msb, entries);
     CollisionName = MSB.FindName(msb.Parts.Collisions, CollisionIndex);
 }
示例#7
0
 internal override void GetIndices(MSBD msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     SpawnPointIndices = MSB.FindIndices(entries.Regions, SpawnPointNames);
     SpawnPartIndices  = MSB.FindIndices(entries.Parts, SpawnPartNames);
 }
示例#8
0
 internal override void GetIndices(MSBD msb, Entries entries)
 {
     base.GetIndices(msb, entries);
     TreasurePartIndex = MSB.FindIndex(entries.Parts, TreasurePartName);
 }
示例#9
0
 internal override void GetNames(MSBD msb, Entries entries)
 {
     base.GetNames(msb, entries);
     TreasurePartName = MSB.FindName(entries.Parts, TreasurePartIndex);
 }
示例#10
0
 internal virtual void GetIndices(MSBD msb, Entries entries)
 {
     PartIndex   = MSB.FindIndex(entries.Parts, PartName);
     RegionIndex = MSB.FindIndex(entries.Regions, RegionName);
 }
示例#11
0
 internal virtual void GetNames(MSBD msb, Entries entries)
 {
     PartName   = MSB.FindName(entries.Parts, PartIndex);
     RegionName = MSB.FindName(entries.Regions, RegionIndex);
 }