public UnitBloodEntry(int unitBloodId, int bloodSpurtFrontSmall, int bloodSpurtFrontLarge, int bloodSpurtBackSmall, int bloodSpurtBackLarge, [NotNull] GenericStaticallySizedArrayChunkFive <TStringType> groundBloodFileName)
        {
            if (unitBloodId <= 0)
            {
                throw new ArgumentOutOfRangeException(nameof(unitBloodId));
            }

            UnitBloodId          = unitBloodId;
            BloodSpurtFrontSmall = bloodSpurtFrontSmall;
            BloodSpurtFrontLarge = bloodSpurtFrontLarge;
            BloodSpurtBackSmall  = bloodSpurtBackSmall;
            BloodSpurtBackLarge  = bloodSpurtBackLarge;
            GroundBloodFileName  = groundBloodFileName ?? throw new ArgumentNullException(nameof(groundBloodFileName));
        }
Beispiel #2
0
        public CreatureSoundDataEntry(int creatureSoundDataId, int soundExertionId, int soundExertionCriticalId, int soundInjuryId, int soundInjuryCriticalId, int soundInjuryCrushingBlowId, int soundDeathId, int soundStunId, int soundStandId, int soundFootstepId, int soundAggroId, int soundWingFlapId, int soundWingGlideId, int soundAlertId, [NotNull] GenericStaticallySizedArrayChunkFive <int> soundFidgetId, [NotNull] GenericStaticallySizedArrayChunkFour <int> customAttackId, int npcSoundId, int loopSoundId, int creatureImpactType, int soundJumpStartId, int soundJumpEndId, int soundPetAttackId, int soundPetOrderId, int soundPetDismissId, float fidgetDelaySecondsMinimum, float fidgetDelaySecondsMaximum, int birthSoundId, int spellCastDirectedSoundId, int submergeSoundId, int submergedSoundId, int creatureSoundDataIdPet)
        {
            if (creatureSoundDataId <= 0)
            {
                throw new ArgumentOutOfRangeException(nameof(creatureSoundDataId));
            }

            CreatureSoundDataId       = creatureSoundDataId;
            SoundExertionId           = soundExertionId;
            SoundExertionCriticalId   = soundExertionCriticalId;
            SoundInjuryId             = soundInjuryId;
            SoundInjuryCriticalId     = soundInjuryCriticalId;
            SoundInjuryCrushingBlowId = soundInjuryCrushingBlowId;
            SoundDeathId              = soundDeathId;
            SoundStunId               = soundStunId;
            SoundStandId              = soundStandId;
            SoundFootstepId           = soundFootstepId;
            SoundAggroId              = soundAggroId;
            SoundWingFlapId           = soundWingFlapId;
            SoundWingGlideId          = soundWingGlideId;
            SoundAlertId              = soundAlertId;
            SoundFidgetId             = soundFidgetId ?? throw new ArgumentNullException(nameof(soundFidgetId));
            CustomAttackId            = customAttackId ?? throw new ArgumentNullException(nameof(customAttackId));
            NPCSoundId                = npcSoundId;
            LoopSoundId               = loopSoundId;
            CreatureImpactType        = creatureImpactType;
            SoundJumpStartId          = soundJumpStartId;
            SoundJumpEndId            = soundJumpEndId;
            SoundPetAttackId          = soundPetAttackId;
            SoundPetOrderId           = soundPetOrderId;
            SoundPetDismissId         = soundPetDismissId;
            FidgetDelaySecondsMinimum = fidgetDelaySecondsMinimum;
            FidgetDelaySecondsMaximum = fidgetDelaySecondsMaximum;
            BirthSoundId              = birthSoundId;
            SpellCastDirectedSoundId  = spellCastDirectedSoundId;
            SubmergeSoundId           = submergeSoundId;
            SubmergedSoundId          = submergedSoundId;
            CreatureSoundDataIdPet    = creatureSoundDataIdPet;
        }