scripts
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
|
||||
namespace ExitGames.Client.Photon
|
||||
{
|
||||
// Token: 0x02000015 RID: 21
|
||||
internal class CmdLogReceivedAck : CmdLogItem
|
||||
{
|
||||
// Token: 0x06000146 RID: 326 RVA: 0x0000A738 File Offset: 0x00008938
|
||||
public CmdLogReceivedAck(NCommand command, int timeInt, int rtt, int variance)
|
||||
{
|
||||
this.TimeInt = timeInt;
|
||||
this.Channel = (int)command.commandChannelID;
|
||||
this.SequenceNumber = command.ackReceivedReliableSequenceNumber;
|
||||
this.Rtt = rtt;
|
||||
this.Variance = variance;
|
||||
this.ReceivedSentTime = command.ackReceivedSentTime;
|
||||
}
|
||||
|
||||
// Token: 0x06000147 RID: 327 RVA: 0x0000A788 File Offset: 0x00008988
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("ACK NOW: {0,5} CH: {1,3} SQ: {2,4} RTT: {3,4} VAR: {4,3} Sent: {5,5} Diff: {6,4}", new object[]
|
||||
{
|
||||
this.TimeInt,
|
||||
this.Channel,
|
||||
this.SequenceNumber,
|
||||
this.Rtt,
|
||||
this.Variance,
|
||||
this.ReceivedSentTime,
|
||||
this.TimeInt - this.ReceivedSentTime
|
||||
});
|
||||
}
|
||||
|
||||
// Token: 0x040000A4 RID: 164
|
||||
public int ReceivedSentTime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user