public PlayerInfo(Player user, DamageTracker tracker) { _tracker = tracker; Player = user; Received = new SkillStats(); Dealt = new SkillStats(); }
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; } }
public PlayerInfo(Player user) { FirstHit = 0; LastHit = 0; Player = user; Received = new SkillStats(); Dealt = new SkillStats(this); }
public PlayerDamageDealt(long amount, long beginTime, long endTime, long critic, long hit, Player source) { Amount = amount; BeginTime = beginTime; EndTime = endTime; Critic = critic; Hit = hit; Source = source; }
public PlayerInfo(Player user, DamageTracker tracker) { Tracker = tracker; Player = user; SkillLog = new ThreadSafeObservableCollection<SkillResult>(); Received = new SkillStats(tracker, SkillLog); Dealt = new SkillStats(tracker, SkillLog); }
public PlayerInfo(Player user, DamageTracker tracker) { Tracker = tracker; Player = user; SkillLog = CollectionHelper.Instance.CreateSyncedCollection<SkillResult>(); Received = new SkillStats(tracker, SkillLog); Dealt = new SkillStats(tracker, SkillLog); }
public PlayerInfo(Player user, DamageTracker tracker) { Tracker = tracker; Player = user; Received = new SkillStats(); Dealt = new SkillStats(); SkillLog = new ThreadSafeObservableCollection<SkillResult>(); Dealt.PropertyChanged += DealtOnPropertyChanged; }
public PlayerHealDealt(long critic, long hit, Player source) { Critic = critic; Hit = hit; Source = source; }
private PlayerInfo GetOrCreate(Player player) { PlayerInfo playerStats = StatsByUser.FirstOrDefault(pi => pi.Player.Equals(player)); if (playerStats == null) { playerStats = new PlayerInfo(player, this); StatsByUser.Add(playerStats); } return playerStats; }
public PlayerInfo(Player user) { Player = user; Received = new SkillStats(); Dealt = new SkillStats(); }