Quasar/Server/Core/Packets/UnknownPacket.cs

24 lines
502 B
C#
Raw Normal View History

2014-07-08 12:58:53 +00:00
using Core.Packets;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Text;
namespace Core.Packets.ClientPackets
{
[ProtoContract]
public class UnknownPacket : IPacket
{
[ProtoMember(1)]
public IPacket Packet { get; set; }
public UnknownPacket() { }
public UnknownPacket(IPacket packet) { Packet = packet; }
public void Execute(Client client)
{
client.Send<UnknownPacket>(this);
}
}
}