-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEntity.cs
More file actions
57 lines (51 loc) · 1.66 KB
/
Entity.cs
File metadata and controls
57 lines (51 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using System.Collections.Generic;
using System.Numerics;
namespace FutaZone
{
public class Entity
{
public List<Vector3> bones { get; set; } = new List<Vector3>();
public List<Vector2> bones2d { get; set; } = new List<Vector2>();
public Vector3 position { get; set; }
public Vector3 viewOffset { get; set; }
public Vector2 position2D { get; set; }
public Vector2 viewPosition2D { get; set; }
public float distance { get; set; }
public int ping { get; set; }
public int velocity { get; set; }
public Vector3 velocityVec { get; set; }
public Vector2 viewAngles { get; set; }
public int team { get; set; }
public int health { get; set; }
public int maxHealth { get; set; }
public float emitSoundTime { get; set; }
public uint flags { get; set; }
public long controllerAddress { get; set; }
public string name { get; set; } = string.Empty;
public bool isLocalPlayer { get; set; }
public bool isSpotted { get; set; }
public float flashDuration { get; set; }
// Player State
public bool isBuyMenuOpen { get; set; }
public bool isScoped { get; set; }
public bool isDefusing { get; set; }
public bool isGrabbingHostage { get; set; }
public bool hasDefuser { get; set; }
}
public enum BoneIds
{
Waist = 0,
Neck = 5,
Head = 6,
ShoulderL = 8,
ForeL = 9,
HandL = 11,
ShoulderR = 13,
ForeR = 14,
HandR = 16,
KneeL = 23,
feetL = 24,
KneeRight = 26,
feetR = 27
}
}