Files
Dec2017-Script-Dump/Photon3Unity3D/ExitGames/Client/Photon/CmdLogSentReliable.cs
T
2026-06-04 11:42:34 +02:00

52 lines
1.4 KiB
C#

using System;
namespace ExitGames.Client.Photon
{
// Token: 0x02000016 RID: 22
internal class CmdLogSentReliable : CmdLogItem
{
// Token: 0x06000148 RID: 328 RVA: 0x0000A814 File Offset: 0x00008A14
public CmdLogSentReliable(NCommand command, int timeInt, int rtt, int variance, bool triggeredTimeout = false)
{
this.TimeInt = timeInt;
this.Channel = (int)command.commandChannelID;
this.SequenceNumber = command.reliableSequenceNumber;
this.Rtt = rtt;
this.Variance = variance;
this.Resend = (int)command.commandSentCount;
this.RoundtripTimeout = command.roundTripTimeout;
this.Timeout = command.timeoutTime;
this.TriggeredTimeout = triggeredTimeout;
}
// Token: 0x06000149 RID: 329 RVA: 0x0000A884 File Offset: 0x00008A84
public override string ToString()
{
return string.Format("SND NOW: {0,5} CH: {1,3} SQ: {2,4} RTT: {3,4} VAR: {4,3} Resend#: {5,2} ResendIn: {7} Timeout: {6,5} {8}", new object[]
{
this.TimeInt,
this.Channel,
this.SequenceNumber,
this.Rtt,
this.Variance,
this.Resend,
this.Timeout,
this.RoundtripTimeout,
this.TriggeredTimeout ? "< TIMEOUT" : ""
});
}
// Token: 0x040000A5 RID: 165
public int Resend;
// Token: 0x040000A6 RID: 166
public int RoundtripTimeout;
// Token: 0x040000A7 RID: 167
public int Timeout;
// Token: 0x040000A8 RID: 168
public bool TriggeredTimeout;
}
}