// Token: 0x06001FB9 RID: 8121 RVA: 0x00089C24 File Offset: 0x00087E24 private static void OnConnectionLost(NetworkConnection connection) { int position; if (RttManager.FindConnectionIndex(connection, out position)) { HGArrayUtilities.ArrayRemoveAtAndResize <RttManager.ConnectionRttInfo>(ref RttManager.entries, position, 1); } }
// Token: 0x06001FB7 RID: 8119 RVA: 0x00089BD0 File Offset: 0x00087DD0 public static float GetConnectionFixedSmoothedRtt(NetworkConnection connection) { int num; if (RttManager.FindConnectionIndex(connection, out num)) { return(RttManager.entries[num].fixedSmoothedRtt); } return(0f); }
// Token: 0x06001FBD RID: 8125 RVA: 0x00089D28 File Offset: 0x00087F28 private static void Update() { float deltaTime = Time.deltaTime; RttManager.ConnectionRttInfo[] array = RttManager.entries; for (int i = 0; i < array.Length; i++) { ref RttManager.ConnectionRttInfo ptr = ref array[i]; RttManager.UpdateFilteredRtt(deltaTime, ptr.newestRttInSeconds, ref ptr.frameSmoothedRtt, ref ptr.frameVelocity); }
// Token: 0x06001FB5 RID: 8117 RVA: 0x00089B74 File Offset: 0x00087D74 public static uint GetConnectionRTTInMilliseconds(NetworkConnection connection) { int num; if (RttManager.FindConnectionIndex(connection, out num)) { return(RttManager.entries[num].newestRttInMilliseconds); } return(0U); }
// Token: 0x06001FB4 RID: 8116 RVA: 0x00089B44 File Offset: 0x00087D44 public static float GetConnectionRTT(NetworkConnection connection) { int num; if (RttManager.FindConnectionIndex(connection, out num)) { return(RttManager.entries[num].newestRttInSeconds); } return(0f); }