Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(stream): removed continent unlock event beacuse it was never a thing #94

Merged
merged 1 commit into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/client/census.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export type ClientEvents = {
skillAdded: (event: SkillAdded) => void;
vehicleDestroy: (event: VehicleDestroy) => void;
continentLock: (event: ContinentLock) => void;
continentUnlock: (event: ContinentLock) => void;
facilityControl: (event: FacilityControl) => void;
metagameEvent: (event: MetagameEvent) => void;
};
Expand Down
37 changes: 0 additions & 37 deletions src/client/events/continent-unlock.event.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/client/events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export * from './achievement-earned.event';
export * from './battle-rank-up.event';
export * from './base/character.event';
export * from './continent-lock.event';
export * from './continent-unlock.event';
export * from './death.event';
export * from './facility-control.event';
export * from './gain-experience.event';
Expand Down
3 changes: 0 additions & 3 deletions src/client/stream.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import ServiceStateChanged = CensusMessages.ServiceStateChanged;
import { AchievementEarned } from './events/achievement-earned.event';
import { BattleRankUp } from './events/battle-rank-up.event';
import { ContinentLock } from './events/continent-lock.event';
import { ContinentUnlock } from './events/continent-unlock.event';
import { Death } from './events/death.event';
import { FacilityControl } from './events/facility-control.event';
import { GainExperience } from './events/gain-experience.event';
Expand Down Expand Up @@ -119,8 +118,6 @@ export class StreamHandler {
return new BattleRankUp(this.client, event);
case 'ContinentLock':
return new ContinentLock(this.client, event);
case 'ContinentUnlock':
return new ContinentUnlock(this.client, event);
case 'Death':
return new Death(this.client, event);
case 'FacilityControl':
Expand Down
15 changes: 0 additions & 15 deletions src/stream/types/ps2.events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,20 +138,6 @@ export namespace PS2Events {
zone_id: string;
};

export type ContinentUnlock = {
event_name: 'ContinentUnlock';
event_type: string;
metagame_event_id: string;
nc_population: string;
previous_faction: string;
timestamp: string;
tr_population: string;
triggering_faction: string;
vs_population: string;
world_id: string;
zone_id: string;
};

export type FacilityControl = {
duration_held: string;
event_name: 'FacilityControl';
Expand Down Expand Up @@ -193,7 +179,6 @@ export type PS2Event =
| PS2Events.SkillAdded
| PS2Events.VehicleDestroy
| PS2Events.ContinentLock
| PS2Events.ContinentUnlock
| PS2Events.FacilityControl
| PS2Events.MetagameEvent;

Expand Down