protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 MinWidth       = subReader.ReadSingle();
                 MaxWidth       = subReader.ReadSingle();
                 MinHeight      = subReader.ReadSingle();
                 MaxHeight      = subReader.ReadSingle();
                 Depth          = subReader.ReadSingle();
                 Shininess      = subReader.ReadSingle();
                 ParallaxScale  = subReader.ReadSingle();
                 ParallaxPasses = subReader.ReadByte();
                 DecalFlags     = subReader.ReadEnum <DecalDataFlags>();
                 Unused         = subReader.ReadBytes(2);
                 Color.ReadBinary(subReader);
             }
             catch
             {
                 return;
             }
         }
 }
Example #2
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Aggression          = subReader.ReadEnum <AggressionType>();
                 Confidence          = subReader.ReadEnum <ConfidenceType>();
                 EnergyLevel         = subReader.ReadByte();
                 Responsibility      = subReader.ReadByte();
                 Mood                = subReader.ReadEnum <MoodType>();
                 Unused              = subReader.ReadBytes(3);
                 Services            = subReader.ReadEnum <ServicesFlag>();
                 Teaches             = subReader.ReadEnum <Skills>();
                 MaxTrainingLevel    = subReader.ReadByte();
                 Assistance          = subReader.ReadEnum <AssistanceType>();
                 AggroRadiusBehavior = subReader.ReadEnum <AggroRadiusBehaviorFlags>();
                 AggroRadius         = subReader.ReadInt32();
             }
             catch
             {
                 return;
             }
         }
 }
Example #3
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Dynamic_KeyframeBlendAmount = subReader.ReadSingle();
                 HierarchyGain                 = subReader.ReadSingle();
                 PositionGain                  = subReader.ReadSingle();
                 VelocityGain                  = subReader.ReadSingle();
                 AccelerationGain              = subReader.ReadSingle();
                 SnapGain                      = subReader.ReadSingle();
                 VelocityDamping               = subReader.ReadSingle();
                 SnapMaxLinearVelocity         = subReader.ReadSingle();
                 SnapMaxAngularVelocity        = subReader.ReadSingle();
                 SnapMaxLinearDistance         = subReader.ReadSingle();
                 SnapMaxAngularDistance        = subReader.ReadSingle();
                 PositionMaxLinearVelocity     = subReader.ReadSingle();
                 PositionMaxAngularVelocity    = subReader.ReadSingle();
                 ProjectilePositionMaxVelocity = subReader.ReadSingle();
                 MeleePositionMaxVelocity      = subReader.ReadSingle();
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Index   = subReader.ReadUInt32();
                 Unused1 = subReader.ReadBytes(12);
                 Flags   = subReader.ReadEnum <LocalVariableFlag>();
                 Unused2 = subReader.ReadBytes(7);
             }
             catch
             {
                 return;
             }
         }
 }
