Exemple #1
0
 public PxContactStreamIterator(SWIGTYPE_p_uint8_t contactPatches, SWIGTYPE_p_uint8_t contactPoints, SWIGTYPE_p_uint32_t contactFaceIndices, SWIGTYPE_p_uint32_t nbPatches, SWIGTYPE_p_uint32_t nbContacts) : this(physxPINVOKE.new_PxContactStreamIterator(SWIGTYPE_p_uint8_t.getCPtr(contactPatches), SWIGTYPE_p_uint8_t.getCPtr(contactPoints), SWIGTYPE_p_uint32_t.getCPtr(contactFaceIndices), SWIGTYPE_p_uint32_t.getCPtr(nbPatches), SWIGTYPE_p_uint32_t.getCPtr(nbContacts)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public EncodedBufferImage(SWIGTYPE_p_uint8_t encodedImage, uint encodedImageByteCount) : this(NDalicPINVOKE.EncodedBufferImage_New__SWIG_0(SWIGTYPE_p_uint8_t.getCPtr(encodedImage), encodedImageByteCount), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public PxDominanceGroupPair(SWIGTYPE_p_uint8_t a, SWIGTYPE_p_uint8_t b) : this(physxPINVOKE.new_PxDominanceGroupPair(SWIGTYPE_p_uint8_t.getCPtr(a), SWIGTYPE_p_uint8_t.getCPtr(b)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public EncodedBufferImage(SWIGTYPE_p_uint8_t encodedImage, uint encodedImageByteCount, Uint16Pair size, FittingModeType fittingMode, SamplingModeType samplingMode) : this(NDalicPINVOKE.EncodedBufferImage_New__SWIG_2(SWIGTYPE_p_uint8_t.getCPtr(encodedImage), encodedImageByteCount, Uint16Pair.getCPtr(size), (int)fittingMode, (int)samplingMode), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public OTPassword(SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize) : this(otapiPINVOKE.new_OTPassword__SWIG_6(SWIGTYPE_p_uint8_t.getCPtr(szInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
    public SWIGTYPE_p_uint8_t getPasswordWritable()
    {
        IntPtr             cPtr = otapiPINVOKE.OTPassword_getPasswordWritable(swigCPtr);
        SWIGTYPE_p_uint8_t ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_uint8_t(cPtr, false);

        return(ret);
    }
 public PxContactPairExtraDataIterator(SWIGTYPE_p_uint8_t stream, SWIGTYPE_p_uint32_t size) : this(physxPINVOKE.new_PxContactPairExtraDataIterator(SWIGTYPE_p_uint8_t.getCPtr(stream), SWIGTYPE_p_uint32_t.getCPtr(size)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #8
0
 public static void zeroMemory(SWIGTYPE_p_uint8_t szMemory, SWIGTYPE_p_uint32_t theSize)
 {
     otapiPINVOKE.OTPassword_zeroMemory__SWIG_1(SWIGTYPE_p_uint8_t.getCPtr(szMemory), SWIGTYPE_p_uint32_t.getCPtr(theSize));
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #9
0
 public virtual void setOwnerClient(SWIGTYPE_p_uint8_t inClient)
 {
     physxPINVOKE.PxActor_setOwnerClient(swigCPtr, SWIGTYPE_p_uint8_t.getCPtr(inClient));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #10
0
 public virtual void setDominanceGroup(SWIGTYPE_p_uint8_t dominanceGroup)
 {
     physxPINVOKE.PxActor_setDominanceGroup(swigCPtr, SWIGTYPE_p_uint8_t.getCPtr(dominanceGroup));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #11
0
    public SWIGTYPE_p_int32_t setPassword_uint8(SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize)
    {
        SWIGTYPE_p_int32_t ret = new SWIGTYPE_p_int32_t(otapiPINVOKE.OTPassword_setPassword_uint8(swigCPtr, SWIGTYPE_p_uint8_t.getCPtr(szInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize)), true);

        if (otapiPINVOKE.SWIGPendingException.Pending)
        {
            throw otapiPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #12
0
    public bool addChar(SWIGTYPE_p_uint8_t theChar)
    {
        bool ret = otapiPINVOKE.OTPassword_addChar(swigCPtr, SWIGTYPE_p_uint8_t.getCPtr(theChar));

        if (otapiPINVOKE.SWIGPendingException.Pending)
        {
            throw otapiPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #13
0
    public static bool randomizeMemory_uint8(SWIGTYPE_p_uint8_t szDestination, SWIGTYPE_p_uint32_t nNewSize)
    {
        bool ret = otapiPINVOKE.OTPassword_randomizeMemory_uint8(SWIGTYPE_p_uint8_t.getCPtr(szDestination), SWIGTYPE_p_uint32_t.getCPtr(nNewSize));

        if (otapiPINVOKE.SWIGPendingException.Pending)
        {
            throw otapiPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static bool randomizePassword_uint8(SWIGTYPE_p_uint8_t szDestination, SWIGTYPE_p_uint32_t nNewSize)
 {
     bool ret = otapiPINVOKE.OTPassword_randomizePassword_uint8(SWIGTYPE_p_uint8_t.getCPtr(szDestination), SWIGTYPE_p_uint32_t.getCPtr(nNewSize));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #15
0
    public static int netcode_generate_connect_token(int num_server_addresses, SWIGTYPE_p_p_char server_addresses, int expire_seconds, SWIGTYPE_p_uint64_t client_id, SWIGTYPE_p_uint64_t protocol_id, SWIGTYPE_p_uint64_t sequence, SWIGTYPE_p_uint8_t private_key, SWIGTYPE_p_uint8_t connect_token)
    {
        int ret = netcodePINVOKE.netcode_generate_connect_token(num_server_addresses, SWIGTYPE_p_p_char.getCPtr(server_addresses), expire_seconds, SWIGTYPE_p_uint64_t.getCPtr(client_id), SWIGTYPE_p_uint64_t.getCPtr(protocol_id), SWIGTYPE_p_uint64_t.getCPtr(sequence), SWIGTYPE_p_uint8_t.getCPtr(private_key), SWIGTYPE_p_uint8_t.getCPtr(connect_token));

        if (netcodePINVOKE.SWIGPendingException.Pending)
        {
            throw netcodePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #16
0
 public static void netcode_client_send_packet(SWIGTYPE_p_netcode_client_t client, SWIGTYPE_p_uint8_t packet_data, int packet_bytes)
 {
     netcodePINVOKE.netcode_client_send_packet(SWIGTYPE_p_netcode_client_t.getCPtr(client), SWIGTYPE_p_uint8_t.getCPtr(packet_data), packet_bytes);
 }
Exemple #17
0
 public static void netcode_client_connect(SWIGTYPE_p_netcode_client_t client, SWIGTYPE_p_uint8_t connect_token)
 {
     netcodePINVOKE.netcode_client_connect(SWIGTYPE_p_netcode_client_t.getCPtr(client), SWIGTYPE_p_uint8_t.getCPtr(connect_token));
 }
Exemple #18
0
 public static void netcode_random_bytes(SWIGTYPE_p_uint8_t data, int bytes)
 {
     netcodePINVOKE.netcode_random_bytes(SWIGTYPE_p_uint8_t.getCPtr(data), bytes);
 }
Exemple #19
0
 public void bufferContacts(PxContactPair newPair, SWIGTYPE_p_uint8_t bufferMemory)
 {
     physxPINVOKE.PxContactPair_bufferContacts(swigCPtr, PxContactPair.getCPtr(newPair), SWIGTYPE_p_uint8_t.getCPtr(bufferMemory));
 }
 public SWIGTYPE_p_int32_t setPassword_uint8(SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize)
 {
     SWIGTYPE_p_int32_t ret = new SWIGTYPE_p_int32_t(otapiPINVOKE.OTPassword_setPassword_uint8(swigCPtr, SWIGTYPE_p_uint8_t.getCPtr(szInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize)), true);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public static void zeroMemory(SWIGTYPE_p_uint8_t szMemory, SWIGTYPE_p_uint32_t theSize)
 {
     otapiPINVOKE.OTPassword_zeroMemory__SWIG_1(SWIGTYPE_p_uint8_t.getCPtr(szMemory), SWIGTYPE_p_uint32_t.getCPtr(theSize));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
 public bool addChar(SWIGTYPE_p_uint8_t theChar)
 {
     bool ret = otapiPINVOKE.OTPassword_addChar(swigCPtr, SWIGTYPE_p_uint8_t.getCPtr(theChar));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_uint8_t obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public OTPassword(SWIGTYPE_p_uint8_t szInput, SWIGTYPE_p_uint32_t nInputSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_6(SWIGTYPE_p_uint8_t.getCPtr(szInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #25
0
        public virtual SWIGTYPE_p_uint8_t getOwnerClient()
        {
            SWIGTYPE_p_uint8_t ret = new SWIGTYPE_p_uint8_t(physxPINVOKE.PxBatchQuery_getOwnerClient(swigCPtr), true);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_uint8_t obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #27
0
        public virtual SWIGTYPE_p_uint8_t getDominanceGroup()
        {
            SWIGTYPE_p_uint8_t ret = new SWIGTYPE_p_uint8_t(physxPINVOKE.PxActor_getDominanceGroup(swigCPtr), true);

            return(ret);
        }
Exemple #28
0
    public static SWIGTYPE_p_netcode_server_t netcode_server_create(string bind_address, string public_address, SWIGTYPE_p_uint64_t protocol_id, SWIGTYPE_p_uint8_t private_key, double time)
    {
        global::System.IntPtr       cPtr = netcodePINVOKE.netcode_server_create(bind_address, public_address, SWIGTYPE_p_uint64_t.getCPtr(protocol_id), SWIGTYPE_p_uint8_t.getCPtr(private_key), time);
        SWIGTYPE_p_netcode_server_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_netcode_server_t(cPtr, false);

        if (netcodePINVOKE.SWIGPendingException.Pending)
        {
            throw netcodePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #29
0
 public static void netcode_server_send_packet(SWIGTYPE_p_netcode_server_t server, int client_index, SWIGTYPE_p_uint8_t packet_data, int packet_bytes)
 {
     netcodePINVOKE.netcode_server_send_packet(SWIGTYPE_p_netcode_server_t.getCPtr(server), client_index, SWIGTYPE_p_uint8_t.getCPtr(packet_data), packet_bytes);
 }
Exemple #30
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_uint8_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #31
0
 internal static HandleRef getCPtr(SWIGTYPE_p_uint8_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }