Exemple #1
0
        public static string StatisticsToStringHelper(RakNetStatistics s, string buffer, int verbosityLevel)
        {
            string ret = RakNetPINVOKE.StatisticsToStringHelper(RakNetStatistics.getCPtr(s), buffer, verbosityLevel);

            return(ret);
        }
        public virtual RakNetStatistics GetStatistics(SystemAddress systemAddress, RakNetStatistics rns)
        {
            IntPtr           cPtr = RakNetPINVOKE.RakPeerInterface_GetStatistics__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), RakNetStatistics.getCPtr(rns));
            RakNetStatistics ret  = (cPtr == IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual bool GetStatistics(int index, RakNetStatistics rns)
        {
            bool ret = RakNetPINVOKE.RakPeerInterface_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));

            return(ret);
        }
        public override bool GetStatistics(uint index, RakNetStatistics rns)
        {
            bool ret = RakNetPINVOKE.RakPeer_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));

            return(ret);
        }