kill count

This commit is contained in:
smsteel
2019-02-11 16:06:29 +03:00
parent 77aa977897
commit 93e1500e98
2 changed files with 32 additions and 12 deletions

View File

@ -93,6 +93,7 @@ export const getKillCount = (displayName, entityName) => get(
'killCount',
0
)
export const getAllKills = () => all('SELECT * FROM playerKills ORDER BY displayName ASC')
export const saveLevelUp = (displayName, levelUpCount) => run(
`INSERT OR REPLACE INTO levelUps (displayName, levelUpCount) VALUES (?, ?)`,