DamageMeter.Database.Structures.Skill.Skill C# (CSharp) Method

Skill() public method

public Skill ( long amount, Database type, Entity target, Tera.Game.Player targetPlayer, Entity source, Tera.Game.Player sourcePlayer, int skillId, bool hotdot, bool critic, long time, NpcInfo pet, HitDirection direction ) : Tera.Game
amount long
type Database
target Tera.Game.Entity
targetPlayer Tera.Game.Player
source Tera.Game.Entity
sourcePlayer Tera.Game.Player
skillId int
hotdot bool
critic bool
time long
pet Tera.Game.NpcInfo
direction HitDirection
return Tera.Game
        public Skill(long amount, Database.Type type, Entity target, Player targetPlayer, Entity source, Player sourcePlayer, int skillId, bool hotdot,
            bool critic, long time, NpcInfo pet, HitDirection direction)
        {
            Amount = amount;
            Type = type;
            EntityTarget = target;
            EntitySource = source;
            PlayerTarget = targetPlayer;
            PlayerSource = sourcePlayer;
            SkillId = skillId;
            Critic = critic;
            HotDot = hotdot;
            Time = time;
            Pet = pet;
            Direction = direction;
            Source = source;
            Target = target;
            if(PlayerSource != null)
            {
                Source = PlayerSource.User;
            }
            if(PlayerTarget != null)
            {
                Target = PlayerTarget.User;
            }
        }
Skill