Esempio n. 1
0
 public void ReadChildData(BinaryReader reader)
 {
     _materialEffects.ReadString(reader);
     _collisionSound.ReadString(reader);
     _detonatingEffect.ReadString(reader);
     _detonationEffect.ReadString(reader);
 }
Esempio n. 2
0
 public void ReadChildData(BinaryReader reader)
 {
     _model.ReadString(reader);
     _animation_graph.ReadString(reader);
     _indoorFogScreen.ReadString(reader);
     for (int x = 0; x < _shaderFunctions.Count; x++)
     {
         ShaderFunctions.AddNew();
         ShaderFunctions[x].Read(reader);
     }
     for (int x = 0; x < _shaderFunctions.Count; x++)
     {
         ShaderFunctions[x].ReadChildData(reader);
     }
     for (int x = 0; x < _animations.Count; x++)
     {
         Animations.AddNew();
         Animations[x].Read(reader);
     }
     for (int x = 0; x < _animations.Count; x++)
     {
         Animations[x].ReadChildData(reader);
     }
     for (int x = 0; x < _lights.Count; x++)
     {
         Lights.AddNew();
         Lights[x].Read(reader);
     }
     for (int x = 0; x < _lights.Count; x++)
     {
         Lights[x].ReadChildData(reader);
     }
 }
Esempio n. 3
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                for (x = 0; (x < _block.Count); x = (x + 1))
                {
                    Block.Add(new EmptyStructureBlock());
                    Block[x].Read(reader);
                }
                for (x = 0; (x < _block.Count); x = (x + 1))
                {
                    Block[x].ReadChildData(reader);
                }
                _data.ReadBinary(reader);
                _tagReference.ReadString(reader);
                for (x = 0; (x < _fiveEntryBlock.Count); x = (x + 1))
                {
                    FiveEntryBlock.Add(new FiveEntryStructureBlock());
                    FiveEntryBlock[x].Read(reader);
                }
                for (x = 0; (x < _fiveEntryBlock.Count); x = (x + 1))
                {
                    FiveEntryBlock[x].ReadChildData(reader);
                }
            }
 public void ReadChildData(BinaryReader reader)
 {
     _lensFlare.ReadString(reader);
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers.AddNew();
         ExtraLayers[x].Read(reader);
     }
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers[x].ReadChildData(reader);
     }
     for (int x = 0; x < _maps.Count; x++)
     {
         Maps.AddNew();
         Maps[x].Read(reader);
     }
     for (int x = 0; x < _maps.Count; x++)
     {
         Maps[x].ReadChildData(reader);
     }
     for (int x = 0; x < _stages.Count; x++)
     {
         Stages.AddNew();
         Stages[x].Read(reader);
     }
     for (int x = 0; x < _stages.Count; x++)
     {
         Stages[x].ReadChildData(reader);
     }
 }
Esempio n. 5
0
 public void ReadChildData(BinaryReader reader)
 {
     _baseMap.ReadString(reader);
     _multipurposeMap.ReadString(reader);
     _detailMap.ReadString(reader);
     _reflectionCubeMap.ReadString(reader);
 }
Esempio n. 6
0
 public virtual void ReadChildData(BinaryReader reader)
 {
     _actionString.ReadString(reader);
     _on.ReadString(reader);
     _off.ReadString(reader);
     _deny.ReadString(reader);
 }
Esempio n. 7
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _pickupMessage.ReadString(reader);
                _swapMessage.ReadString(reader);
                _pickupOrDualMsg.ReadString(reader);
                _swapOrDualMsg.ReadString(reader);
                _dual_MinusonlyMsg.ReadString(reader);
                _pickedUpMsg.ReadString(reader);
                _singluarQuantityMsg.ReadString(reader);
                _pluralQuantityMsg.ReadString(reader);
                _switch_MinustoMsg.ReadString(reader);
                _switch_MinustoFromAiMsg.ReadString(reader);
                _uNUSED.ReadString(reader);
                _collisionSound.ReadString(reader);
                for (x = 0; (x < _predictedBitmaps.Count); x = (x + 1))
                {
                    PredictedBitmaps.Add(new PredictedBitmapsBlockBlock());
                    PredictedBitmaps[x].Read(reader);
                }
                for (x = 0; (x < _predictedBitmaps.Count); x = (x + 1))
                {
                    PredictedBitmaps[x].ReadChildData(reader);
                }
                _detonationDamageEffect.ReadString(reader);
                _detonatingEffect.ReadString(reader);
                _detonationEffect.ReadString(reader);
            }
