Пример #1
0
        public static UnsignedIntPointer frompointer(SWIGTYPE_p_unsigned_int t)
        {
            global::System.IntPtr cPtr = RakNetPINVOKE.CSharp_RakNet_UnsignedIntPointer_frompointer(SWIGTYPE_p_unsigned_int.getCPtr(t));
            UnsignedIntPointer    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UnsignedIntPointer(cPtr, false);

            return(ret);
        }
Пример #2
0
 public ushort FindExactName(uint nt, string str, SWIGTYPE_p_unsigned_int idPtr) {
   ushort ret = ScidPINVOKE.NameBase_FindExactName(swigCPtr, nt, str, SWIGTYPE_p_unsigned_int.getCPtr(idPtr));
   return ret;
 }
Пример #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Пример #4
0
 public virtual void get_string_and_label(SWIGTYPE_p_unsigned_int vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label) {
   modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_9(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #5
0
        public ReplicaReturnResult Serialize(ref bool sendTimestamp, BitStream outBitStream, uint lastSendTime, ref PacketPriority priority, ref PacketReliability reliability, uint currentTime, SystemAddress systemAddress, SWIGTYPE_p_unsigned_int flags)
        {
            if (lastSendTime == 0)
                Console.Write("First call to Player::Serialize for {0}:{1}\n", systemAddress.binaryAddress, systemAddress.port);

            outBitStream.Write(position);
            outBitStream.Write(health);
            return ReplicaReturnResult.REPLICA_PROCESSING_DONE;
        }
 public override ReplicaReturnResult Serialize(ref bool sendTimestamp, BitStream outBitStream, uint lastSendTime, ref PacketPriority priority, ref PacketReliability reliability, uint currentTime, SystemAddress systemAddress, SWIGTYPE_p_unsigned_int flags)
 {
     return Listener.Serialize(ref sendTimestamp, outBitStream, lastSendTime, ref priority, ref reliability, currentTime, systemAddress, flags);
 }
Пример #7
0
 public static void strGetUnsigneds(string str, SWIGTYPE_p_unsigned_int results, uint nResults) {
   ScidPINVOKE.strGetUnsigneds(str, SWIGTYPE_p_unsigned_int.getCPtr(results), nResults);
 }
 public ReplicaReturnResult Serialize(ref bool sendTimestamp, BitStream outBitStream, uint lastSendTime, ref PacketPriority priority, ref PacketReliability reliability, uint currentTime, SystemAddress systemAddress, SWIGTYPE_p_unsigned_int flags)
 {
     return ReplicaReturnResult.REPLICA_CANCEL_PROCESS;
 }
Пример #9
0
 public static double dot(SWIGTYPE_p_unsigned_int v1, SWIGTYPE_p_unsigned_int v2, int n) {
   double ret = modshogunPINVOKE.Math_dot__SWIG_7(SWIGTYPE_p_unsigned_int.getCPtr(v1), SWIGTYPE_p_unsigned_int.getCPtr(v2), n);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #10
0
        public bool create_standard_array(uint num_layers, SWIGTYPE_p_unsigned_int layers)
        {
            bool ret = fannfloatPINVOKE.neural_net_create_standard_array(swigCPtr, num_layers, SWIGTYPE_p_unsigned_int.getCPtr(layers));

            return(ret);
        }
 public ReplicaReturnResult SendConstruction(uint currentTime, SystemAddress systemAddress, SWIGTYPE_p_unsigned_int flags, BitStream outBitStream, ref bool includeTimestamp)
 {
     return ReplicaReturnResult.REPLICA_CANCEL_PROCESS;
 }
Пример #12
0
        public bool GetChannelPointCount(int pChannelIndex, FbxTime pTime, SWIGTYPE_p_unsigned_int pPointCount)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxCache_GetChannelPointCount__SWIG_1(swigCPtr, pChannelIndex, FbxTime.getCPtr(pTime), SWIGTYPE_p_unsigned_int.getCPtr(pPointCount));

            if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending)
            {
                throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #13
0
        public bool GetChannelSampleCount(int pChannelIndex, SWIGTYPE_p_unsigned_int pSampleCount, FbxStatus pStatus)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxCache_GetChannelSampleCount__SWIG_0(swigCPtr, pChannelIndex, SWIGTYPE_p_unsigned_int.getCPtr(pSampleCount), FbxStatus.getCPtr(pStatus));

            if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending)
            {
                throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #14
0
        public bool AddChannel(string pChannelName, FbxCache.EMCDataType pMCDataType, string pInterpretation, SWIGTYPE_p_unsigned_int pChannelIndex)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxCache_AddChannel__SWIG_1(swigCPtr, pChannelName, (int)pMCDataType, pInterpretation, SWIGTYPE_p_unsigned_int.getCPtr(pChannelIndex));

            if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending)
            {
                throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #15
0
 public override void get_string(SWIGTYPE_p_unsigned_int vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_9(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #16
0
    public static double dot(SWIGTYPE_p_unsigned_int v1, SWIGTYPE_p_unsigned_int v2, int n)
    {
        double ret = modshogunPINVOKE.Math_dot__SWIG_7(SWIGTYPE_p_unsigned_int.getCPtr(v1), SWIGTYPE_p_unsigned_int.getCPtr(v2), n);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #17
0
 internal void CreateVectorBlob(uint fontId, uint glyphIndex, SWIGTYPE_p_p_Dali__TextAbstraction__VectorBlob blob, SWIGTYPE_p_unsigned_int blobLength, SWIGTYPE_p_unsigned_int nominalWidth, SWIGTYPE_p_unsigned_int nominalHeight)
 {
     Interop.FontClient.FontClient_CreateVectorBlob(swigCPtr, fontId, glyphIndex, SWIGTYPE_p_p_Dali__TextAbstraction__VectorBlob.getCPtr(blob), SWIGTYPE_p_unsigned_int.getCPtr(blobLength), SWIGTYPE_p_unsigned_int.getCPtr(nominalWidth), SWIGTYPE_p_unsigned_int.getCPtr(nominalHeight));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #18
0
 public virtual void set_uint_ndarray(SWIGTYPE_p_unsigned_int array, SWIGTYPE_p_int dims, int num_dims) {
   modshogunPINVOKE.AsciiFile_set_uint_ndarray(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), num_dims);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #19
0
 public ushort GetRange(string criteria, uint idx, uint count, SWIGTYPE_p_HFilter filter, SWIGTYPE_p_unsigned_int result) {
   ushort ret = ScidPINVOKE.scidBaseT_GetRange(swigCPtr, criteria, idx, count, SWIGTYPE_p_HFilter.getCPtr(filter), SWIGTYPE_p_unsigned_int.getCPtr(result));
   if (ScidPINVOKE.SWIGPendingException.Pending) throw ScidPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #20
0
 public void get_key(SWIGTYPE_p_unsigned_int code, SWIGTYPE_p_unsigned_int state)
 {
     xwiimotePINVOKE.xwii_event__get_key(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(code), SWIGTYPE_p_unsigned_int.getCPtr(state));
 }
Пример #21
0
 public unsafe static ValueRef ConstInsertValue(ValueRef AggConstant, ValueRef ElementValueConstant, SWIGTYPE_p_unsigned_int IdxList, uint NumIdx) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.ConstInsertValue(AggConstant.Value, ElementValueConstant.Value, SWIGTYPE_p_unsigned_int.getCPtr(IdxList), NumIdx));
   return ret;
 }
 public virtual bool getFormat7WindowDC1394(SWIGTYPE_p_unsigned_int xdim, SWIGTYPE_p_unsigned_int ydim, SWIGTYPE_p_int x0, SWIGTYPE_p_int y0)
 {
     bool ret = yarpPINVOKE.IFrameGrabberControlsDC1394_getFormat7WindowDC1394(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(xdim), SWIGTYPE_p_unsigned_int.getCPtr(ydim), SWIGTYPE_p_int.getCPtr(x0), SWIGTYPE_p_int.getCPtr(y0));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #23
0
 public static SWIGTYPE_p_OpalHandleStruct OpalInitialise(SWIGTYPE_p_unsigned_int version, string options) {
   IntPtr cPtr = OPALPINVOKE.OpalInitialise(SWIGTYPE_p_unsigned_int.getCPtr(version), options);
   SWIGTYPE_p_OpalHandleStruct ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_OpalHandleStruct(cPtr, false);
   return ret;
 }
Пример #24
0
    public virtual Result MapPixelData(bool read, bool write, SWIGTYPE_p_unsigned_int stride, SWIGTYPE_p_p_void data)
    {
        Result ret = new Result(IronSightEnginePINVOKE.ITexture_MapPixelData(swigCPtr, read, write, SWIGTYPE_p_unsigned_int.getCPtr(stride), SWIGTYPE_p_p_void.getCPtr(data)), true);

        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #25
0
        public bool Read(SWIGTYPE_p_p_float pBuffer, SWIGTYPE_p_unsigned_int pBufferLength, FbxTime pTime)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxCache_Read__SWIG_1(swigCPtr, SWIGTYPE_p_p_float.getCPtr(pBuffer), SWIGTYPE_p_unsigned_int.getCPtr(pBufferLength), FbxTime.getCPtr(pTime));

            if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending)
            {
                throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #26
0
 public override void readArrayNdOfUIntValues(string datasetName, SWIGTYPE_p_unsigned_int values)
 {
     throw new NotImplementedException();
 }
Пример #27
0
 public uint GetFirstMatches(uint nt, string str, uint maxMatches, SWIGTYPE_p_unsigned_int array) {
   uint ret = ScidPINVOKE.NameBase_GetFirstMatches(swigCPtr, nt, str, maxMatches, SWIGTYPE_p_unsigned_int.getCPtr(array));
   return ret;
 }
        public virtual bool pullOcclusionQuery(SWIGTYPE_p_unsigned_int NumOfFragments)
        {
            bool ret = OgrePINVOKE.HardwareOcclusionQuery_pullOcclusionQuery(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(NumOfFragments));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #29
0
 public void GetParticipantCount(SWIGTYPE_p_unsigned_int participantListSize)
 {
     RakNetPINVOKE.FullyConnectedMesh2_GetParticipantCount__SWIG_1(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(participantListSize));
 }
Пример #30
0
 public virtual void set_uint_matrix(SWIGTYPE_p_unsigned_int matrix, int num_feat, int num_vec) {
   modshogunPINVOKE.File_set_uint_matrix(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(matrix), num_feat, num_vec);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #31
0
 public void convertColourValue(ColourValue colour, SWIGTYPE_p_unsigned_int pDest)
 {
     OgrePINVOKE.Root_convertColourValue(swigCPtr, ColourValue.getCPtr(colour), SWIGTYPE_p_unsigned_int.getCPtr(pDest));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #32
0
 internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #33
0
 internal void GetDpi(SWIGTYPE_p_unsigned_int horizontalDpi, SWIGTYPE_p_unsigned_int verticalDpi)
 {
     Interop.FontClient.FontClient_GetDpi(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(horizontalDpi), SWIGTYPE_p_unsigned_int.getCPtr(verticalDpi));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #34
0
        public static bool btRayAabb2(btVector3 rayFrom, btVector3 rayInvDirection, SWIGTYPE_p_unsigned_int raySign, btVector3 bounds, SWIGTYPE_p_float tmin, float lambda_min, float lambda_max)
        {
            bool ret = BulletPINVOKE.btRayAabb2(btVector3.getCPtr(rayFrom), btVector3.getCPtr(rayInvDirection), SWIGTYPE_p_unsigned_int.getCPtr(raySign), btVector3.getCPtr(bounds), SWIGTYPE_p_float.getCPtr(tmin), lambda_min, lambda_max);

            if (BulletPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public override ReplicaReturnResult SendConstruction(uint currentTime, SystemAddress systemAddress, SWIGTYPE_p_unsigned_int flags, BitStream outBitStream, ref bool includeTimestamp)
 {
     return Listener.SendConstruction(currentTime, systemAddress, flags, outBitStream, ref includeTimestamp);
 }
Пример #36
0
        public bool create_sparse_array(float connection_rate, uint num_layers, SWIGTYPE_p_unsigned_int layers)
        {
            bool ret = fanndoublePINVOKE.neural_net_create_sparse_array(swigCPtr, connection_rate, num_layers, SWIGTYPE_p_unsigned_int.getCPtr(layers));

            return(ret);
        }
Пример #37
0
 public ushort getCompactStat(SWIGTYPE_p_unsigned_int n_deleted, SWIGTYPE_p_unsigned_int n_unused, SWIGTYPE_p_unsigned_int n_sparse, SWIGTYPE_p_unsigned_int n_badNameId) {
   ushort ret = ScidPINVOKE.scidBaseT_getCompactStat(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(n_deleted), SWIGTYPE_p_unsigned_int.getCPtr(n_unused), SWIGTYPE_p_unsigned_int.getCPtr(n_sparse), SWIGTYPE_p_unsigned_int.getCPtr(n_badNameId));
   return ret;
 }
Пример #38
0
        public bool create_shortcut_array(uint num_layers, SWIGTYPE_p_unsigned_int layers)
        {
            bool ret = fanndoublePINVOKE.neural_net_create_shortcut_array(swigCPtr, num_layers, SWIGTYPE_p_unsigned_int.getCPtr(layers));

            return(ret);
        }
Пример #39
0
 public void setDuplicates(SWIGTYPE_p_unsigned_int duplicates) {
   ScidPINVOKE.scidBaseT_setDuplicates(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(duplicates));
 }
Пример #40
0
 public neural_net(NetworkType net_type, uint num_layers, SWIGTYPE_p_unsigned_int layers) : this(fanndoublePINVOKE.new_neural_net__SWIG_0((int)net_type, num_layers, SWIGTYPE_p_unsigned_int.getCPtr(layers)), true)
 {
 }
Пример #41
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Пример #42
0
 public void get_layer_array(SWIGTYPE_p_unsigned_int layers)
 {
     fanndoublePINVOKE.neural_net_get_layer_array(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(layers));
 }
Пример #43
0
 public virtual void get_vector(SWIGTYPE_p_unsigned_int vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingFile_get_vector__SWIG_9(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #44
0
 public void get_bias_array(SWIGTYPE_p_unsigned_int bias)
 {
     fanndoublePINVOKE.neural_net_get_bias_array(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(bias));
 }
Пример #45
0
 internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #46
0
 public neural_net(float connection_rate, uint num_layers, SWIGTYPE_p_unsigned_int layers) : this(fanndoublePINVOKE.new_neural_net__SWIG_4(connection_rate, num_layers, SWIGTYPE_p_unsigned_int.getCPtr(layers)), true)
 {
 }
Пример #47
0
 public unsafe static string GetMDString(ValueRef V, SWIGTYPE_p_unsigned_int Len) {
   string ret = LLVMPINVOKE.GetMDString(V.Value, SWIGTYPE_p_unsigned_int.getCPtr(Len));
   return ret;
 }
Пример #48
0
 public void setNamedConstant(string name, SWIGTYPE_p_unsigned_int val, uint count)
 {
     OgrePINVOKE.GpuSharedParameters_setNamedConstant__SWIG_12(swigCPtr, name, SWIGTYPE_p_unsigned_int.getCPtr(val), count);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #49
0
        public ReplicaReturnResult SendConstruction(uint currentTime, SystemAddress systemAddress, SWIGTYPE_p_unsigned_int flags, BitStream outBitStream, ref bool includeTimestamp)
        {
            StringTable.Instance().EncodeString("Player", 255, outBitStream);

            Program.replicaManager.SetScope(replica, true, systemAddress, false);

            Console.Write("Sending monster to {0}:{1}\n", systemAddress.binaryAddress, systemAddress.port);

            return ReplicaReturnResult.REPLICA_PROCESSING_DONE;
        }
Пример #50
0
 public ushort AddGame(ByteBuffer bb, SWIGTYPE_p_unsigned_int offset) {
   ushort ret = ScidPINVOKE.GFile_AddGame(swigCPtr, ByteBuffer.getCPtr(bb), SWIGTYPE_p_unsigned_int.getCPtr(offset));
   return ret;
 }