Beispiel #1
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);
            }
Beispiel #2
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);
 }