quantum-space-buddies/QSB/Animation/Player/Events/AnimationTriggerMessage.cs
Mister_Nebula 3523f3b806 AAA
2021-04-26 14:30:21 +01:00

26 lines
547 B
C#

using QSB.Messaging;
using QuantumUNET.Transport;
namespace QSB.Animation.Player.Events
{
public class AnimationTriggerMessage : PlayerMessage
{
public uint AttachedNetId { get; set; }
public string Name { get; set; }
public override void Deserialize(QNetworkReader reader)
{
base.Deserialize(reader);
AttachedNetId = reader.ReadUInt32();
Name = reader.ReadString();
}
public override void Serialize(QNetworkWriter writer)
{
base.Serialize(writer);
writer.Write(AttachedNetId);
writer.Write(Name);
}
}
}