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);
        }
Beispiel #3
0
    public override void UpdateFrom(PlayerScore.Entry entry)
    {
        base.UpdateFrom(entry);

        Fps.Text = entry.Get <int>("fps", 0).ToString();
    }
Beispiel #4
0
 public override void UpdateFrom(PlayerScore.Entry entry)
 {
     base.UpdateFrom(entry);
 }