Initial commit

This commit is contained in:
barelyprofessional
2024-03-25 20:11:49 +08:00
commit 9f92fc8e27
62 changed files with 17831 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace KfChatDotNetGui.Models;
public class ForumIdentityModel
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
[JsonProperty("avatar_url")]
public Uri AvatarUrl { get; set; }
// Guessing it'll be the user ID as an int but no idea as this list is empty for me
[JsonProperty("ignored_users")]
public List<string> IgnoredUsers { get; set; }
[JsonProperty("is_staff")]
public bool IsStaff { get; set; }
}

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
namespace KfChatDotNetGui.Models;
public class RoomSettingsModel
{
public class RoomList
{
public string Name { get; set; }
public int Id { get; set; }
}
public List<RoomList> Rooms { get; set; }
}

View File

@@ -0,0 +1,12 @@
using System;
namespace KfChatDotNetGui.Models;
public class SettingsModel
{
public string XfSessionToken { get; set; }
public Uri WsUri { get; set; }
public int ReconnectTimeout { get; set; }
public string AntiDdosPow { get; set; }
public string Username { get; set; }
}