Esempio n. 8
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _lensFlare.ReadString(reader);
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers.Add(new ShaderTransparentLayerBlock());
                    ExtraLayers[x].Read(reader);
                }
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers[x].ReadChildData(reader);
                }
                for (x = 0; (x < @__4StageMaps.Count); x = (x + 1))
                {
                    _4StageMaps.Add(new ShaderTransparentChicagoMapBlock());
                    _4StageMaps[x].Read(reader);
                }
                for (x = 0; (x < @__4StageMaps.Count); x = (x + 1))
                {
                    _4StageMaps[x].ReadChildData(reader);
                }
                for (x = 0; (x < @__2StageMaps.Count); x = (x + 1))
                {
                    _2StageMaps.Add(new ShaderTransparentChicagoMapBlock());
                    _2StageMaps[x].Read(reader);
                }
                for (x = 0; (x < @__2StageMaps.Count); x = (x + 1))
                {
                    _2StageMaps[x].ReadChildData(reader);
                }
            }
Esempio n. 9
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _detonationStarted.ReadString(reader);
                _detonationEffectAirborne.ReadString(reader);
                _detonationEffectGround.ReadString(reader);
                _detonationDamage.ReadString(reader);
                _attachedDetonationDamage.ReadString(reader);
                _superDetonation.ReadString(reader);
                _superDetonationDamage.ReadString(reader);
                _detonationSound.ReadString(reader);
                _superAttachedDetonationDamage.ReadString(reader);
                _flybySound.ReadString(reader);
                _impactEffect.ReadString(reader);
                _impactDamage.ReadString(reader);
                _boardingDetonationDamage.ReadString(reader);
                _boardingAttachedDetonationDamage.ReadString(reader);
                for (x = 0; (x < _materialResponses.Count); x = (x + 1))
                {
                    MaterialResponses.Add(new ProjectileMaterialResponseBlockBlock());
                    MaterialResponses[x].Read(reader);
                }
                for (x = 0; (x < _materialResponses.Count); x = (x + 1))
                {
                    MaterialResponses[x].ReadChildData(reader);
                }
            }
Esempio n. 10
0
 public void ReadChildData(BinaryReader reader)
 {
     _suspensionSound.ReadString(reader);
     _crashSound.ReadString(reader);
     _materialEffects.ReadString(reader);
     _effect.ReadString(reader);
 }
Esempio n. 11
0
 public virtual void ReadChildData(BinaryReader reader)
 {
     _dONOTUSEOLDEffect.ReadString(reader);
     _materialName.ReadString(reader);
     _dONOTUSEOLDEffect2.ReadString(reader);
     _dONOTUSEOLDDetonationEffect.ReadString(reader);
 }
Esempio n. 12
0
 public void ReadChildData(BinaryReader reader)
 {
     for (int x = 0; x < _characterTables.Count; x++)
     {
         CharacterTables.AddNew();
         CharacterTables[x].Read(reader);
     }
     for (int x = 0; x < _characterTables.Count; x++)
     {
         CharacterTables[x].ReadChildData(reader);
     }
     _bold.ReadString(reader);
     _italic.ReadString(reader);
     _condense.ReadString(reader);
     _underline.ReadString(reader);
     for (int x = 0; x < _characters.Count; x++)
     {
         Characters.AddNew();
         Characters[x].Read(reader);
     }
     for (int x = 0; x < _characters.Count; x++)
     {
         Characters[x].ReadChildData(reader);
     }
     _pixels.ReadBinary(reader);
 }
 public void ReadChildData(BinaryReader reader)
 {
     _unselectedBackgroundBitmap.ReadString(reader);
     _selectedBackgroundBitmap.ReadString(reader);
     _activeBackgroundBitmap.ReadString(reader);
     _stickyBackgroundBitmap.ReadString(reader);
 }
