Пример #1
0
        public static RakString OpPlus(RakString lhs, RakString rhs)
        {
            RakString ret = new RakString(RakNetPINVOKE.OpPlus__SWIG_0(RakString.getCPtr(lhs), RakString.getCPtr(rhs)), true);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
        public uint GetIndexOf(RakString input)
        {
            uint ret = RakNetPINVOKE.RakNetListRakString_GetIndexOf(swigCPtr, RakString.getCPtr(input));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        public bool LoginToCoordinator(RakString password, SystemAddress coordinatorAddress)
        {
            bool ret = RakNetPINVOKE.UDPProxyServer_LoginToCoordinator(swigCPtr, RakString.getCPtr(password), SystemAddress.getCPtr(coordinatorAddress));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
        public RakWString CopyData(RakString right)
        {
            RakWString ret = new RakWString(RakNetPINVOKE.RakWString_CopyData__SWIG_1(swigCPtr, RakString.getCPtr(right)), false);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
 public RakWString(RakString right) : this(RakNetPINVOKE.new_RakWString__SWIG_1(RakString.getCPtr(right)), true)
 {
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Replace(RakString input)
 {
     RakNetPINVOKE.CSharp_RakNet_RakNetListRakString_Replace__SWIG_1(swigCPtr, RakString.getCPtr(input));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Replace(RakString input, RakString filler, uint position, string file, uint line)
 {
     RakNetPINVOKE.CSharp_RakNet_RakNetListRakString_Replace__SWIG_0(swigCPtr, RakString.getCPtr(input), RakString.getCPtr(filler), position, file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void LogConnectionAttempts(RakString rs)
 {
     RakNetPINVOKE.NatPunchthroughServer_User_LogConnectionAttempts(swigCPtr, RakString.getCPtr(rs));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void OnWrongPassword(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RakNetPINVOKE.CSharp_RakNet_UDPProxyServerResultHandler_OnWrongPassword(swigCPtr, RakString.getCPtr(usedPassword), UDPProxyServer.getCPtr(proxyServerPlugin));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #10
0
 public void SetServerPublicIP(RakString ip) {
   RakNetPINVOKE.UDPProxyServer_SetServerPublicIP(swigCPtr, RakString.getCPtr(ip));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #11
0
 public void SetConnectOnNewRemoteConnection(bool attemptConnection, RakString pw)
 {
     RakNetPINVOKE.FullyConnectedMesh2_SetConnectOnNewRemoteConnection(swigCPtr, attemptConnection, RakString.getCPtr(pw));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #12
0
 public void SetRemoteLoginPassword(RakString password)
 {
     RakNetPINVOKE.CSharp_RakNet_UDPProxyCoordinator_SetRemoteLoginPassword(swigCPtr, RakString.getCPtr(password));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }