<commit_before>import { PlayerView } from "../common/PlayerView";
import { probablyUniqueString } from "../common/Toolbox";

export class PlayerViewManager {
  private playerViews: { [encounterId: string]: PlayerView } = {};

  constructor() {}

  public Get(id: string) {
    return this.playerViews[id];
  }

  public UpdateEncounter(id: string, newState: any) {
    this.playerViews[id].encounterState = newState;
  }

  public UpdateSettings(id: string, newSettings: any) {
    this.playerViews[id].settings = newSettings;
  }
<commit_msg>Fix missed file during rename<commit_after>import { PlayerViewState } from "../common/PlayerViewState";
import { probablyUniqueString } from "../common/Toolbox";

export class PlayerViewManager {
  private playerViews: { [encounterId: string]: PlayerViewState } = {};

  constructor() {}

  public Get(id: string) {
    return this.playerViews[id];
  }

  public UpdateEncounter(id: string, newState: any) {
    this.playerViews[id].encounterState = newState;
  }

  public UpdateSettings(id: string, newSettings: any) {
    this.playerViews[id].settings = newSettings;
  }

{'fraction_non_alphanumeric': 0.12891674127126232, 'fraction_numerical': 0.0, 'mean_word_length': 4.453658536585366, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2856073', 'n_tokens_mistral': 335, 'n_tokens_neox': 325, 'n_words': 76}