Esempio n. 14
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _lensFlare.ReadString(reader);
                for (x = 0; (x < _fog.Count); x = (x + 1))
                {
                    Fog.Add(new SkyLightFogBlockBlock());
                    Fog[x].Read(reader);
                }
                for (x = 0; (x < _fog.Count); x = (x + 1))
                {
                    Fog[x].ReadChildData(reader);
                }
                for (x = 0; (x < _fogOpposite.Count); x = (x + 1))
                {
                    FogOpposite.Add(new SkyLightFogBlockBlock());
                    FogOpposite[x].Read(reader);
                }
                for (x = 0; (x < _fogOpposite.Count); x = (x + 1))
                {
                    FogOpposite[x].ReadChildData(reader);
                }
                for (x = 0; (x < _radiosity.Count); x = (x + 1))
                {
                    Radiosity.Add(new SkyRadiosityLightBlockBlock());
                    Radiosity[x].Read(reader);
                }
                for (x = 0; (x < _radiosity.Count); x = (x + 1))
                {
                    Radiosity[x].ReadChildData(reader);
                }
            }
Esempio n. 15
0
 public void ReadChildData(BinaryReader reader)
 {
     _lensFlare.ReadString(reader);
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers.AddNew();
         ExtraLayers[x].Read(reader);
     }
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers[x].ReadChildData(reader);
     }
     for (int x = 0; x < _4StageMaps.Count; x++)
     {
         FourStageMaps.AddNew();
         FourStageMaps[x].Read(reader);
     }
     for (int x = 0; x < _4StageMaps.Count; x++)
     {
         FourStageMaps[x].ReadChildData(reader);
     }
     for (int x = 0; x < _2StageMaps.Count; x++)
     {
         TwoStageMaps.AddNew();
         TwoStageMaps[x].Read(reader);
     }
     for (int x = 0; x < _2StageMaps.Count; x++)
     {
         TwoStageMaps[x].ReadChildData(reader);
     }
 }
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _lensFlare.ReadString(reader);
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers.Add(new ShaderTransparentLayerBlock());
                    ExtraLayers[x].Read(reader);
                }
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers[x].ReadChildData(reader);
                }
                for (x = 0; (x < _maps.Count); x = (x + 1))
                {
                    Maps.Add(new ShaderTransparentGenericMapBlock());
                    Maps[x].Read(reader);
                }
                for (x = 0; (x < _maps.Count); x = (x + 1))
                {
                    Maps[x].ReadChildData(reader);
                }
                for (x = 0; (x < _stages.Count); x = (x + 1))
                {
                    Stages.Add(new ShaderTransparentGenericStageBlock());
                    Stages[x].Read(reader);
                }
                for (x = 0; (x < _stages.Count); x = (x + 1))
                {
                    Stages[x].ReadChildData(reader);
                }
            }
Esempio n. 17
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _singlePlayerFont.ReadString(reader);
                _multiPlayerFont.ReadString(reader);
                _itemMessageText.ReadString(reader);
                _iconBitmap.ReadString(reader);
                _alternateIconText.ReadString(reader);
                for (x = 0; (x < _buttonIcons.Count); x = (x + 1))
                {
                    ButtonIcons.Add(new HudButtonIconBlock());
                    ButtonIcons[x].Read(reader);
                }
                for (x = 0; (x < _buttonIcons.Count); x = (x + 1))
                {
                    ButtonIcons[x].ReadChildData(reader);
                }
                _hudMessages.ReadString(reader);
                _arrowBitmap.ReadString(reader);
                for (x = 0; (x < _waypointArrows.Count); x = (x + 1))
                {
                    WaypointArrows.Add(new HudWaypointArrowBlock());
                    WaypointArrows[x].Read(reader);
                }
                for (x = 0; (x < _waypointArrows.Count); x = (x + 1))
                {
                    WaypointArrows[x].ReadChildData(reader);
                }
                _defaultWeaponHud.ReadString(reader);
                _indicatorBitmap.ReadString(reader);
                _carnageReportBitmap.ReadString(reader);
                _checkpointSound.ReadString(reader);
            }
