server-master/srcs/WingsAPI.Game/Raids/Events/RaidMonsterThrowEvent.cs
2026-02-10 18:21:30 +01:00

35 lines
No EOL
871 B
C#

using System.Collections.Generic;
using PhoenixLib.Events;
using WingsEmu.Core;
using WingsEmu.Game.Entities;
namespace WingsEmu.Game.Raids.Events;
public class RaidMonsterThrowEvent : IAsyncEvent
{
public RaidMonsterThrowEvent(IMonsterEntity monsterEntity, List<Drop> drops, byte itemDropsAmount, Range<int> goldDropRange, byte goldDropsAmount)
{
MonsterEntity = monsterEntity;
Drops = drops;
ItemDropsAmount = itemDropsAmount;
GoldDropRange = goldDropRange;
GoldDropsAmount = goldDropsAmount;
}
public IMonsterEntity MonsterEntity { get; }
public List<Drop> Drops { get; }
public byte ItemDropsAmount { get; }
public Range<int> GoldDropRange { get; }
public byte GoldDropsAmount { get; }
}
public class Drop
{
public int ItemVNum { get; set; }
public int Amount { get; set; }
}