Ejemplo n.º 1
0
        public static UDPProxyServer GetInstance()
        {
            global::System.IntPtr cPtr = RakNetPINVOKE.UDPProxyServer_GetInstance();
            UDPProxyServer        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UDPProxyServer(cPtr, false);

            return(ret);
        }
Ejemplo n.º 2
0
 public virtual void OnWrongPassword(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RakNetPINVOKE.UDPProxyServerResultHandler_OnWrongPassword(swigCPtr, RakString.getCPtr(usedPassword), UDPProxyServer.getCPtr(proxyServerPlugin));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void OnAlreadyLoggedIn(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RakNetPINVOKE.CSharp_RakNet_UDPProxyServerResultHandler_OnAlreadyLoggedIn(swigCPtr, RakString.getCPtr(usedPassword), UDPProxyServer.getCPtr(proxyServerPlugin));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public override void OnNoPasswordSet(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RaknetExtension.WriteInfo("▲▲▲OnNoPasswordSet");
 }
Ejemplo n.º 5
0
 public override void OnAlreadyLoggedIn(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RaknetExtension.WriteInfo("▲▲▲OnAlreadyLoggedIn");
 }
Ejemplo n.º 6
0
 public override void OnLoginSuccess(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RaknetExtension.WriteInfo("▲▲▲OnLoginSuccess");
 }
Ejemplo n.º 7
0
 internal RaknetUdpProxyServer()
 {
     udpProxyServer = new UDPProxyServer();
 }
Ejemplo n.º 8
0
 public static void DestroyInstance(UDPProxyServer i) {
   RakNetPINVOKE.UDPProxyServer_DestroyInstance(UDPProxyServer.getCPtr(i));
 }
Ejemplo n.º 9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UDPProxyServer obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }