public void HandleEvent(ProfileEvent evt, ISession session)
 {
     Logger.Write(session.Translation.GetTranslation(TranslationString.EventProfileLogin,
         evt.Profile.PlayerData.Username ?? ""));
 }
Example #2
0
 private void HandleEvent(ProfileEvent evt)
 {
     _lastProfile = evt;
 }
 public void HandleEvent(ProfileEvent evt, ISession session)
 {
     _stats.SetUsername(evt.Profile);
     _stats.Dirty(session.Inventory);
 }
 public void HandleEvent(ProfileEvent evt, Context ctx)
 {
     _stats.SetUsername(evt.Profile);
     _stats.Dirty(ctx.Inventory);
 }
 public void HandleEvent(ProfileEvent evt, Context ctx)
 {
     Logger.Write($"Playing as {evt.Profile.PlayerData.Username ?? ""}");
 }
 public void HandleEvent(ProfileEvent evt, Context ctx)
 {
     Logger.Write(ctx.Translations.GetTranslation(TranslationString.EventFortUsed,
         evt.Profile.PlayerData.Username ?? ""));
 }