Example #5
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 IsAnimatable            = subReader.ReadEnum <NoYes>();
                 Duration                = subReader.ReadSingle();
                 HDREyeAdaptSpeedMult    = subReader.ReadUInt32();
                 HDREyeAdaptSpeedAdd     = subReader.ReadUInt32();
                 HDRBloomBlurRadiusMult  = subReader.ReadUInt32();
                 HDRBloomBlurRadiusAdd   = subReader.ReadUInt32();
                 HDRBloomThresholdMult   = subReader.ReadUInt32();
                 HDRBloomThresholdAdd    = subReader.ReadUInt32();
                 HDRBloomScaleMult       = subReader.ReadUInt32();
                 HDRBloomScaleAdd        = subReader.ReadUInt32();
                 HDRTargetLumMinMult     = subReader.ReadUInt32();
                 HDRTargetLumMinAdd      = subReader.ReadUInt32();
                 HDRTargetLumMaxMult     = subReader.ReadUInt32();
                 HDRTargetLumMaxAdd      = subReader.ReadUInt32();
                 HDRSunlightScaleMult    = subReader.ReadUInt32();
                 HDRSunlightScaleAdd     = subReader.ReadUInt32();
                 HDRSkyScaleMult         = subReader.ReadUInt32();
                 HDRSkyScaleAdd          = subReader.ReadUInt32();
                 Unknown1                = subReader.ReadBytes(72);
                 CinematicSaturationMult = subReader.ReadUInt32();
                 CinematicSaturationAdd  = subReader.ReadUInt32();
                 CinematicBrightnessMult = subReader.ReadUInt32();
                 CinematicBrightnessAdd  = subReader.ReadUInt32();
                 CinematicContrastMult   = subReader.ReadUInt32();
                 CinematicContrastAdd    = subReader.ReadUInt32();
                 Unknown2                = subReader.ReadBytes(8);
                 TintColor.ReadBinary(subReader);
                 BlurRadius            = subReader.ReadUInt32();
                 DoubleVisionStrength  = subReader.ReadUInt32();
                 RadialBlurStrength    = subReader.ReadUInt32();
                 RadialBlurRampUp      = subReader.ReadUInt32();
                 RadialBlurStart       = subReader.ReadUInt32();
                 RadialBlurUseTarget   = subReader.ReadEnum <NoYes>();
                 RadialBlurCenterX     = subReader.ReadUInt32();
                 RadialBlurCenterY     = subReader.ReadUInt32();
                 DepthOfFieldStrength  = subReader.ReadUInt32();
                 DepthOfFieldDistance  = subReader.ReadUInt32();
                 DepthOfFieldRange     = subReader.ReadUInt32();
                 DepthOfFieldUseTarget = subReader.ReadEnum <NoYes>();
                 RadialBlurRampDown    = subReader.ReadUInt32();
                 RadialBlurDownStart   = subReader.ReadUInt32();
                 FadeColor.ReadBinary(subReader);
                 MotionBlurStrength = subReader.ReadEnum <NoYes>();
             }
             catch
             {
                 return;
             }
         }
 }
Example #6
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Type    = subReader.ReadEnum <EnchantType>();
                 Unused1 = subReader.ReadBytes(4);
                 Unused2 = subReader.ReadBytes(4);
                 Flags   = subReader.ReadEnum <EnchantFlags>();
                 Unused3 = subReader.ReadBytes(3);
             }
             catch
             {
                 return;
             }
         }
 }
Example #7
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Level   = subReader.ReadInt16();
                 Unused1 = subReader.ReadBytes(2);
                 Reference.ReadBinary(subReader);
                 Count   = subReader.ReadInt16();
                 Unused2 = subReader.ReadBytes(2);
             }
             catch
             {
                 return;
             }
         }
 }
Example #8
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Level  = subReader.ReadByte();
                 Unused = subReader.ReadBytes(3);
                 Key.ReadBinary(subReader);
                 Flags   = subReader.ReadEnum <LockFlags>();
                 Unknown = subReader.ReadBytes(11);
             }
             catch
             {
                 return;
             }
         }
 }
Example #9
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Flags   = subReader.ReadEnum <PackageFlags>();
                 Type    = subReader.ReadEnum <PackageType>();
                 Unused1 = subReader.ReadBytes(1);
                 FalloutBehaviorFlags = subReader.ReadEnum <FalloutBehaviorFlags>();
                 ReadTypeFlagsBinary(subReader);
                 Unused2 = subReader.ReadBytes(2);
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Damage     = subReader.ReadUInt16();
                 Unused1    = subReader.ReadBytes(2);
                 ChanceMult = subReader.ReadSingle();
                 Flags      = subReader.ReadEnum <WeaponCritFlags>();
                 Unused2    = subReader.ReadBytes(3);
                 Effect.ReadBinary(subReader);
             }
             catch
             {
                 return;
             }
         }
 }
