You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|