LiveSplit / LiveSplit/LiveSplit.Server
Command suggestions: getlastsegmenttime getlastsegmentbesttime
- Dominant language
- C#
- Stars
- 52
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
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 :(
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100