Esempio n. 1
0
 internal PacketFileLogger(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.PacketFileLogger_SWIGUpcast(cPtr), cMemoryOwn) {
   swigCPtr = new HandleRef(this, cPtr);
 }
Esempio n. 2
0
        public override RakNetGUID GetGUIDFromIndex(uint index)
        {
            RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakPeer_GetGUIDFromIndex(swigCPtr, index), true);

            return(ret);
        }
Esempio n. 3
0
 public override void AddToBanList(string IP)
 {
     RakNetPINVOKE.RakPeer_AddToBanList__SWIG_1(swigCPtr, IP);
 }
Esempio n. 4
0
 public override void SendLoopback(string data, int length)
 {
     RakNetPINVOKE.RakPeer_SendLoopback__SWIG_0(swigCPtr, data, length);
 }
Esempio n. 5
0
        public override uint GetMaximumNumberOfPeers()
        {
            uint ret = RakNetPINVOKE.RakPeer_GetMaximumNumberOfPeers(swigCPtr);

            return(ret);
        }
Esempio n. 6
0
 public override void Shutdown(uint blockDuration, byte orderingChannel)
 {
     RakNetPINVOKE.RakPeer_Shutdown__SWIG_1(swigCPtr, blockDuration, orderingChannel);
 }
Esempio n. 7
0
        public override bool IsActive()
        {
            bool ret = RakNetPINVOKE.RakPeer_IsActive(swigCPtr);

            return(ret);
        }
Esempio n. 8
0
 public override void RemoveFromSecurityExceptionList(string ip)
 {
     RakNetPINVOKE.RakPeer_RemoveFromSecurityExceptionList(swigCPtr, ip);
 }
Esempio n. 9
0
        public override bool IsInSecurityExceptionList(string ip)
        {
            bool ret = RakNetPINVOKE.RakPeer_IsInSecurityExceptionList(swigCPtr, ip);

            return(ret);
        }
Esempio n. 10
0
 public override void DisableSecurity()
 {
     RakNetPINVOKE.RakPeer_DisableSecurity(swigCPtr);
 }
Esempio n. 11
0
 public override void AddToSecurityExceptionList(string ip)
 {
     RakNetPINVOKE.RakPeer_AddToSecurityExceptionList(swigCPtr, ip);
 }
Esempio n. 12
0
 public override void WriteLog(string str) {
   RakNetPINVOKE.PacketFileLogger_WriteLog(swigCPtr, str);
 }
Esempio n. 13
0
 public void StartLog(string filenamePrefix) {
   RakNetPINVOKE.PacketFileLogger_StartLog(swigCPtr, filenamePrefix);
 }
Esempio n. 14
0
 public PacketFileLogger() : this(RakNetPINVOKE.new_PacketFileLogger(), true) {
 }
Esempio n. 15
0
        public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength)
        {
            ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_5(swigCPtr, host, remotePort, passwordData, passwordDataLength);

            return(ret);
        }
Esempio n. 16
0
 public override void SetMaximumIncomingConnections(ushort numberAllowed)
 {
     RakNetPINVOKE.RakPeer_SetMaximumIncomingConnections(swigCPtr, numberAllowed);
 }
Esempio n. 17
0
 public override void Shutdown(uint blockDuration, byte orderingChannel, PacketPriority disconnectionNotificationPriority)
 {
     RakNetPINVOKE.RakPeer_Shutdown__SWIG_0(swigCPtr, blockDuration, orderingChannel, (int)disconnectionNotificationPriority);
 }
Esempio n. 18
0
        public override uint GetMaximumIncomingConnections()
        {
            uint ret = RakNetPINVOKE.RakPeer_GetMaximumIncomingConnections(swigCPtr);

            return(ret);
        }
Esempio n. 19
0
 public override void Shutdown(uint blockDuration)
 {
     RakNetPINVOKE.RakPeer_Shutdown__SWIG_2(swigCPtr, blockDuration);
 }
Esempio n. 20
0
        public override ushort NumberOfConnections()
        {
            ushort ret = RakNetPINVOKE.RakPeer_NumberOfConnections(swigCPtr);

            return(ret);
        }
Esempio n. 21
0
        public override uint IncrementNextSendReceipt()
        {
            uint ret = RakNetPINVOKE.RakPeer_IncrementNextSendReceipt(swigCPtr);

            return(ret);
        }
Esempio n. 22
0
 public override void SetIncomingPassword(string passwordData, int passwordDataLength)
 {
     RakNetPINVOKE.RakPeer_SetIncomingPassword__SWIG_0(swigCPtr, passwordData, passwordDataLength);
 }
Esempio n. 23
0
 public override void DeallocatePacket(Packet packet)
 {
     RakNetPINVOKE.RakPeer_DeallocatePacket(swigCPtr, Packet.getCPtr(packet));
 }
Esempio n. 24
0
        public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount, uint timeBetweenSendConnectionAttemptsMS, uint timeoutTime)
        {
            ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_0(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex, sendConnectionAttemptCount, timeBetweenSendConnectionAttemptsMS, timeoutTime);

            return(ret);
        }
Esempio n. 25
0
        public override SystemAddress GetSystemAddressFromIndex(uint index)
        {
            SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetSystemAddressFromIndex(swigCPtr, index), true);

            return(ret);
        }
Esempio n. 26
0
 internal RakPeer(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.RakPeer_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new HandleRef(this, cPtr);
 }
Esempio n. 27
0
 public override void AddToBanList(string IP, uint milliseconds)
 {
     RakNetPINVOKE.RakPeer_AddToBanList__SWIG_0(swigCPtr, IP, milliseconds);
 }
Esempio n. 28
0
        public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex)
        {
            ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_3(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex);

            return(ret);
        }
Esempio n. 29
0
 public override void RemoveFromBanList(string IP)
 {
     RakNetPINVOKE.RakPeer_RemoveFromBanList(swigCPtr, IP);
 }
Esempio n. 30
0
        public ColumnDescriptor Pop()
        {
            ColumnDescriptor ret = new ColumnDescriptor(RakNetPINVOKE.RakNetListColumnDescriptor_Pop(swigCPtr), false);

            return(ret);
        }