public virtual void UpdateFrom(PlayerScore.Entry entry) { Entry = entry; PlayerName.Text = entry.GetString("name"); SetClass("me", Local.Client != null && entry.Get <ulong>("steamid", 0) == Local.Client.SteamId); }
public virtual void UpdateFrom(PlayerScore.Entry entry) { Entry = entry; PlayerName.Text = entry.GetString("name"); Kills.Text = entry.Get <int>("kills", 0).ToString(); Deaths.Text = entry.Get <int>("deaths", 0).ToString(); Ping.Text = entry.Get <int>("ping", 0).ToString(); SetClass("me", Player.Local != null && entry.Get <ulong>("steamid", 0) == Player.Local.SteamId); }