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.
30 lines
471 B
30 lines
471 B
1 month ago
|
/*
|
||
|
Sog 游戏基础库
|
||
|
2016 by zouwei
|
||
|
*/
|
||
|
|
||
|
using System;
|
||
|
using System.Net;
|
||
|
using System.Text;
|
||
|
|
||
|
|
||
|
namespace SogClient
|
||
|
{
|
||
|
|
||
|
// 支持的协议类型
|
||
|
public class ProtoPackerFactory
|
||
|
{
|
||
|
public static ProtoPackerFactory Instance = new ProtoPackerFactory();
|
||
|
|
||
|
private ProtoBufPacker m_protoBufPacker = new ProtoBufPacker();
|
||
|
|
||
|
|
||
|
|
||
|
//
|
||
|
public IProtoPacker GetProtoPacker()
|
||
|
{
|
||
|
return m_protoBufPacker;
|
||
|
}
|
||
|
}
|
||
|
}
|