Luski.Net/Luski.net/Server.Globals.cs

27 lines
840 B
C#
Raw Permalink Normal View History

2023-01-01 22:50:39 -05:00
using System;
using System.Collections.Generic;
using System.IO;
using Luski.net.Enums;
using Luski.net.Interfaces;
using Luski.net.JsonTypes;
using Luski.net.Structures;
using Luski.net.Structures.Main;
using Luski.net.Structures.Public;
2023-01-01 22:50:39 -05:00
using WebSocketSharp;
namespace Luski.net;
public partial class Server
2023-01-01 22:50:39 -05:00
{
public ServerType ServerType { get; internal set; } = ServerType.Public;
public string Domain { get; set; } = default!;
2024-03-20 23:18:34 -04:00
public bool PrintServerMessages { get; set; } = false;
public string ApiVersion { get; } = "v1";
internal WebSocket? ServerOut;
internal string? Token = null, Error = null, gen = null;
public bool IsLogedIn => Token is not null;
internal bool CanRequest = false, login = false;
internal List<IUser> poeople = new();
2024-08-27 10:57:22 -04:00
internal List<ServerProfile> profiles = new();
}