Example #1
0
        public virtual SWIGTYPE_p_RNS2RecvStruct AllocRNS2RecvStruct(string file, uint line)
        {
            global::System.IntPtr     cPtr = RakNetPINVOKE.NatTypeDetectionClient_AllocRNS2RecvStruct(swigCPtr, file, line);
            SWIGTYPE_p_RNS2RecvStruct ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_RNS2RecvStruct(cPtr, false);

            return(ret);
        }
Example #2
0
 public virtual void DeallocRNS2RecvStruct(SWIGTYPE_p_RNS2RecvStruct s, string file, uint line)
 {
     RakNetPINVOKE.NatTypeDetectionClient_DeallocRNS2RecvStruct(swigCPtr, SWIGTYPE_p_RNS2RecvStruct.getCPtr(s), file, line);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_RNS2RecvStruct obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #4
0
 public virtual void OnRNS2Recv(SWIGTYPE_p_RNS2RecvStruct recvStruct)
 {
     RakNetPINVOKE.NatTypeDetectionClient_OnRNS2Recv(swigCPtr, SWIGTYPE_p_RNS2RecvStruct.getCPtr(recvStruct));
 }
 public virtual void OnRNS2Recv(SWIGTYPE_p_RNS2RecvStruct recvStruct)
 {
     RakNetPINVOKE.CSharp_RakNet_NatTypeDetectionServer_OnRNS2Recv(swigCPtr, SWIGTYPE_p_RNS2RecvStruct.getCPtr(recvStruct));
 }