Esempio n. 18
0
 public void ReadChildData(BinaryReader reader)
 {
     _singlePlayerFont.ReadString(reader);
     _multiPlayerFont.ReadString(reader);
     _itemMessageText.ReadString(reader);
     _iconBitmap.ReadString(reader);
     _alternateIconText.ReadString(reader);
     for (int x = 0; x < _buttonIcons.Count; x++)
     {
         ButtonIcons.AddNew();
         ButtonIcons[x].Read(reader);
     }
     for (int x = 0; x < _buttonIcons.Count; x++)
     {
         ButtonIcons[x].ReadChildData(reader);
     }
     _hudMessages.ReadString(reader);
     _arrowBitmap.ReadString(reader);
     for (int x = 0; x < _waypointArrows.Count; x++)
     {
         WaypointArrows.AddNew();
         WaypointArrows[x].Read(reader);
     }
     for (int x = 0; x < _waypointArrows.Count; x++)
     {
         WaypointArrows[x].ReadChildData(reader);
     }
     _defaultWeaponHud.ReadString(reader);
     _indicatorBitmap.ReadString(reader);
     _carnageReportBitmap.ReadString(reader);
     _checkpointSound.ReadString(reader);
 }
Esempio n. 19
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _model.ReadString(reader);
                _animationgraph.ReadString(reader);
                _indoorFogScreen.ReadString(reader);
                for (x = 0; (x < _shaderFunctions.Count); x = (x + 1))
                {
                    ShaderFunctions.Add(new SkyShaderFunctionBlock());
                    ShaderFunctions[x].Read(reader);
                }
                for (x = 0; (x < _shaderFunctions.Count); x = (x + 1))
                {
                    ShaderFunctions[x].ReadChildData(reader);
                }
                for (x = 0; (x < _animations.Count); x = (x + 1))
                {
                    Animations.Add(new SkyAnimationBlock());
                    Animations[x].Read(reader);
                }
                for (x = 0; (x < _animations.Count); x = (x + 1))
                {
                    Animations[x].ReadChildData(reader);
                }
                for (x = 0; (x < _lights.Count); x = (x + 1))
                {
                    Lights.Add(new SkyLightBlock());
                    Lights[x].Read(reader);
                }
                for (x = 0; (x < _lights.Count); x = (x + 1))
                {
                    Lights[x].ReadChildData(reader);
                }
            }
Esempio n. 20
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                for (x = 0; (x < _characterTables.Count); x = (x + 1))
                {
                    CharacterTables.Add(new FontCharacterTablesBlock());
                    CharacterTables[x].Read(reader);
                }
                for (x = 0; (x < _characterTables.Count); x = (x + 1))
                {
                    CharacterTables[x].ReadChildData(reader);
                }
                _bold.ReadString(reader);
                _italic.ReadString(reader);
                _condense.ReadString(reader);
                _underline.ReadString(reader);
                for (x = 0; (x < _characters.Count); x = (x + 1))
                {
                    Characters.Add(new CharacterBlock());
                    Characters[x].Read(reader);
                }
                for (x = 0; (x < _characters.Count); x = (x + 1))
                {
                    Characters[x].ReadChildData(reader);
                }
                _pixels.ReadBinary(reader);
            }
public void ReadChildData(BinaryReader reader)
{
_start.ReadString(reader);
_loop.ReadString(reader);
_end.ReadString(reader);
_alternateLoop.ReadString(reader);
_alternateEnd.ReadString(reader);
}
Esempio n. 22
0
 public void ReadChildData(BinaryReader reader)
 {
     _bitmap.ReadString(reader);
     _physics.ReadString(reader);
     _martyTradedHisKidsForThis.ReadString(reader);
     _collisionEffect.ReadString(reader);
     _deathEffect.ReadString(reader);
     _bitmap2.ReadString(reader);
 }
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _backgroundBitmap.ReadString(reader);
                for (x = 0; (x < _gameDataInputs.Count); x = (x + 1))
                {
                    GameDataInputs.Add(new GameDataInputReferencesBlock());
                    GameDataInputs[x].Read(reader);
                }
                for (x = 0; (x < _gameDataInputs.Count); x = (x + 1))
                {
                    GameDataInputs[x].ReadChildData(reader);
                }
                for (x = 0; (x < _eventHandlers.Count); x = (x + 1))
                {
                    EventHandlers.Add(new EventHandlerReferencesBlock());
                    EventHandlers[x].Read(reader);
                }
                for (x = 0; (x < _eventHandlers.Count); x = (x + 1))
                {
                    EventHandlers[x].ReadChildData(reader);
                }
                for (x = 0; (x < _searchAndReplaceFunctions.Count); x = (x + 1))
                {
                    SearchAndReplaceFunctions.Add(new SearchAndReplaceReferenceBlock());
                    SearchAndReplaceFunctions[x].Read(reader);
                }
                for (x = 0; (x < _searchAndReplaceFunctions.Count); x = (x + 1))
                {
                    SearchAndReplaceFunctions[x].ReadChildData(reader);
                }
                _textLabelUnicodeStringsList.ReadString(reader);
                _textFont.ReadString(reader);
                _listHeaderBitmap.ReadString(reader);
                _listFooterBitmap.ReadString(reader);
                _extendedDescriptionWidget.ReadString(reader);
                for (x = 0; (x < _conditionalWidgets.Count); x = (x + 1))
                {
                    ConditionalWidgets.Add(new ConditionalWidgetReferenceBlock());
                    ConditionalWidgets[x].Read(reader);
                }
                for (x = 0; (x < _conditionalWidgets.Count); x = (x + 1))
                {
                    ConditionalWidgets[x].ReadChildData(reader);
                }
                for (x = 0; (x < _childWidgets.Count); x = (x + 1))
                {
                    ChildWidgets.Add(new ChildWidgetReferenceBlock());
                    ChildWidgets[x].Read(reader);
                }
                for (x = 0; (x < _childWidgets.Count); x = (x + 1))
                {
                    ChildWidgets[x].ReadChildData(reader);
                }
            }
