Command suggestions: getlastsegmenttime getlastsegmentbesttime
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the command handling for the listed segment and comparison commands in LiveSplit.Server. Review how existing commands obtain split and segment times, then verify that each proposed command returns the requested value for the current comparison or named COMPARISON. No specific files or tests are mentioned in the issue.
Written by the indexing model from the issue text.
Description
Unless I'm wrong, I don't think it's possible to derive if the last segment was a gold split or not from the current implemented commands.
I would like to propose the following:
getlastsegmenttime: return only the time of the last segment
getlastsegmentbesttime: return the gold time of the last segment (this wouldn't be updated as of the current split, IE if a user just got a gold split -- it would return the saved gold split from before this run)
getlastsegmenttime: return the duration of the last segment
getcomparisonsegmenttime: return the duration of the current segment for the current comparison
getcomparisonsegmenttime COMPARISON: return the duration of the current segment for COMPARISON
getcomparisonsplittime COMPARISON: return the current split time for COMPARISON
I'd do this myself, the code doesn't look too difficult, but I'm running linux and I really don't have any experience building C# stuff :(
- Dominant language
- C#
- Stars
- 52
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LiveSplit/LiveSplit.Server
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
LiveSplit/LiveSplit.Server#36 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
LiveSplit/LiveSplit.Server#32 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
LiveSplit/LiveSplit.Server#29 · 7 comments ·
All issues in LiveSplit/LiveSplit.Server
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
RayWangQvQ/BiliBiliToolPro#1137 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100