ps2census
Version:
Client to connect to the PS2 Event Stream websocket.
22 lines (21 loc) • 783 B
TypeScript
import { CharacterEvent } from './base/character.event';
import { PS2Events } from '../../stream';
import { Faction } from '../constants';
import { PS2Event } from './base/ps2.event';
export declare class GainExperience extends CharacterEvent<PS2Events.GainExperience> {
readonly emit = "gainExperience";
readonly amount: number;
readonly event_name: 'GainExperience';
readonly experience_id: string;
readonly loadout_id: string;
readonly other_id: string;
readonly team_id: Faction;
constructor(...params: ConstructorParameters<typeof PS2Event<PS2Events.GainExperience>>);
/**
* Fetch the character data of other if any
*
* @return {Promise<any | undefined>}
*/
other<T>(): Promise<T | undefined>;
toHash(): string;
}