Esempio n. 24
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _model.ReadString(reader);
                _animationGraph.ReadString(reader);
                _collisionModel.ReadString(reader);
                _physics.ReadString(reader);
                _modifierShader.ReadString(reader);
                _creationEffect.ReadString(reader);
                for (x = 0; (x < _attachments.Count); x = (x + 1))
                {
                    Attachments.Add(new ObjectAttachmentBlock());
                    Attachments[x].Read(reader);
                }
                for (x = 0; (x < _attachments.Count); x = (x + 1))
                {
                    Attachments[x].ReadChildData(reader);
                }
                for (x = 0; (x < _widgets.Count); x = (x + 1))
                {
                    Widgets.Add(new ObjectWidgetBlock());
                    Widgets[x].Read(reader);
                }
                for (x = 0; (x < _widgets.Count); x = (x + 1))
                {
                    Widgets[x].ReadChildData(reader);
                }
                for (x = 0; (x < _functions.Count); x = (x + 1))
                {
                    Functions.Add(new ObjectFunctionBlock());
                    Functions[x].Read(reader);
                }
                for (x = 0; (x < _functions.Count); x = (x + 1))
                {
                    Functions[x].ReadChildData(reader);
                }
                for (x = 0; (x < _changeColors.Count); x = (x + 1))
                {
                    ChangeColors.Add(new ObjectChangeColorsBlock());
                    ChangeColors[x].Read(reader);
                }
                for (x = 0; (x < _changeColors.Count); x = (x + 1))
                {
                    ChangeColors[x].ReadChildData(reader);
                }
                for (x = 0; (x < _predictedResources.Count); x = (x + 1))
                {
                    PredictedResources.Add(new PredictedResourceBlock());
                    PredictedResources[x].Read(reader);
                }
                for (x = 0; (x < _predictedResources.Count); x = (x + 1))
                {
                    PredictedResources[x].ReadChildData(reader);
                }
            }
