- UI Überarbeitet im ServerDashboard, bepinex status wird jetzt kleiner wenn nix weiter angezeigt wird und modliste größer. Löschen und update buttons eingefügt in modsliste TODO: Update und Delete function Mods, Ladeanimation für Modupload und so :P - Lschen und Update buttons in liste sollen ganz rechts immer sein!
23 lines
519 B
C#
23 lines
519 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Valheim_Dashboard.Models;
|
|
|
|
public class ModInfo
|
|
{
|
|
public string Name { get; set; }
|
|
public string Version { get; set; }
|
|
public string ConfigPath { get; set; }
|
|
|
|
// falls z. B. Versionscheck über Thunderstore/FTP
|
|
public string? LatestVersion { get; set; }
|
|
|
|
public bool HasUpdate =>
|
|
!string.IsNullOrEmpty(LatestVersion) &&
|
|
LatestVersion != Version;
|
|
}
|
|
|