first commit
This commit is contained in:
19
NitroxModel/Packets/VehicleOnPilotModeChanged.cs
Normal file
19
NitroxModel/Packets/VehicleOnPilotModeChanged.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using NitroxModel.DataStructures;
|
||||
|
||||
namespace NitroxModel.Packets;
|
||||
|
||||
[Serializable]
|
||||
public class VehicleOnPilotModeChanged : Packet
|
||||
{
|
||||
public NitroxId VehicleId { get; }
|
||||
public ushort PlayerId { get; }
|
||||
public bool IsPiloting { get; }
|
||||
|
||||
public VehicleOnPilotModeChanged(NitroxId vehicleId, ushort playerId, bool isPiloting)
|
||||
{
|
||||
VehicleId = vehicleId;
|
||||
PlayerId = playerId;
|
||||
IsPiloting = isPiloting;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user