Esempio n. 25
0
 public virtual void ReadChildData(BinaryReader reader)
 {
     _openUp.ReadString(reader);
     _closeDown.ReadString(reader);
     _opened.ReadString(reader);
     _closed.ReadString(reader);
     _depowered.ReadString(reader);
     _repowered.ReadString(reader);
     _delayEffect.ReadString(reader);
 }
 public virtual void ReadChildData(BinaryReader reader)
 {
     _backgroundTintMap.ReadString(reader);
     _reflectionMap.ReadString(reader);
     _bumpMap.ReadString(reader);
     _diffuseMap.ReadString(reader);
     _diffuseDetailMap.ReadString(reader);
     _specularMap.ReadString(reader);
     _specularDetailMap.ReadString(reader);
 }
 public void ReadChildData(BinaryReader reader)
 {
     _backgroundBitmap.ReadString(reader);
     for (int x = 0; x < _gameDataInputs.Count; x++)
     {
         GameDataInputs.AddNew();
         GameDataInputs[x].Read(reader);
     }
     for (int x = 0; x < _gameDataInputs.Count; x++)
     {
         GameDataInputs[x].ReadChildData(reader);
     }
     for (int x = 0; x < _eventHandlers.Count; x++)
     {
         EventHandlers.AddNew();
         EventHandlers[x].Read(reader);
     }
     for (int x = 0; x < _eventHandlers.Count; x++)
     {
         EventHandlers[x].ReadChildData(reader);
     }
     for (int x = 0; x < _searchAndReplaceFunctions.Count; x++)
     {
         SearchAndReplaceFunctions.AddNew();
         SearchAndReplaceFunctions[x].Read(reader);
     }
     for (int x = 0; x < _searchAndReplaceFunctions.Count; x++)
     {
         SearchAndReplaceFunctions[x].ReadChildData(reader);
     }
     _textLabelUnicodeStringsList.ReadString(reader);
     _textFont.ReadString(reader);
     _listHeaderBitmap.ReadString(reader);
     _listFooterBitmap.ReadString(reader);
     _extendedDescriptionWidget.ReadString(reader);
     for (int x = 0; x < _conditionalWidgets.Count; x++)
     {
         ConditionalWidgets.AddNew();
         ConditionalWidgets[x].Read(reader);
     }
     for (int x = 0; x < _conditionalWidgets.Count; x++)
     {
         ConditionalWidgets[x].ReadChildData(reader);
     }
     for (int x = 0; x < _childWidgets.Count; x++)
     {
         ChildWidgets.AddNew();
         ChildWidgets[x].Read(reader);
     }
     for (int x = 0; x < _childWidgets.Count; x++)
     {
         ChildWidgets[x].ReadChildData(reader);
     }
 }
Esempio n. 28
0
 public virtual void ReadChildData(BinaryReader reader)
 {
     _lensFlare.ReadString(reader);
     _baseMap.ReadString(reader);
     _primaryDetailMap.ReadString(reader);
     _secondaryDetailMap.ReadString(reader);
     _microDetailMap.ReadString(reader);
     _bumpMap.ReadString(reader);
     _map.ReadString(reader);
     _reflectionCubeMap.ReadString(reader);
 }
Esempio n. 29
0
 public void ReadChildData(BinaryReader reader)
 {
     _model.ReadString(reader);
     _animationGraph.ReadString(reader);
     _collisionModel.ReadString(reader);
     _physics.ReadString(reader);
     _modifierShader.ReadString(reader);
     _creationEffect.ReadString(reader);
     for (int x = 0; x < _attachments.Count; x++)
     {
         Attachments.AddNew();
         Attachments[x].Read(reader);
     }
     for (int x = 0; x < _attachments.Count; x++)
     {
         Attachments[x].ReadChildData(reader);
     }
     for (int x = 0; x < _widgets.Count; x++)
     {
         Widgets.AddNew();
         Widgets[x].Read(reader);
     }
     for (int x = 0; x < _widgets.Count; x++)
     {
         Widgets[x].ReadChildData(reader);
     }
     for (int x = 0; x < _functions.Count; x++)
     {
         Functions.AddNew();
         Functions[x].Read(reader);
     }
     for (int x = 0; x < _functions.Count; x++)
     {
         Functions[x].ReadChildData(reader);
     }
     for (int x = 0; x < _changeColors.Count; x++)
     {
         ChangeColors.AddNew();
         ChangeColors[x].Read(reader);
     }
     for (int x = 0; x < _changeColors.Count; x++)
     {
         ChangeColors[x].ReadChildData(reader);
     }
     for (int x = 0; x < _predictedResources.Count; x++)
     {
         PredictedResources.AddNew();
         PredictedResources[x].Read(reader);
     }
     for (int x = 0; x < _predictedResources.Count; x++)
     {
         PredictedResources[x].ReadChildData(reader);
     }
 }
Esempio n. 30
0
 public virtual void ReadChildData(BinaryReader reader)
 {
     _name.ReadString(reader);
     _in.ReadString(reader);
     _loop.ReadString(reader);
     _out.ReadString(reader);
     _altLoop.ReadString(reader);
     _altOut.ReadString(reader);
     _altTransIn.ReadString(reader);
     _altTransOut.ReadString(reader);
 }