mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-11-07 12:07:05 +01:00
Replace MenuManagerCS2 with Panorama UI Kit for the admin menus and css_vote. Layout names (menu, vote, banner, toast) are configurable under MenuConfig and preloaded on startup; MenuType is removed and ConfigVersion bumped to 26. - Drop MenuManagerApi.dll and the old chat menu classes - Reference PanoramaUiKit.Shared.dll, bump CounterStrikeSharp to 1.0.376 - Add .editorconfig and CODING_CONVENTIONS.md, apply them codebase-wide - Remove the CS2-SimpleAdmin-docs site - Rewrite README for the fork
15 lines
414 B
C#
15 lines
414 B
C#
using CounterStrikeSharp.API.Modules.Entities;
|
|
|
|
namespace CS2_SimpleAdmin.Models;
|
|
|
|
public class DisconnectedPlayer(
|
|
SteamID steamId,
|
|
string name,
|
|
string? ipAddress,
|
|
DateTime disconnectTime)
|
|
{
|
|
public SteamID SteamId { get; } = steamId;
|
|
public string Name { get; set; } = name;
|
|
public string? IpAddress { get; set; } = ipAddress;
|
|
public DateTime DisconnectTime = disconnectTime;
|
|
}
|