Files
Nitrox/NitroxModel/Packets/FootstepPacket.cs
2025-07-06 00:23:46 +02:00

27 lines
556 B
C#

using System;
namespace NitroxModel.Packets;
[Serializable]
public class FootstepPacket : Packet
{
public ushort PlayerID { get; }
public StepSounds AssetIndex { get; }
public FootstepPacket(ushort playerID, StepSounds assetIndex)
{
PlayerID = playerID;
AssetIndex = assetIndex;
DeliveryMethod = Networking.NitroxDeliveryMethod.DeliveryMethod.UNRELIABLE_SEQUENCED;
UdpChannel = UdpChannelId.MOVEMENTS;
}
public enum StepSounds : byte
{
PRECURSOR,
METAL,
LAND
}
}