first commit
This commit is contained in:
23
NitroxModel/Packets/StasisSphereHit.cs
Normal file
23
NitroxModel/Packets/StasisSphereHit.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using NitroxModel.DataStructures.Unity;
|
||||
|
||||
namespace NitroxModel.Packets;
|
||||
|
||||
[Serializable]
|
||||
public class StasisSphereHit : Packet
|
||||
{
|
||||
public ushort PlayerId { get; }
|
||||
public NitroxVector3 Position { get; }
|
||||
public NitroxQuaternion Rotation { get; }
|
||||
public float ChargeNormalized { get; }
|
||||
public float Consumption { get; }
|
||||
|
||||
public StasisSphereHit(ushort playerId, NitroxVector3 position, NitroxQuaternion rotation, float chargeNormalized, float consumption)
|
||||
{
|
||||
PlayerId = playerId;
|
||||
Position = position;
|
||||
Rotation = rotation;
|
||||
ChargeNormalized = chargeNormalized;
|
||||
Consumption = consumption;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user