using System; using System.Collections.Generic; using System.Text; using PhilExampleCrawler.Common.TCP.Enums; using PhilExampleCrawler.Common.TCP.Interface; namespace PhilExampleCrawler.Common.TCP.Packets { //TODO: struct or class? LoadData can be anything so i think class is better public class BasePacket { public ISerializableLoad LoadData { get; set; } public BasePacket() { } public BasePacket(ISerializableLoad loadData) { LoadData = loadData; } } }