first commit
This commit is contained in:
26
NitroxModel/Packets/FootstepPacket.cs
Normal file
26
NitroxModel/Packets/FootstepPacket.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user