Exemple #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);
        }
Exemple #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();
     }
 }
Exemple #4
0
 public override void OnNoPasswordSet(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RaknetExtension.WriteInfo("▲▲▲OnNoPasswordSet");
 }
Exemple #5
0
 public override void OnAlreadyLoggedIn(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RaknetExtension.WriteInfo("▲▲▲OnAlreadyLoggedIn");
 }
Exemple #6
0
 public override void OnLoginSuccess(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RaknetExtension.WriteInfo("▲▲▲OnLoginSuccess");
 }
Exemple #7
0
 internal RaknetUdpProxyServer()
 {
     udpProxyServer = new UDPProxyServer();
 }
Exemple #8
0
 public static void DestroyInstance(UDPProxyServer i) {
   RakNetPINVOKE.UDPProxyServer_DestroyInstance(UDPProxyServer.getCPtr(i));
 }
Exemple #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;
 }