Beispiel #1
0
        public virtual bool GetStatistics(uint index, RakNetStatistics rns)
        {
            bool ret = RakNetPINVOKE.CSharp_RakNet_RakPeerInterface_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));

            return(ret);
        }
Beispiel #2
0
        public virtual RakNetStatistics GetStatistics(SystemAddress systemAddress, RakNetStatistics rns)
        {
            global::System.IntPtr cPtr = RakNetPINVOKE.CSharp_RakNet_RakPeerInterface_GetStatistics__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), RakNetStatistics.getCPtr(rns));
            RakNetStatistics      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #3
0
        public static string StatisticsToStringHelper(RakNetStatistics s, string buffer, int verbosityLevel)
        {
            string ret = RakNetPINVOKE.StatisticsToStringHelper(RakNetStatistics.getCPtr(s), buffer, verbosityLevel);

            return(ret);
        }
Beispiel #4
0
        public override bool GetStatistics(uint index, RakNetStatistics rns)
        {
            bool ret = RakNetPINVOKE.CSharp_RakNet_RakPeer_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));

            return(ret);
        }
Beispiel #5
0
 public override RakNetStatistics GetStatistics(SystemAddress systemAddress, RakNetStatistics rns) {
   global::System.IntPtr cPtr = RakNetPINVOKE.RakPeer_GetStatistics__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), RakNetStatistics.getCPtr(rns));
   RakNetStatistics ret = (cPtr == global::System.IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }