Updated API

This commit is contained in:
Dawid Bepierszcz 2025-09-22 21:39:11 +02:00 • committed by GitHub
parent 4e578747e3
commit ca61d8b79a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,4 @@
using System.Numerics;
using CounterStrikeSharp.API.Modules.Entities;
namespace CS2_SimpleAdminApi;
@ -27,12 +28,13 @@ public class PlayerInfo(
public bool WaitingForKick { get; set; } = false;
public List<(ulong SteamId, string PlayerName)> AccountsAssociated { get; set; } = [];
public DiePosition? DiePosition { get; set; }
public bool IsLoaded { get; set; }
}
public class DiePosition(Vector_t position, QAngle_t angle)
public class DiePosition(Vector3 position, Vector3 angle)
{
public Vector_t Position { get; } = position;
public QAngle_t Angle { get; } = angle;
public Vector3 Position { get; } = position;
public Vector3 Angle { get; } = angle;
}