public override object GetSaveData()
        {
            CustomSaveData_v1 data = new CustomSaveData_v1();

            data.lastStrikeTime            = lastStrikeTime;
            data.currentMaxMagickaIncrease = currentMaxMagickaIncrease;

            return(data);
        }
Ejemplo n.º 2
0
        protected override object GetCustomDiseaseSaveData()
        {
            CustomSaveData_v1 data = new CustomSaveData_v1();

            data.infectionType           = InfectionType;
            data.warningDreamVideoPlayed = warningDreamVideoPlayed;
            data.startingDay             = startingDay;

            return(data);
        }
Ejemplo n.º 3
0
        public override object GetSaveData()
        {
            CustomSaveData_v1 data = new CustomSaveData_v1();

            data.compoundRace = compoundRace;
            data.vampireClan  = vampireClan;
            data.lastTimeFed  = lastTimeFed;
            data.hasStartedInitialVampireQuest = hasStartedInitialVampireQuest;

            return(data);
        }
Ejemplo n.º 4
0
        protected override object GetCustomDiseaseSaveData()
        {
            CustomSaveData_v1 data = new CustomSaveData_v1();

            data.warningDreamVideoPlayed = warningDreamVideoPlayed;
            data.fakeDeathVideoPlayed    = fakeDeathVideoPlayed;
            data.startingDay             = startingDay;
            data.infectionRegionIndex    = infectionRegionIndex;

            return(data);
        }
Ejemplo n.º 5
0
        public override object GetSaveData()
        {
            CustomSaveData_v1 data = new CustomSaveData_v1();

            data.compoundRace       = compoundRace;
            data.infectionType      = infectionType;
            data.lastKilledInnocent = lastKilledInnocent;
            data.lastCastMorphSelf  = lastCastMorphSelf;
            data.wearingHircineRing = wearingHircineRing;
            data.isTransformed      = isTransformed;

            return(data);
        }
Ejemplo n.º 6
0
        protected override void RestoreCustomDiseaseSaveData(object dataIn)
        {
            if (dataIn == null)
            {
                return;
            }

            CustomSaveData_v1 data = (CustomSaveData_v1)dataIn;

            InfectionType           = data.infectionType;
            warningDreamVideoPlayed = data.warningDreamVideoPlayed;
            startingDay             = data.startingDay;
        }
Ejemplo n.º 7
0
        public override object GetSaveData()
        {
            CustomSaveData_v1 data = new CustomSaveData_v1();

            data.compoundRace       = compoundRace;
            data.infectionType      = infectionType;
            data.lastKilledInnocent = lastKilledInnocent;
            data.hasStartedInitialLycanthropyQuest = hasStartedInitialLycanthropyQuest;
            data.wearingHircineRing = wearingHircineRing;
            data.isTransformed      = isTransformed;

            return(data);
        }
Ejemplo n.º 8
0
        public override void RestoreSaveData(object dataIn)
        {
            if (dataIn == null)
            {
                return;
            }

            CustomSaveData_v1 data = (CustomSaveData_v1)dataIn;

            compoundRace = data.compoundRace;
            vampireClan  = data.vampireClan;
            lastTimeFed  = data.lastTimeFed;
            hasStartedInitialVampireQuest = data.hasStartedInitialVampireQuest;
        }
Ejemplo n.º 9
0
        protected override void RestoreCustomDiseaseSaveData(object dataIn)
        {
            if (dataIn == null)
            {
                return;
            }

            CustomSaveData_v1 data = (CustomSaveData_v1)dataIn;

            warningDreamVideoPlayed = data.warningDreamVideoPlayed;
            fakeDeathVideoPlayed    = data.fakeDeathVideoPlayed;
            startingDay             = data.startingDay;
            infectionRegionIndex    = data.infectionRegionIndex;
        }
Ejemplo n.º 10
0
        public override void RestoreSaveData(object dataIn)
        {
            if (dataIn == null)
            {
                return;
            }

            CustomSaveData_v1 data = (CustomSaveData_v1)dataIn;

            compoundRace       = data.compoundRace;
            infectionType      = data.infectionType;
            lastKilledInnocent = data.lastKilledInnocent;
            lastCastMorphSelf  = data.lastCastMorphSelf;
            wearingHircineRing = data.wearingHircineRing;
            isTransformed      = data.isTransformed;
        }
Ejemplo n.º 11
0
        public override void RestoreSaveData(object dataIn)
        {
            if (dataIn == null)
            {
                return;
            }

            CustomSaveData_v1 data = (CustomSaveData_v1)dataIn;

            compoundRace       = data.compoundRace;
            infectionType      = data.infectionType;
            lastKilledInnocent = data.lastKilledInnocent;
            hasStartedInitialLycanthropyQuest = data.hasStartedInitialLycanthropyQuest;
            wearingHircineRing = data.wearingHircineRing;
            isTransformed      = data.isTransformed;
        }
Ejemplo n.º 12
0
        public override void RestoreSaveData(object dataIn)
        {
            if (dataIn == null)
            {
                return;
            }

            CustomSaveData_v1 data = (CustomSaveData_v1)dataIn;

            lastStrikeTime            = data.lastStrikeTime;
            currentMaxMagickaIncrease = data.currentMaxMagickaIncrease;

            // Immediately assign current max spell point modifier
            // This ensures saved spell points at time of save can be restored if greater than normal
            DaggerfallEntityBehaviour entityBehaviour = GetPeeredEntityBehaviour(manager);

            if (entityBehaviour)
            {
                entityBehaviour.Entity.ChangeMaxMagickaModifier(currentMaxMagickaIncrease);
            }
        }