Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlayerStatChangedEventArgs"/> class.
 /// </summary>
 /// <param name="source">Адрес источника.</param>
 /// <param name="stat">Статистика по игрку.</param>
 public PlayerStatChangedEventArgs(Address source, PlayerStat stat)
     : base(source)
 {
     Stat = stat;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Оповестить об изменении статистики игрока.
 /// </summary>
 /// <param name="playerStat">Статистика игрока.</param>
 public void FirePlayerStat(PlayerStat playerStat)
 {
     FireInformationReport(playerStat.CreateInformationReport());
 }