using System;
using NitroxModel.DataStructures;
namespace NitroxModel.Packets
{
///
/// Triggered when a fire has been doused. Fire growth is a static thing, so we only need to track dousing
///
[Serializable]
public class FireDoused : Packet
{
public NitroxId Id { get; }
public float DouseAmount { get; }
/// The Fire id
/// The amount to douse the fire by. A large number will extinguish the fire. A large number still calls the same
/// method, , which will call if the douse amount would extinguish it.
public FireDoused(NitroxId id, float douseAmount)
{
Id = id;
DouseAmount = douseAmount;
}
}
}