Skip to content

Commit

Permalink
more todos
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove committed Nov 13, 2023
1 parent 4b1f10c commit 8b146a5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions skymp5-client/src/services/services/skympClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import * as playerCombatSystem from "../../sweetpie/playerCombatSystem";
import { AuthGameData } from '../../features/authModel';
import * as browser from "../../features/browser";
import { ClientListener, CombinedController, Sp } from './clientListener';
import { SpApiInteractor } from '../spApiInteractor';
import { ConnectionFailed } from '../events/connectionFailed';
import { ConnectionDenied } from '../events/connectionDenied';

Expand Down Expand Up @@ -83,9 +82,13 @@ export class SkympClient extends ClientListener {
}

private ctor() {
// TODO: subscribe to events in constructor, not here
// TODO: refactor WorldView into service
this.resetView();

// TODO: refactor into service
setupHooks();

// TODO: refactor updateOwner into service
updateOwner.setup();

this.sp.printConsole('SkympClient ctor');
Expand Down

0 comments on commit 8b146a5

Please sign in to comment.