Esempio n. 1
0
        public override bool Ping(string host, ushort remotePort, bool onlyReplyOnAcceptingConnections)
        {
            bool ret = SLikeNetPINVOKE.RakPeer_Ping__SWIG_2(swigCPtr, host, remotePort, onlyReplyOnAcceptingConnections);

            return(ret);
        }
Esempio n. 2
0
        public override StartupResult Startup(uint maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount, int threadPriority)
        {
            StartupResult ret = (StartupResult)SLikeNetPINVOKE.RakPeer_Startup__SWIG_0(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount, threadPriority);

            return(ret);
        }
Esempio n. 3
0
        public override bool GetStatistics(uint index, RakNetStatistics rns)
        {
            bool ret = SLikeNetPINVOKE.RakPeer_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));

            return(ret);
        }
Esempio n. 4
0
 public RakPeer() : this(SLikeNetPINVOKE.new_RakPeer(), true)
 {
 }
Esempio n. 5
0
 public override void ApplyNetworkSimulator(float packetloss, ushort minExtraPing, ushort extraPingVariance)
 {
     SLikeNetPINVOKE.RakPeer_ApplyNetworkSimulator(swigCPtr, packetloss, minExtraPing, extraPingVariance);
 }
Esempio n. 6
0
 public override void SendTTL(string host, ushort remotePort, int ttl)
 {
     SLikeNetPINVOKE.RakPeer_SendTTL__SWIG_1(swigCPtr, host, remotePort, ttl);
 }
Esempio n. 7
0
 public override void DetachPlugin(PluginInterface2 messageHandler)
 {
     SLikeNetPINVOKE.RakPeer_DetachPlugin(swigCPtr, PluginInterface2.getCPtr(messageHandler));
 }
Esempio n. 8
0
        public override SystemAddress GetMyBoundAddress()
        {
            SystemAddress ret = new SystemAddress(SLikeNetPINVOKE.RakPeer_GetMyBoundAddress__SWIG_1(swigCPtr), true);

            return(ret);
        }
Esempio n. 9
0
        public override uint GetNumberOfAddresses()
        {
            uint ret = SLikeNetPINVOKE.RakPeer_GetNumberOfAddresses(swigCPtr);

            return(ret);
        }
Esempio n. 10
0
        public override RakNetGUID GetMyGUID()
        {
            RakNetGUID ret = new RakNetGUID(SLikeNetPINVOKE.RakPeer_GetMyGUID(swigCPtr), true);

            return(ret);
        }
Esempio n. 11
0
        public override SystemAddress GetMyBoundAddress(int socketIndex)
        {
            SystemAddress ret = new SystemAddress(SLikeNetPINVOKE.RakPeer_GetMyBoundAddress__SWIG_0(swigCPtr, socketIndex), true);

            return(ret);
        }
Esempio n. 12
0
        public override SystemAddress GetInternalID()
        {
            SystemAddress ret = new SystemAddress(SLikeNetPINVOKE.RakPeer_GetInternalID__SWIG_2(swigCPtr), true);

            return(ret);
        }
Esempio n. 13
0
 public override void SetOfflinePingResponse(string data, uint length)
 {
     SLikeNetPINVOKE.RakPeer_SetOfflinePingResponse__SWIG_0(swigCPtr, data, length);
 }
Esempio n. 14
0
 public override void SetOccasionalPing(bool doPing)
 {
     SLikeNetPINVOKE.RakPeer_SetOccasionalPing(swigCPtr, doPing);
 }
Esempio n. 15
0
 public override void SetUnreliableTimeout(uint timeoutMS)
 {
     SLikeNetPINVOKE.RakPeer_SetUnreliableTimeout(swigCPtr, timeoutMS);
 }
Esempio n. 16
0
        public override string GetLocalIP(uint index)
        {
            string ret = SLikeNetPINVOKE.RakPeer_GetLocalIP(swigCPtr, index);

            return(ret);
        }
Esempio n. 17
0
 public override void SendTTL(string host, ushort remotePort, int ttl, uint connectionSocketIndex)
 {
     SLikeNetPINVOKE.RakPeer_SendTTL__SWIG_0(swigCPtr, host, remotePort, ttl, connectionSocketIndex);
 }
Esempio n. 18
0
        public override bool IsLocalIP(string ip)
        {
            bool ret = SLikeNetPINVOKE.RakPeer_IsLocalIP(swigCPtr, ip);

            return(ret);
        }
Esempio n. 19
0
 public override void AttachPlugin(PluginInterface2 plugin)
 {
     SLikeNetPINVOKE.RakPeer_AttachPlugin(swigCPtr, PluginInterface2.getCPtr(plugin));
 }
Esempio n. 20
0
 public override void AllowConnectionResponseIPMigration(bool allow)
 {
     SLikeNetPINVOKE.RakPeer_AllowConnectionResponseIPMigration(swigCPtr, allow);
 }
Esempio n. 21
0
 public override void PushBackPacket(Packet packet, bool pushAtHead)
 {
     SLikeNetPINVOKE.RakPeer_PushBackPacket(swigCPtr, Packet.getCPtr(packet), pushAtHead);
 }
Esempio n. 22
0
        public override bool AdvertiseSystem(string host, ushort remotePort, string data, int dataLength, uint connectionSocketIndex)
        {
            bool ret = SLikeNetPINVOKE.RakPeer_AdvertiseSystem__SWIG_0(swigCPtr, host, remotePort, data, dataLength, connectionSocketIndex);

            return(ret);
        }
Esempio n. 23
0
 public override void WriteOutOfBandHeader(BitStream bitStream)
 {
     SLikeNetPINVOKE.RakPeer_WriteOutOfBandHeader(swigCPtr, BitStream.getCPtr(bitStream));
 }
Esempio n. 24
0
        public override bool AdvertiseSystem(string host, ushort remotePort, string data, int dataLength)
        {
            bool ret = SLikeNetPINVOKE.RakPeer_AdvertiseSystem__SWIG_1(swigCPtr, host, remotePort, data, dataLength);

            return(ret);
        }
Esempio n. 25
0
 public override void SetPerConnectionOutgoingBandwidthLimit(uint maxBitsPerSecond)
 {
     SLikeNetPINVOKE.RakPeer_SetPerConnectionOutgoingBandwidthLimit(swigCPtr, maxBitsPerSecond);
 }
Esempio n. 26
0
 public override void SetSplitMessageProgressInterval(int interval)
 {
     SLikeNetPINVOKE.RakPeer_SetSplitMessageProgressInterval(swigCPtr, interval);
 }
Esempio n. 27
0
        public override bool IsNetworkSimulatorActive()
        {
            bool ret = SLikeNetPINVOKE.RakPeer_IsNetworkSimulatorActive(swigCPtr);

            return(ret);
        }
Esempio n. 28
0
        public override int GetSplitMessageProgressInterval()
        {
            int ret = SLikeNetPINVOKE.RakPeer_GetSplitMessageProgressInterval(swigCPtr);

            return(ret);
        }
Esempio n. 29
0
        public override uint GetReceiveBufferSize()
        {
            uint ret = SLikeNetPINVOKE.RakPeer_GetReceiveBufferSize(swigCPtr);

            return(ret);
        }
Esempio n. 30
0
 public override void SetLimitIPConnectionFrequency(bool b)
 {
     SLikeNetPINVOKE.RakPeer_SetLimitIPConnectionFrequency(swigCPtr, b);
 }