Exemple #1
0
 public PlayerDeadEventObject(GameClient player, GameClient attacker)
     : base((int)EventTypes.PlayerDead)
 {
     this.player       = player;
     this.attackerRole = attacker;
     Type = PlayerDeadEventTypes.ByRole;
 }
Exemple #2
0
 public PlayerDeadEventObject(GameClient player, Monster attacker)
     : base((int)EventTypes.PlayerDead)
 {
     this.player   = player;
     this.attacker = attacker;
     Type          = PlayerDeadEventTypes.ByMonster;
 }