Skip to content

Commit e1f6763

Browse files
fix
More and more PVP fun.
1 parent 283ab9f commit e1f6763

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

com.unity.netcode.gameobjects/Runtime/Components/Interpolator/BufferedLinearInterpolator.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,25 @@ public abstract class BufferedLinearInterpolator<T> where T : struct
1818
/// </summary>
1919
protected internal struct BufferedItem
2020
{
21+
/// <summary>
22+
/// THe item identifier
23+
/// </summary>
2124
public int ItemId;
25+
/// <summary>
26+
/// The item value
27+
/// </summary>
2228
public T Item;
29+
/// <summary>
30+
/// The time the item was sent.
31+
/// </summary>
2332
public double TimeSent;
2433

34+
/// <summary>
35+
/// The constructor
36+
/// </summary>
37+
/// <param name="item">The item value.</param>
38+
/// <param name="timeSent">The time the item was sent.</param>
39+
/// <param name="itemId">The item identifier</param>
2540
public BufferedItem(T item, double timeSent, int itemId)
2641
{
2742
Item = item;

0 commit comments

Comments
 (0)