Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion CS2-SimpleAdmin/Models/IpHistoryRow.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
namespace CS2_SimpleAdmin.Models;

public record IpHistoryRow(ulong Steamid, string? Name, uint Address, DateTime Used_at);
public sealed class IpHistoryRow
{
public long steamid { get; set; }
public string? name { get; set; }
public long address { get; set; }
public DateTime used_at { get; set; }

public ulong Steamid => Convert.ToUInt64(steamid);
public string? Name => name;
public uint Address => unchecked((uint)address);
public DateTime Used_at => used_at;
}