Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ReplayDecoder/Replay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ReplayInfo
public string playerName;
public string platform;

public string trackingSytem;
public string trackingSystem;
public string hmd;
public string controller;

Expand Down Expand Up @@ -497,7 +497,7 @@ static void EncodeInfo(ReplayInfo info, BinaryWriter stream)
EncodeString(info.playerName, stream);
EncodeString(info.platform, stream);

EncodeString(info.trackingSytem, stream);
EncodeString(info.trackingSystem, stream);
EncodeString(info.hmd, stream);
EncodeString(info.controller, stream);

Expand Down Expand Up @@ -726,7 +726,7 @@ public async Task<ReplayInfo> DecodeInfo(Stream stream)
result.playerName = await DecodeString(stream);
result.platform = await DecodeString(stream);

result.trackingSytem = await DecodeString(stream);
result.trackingSystem = await DecodeString(stream);
result.hmd = await DecodeString(stream);
result.controller = await DecodeString(stream);

Expand Down Expand Up @@ -1032,7 +1032,7 @@ private static ReplayInfo DecodeInfo(byte[] buffer, ref int pointer)
result.playerName = DecodeName(buffer, ref pointer);
result.platform = DecodeString(buffer, ref pointer);

result.trackingSytem = DecodeString(buffer, ref pointer);
result.trackingSystem = DecodeString(buffer, ref pointer);
result.hmd = DecodeString(buffer, ref pointer);
result.controller = DecodeString(buffer, ref pointer);

Expand Down