NPE check for NetClient _pendingPacketData.

This commit is contained in:
MobiusDevelopment
2022-12-01 03:57:32 +00:00
parent baf8442183
commit 1643c068c7
31 changed files with 155 additions and 31 deletions

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.

View File

@@ -72,8 +72,12 @@ public class NetClient
{
}
}
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
}
/**
* Add packet data to the queue.