LiveSplit / LiveSplit/LiveSplit.Server

Command suggestions: getlastsegmenttime getlastsegmentbesttime

Aperta
#22 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
C#
Stelle
52
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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 :(

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia individuando la gestione dei comandi per i comandi di segmento e confronto elencati in LiveSplit.Server. Esamina come i comandi esistenti ottengono i tempi di split e di segmento, quindi verifica che ogni comando proposto restituisca il valore richiesto per il confronto corrente o per il COMPARISON indicato. Nell'issue non sono menzionati file o test specifici.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.