Skip to content

VimpServerInboundEvents

@vimp-mp/types 2.0.1

Interface · CEF UI API

Custom events the UI sends to the server (vimp.emitServer).

Extend via declaration merging to strongly type payloads:

ts
declare module '@vimp-mp/types/ui' {
  interface VimpServerInboundEvents {
    'ui:submitScore': { score: number };
  }
}
ts
interface VimpServerInboundEvents

VIMP developer documentation