@krp-races/krp-sharedmemory-client
Version:
A node.js wrapper for shared memory plugin in kart racing pro.
20 lines (19 loc) • 816 B
TypeScript
import { EChallengeSessionType } from '../enums/ChallengeSessionType';
import { ECommunicationOffence } from '../enums/CommunicationOffence';
import { ECommunicationPenaltyType } from '../enums/CommunicationPenaltyType';
import { ECommunicationReason } from '../enums/CommunicationReason';
import { ECommunicationType } from '../enums/CommunicationType';
import { EEntryState } from '../enums/EntryState';
import { ERaceSessionType } from '../enums/RaceSessionType';
export interface ICommunication {
lap: number;
time: number;
raceNumber: number;
session: 0 | ERaceSessionType | EChallengeSessionType;
sessionSeries: number;
type: ECommunicationType;
state: EEntryState;
reason: ECommunicationReason;
offence: ECommunicationOffence;
penaltyType: ECommunicationPenaltyType;
}