Exemple #1
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (Name != null)
     {
         Name.WriteBinary(writer);
     }
     if (Relationships != null)
     {
         foreach (var item in Relationships)
         {
             item.WriteBinary(writer);
         }
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
     if (Unused != null)
     {
         Unused.WriteBinary(writer);
     }
     if (Ranks != null)
     {
         foreach (var item in Ranks)
         {
             item.WriteBinary(writer);
         }
     }
     if (Reputation != null)
     {
         Reputation.WriteBinary(writer);
     }
 }
Exemple #2
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (Name != null)
     {
         Name.WriteBinary(writer);
     }
     if (CellFlags != null)
     {
         CellFlags.WriteBinary(writer);
     }
     if (Grid != null)
     {
         Grid.WriteBinary(writer);
     }
     if (Lighting != null)
     {
         Lighting.WriteBinary(writer);
     }
     if (FootstepMaterial != null)
     {
         FootstepMaterial.WriteBinary(writer);
     }
     if (LightTemplate != null)
     {
         LightTemplate.WriteBinary(writer);
     }
     if (LightTemplateInherit != null)
     {
         LightTemplateInherit.WriteBinary(writer);
     }
     if (WaterHeight != null)
     {
         WaterHeight.WriteBinary(writer);
     }
     if (WaterNoiseTexture != null)
     {
         WaterNoiseTexture.WriteBinary(writer);
     }
     if (Regions != null)
     {
         Regions.WriteBinary(writer);
     }
     if (ImageSpace != null)
     {
         ImageSpace.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (EncounterZone != null)
     {
         EncounterZone.WriteBinary(writer);
     }
     if (Climate != null)
     {
         Climate.WriteBinary(writer);
     }
     if (Water != null)
     {
         Water.WriteBinary(writer);
     }
     if (Owner != null)
     {
         Owner.WriteBinary(writer);
     }
     if (FactionRank != null)
     {
         FactionRank.WriteBinary(writer);
     }
     if (AcousticSpace != null)
     {
         AcousticSpace.WriteBinary(writer);
     }
     if (Unused != null)
     {
         Unused.WriteBinary(writer);
     }
     if (MusicType != null)
     {
         MusicType.WriteBinary(writer);
     }
 }
Exemple #3
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (ImageSpaceModifierSunrise != null)
     {
         ImageSpaceModifierSunrise.WriteBinary(writer);
     }
     if (ImageSpaceModifierDay != null)
     {
         ImageSpaceModifierDay.WriteBinary(writer);
     }
     if (ImageSpaceModifierSunset != null)
     {
         ImageSpaceModifierSunset.WriteBinary(writer);
     }
     if (ImageSpaceModifierNight != null)
     {
         ImageSpaceModifierNight.WriteBinary(writer);
     }
     if (ImageSpaceModifierHighNoon != null)
     {
         ImageSpaceModifierHighNoon.WriteBinary(writer);
     }
     if (ImageSpaceModifierMidnight != null)
     {
         ImageSpaceModifierMidnight.WriteBinary(writer);
     }
     if (CloudTextureLayer0 != null)
     {
         CloudTextureLayer0.WriteBinary(writer);
     }
     if (CloudTextureLayer1 != null)
     {
         CloudTextureLayer1.WriteBinary(writer);
     }
     if (CloudTextureLayer2 != null)
     {
         CloudTextureLayer2.WriteBinary(writer);
     }
     if (CloudTextureLayer3 != null)
     {
         CloudTextureLayer3.WriteBinary(writer);
     }
     if (Model != null)
     {
         Model.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (CloudLayerSpeed != null)
     {
         CloudLayerSpeed.WriteBinary(writer);
     }
     if (CloudLayerColors != null)
     {
         CloudLayerColors.WriteBinary(writer);
     }
     if (EnvironmentalColors != null)
     {
         EnvironmentalColors.WriteBinary(writer);
     }
     if (WeatherFogDistance != null)
     {
         WeatherFogDistance.WriteBinary(writer);
     }
     if (Unused != null)
     {
         Unused.WriteBinary(writer);
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
     if (Sounds != null)
     {
         foreach (var item in Sounds)
         {
             item.WriteBinary(writer);
         }
     }
 }
Exemple #4
0
        public override void WriteData(ESPWriter writer)
        {
            if (EditorID != null)
            {
                EditorID.WriteBinary(writer);
            }
            if (Data != null)
            {
                Data.WriteBinary(writer);
            }
            if (Location1 != null)
            {
                Location1.WriteBinary(writer);
            }
            if (Location2 != null)
            {
                Location2.WriteBinary(writer);
            }
            if (Schedule != null)
            {
                Schedule.WriteBinary(writer);
            }
            if (Target1 != null)
            {
                Target1.WriteBinary(writer);
            }
            if (Conditions != null)
            {
                foreach (var item in Conditions)
                {
                    item.WriteBinary(writer);
                }
            }
            if (IdleFlags != null)
            {
                IdleFlags.WriteBinary(writer);
            }
            if (IdleCount != null)
            {
                IdleCount.WriteBinary(writer);
            }
            if (IdleTimerSetting != null)
            {
                IdleTimerSetting.WriteBinary(writer);
            }
            if (IdleAnimations != null)
            {
                IdleAnimations.WriteBinary(writer);
            }
            if (Unused != null)
            {
                Unused.WriteBinary(writer);
            }
            if (CombatStyle != null)
            {
                CombatStyle.WriteBinary(writer);
            }
            if (EatMarker != null)
            {
                EatMarker.WriteBinary(writer);
            }
            if (EscortDistance != null)
            {
                EscortDistance.WriteBinary(writer);
            }
            if (FollowDistance_StartLocation_TriggerRadius != null)
            {
                FollowDistance_StartLocation_TriggerRadius.WriteBinary(writer);
            }
            if (PatrolIsRepeatable != null)
            {
                PatrolIsRepeatable.WriteBinary(writer);
            }
            if (UseWeaponData != null)
            {
                UseWeaponData.WriteBinary(writer);
            }
            if (Target2 != null)
            {
                Target2.WriteBinary(writer);
            }
            if (UseItemMarker != null)
            {
                UseItemMarker.WriteBinary(writer);
            }
            if (AmbushMarker != null)
            {
                AmbushMarker.WriteBinary(writer);
            }
            if (DialogData != null)
            {
                DialogData.WriteBinary(writer);
            }

            WriteDummyIgnore(writer);
            if (OnBegin != null)
            {
                OnBegin.WriteBinary(writer);
            }
            if (OnEnd != null)
            {
                OnEnd.WriteBinary(writer);
            }
            if (OnChange != null)
            {
                OnChange.WriteBinary(writer);
            }
        }