Example #1
0
 public void AttachInterface2(PluginInterface2 plugin)
 {
     if (plugin != null)
     {
         _peer.AttachPlugin(plugin);
     }
 }
Example #2
0
 public virtual void DetachPlugin(PluginInterface2 messageHandler)
 {
     RakNetPINVOKE.CSharp_RakNet_RakPeerInterface_DetachPlugin(swigCPtr, PluginInterface2.getCPtr(messageHandler));
 }
Example #3
0
 public virtual void AttachPlugin(PluginInterface2 plugin)
 {
     RakNetPINVOKE.CSharp_RakNet_RakPeerInterface_AttachPlugin(swigCPtr, PluginInterface2.getCPtr(plugin));
 }
Example #4
0
 public override void AttachPlugin(PluginInterface2 plugin)
 {
     RakNetPINVOKE.CSharp_RakNet_RakPeer_AttachPlugin(swigCPtr, PluginInterface2.getCPtr(plugin));
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PluginInterface2 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #6
0
 public override void DetachPlugin(PluginInterface2 messageHandler)
 {
     RakNetPINVOKE.RakPeer_DetachPlugin(swigCPtr, PluginInterface2.getCPtr(messageHandler));
 }