first commit
This commit is contained in:
39
NitroxModel-Subnautica/Packets/ExosuitArmActionPacket.cs
Normal file
39
NitroxModel-Subnautica/Packets/ExosuitArmActionPacket.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using NitroxModel.DataStructures;
|
||||
using NitroxModel.DataStructures.Unity;
|
||||
using NitroxModel.Packets;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NitroxModel_Subnautica.Packets
|
||||
{
|
||||
[Serializable]
|
||||
public class ExosuitArmActionPacket : Packet
|
||||
{
|
||||
public TechType TechType { get; }
|
||||
public NitroxId ArmId { get; }
|
||||
public ExosuitArmAction ArmAction { get; }
|
||||
public NitroxVector3? OpVector { get; }
|
||||
public NitroxQuaternion? OpRotation { get; }
|
||||
|
||||
public ExosuitArmActionPacket(TechType techType, NitroxId armId, ExosuitArmAction armAction, NitroxVector3? opVector, NitroxQuaternion? opRotation)
|
||||
{
|
||||
TechType = techType;
|
||||
ArmId = armId;
|
||||
ArmAction = armAction;
|
||||
OpVector = opVector;
|
||||
OpRotation = opRotation;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"[ExosuitArmAction - TechType: {TechType}, ArmId:{ArmId}, ArmAction: {ArmAction}, Vector: {OpVector}, Rotation: {OpRotation}]";
|
||||
}
|
||||
}
|
||||
|
||||
public enum ExosuitArmAction
|
||||
{
|
||||
START_USE_TOOL,
|
||||
END_USE_TOOL,
|
||||
ALT_HIT
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user