node-insim
Version:
An InSim library for NodeJS with TypeScript support
245 lines (244 loc) • 9.34 kB
TypeScript
import { IS_ACR } from './IS_ACR';
import { IS_AIC } from './IS_AIC';
import { IS_AII } from './IS_AII';
import { IS_AXI } from './IS_AXI';
import { IS_AXM } from './IS_AXM';
import { IS_AXO } from './IS_AXO';
import { IS_BFN } from './IS_BFN';
import { IS_BTC } from './IS_BTC';
import { IS_BTN } from './IS_BTN';
import { IS_BTT } from './IS_BTT';
import { IS_CCH } from './IS_CCH';
import { IS_CIM } from './IS_CIM';
import { IS_CNL } from './IS_CNL';
import { IS_CON } from './IS_CON';
import { IS_CPP } from './IS_CPP';
import { IS_CPR } from './IS_CPR';
import { IS_CRS } from './IS_CRS';
import { IS_CSC } from './IS_CSC';
import { IS_FIN } from './IS_FIN';
import { IS_FLG } from './IS_FLG';
import { IS_HCP } from './IS_HCP';
import { IS_HLV } from './IS_HLV';
import { IS_III } from './IS_III';
import { IS_IPB } from './IS_IPB';
import { IS_ISI } from './IS_ISI';
import { IS_ISM } from './IS_ISM';
import { IS_JRR } from './IS_JRR';
import { IS_LAP } from './IS_LAP';
import { IS_MAL } from './IS_MAL';
import { IS_MCI } from './IS_MCI';
import { IS_MOD } from './IS_MOD';
import { IS_MSL } from './IS_MSL';
import { IS_MSO } from './IS_MSO';
import { IS_MST } from './IS_MST';
import { IS_MSX } from './IS_MSX';
import { IS_MTC } from './IS_MTC';
import { IS_NCI } from './IS_NCI';
import { IS_NCN } from './IS_NCN';
import { IS_NLP } from './IS_NLP';
import { IS_NONE } from './IS_NONE';
import { IS_NPL } from './IS_NPL';
import { IS_OBH } from './IS_OBH';
import { IS_OCO } from './IS_OCO';
import { IS_PEN } from './IS_PEN';
import { IS_PFL } from './IS_PFL';
import { IS_PIT } from './IS_PIT';
import { IS_PLA } from './IS_PLA';
import { IS_PLC } from './IS_PLC';
import { IS_PLH } from './IS_PLH';
import { IS_PLL } from './IS_PLL';
import { IS_PLP } from './IS_PLP';
import { IS_PSF } from './IS_PSF';
import { IS_REO } from './IS_REO';
import { IS_RES } from './IS_RES';
import { IS_RIP } from './IS_RIP';
import { IS_RST } from './IS_RST';
import { IS_SCC } from './IS_SCC';
import { IS_SCH } from './IS_SCH';
import { IS_SFP } from './IS_SFP';
import { IS_SLC } from './IS_SLC';
import { IS_SMALL } from './IS_SMALL';
import { IS_SPX } from './IS_SPX';
import { IS_SSH } from './IS_SSH';
import { IS_STA } from './IS_STA';
import { IS_TINY } from './IS_TINY';
import { IS_TOC } from './IS_TOC';
import { IS_TTC } from './IS_TTC';
import { IS_UCO } from './IS_UCO';
import { IS_VER } from './IS_VER';
import { IS_VTN } from './IS_VTN';
export declare const packetTypeToClass: {
0: typeof IS_NONE;
1: typeof IS_ISI;
2: typeof IS_VER;
3: typeof IS_TINY;
4: typeof IS_SMALL;
5: typeof IS_STA;
6: typeof IS_SCH;
7: typeof IS_SFP;
8: typeof IS_SCC;
9: typeof IS_CPP;
10: typeof IS_ISM;
11: typeof IS_MSO;
12: typeof IS_III;
13: typeof IS_MST;
14: typeof IS_MTC;
15: typeof IS_MOD;
16: typeof IS_VTN;
17: typeof IS_RST;
18: typeof IS_NCN;
19: typeof IS_CNL;
20: typeof IS_CPR;
21: typeof IS_NPL;
22: typeof IS_PLP;
23: typeof IS_PLL;
24: typeof IS_LAP;
25: typeof IS_SPX;
26: typeof IS_PIT;
27: typeof IS_PSF;
28: typeof IS_PLA;
29: typeof IS_CCH;
30: typeof IS_PEN;
31: typeof IS_TOC;
32: typeof IS_FLG;
33: typeof IS_PFL;
34: typeof IS_FIN;
35: typeof IS_RES;
36: typeof IS_REO;
37: typeof IS_NLP;
38: typeof IS_MCI;
39: typeof IS_MSX;
40: typeof IS_MSL;
41: typeof IS_CRS;
42: typeof IS_BFN;
43: typeof IS_AXI;
44: typeof IS_AXO;
45: typeof IS_BTN;
46: typeof IS_BTC;
47: typeof IS_BTT;
48: typeof IS_RIP;
49: typeof IS_SSH;
50: typeof IS_CON;
51: typeof IS_OBH;
52: typeof IS_HLV;
53: typeof IS_PLC;
54: typeof IS_AXM;
55: typeof IS_ACR;
56: typeof IS_HCP;
57: typeof IS_NCI;
58: typeof IS_JRR;
59: typeof IS_UCO;
60: typeof IS_OCO;
61: typeof IS_TTC;
62: typeof IS_SLC;
63: typeof IS_CSC;
64: typeof IS_CIM;
65: typeof IS_MAL;
66: typeof IS_PLH;
67: typeof IS_IPB;
68: typeof IS_AIC;
69: typeof IS_AII;
};
export { Packet, SendablePacket, SendableStruct, Struct } from './base';
export { CarFlags, ConfirmationFlags, MessageSound, ObjectIndex, PacketType, PenaltyValue, PlayerFlags, StateFlags, TyreCompound, ViewIdentifier, Wind, } from './enums';
export { AdminCommandResult, IS_ACR } from './IS_ACR';
export type { IS_AIC_Data } from './IS_AIC';
export { AICGear, AICHeadlights, AICIndicators, AICInput, AICLook, AICSteering, AICToggleValue, AIInputVal, IS_AIC, } from './IS_AIC';
export { AIFlags, IS_AII } from './IS_AII';
export { IS_AXI } from './IS_AXI';
export type { IS_AXM_Data } from './IS_AXM';
export { IS_AXM, PMOAction, PMOFlags } from './IS_AXM';
export { IS_AXO } from './IS_AXO';
export type { IS_BFN_Data } from './IS_BFN';
export { ButtonFunction, IS_BFN } from './IS_BFN';
export { ButtonClickFlags, IS_BTC } from './IS_BTC';
export type { IS_BTN_Data } from './IS_BTN';
export { ButtonStyle, ButtonTextColour, IS_BTN, TypeIn } from './IS_BTN';
export { IS_BTT } from './IS_BTT';
export { IS_CCH } from './IS_CCH';
export { GarageInterfaceSubmode, InterfaceMode, IS_CIM, NormalInterfaceSubmode, ShiftUInterfaceSubmode, } from './IS_CIM';
export { IS_CNL, LeaveReason } from './IS_CNL';
export { IS_CON } from './IS_CON';
export type { AllowedStateFlags, IS_CPP_Data } from './IS_CPP';
export { IS_CPP } from './IS_CPP';
export { IS_CPR } from './IS_CPR';
export { IS_CRS } from './IS_CRS';
export { CSCAction, IS_CSC } from './IS_CSC';
export { IS_FIN } from './IS_FIN';
export { FlagType, IS_FLG } from './IS_FLG';
export type { IS_HCP_Data } from './IS_HCP';
export { IS_HCP } from './IS_HCP';
export { HLVCViolation, IS_HLV } from './IS_HLV';
export { IS_III } from './IS_III';
export type { IS_IPB_Data } from './IS_IPB';
export { IS_IPB } from './IS_IPB';
export type { IS_ISI_Data } from './IS_ISI';
export { InSimFlags, IS_ISI, IS_ISI_ReqI } from './IS_ISI';
export { IS_ISM, MultiplayerHostMode } from './IS_ISM';
export type { IS_JRR_Data } from './IS_JRR';
export { IS_JRR, JRRAction } from './IS_JRR';
export { IS_LAP } from './IS_LAP';
export type { IS_MAL_Data } from './IS_MAL';
export { IS_MAL } from './IS_MAL';
export { IS_MCI } from './IS_MCI';
export type { IS_MOD_Data } from './IS_MOD';
export { IS_MOD } from './IS_MOD';
export type { IS_MSL_Data } from './IS_MSL';
export { IS_MSL, MSL_MSG_MAX_LENGTH } from './IS_MSL';
export { IS_MSO, UserType } from './IS_MSO';
export type { IS_MST_Data } from './IS_MST';
export { IS_MST, MST_MSG_MAX_LENGTH } from './IS_MST';
export type { IS_MSX_Data } from './IS_MSX';
export { IS_MSX, MSX_MSG_MAX_LENGTH } from './IS_MSX';
export type { IS_MTC_Data } from './IS_MTC';
export { IS_MTC } from './IS_MTC';
export { IS_NCI, Language, License } from './IS_NCI';
export { ConnectionFlags, IS_NCN } from './IS_NCN';
export { IS_NLP } from './IS_NLP';
export { IS_NONE } from './IS_NONE';
export { CarConfiguration, IS_NPL, PassengerFlags, PlayerType, SetupFlags, } from './IS_NPL';
export { IS_OBH, ObjectHitFlags } from './IS_OBH';
export type { IS_OCO_Data } from './IS_OCO';
export { IS_OCO, OCOAction, OCOAutocrossStartLights, OCOMainLights, } from './IS_OCO';
export { IS_PEN, PenaltyReason } from './IS_PEN';
export { IS_PFL } from './IS_PFL';
export { IS_PIT, PitWorkFlags } from './IS_PIT';
export { IS_PLA, PitLaneFact } from './IS_PLA';
export type { IS_PLC_Data } from './IS_PLC';
export { IS_PLC } from './IS_PLC';
export type { IS_PLH_Data } from './IS_PLH';
export { IS_PLH } from './IS_PLH';
export { IS_PLL } from './IS_PLL';
export { IS_PLP } from './IS_PLP';
export { IS_PSF } from './IS_PSF';
export type { IS_REO_Data } from './IS_REO';
export { IS_REO } from './IS_REO';
export { IS_RES } from './IS_RES';
export type { IS_RIP_Data } from './IS_RIP';
export { IS_RIP, ReplayError, ReplayMode, ReplayOptions } from './IS_RIP';
export { IS_RST, RaceFlags } from './IS_RST';
export type { IS_SCC_Data } from './IS_SCC';
export { IS_SCC } from './IS_SCC';
export type { IS_SCH_Data } from './IS_SCH';
export { CharacterModifiers, IS_SCH } from './IS_SCH';
export type { IS_SFP_Data, SendableStateFlags } from './IS_SFP';
export { IS_SFP } from './IS_SFP';
export { IS_SLC } from './IS_SLC';
export type { IS_SMALL_Data } from './IS_SMALL';
export type { SendableSmallType } from './IS_SMALL';
export { IS_SMALL, LocalCarLights, LocalCarSwitches, SENDABLE_SMALL_TYPES, SmallType, } from './IS_SMALL';
export { IS_SPX } from './IS_SPX';
export type { IS_SSH_Data } from './IS_SSH';
export { IS_SSH, ScreenshotError } from './IS_SSH';
export { IS_STA, RaceState, ServerStatus } from './IS_STA';
export type { InfoRequestTinyType, IS_TINY_Data, SendableTinyType, } from './IS_TINY';
export { INFO_REQUEST_TINY_TYPES, IS_TINY, SENDABLE_TINY_TYPES, TinyType, } from './IS_TINY';
export { IS_TOC } from './IS_TOC';
export type { IS_TTC_Data } from './IS_TTC';
export { IS_TTC, TargetToConnectionType } from './IS_TTC';
export { IS_UCO, UCOAction } from './IS_UCO';
export { IS_VER } from './IS_VER';
export { IS_VTN, VoteAction } from './IS_VTN';
export { CarContact, CarContOBJ, CarHCP, CompCar, HInfo, NodeLap, ObjectFlags, ObjectInfo, PlayerHCap, PlayerHCapFlags, } from './structs';
export type { InSimPacket, InSimPacketInstance } from './types';