/* Sog 游戏基础库 2016 by zouwei */ using System; using System.Net; using System.Text; namespace Sog { // 支持的协议类型 public class ProtoPackerFactory : Singleton { private SProtoPacker m_sprotoPacker = new SProtoPacker(); private ProtoBufPacker m_protoBufPacker = new ProtoBufPacker(); private ProtoCSStructPacker m_protocsstructPacker = new ProtoCSStructPacker(); // public ProtoBufPacker GetProtoBufPacker() { return m_protoBufPacker; } public ProtoCSStructPacker GetProtoCSStructPacker() { return m_protocsstructPacker; } } }