Example #11
0
 public void ReadBinary(ESPReader reader)
 {
     try
     {
         Form.ReadBinary(reader);
         Unknown = reader.ReadBytes(4);
     }
     catch
     {
         return;
     }
 }
        protected override void ReadData(ESPReader reader)
        {
            using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
                using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
                {
                    try
                    {
                        Type = subReader.ReadEnum <PackageLocationType>();

                        switch (Type)
                        {
                        case PackageLocationType.NearReference:
                            Location = new FormID(subReader.ReadUInt32());
                            break;

                        case PackageLocationType.InCell:
                            Location = new FormID(subReader.ReadUInt32());
                            break;

                        case PackageLocationType.NearCurrentLocation:
                            Location = subReader.ReadBytes(4);
                            break;

                        case PackageLocationType.NearEditorLocation:
                            Location = subReader.ReadBytes(4);
                            break;

                        case PackageLocationType.ObjectID:
                            Location = new FormID(subReader.ReadUInt32());
                            break;

                        case PackageLocationType.ObjectType:
                            Location = (ObjectType)subReader.ReadUInt32();
                            break;

                        case PackageLocationType.NearLinkedReference:
                            Location = subReader.ReadBytes(4);
                            break;

                        case PackageLocationType.AtPackageLocation:
                            Location = subReader.ReadBytes(4);
                            break;
                        }

                        Radius = subReader.ReadInt32();
                    }
                    catch
                    {
                        return;
                    }
                }
        }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Emotion        = subReader.ReadEnum <EmotionType>();
                 EmotionValue   = subReader.ReadInt32();
                 Unused1        = subReader.ReadBytes(4);
                 ResponseNumber = subReader.ReadByte();
                 Unused2        = subReader.ReadBytes(3);
                 Sound.ReadBinary(subReader);
                 UseEmotionAnimation = subReader.ReadEnum <NoYesByte>();
                 Unused3             = subReader.ReadBytes(3);
             }
             catch
             {
                 return;
             }
         }
 }
 public void ReadBinary(ESPReader reader)
 {
     try
     {
         Door.ReadBinary(reader);
         Triangle = reader.ReadUInt16();
         Unused   = reader.ReadBytes(2);
     }
     catch
     {
         return;
     }
 }
Example #15
0
 public void ReadBinary(ESPReader reader)
 {
     try
     {
         Unknown = reader.ReadBytes(4);
         NavigationMesh.ReadBinary(reader);
         Triangle = reader.ReadUInt16();
     }
     catch
     {
         return;
     }
 }
 partial void ReadOffsetData(ESPReader reader)
 {
     OffsetData = new SimpleSubrecord <byte[]>();
     if (OffsetDataSize == null)
     {
         OffsetData.ReadBinary(reader);
     }
     else
     {
         OffsetData.Tag = reader.ReadTag();
         reader.ReadUInt16();
         OffsetData.Value = reader.ReadBytes((int)OffsetDataSize.Value);
     }
 }
