public void AllClientsPVS(bool enable)
        {
            var pkg = new S2C_PVS.ArgumentData();

            pkg.Enable = enable;
            if (ProfilerConnect != null)
            {
                S2C_PVS.Instance.DoCall(ref pkg,
                                        NetCore.ERouteTarget.Self, ProfilerConnect, null);
            }
        }
 public void OnS2C_PVS(byte userFlags, ref S2C_PVS.ArgumentData cmd, UInt16 serialId, NetCore.NetConnection connect, ref NetCore.RPCRouter.RouteData routeInfo)
 {
     CEngine.UsePVS = cmd.Enable;
 }