You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
misc fixes
This commit is contained in:
@@ -78,11 +78,7 @@ namespace Lidgren.Network
|
||||
|
||||
foreach (PropertyInfo fi in fields)
|
||||
{
|
||||
#if UNITY_WEBPLAYER || UNITY_4_5
|
||||
MethodInfo getMethod = fi.GetGetMethod();
|
||||
#else
|
||||
MethodInfo getMethod = fi.GetMethod;
|
||||
#endif
|
||||
if (getMethod != null)
|
||||
{
|
||||
object value = getMethod.Invoke(ob, null);
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Lidgren.Network
|
||||
/// <summary>
|
||||
/// Represents a connection to a remote peer
|
||||
/// </summary>
|
||||
[DebuggerDisplay("RemoteUniqueIdentifier={RemoteUniqueIdentifier} RemoteEndPoint={remoteEndPoint}")]
|
||||
[DebuggerDisplay("RemoteUniqueIdentifier={RemoteUniqueIdentifier} RemoteEndPoint={m_remoteEndPoint}")]
|
||||
public partial class NetConnection
|
||||
{
|
||||
private const int m_infrequentEventsSkipFrames = 8; // number of heartbeats to skip checking for infrequent events (ping, timeout etc)
|
||||
|
||||
@@ -38,6 +38,8 @@ namespace Lidgren.Network
|
||||
/// </summary>
|
||||
public static partial class NetUtility
|
||||
{
|
||||
private static readonly bool IsMono = Type.GetType("Mono.Runtime") != null;
|
||||
|
||||
/// <summary>
|
||||
/// Resolve endpoint callback
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user