Example #17
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 ConcreteSolid  = subReader.ReadBytes(30);
                 ConcreteBroken = subReader.ReadBytes(30);
                 MetalSolid     = subReader.ReadBytes(30);
                 MetalHollow    = subReader.ReadBytes(30);
                 MetalSheet     = subReader.ReadBytes(30);
                 Wood           = subReader.ReadBytes(30);
                 Sand           = subReader.ReadBytes(30);
                 Dirt           = subReader.ReadBytes(30);
                 Grass          = subReader.ReadBytes(30);
                 Water          = subReader.ReadBytes(30);
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Reference.ReadBinary(subReader);
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Stimpack.ReadBinary(subReader);
                 SuperStimpack.ReadBinary(subReader);
                 RadX.ReadBinary(subReader);
                 RadAway.ReadBinary(subReader);
                 MedX.ReadBinary(subReader);
                 PerkParalysis.ReadBinary(subReader);
                 PlayerFaction.ReadBinary(subReader);
                 MysteriousStrangerNPC.ReadBinary(subReader);
                 MysteriousStrangerFaction.ReadBinary(subReader);
                 DefaultMusic.ReadBinary(subReader);
                 BattleMusic.ReadBinary(subReader);
                 DeathMusic.ReadBinary(subReader);
                 SuccessMusic.ReadBinary(subReader);
                 LevelUpMusic.ReadBinary(subReader);
                 PlayerVoiceMale.ReadBinary(subReader);
                 PlayerVoiceMaleChild.ReadBinary(subReader);
                 PlayerVoiceFemale.ReadBinary(subReader);
                 PlayerVoiceFemaleChild.ReadBinary(subReader);
                 EatPackageDefaultFood.ReadBinary(subReader);
                 EveryActorAbility.ReadBinary(subReader);
                 DrugWearsOffImageSpace.ReadBinary(subReader);
                 DoctorsBag.ReadBinary(subReader);
                 MissFortuneNPC.ReadBinary(subReader);
                 MissFortuneFaction.ReadBinary(subReader);
                 MeltdownExplosion.ReadBinary(subReader);
                 UnarmedPowerAttackForward.ReadBinary(subReader);
                 UnarmedPowerAttackBackward.ReadBinary(subReader);
                 UnarmedPowerAttackLeft.ReadBinary(subReader);
                 UnarmedPowerAttackRight.ReadBinary(subReader);
                 UnarmedPowerAttackCrouch.ReadBinary(subReader);
                 UnarmedPowerAttackCounter.ReadBinary(subReader);
                 SpotterEffect.ReadBinary(subReader);
                 ItemDetectedEffect.ReadBinary(subReader);
                 CateyeMobileEffect.ReadBinary(subReader);
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 HDREyeAdaptSpeed          = subReader.ReadSingle();
                 HDRBlurRadius             = subReader.ReadSingle();
                 HDRBlurPasses             = subReader.ReadSingle();
                 HDREmissiveMult           = subReader.ReadSingle();
                 HDRLUMTarget              = subReader.ReadSingle();
                 HDRLUMUpperClamp          = subReader.ReadSingle();
                 HDRBrightScale            = subReader.ReadSingle();
                 HDRBrightClamp            = subReader.ReadSingle();
                 HDRLUMRampNoTex           = subReader.ReadSingle();
                 HDRLUMRampMin             = subReader.ReadSingle();
                 HDRLUMRampMax             = subReader.ReadSingle();
                 HDRSunlightDimmer         = subReader.ReadSingle();
                 HDRGrassDimmer            = subReader.ReadSingle();
                 HDRTreeDimmer             = subReader.ReadSingle();
                 HDRSkinDimmer             = subReader.ReadSingle();
                 BloomBlurRadius           = subReader.ReadSingle();
                 BloomAlphaMultInterior    = subReader.ReadSingle();
                 BloomAlphaMultExterior    = subReader.ReadSingle();
                 GetHitBlurRadius          = subReader.ReadSingle();
                 GetHitBlurDampingConstant = subReader.ReadSingle();
                 NightEyeTintColorRed      = subReader.ReadSingle();
                 NightEyeTintColorGreen    = subReader.ReadSingle();
                 NightEyeTintColorBlue     = subReader.ReadSingle();
                 Brightness                        = subReader.ReadSingle();
                 CinematicSaturation               = subReader.ReadSingle();
                 CinematicContrastAvgLUMValue      = subReader.ReadSingle();
                 CinematicContrastValue            = subReader.ReadSingle();
                 CinematicBrightnessTintColorRed   = subReader.ReadSingle();
                 CinematicBrightnessTintColorGreen = subReader.ReadSingle();
                 CinematicBrightnessTintColorBlue  = subReader.ReadSingle();
                 CinematicBrightnessTintValue      = subReader.ReadSingle();
                 Unused1 = subReader.ReadBytes(16);
                 Flags   = subReader.ReadEnum <ImageSpaceFlags>();
                 Unused2 = subReader.ReadBytes(3);
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 ManeuverDodgeChance    = subReader.ReadByte();
                 ManeuverSidestepChance = subReader.ReadByte();
                 Unused1 = subReader.ReadBytes(2);
                 ManeuverDodgeLRTimerMin       = subReader.ReadSingle();
                 ManeuverDodgeLRTimerMax       = subReader.ReadSingle();
                 ManeuverDodgeForwardTimerMin  = subReader.ReadSingle();
                 ManeuverDodgeForwardTimerMax  = subReader.ReadSingle();
                 ManeuverDodgeBackwardTimerMin = subReader.ReadSingle();
                 ManeuverDodgeBackwardTimerMax = subReader.ReadSingle();
                 ManeuverDodgeIdleTimerMin     = subReader.ReadSingle();
                 ManeuverDodgeIdleTimerMax     = subReader.ReadSingle();
                 MeleeBlockChance  = subReader.ReadByte();
                 MeleeAttackChance = subReader.ReadByte();
                 Unused2           = subReader.ReadBytes(2);
                 MeleeRecoilStaggerBonusToAttack = subReader.ReadSingle();
                 MeleeUnconsciousBonusToAttack   = subReader.ReadSingle();
                 MeleeHandToHandBonusToAttack    = subReader.ReadSingle();
                 MeleePowerAttackChance          = subReader.ReadByte();
                 Unused3 = subReader.ReadBytes(3);
                 MeleePowerAttackRecoilStaggerBonus = subReader.ReadSingle();
                 MeleePowerAttackUnconsciousBonus   = subReader.ReadSingle();
                 MeleePowerAttackNormal             = subReader.ReadByte();
                 MeleePowerAttackForward            = subReader.ReadByte();
                 MeleePowerAttackBack  = subReader.ReadByte();
                 MeleePowerAttackLeft  = subReader.ReadByte();
                 MeleePowerAttackRight = subReader.ReadByte();
                 Unused4                             = subReader.ReadBytes(3);
                 MeleeHoldTimerMin                   = subReader.ReadSingle();
                 MeleeHoldTimerMax                   = subReader.ReadSingle();
                 Flags                               = subReader.ReadEnum <CombatStyleFlags>();
                 ManeuverAcrobaticDodgeChance        = subReader.ReadByte();
                 MeleeRushingPowerAttackChance       = subReader.ReadByte();
                 Unused5                             = subReader.ReadBytes(2);
                 MeleeRushingPowerAttackDistanceMult = subReader.ReadSingle();
             }
             catch
             {
                 return;
             }
         }
 }
