/// <summary>
/// 当内核序列化远程函数时调用, 如果想改变内核rpc的序列化方式, 可重写定义序列化协议
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
protected virtual byte[] OnSerializeRpc(RPCModel model) { return OnSerializeRPC(model); }
protected internal byte[] OnSerializeRpcInternal(RPCModel model) { return NetConvert.Serialize(model); }