Exemple #1
0
 public DisarmTrapEvent(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     trap = context.GetVars().Local.GetGameObjectByGUID(Guid.Parse(info.GetString("trapGUID"))) as Trap;
 }
Exemple #2
0
 public DisarmTrapEvent(Player player, Trap trap) : base(player)
 {
     this.trap = trap;
 }