Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisai-dev committed Jun 12, 2023
1 parent 93015a6 commit edc5b95
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/FortniteReplayReader/FortniteReplayBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class FortniteReplayBuilder
private readonly Dictionary<uint, WeaponData> _unknownWeapons = new();

private float? ReplicatedWorldTimeSeconds = 0;
private float? ReplicatedWorldTimeSecondsDouble = 0;
private double? ReplicatedWorldTimeSecondsDouble = 0;

public void AddActorChannel(uint channelIndex, uint guid)
{
Expand Down
2 changes: 1 addition & 1 deletion src/FortniteReplayReader/Models/KillFeedEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class KillFeedEntry
public bool FinisherOrDownerIsBot { get; set; }

public float? ReplicatedWorldTimeSeconds { get; set; }
public float? ReplicatedWorldTimeSecondsDouble { get; set; }
public double? ReplicatedWorldTimeSecondsDouble { get; set; }
public float? Distance { get; set; }
public int? DeathCause { get; set; }
public FVector DeathLocation { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public class GameState : INetFieldExportGroup
public float? ReplicatedWorldTimeSeconds { get; set; }

[NetFieldExport("ReplicatedWorldTimeSecondsDouble", RepLayoutCmdType.PropertyDouble)]
public float? ReplicatedWorldTimeSecondsDouble { get; set; }
public double? ReplicatedWorldTimeSecondsDouble { get; set; }

[NetFieldExport("MatchState", RepLayoutCmdType.Property)]
public FName MatchState { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/FortniteReplayReader/Models/PlayerData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public class PlayerMovement
public FRepMovement? ReplicatedMovement { get; set; }
public float? ReplicatedWorldTimeSeconds { get; set; }

public float? ReplicatedWorldTimeSecondsDouble { get; set; }
public double? ReplicatedWorldTimeSecondsDouble { get; set; }

public float? LastUpdateTime { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Unreal.Core/Contracts/ITelemetryEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ public interface ITelemetryEvent
{
public float? ReplicatedWorldTimeSeconds { get; set; }

public float? ReplicatedWorldTimeSecondsDouble { get; set; }
public double? ReplicatedWorldTimeSecondsDouble { get; set; }
}
}

0 comments on commit edc5b95

Please sign in to comment.