Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #3
0
        public override bool GetStatistics(uint index, RakNetStatistics rns)
        {
            bool ret = SLikeNetPINVOKE.RakPeer_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));

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

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

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

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

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

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

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

            return(ret);
        }
Beispiel #19
0
 public override void AttachPlugin(PluginInterface2 plugin)
 {
     SLikeNetPINVOKE.RakPeer_AttachPlugin(swigCPtr, PluginInterface2.getCPtr(plugin));
 }
Beispiel #20
0
 public override void AllowConnectionResponseIPMigration(bool allow)
 {
     SLikeNetPINVOKE.RakPeer_AllowConnectionResponseIPMigration(swigCPtr, allow);
 }
Beispiel #21
0
 public override void PushBackPacket(Packet packet, bool pushAtHead)
 {
     SLikeNetPINVOKE.RakPeer_PushBackPacket(swigCPtr, Packet.getCPtr(packet), pushAtHead);
 }
Beispiel #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);
        }
Beispiel #23
0
 public override void WriteOutOfBandHeader(BitStream bitStream)
 {
     SLikeNetPINVOKE.RakPeer_WriteOutOfBandHeader(swigCPtr, BitStream.getCPtr(bitStream));
 }
Beispiel #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);
        }
Beispiel #25
0
 public override void SetPerConnectionOutgoingBandwidthLimit(uint maxBitsPerSecond)
 {
     SLikeNetPINVOKE.RakPeer_SetPerConnectionOutgoingBandwidthLimit(swigCPtr, maxBitsPerSecond);
 }
Beispiel #26
0
 public override void SetSplitMessageProgressInterval(int interval)
 {
     SLikeNetPINVOKE.RakPeer_SetSplitMessageProgressInterval(swigCPtr, interval);
 }
Beispiel #27
0
        public override bool IsNetworkSimulatorActive()
        {
            bool ret = SLikeNetPINVOKE.RakPeer_IsNetworkSimulatorActive(swigCPtr);

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

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

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