Example #1
0
        public static RakString FormatForGET(RakString uri, uint port)
        {
            RakString ret = new RakString(RakNetPINVOKE.RakString_FormatForGET(RakString.getCPtr(uri), port), true);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
Example #3
0
File: RakNet.cs Project: hw233/ysz
        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);
        }
        public static uint ToInteger(RakString rs)
        {
            uint ret = RakNetPINVOKE.RakString_ToInteger__SWIG_1(RakString.getCPtr(rs));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int StrICmp(RakString rhs)
        {
            int ret = RakNetPINVOKE.RakString_StrICmp(swigCPtr, RakString.getCPtr(rhs));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        private bool OpGreaterEquals(RakString right)
        {
            bool ret = RakNetPINVOKE.RakString_OpGreaterEquals(swigCPtr, RakString.getCPtr(right));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        private bool OpNotEqual(RakString rhs)
        {
            bool ret = RakNetPINVOKE.RakString_OpNotEqual__SWIG_0(swigCPtr, RakString.getCPtr(rhs));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public int StrNCmp(RakString rhs, uint num)
        {
            int ret = RakNetPINVOKE.CSharp_RakNet_RakString_StrNCmp(swigCPtr, RakString.getCPtr(rhs), num);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool Equals(RakString rhs)
        {
            bool ret = RakNetPINVOKE.RakString_Equals__SWIG_0(swigCPtr, RakString.getCPtr(rhs));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
        public static RakString FormatForPOST(RakString uri, RakString contentType, uint port, RakString body)
        {
            RakString ret = new RakString(RakNetPINVOKE.RakString_FormatForPOST(RakString.getCPtr(uri), RakString.getCPtr(contentType), port, RakString.getCPtr(body)), true);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static int RakStringComp(RakString key, RakString data)
        {
            int ret = RakNetPINVOKE.RakString_RakStringComp(RakString.getCPtr(key), RakString.getCPtr(data));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #12
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);
        }
 public void SplitURI(RakString header, RakString domain, RakString path)
 {
     RakNetPINVOKE.RakString_SplitURI(swigCPtr, RakString.getCPtr(header), RakString.getCPtr(domain), RakString.getCPtr(path));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #14
0
 public RakString(RakString rhs) : this(RakNetPINVOKE.CSharp_RakNet_new_RakString__SWIG_4(RakString.getCPtr(rhs)), true)
 {
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #15
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);
        }
Example #16
0
 public void SetConnectOnNewRemoteConnection(bool attemptConnection, RakString pw)
 {
     RakNetPINVOKE.FullyConnectedMesh2_SetConnectOnNewRemoteConnection(swigCPtr, attemptConnection, RakString.getCPtr(pw));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #17
0
        public static RakString FormatForDELETE(RakString uri)
        {
            RakString ret = new RakString(RakNetPINVOKE.RakString_FormatForDELETE__SWIG_1(RakString.getCPtr(uri)), true);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #18
0
        public static RakString FormatForGET(RakString uri, RakString extraHeaders)
        {
            RakString ret = new RakString(RakNetPINVOKE.RakString_FormatForGET__SWIG_0(RakString.getCPtr(uri), RakString.getCPtr(extraHeaders)), true);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #19
0
        public RakString CopyData(RakString rhs)
        {
            RakString ret = new RakString(RakNetPINVOKE.CSharp_RakNet_RakString_CopyData__SWIG_0(swigCPtr, RakString.getCPtr(rhs)), false);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #20
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 SetRemoteLoginPassword(RakString password)
 {
     RakNetPINVOKE.CSharp_UDPProxyCoordinator_SetRemoteLoginPassword(swigCPtr, RakString.getCPtr(password));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #22
0
 public void Replace(RakString input, RakString filler, uint position, string file, uint line)
 {
     RakNetPINVOKE.RakNetListRakString_Replace__SWIG_0(swigCPtr, RakString.getCPtr(input), RakString.getCPtr(filler), position, file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void OnWrongPassword(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RakNetPINVOKE.CSharp_UDPProxyServerResultHandler_OnWrongPassword(swigCPtr, RakString.getCPtr(usedPassword), UDPProxyServer.getCPtr(proxyServerPlugin));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }