UNPKG

@argus-labs/proto

Version:

Generated TypeScript protobuf definitions for Argus Labs World Engine

52 lines (44 loc) 1.73 kB
// @generated by protoc-gen-es v2.2.3 with parameter "target=ts" // @generated from file isc/v1/event.proto (package isc.v1, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import { file_buf_validate_validate } from "../../buf/validate/validate_pb"; import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt"; import type { JsonObject, Message } from "@bufbuild/protobuf"; /** * Describes the file isc/v1/event.proto. */ export const file_isc_v1_event: GenFile = /*@__PURE__*/ fileDesc("ChJpc2MvdjEvZXZlbnQucHJvdG8SBmlzYy52MSKVAQoFRXZlbnQSMAoHcGF5bG9hZBgBIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RCBrpIA8gBARItCgRuYW1lGAIgASgJQh+6SBzIAQFyFxABGIABMhBeW2EtekEtWjAtOV8tXSskEisKBWdyb3VwGAMgASgJQhy6SBlyFxAAGIABMhBeW2EtekEtWjAtOV8tXSokQjhaNmdpdGh1Yi5jb20vYXJndXMtbGFicy9nby1lY3MvcHJvdG8vZ2VuL2dvL2lzYy92MTtpc2N2MWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_struct]); /** * Event represents a game event emitted by Cardinal. * * @generated from message isc.v1.Event */ export type Event = Message<"isc.v1.Event"> & { /** * The payload of the event. * * @generated from field: google.protobuf.Struct payload = 1; */ payload?: JsonObject; /** * The event name. * * @generated from field: string name = 2; */ name: string; /** * Optional event group. * * @generated from field: string group = 3; */ group: string; }; /** * Describes the message isc.v1.Event. * Use `create(EventSchema)` to create a new message. */ export const EventSchema: GenMessage<Event> = /*@__PURE__*/ messageDesc(file_isc_v1_event, 0);