first commit
This commit is contained in:
26
NitroxModel/Packets/SetIntroCinematicMode.cs
Normal file
26
NitroxModel/Packets/SetIntroCinematicMode.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using NitroxModel.DataStructures.GameLogic;
|
||||
|
||||
namespace NitroxModel.Packets;
|
||||
|
||||
[Serializable]
|
||||
public class SetIntroCinematicMode : Packet
|
||||
{
|
||||
public ushort PlayerId { get; }
|
||||
public IntroCinematicMode Mode { get; }
|
||||
public ushort? PartnerId { get; set; }
|
||||
|
||||
public SetIntroCinematicMode(ushort playerId, IntroCinematicMode mode)
|
||||
{
|
||||
PlayerId = playerId;
|
||||
Mode = mode;
|
||||
PartnerId = null;
|
||||
}
|
||||
|
||||
public SetIntroCinematicMode(ushort playerId, IntroCinematicMode mode, ushort? partnerId)
|
||||
{
|
||||
PlayerId = playerId;
|
||||
Mode = mode;
|
||||
PartnerId = partnerId;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user