mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
Updated API
This commit is contained in:
parent
4e578747e3
commit
ca61d8b79a
3 changed files with 9 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue