SRMP-Public/SRMP/Packets/Actors/PacketActorPosition.cs

22 lines
508 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.ActorPosition)]
public class PacketActorPosition : Packet
{
public int ID;
public Vector3 Position;
public Quaternion Rotation;
public PacketActorPosition() { }
public PacketActorPosition(NetIncomingMessage im) { Deserialize(im); }
}
}