diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-02-12 10:21:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 10:21:14 +0100 |
commit | 3e317d30053de527ccdb929d3c2dffd42c8a8f3b (patch) | |
tree | b2007273f31ee37b4e6fa0f95696808900e83dcc /src-tauri/src/lib.rs | |
parent | fc00447ccc3f63a54faca3d666701c19d9b8b8db (diff) | |
download | FlightCore-3e317d30053de527ccdb929d3c2dffd42c8a8f3b.tar.gz FlightCore-3e317d30053de527ccdb929d3c2dffd42c8a8f3b.zip |
feat: Display Northstar playercount and servercount in frontend (#130)
* feat: Initial backend code to get the playercount
from the Northstar master server together with servercount
* fix: Push correct backend code
* feat: Load playercount on application load
and show on PlayView
* refactor: Store global const in separate file
Moved user agent there for now
* refactor: User user agent from global const
* refactor: Move masterserver URL into global const
* refactor: Remove temporary variable
* fix: Do proper typing for playercount return value
* feat: Change text if unable to load playercount
So instead of showing some wrong value, we just say that we were unable
to load it.
* fix: Remove leftover print statement
* refactor: Move struct to library source file
* fix: Remove break element
* refactor: serverlist endpoint var to global const
* fix: Remove unused import
* fix: add some space to stats container top
* fix: Change text to lowercase
---------
Co-authored-by: Alystrasz <contact@remyraes.com>
Diffstat (limited to 'src-tauri/src/lib.rs')
0 files changed, 0 insertions, 0 deletions