mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Initial commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using ReactiveUI;
|
||||
|
||||
namespace KfChatDotNetGui.ViewModels;
|
||||
|
||||
public class IdentitySettingsWindowViewModel : ViewModelBase
|
||||
{
|
||||
private Uri _wsUri = new ("wss://kiwifarms.net/chat.ws");
|
||||
|
||||
public Uri WsUri
|
||||
{
|
||||
get => _wsUri;
|
||||
set => this.RaiseAndSetIfChanged(ref _wsUri, value);
|
||||
}
|
||||
|
||||
private string _xfSessionToken;
|
||||
|
||||
public string XfSessionToken
|
||||
{
|
||||
get => _xfSessionToken;
|
||||
set => this.RaiseAndSetIfChanged(ref _xfSessionToken, value);
|
||||
}
|
||||
|
||||
private string _antiDdosPow;
|
||||
|
||||
public string AntiDdosPow
|
||||
{
|
||||
get => _antiDdosPow;
|
||||
set => this.RaiseAndSetIfChanged(ref _antiDdosPow, value);
|
||||
}
|
||||
|
||||
private string _username;
|
||||
|
||||
public string Username
|
||||
{
|
||||
get => _username;
|
||||
set => this.RaiseAndSetIfChanged(ref _username, value);
|
||||
}
|
||||
|
||||
private int _reconnectTimeout = 30;
|
||||
|
||||
public int ReconnectTimeout
|
||||
{
|
||||
get => _reconnectTimeout;
|
||||
set => this.RaiseAndSetIfChanged(ref _reconnectTimeout, value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user