first commit

This commit is contained in:
2025-07-06 00:23:46 +02:00
commit 38f50c8819
1788 changed files with 112878 additions and 0 deletions

View File

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