SRMP-Public/SRMP/Packets/Drones/PacketDronePosition.cs

22 lines
511 B
C#
Raw Normal View History

2023-05-29 22:23:11 +02:00
using Lidgren.Network;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace SRMultiplayer.Packets
{
[Packet(PacketType.DronePosition)]
public class PacketDronePosition : Packet
{
public string ID;
public Vector3 Position;
public Quaternion Rotation;
public PacketDronePosition() { }
public PacketDronePosition(NetIncomingMessage im) { Deserialize(im); }
}
}