コード例 #1
0
ファイル: StatisticsAggregator.cs プロジェクト: ZgrK/PoGoBoT
 public void HandleEvent(ProfileEvent evt, Context ctx)
 {
     _stats.SetUsername(evt.Profile);
     _stats.Dirty(ctx.Inventory);
 }
コード例 #2
0
ファイル: ConsoleEventListener.cs プロジェクト: ZgrK/PoGoBoT
 public void HandleEvent(ProfileEvent evt, Context ctx)
 {
     Logger.Write($"Playing as {evt.Profile.PlayerData.Username ?? ""}");
 }