mirror of https://github.com/quasar/Quasar.git
25 lines
462 B
C#
25 lines
462 B
C#
using ProtoBuf;
|
|
|
|
namespace xClient.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);
|
|
}
|
|
}
|
|
} |