Skip to content

Commit

Permalink
Add XP Overload (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpup authored Feb 7, 2024
1 parent 7d27a48 commit 3a3655c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CounterStrike2GSI/Nodes/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public class Player : Node
/// </summary>
public readonly string Name;

/// <summary>
/// The player's XP Overload level.
/// </summary>
public readonly int XPOverloadLevel;

/// <summary>
/// The player's clan.
/// </summary>
Expand Down Expand Up @@ -109,6 +114,7 @@ internal Player(JObject parsed_data = null, string steam_id = "") : base(parsed_

Clan = GetString("clan");
Name = GetString("name");
XPOverloadLevel = GetInt("xpoverload");
ObserverSlot = GetInt("observer_slot");
Team = GetEnum<PlayerTeam>("team");
Activity = GetEnum<PlayerActivity>("activity");
Expand Down

0 comments on commit 3a3655c

Please sign in to comment.