Table of Contents

Class PlayerRowViewModel

Namespace
McServerLauncher.ViewModels
Assembly
McServerLauncher.dll

One player in the list: name, whether they are on now, and when they were last seen.

public sealed class PlayerRowViewModel
Inheritance
PlayerRowViewModel
Inherited Members

Constructors

PlayerRowViewModel(string, bool, DateTime?, DateTime)

public PlayerRowViewModel(string name, bool isOnline, DateTime? lastSeenUtc, DateTime nowUtc)

Parameters

name string
isOnline bool
lastSeenUtc DateTime?
nowUtc DateTime

Properties

IsOnline

public bool IsOnline { get; }

Property Value

bool

LastSeenText

public string LastSeenText { get; }

Property Value

string

LastSeenTip

public string? LastSeenTip { get; }

Property Value

string

LastSeenUtc

public DateTime? LastSeenUtc { get; }

Property Value

DateTime?

Name

public string Name { get; }

Property Value

string