SRMP-Public/SRMP/Packets/FX/PacketPlayAudio.cs
2023-05-29 22:23:11 +02:00

21 lines
490 B
C#

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.PlayAudio)]
public class PacketPlayAudio : Packet
{
public string CueName;
public Vector3 Position;
public bool Loop;
public PacketPlayAudio() { }
public PacketPlayAudio(NetIncomingMessage im) { Deserialize(im); }
}
}