@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
17 lines (16 loc) • 1.11 kB
TypeScript
import type { BallSensorDiskThrowerModuleStatus, DiskSensorBallShooterModuleStatus, EmergencyModuleStatus, FlagModuleStatus, RGBModuleStatus, SpeedModuleStatus, StarLaserModuleStatus, SteeringWheelModuleStatus } from '../hardware';
/** Data that are triggered from Hardware Modules of Kart */
export type SocketHardwareOnDataEventsParams = {
'hardware:disk-sensor-ball-shooter:onModuleStatus': DiskSensorBallShooterModuleStatus;
'hardware:ball-sensor-disk-thrower:onModuleStatus': BallSensorDiskThrowerModuleStatus;
'hardware:rgb:onModuleStatus': RGBModuleStatus;
'hardware:flag:onModuleStatus': FlagModuleStatus;
'hardware:speed:onModuleStatus': SpeedModuleStatus;
'hardware:left-star-back-laser:onModuleStatus': StarLaserModuleStatus;
'hardware:right-star-front-laser:onModuleStatus': StarLaserModuleStatus;
'hardware:steering-wheel:onModuleStatus': SteeringWheelModuleStatus;
};
/** Data that are triggered from Hardware Modules of Game Track */
export type SocketGameTrackHardwareOnDataEventsParams = {
'hardware:emergency:onModuleStatus': EmergencyModuleStatus;
};