Example #22
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 NavigationMesh.ReadBinary(subReader);
                 Unknown = subReader.ReadUInt32();
             }
             catch
             {
                 return;
             }
         }
 }
Example #23
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 LinkedRoomsCount = subReader.ReadUInt16();
                 Unknown          = subReader.ReadBytes(2);
             }
             catch
             {
                 return;
             }
         }
 }
Example #24
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Quest.ReadBinary(subReader);
                 QuestStage = subReader.ReadUInt32();
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 RandMin = subReader.ReadSingle();
                 RandMax = subReader.ReadSingle();
             }
             catch
             {
                 return;
             }
         }
 }
        public void ReadBinary(ESPReader reader)
        {
            byte temp = reader.ReadByte();

            Flags    = (ConditionFlags)(temp & (byte)0x0F);
            Operator = (ConditionComparisonType)(temp & (byte)0xF0);
            Unused   = reader.ReadBytes(3);
            if (Flags.HasFlag(ConditionFlags.UseGlobal))
            {
                ComparisonValue = new FormID(reader.ReadUInt32());
            }
            else
            {
                ComparisonValue = reader.ReadSingle();
            }
        }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 DefaultLandHeight  = subReader.ReadSingle();
                 DefaultWaterHeight = subReader.ReadSingle();
             }
             catch
             {
                 return;
             }
         }
 }
Example #28
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Flags  = subReader.ReadEnum <ContainerFlags>();
                 Weight = subReader.ReadSingle();
             }
             catch
             {
                 return;
             }
         }
 }
Example #29
0
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 ActorValue = subReader.ReadEnum <ActorValues>();
                 Multiplier = subReader.ReadSingle();
             }
             catch
             {
                 return;
             }
         }
 }
 protected override void ReadData(ESPReader reader)
 {
     using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size)))
         using (ESPReader subReader = new ESPReader(stream, reader.Plugin))
         {
             try
             {
                 Type   = subReader.ReadEnum <MapMarkerType>();
                 Unused = subReader.ReadBytes(1);
             }
             catch
             {
                 return;
             }
         }
 }