public RakPeerInterface GetRakPeerInterface() { IntPtr cPtr = SLikeNetPINVOKE.PluginInterface2_GetRakPeerInterface(swigCPtr); RakPeerInterface ret = (cPtr == IntPtr.Zero) ? null : new RakPeerInterface(cPtr, false); return(ret); }
public static RakPeerInterface GetInstance() { IntPtr cPtr = SLikeNetPINVOKE.RakPeerInterface_GetInstance(); RakPeerInterface ret = (cPtr == IntPtr.Zero) ? null : new RakPeerInterface(cPtr, false); return(ret); }
public void Send(FileList fileList, RakPeerInterface rakPeer, SystemAddress recipient, ushort setID, PacketPriority priority, char orderingChannel, IncrementalReadInterface _incrementalReadInterface) { SLikeNetPINVOKE.FileListTransfer_Send__SWIG_1(swigCPtr, FileList.getCPtr(fileList), RakPeerInterface.getCPtr(rakPeer), SystemAddress.getCPtr(recipient), setID, (int)priority, orderingChannel, IncrementalReadInterface.getCPtr(_incrementalReadInterface)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } }
public static void DestroyInstance(RakPeerInterface i) { SLikeNetPINVOKE.RakPeerInterface_DestroyInstance(RakPeerInterface.getCPtr(i)); }
internal static HandleRef getCPtr(RakPeerInterface obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }