mirror of https://github.com/quasar/Quasar.git
23 lines
438 B
C#
23 lines
438 B
C#
|
using ProtoBuf;
|
|||
|
|
|||
|
namespace Core.Packets.ServerPackets
|
|||
|
{
|
|||
|
[ProtoContract]
|
|||
|
public class Update : IPacket
|
|||
|
{
|
|||
|
[ProtoMember(1)]
|
|||
|
public string DownloadURL { get; set; }
|
|||
|
|
|||
|
public Update() { }
|
|||
|
public Update(string downloadurl)
|
|||
|
{
|
|||
|
this.DownloadURL = downloadurl;
|
|||
|
}
|
|||
|
|
|||
|
public void Execute(Client client)
|
|||
|
{
|
|||
|
client.Send<Update>(this);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|