public TakenPotionEvent(SerializationInfo info, StreamingContext context) : base(info, context) { potion = context.GetVars().Local.GetGameObjectByGUID(Guid.Parse(info.GetString("potionGUID"))) as Potion; }
public TakenPotionEvent(Player player, Potion potion) : base(player) { this.player = player; this.potion = potion; }