2022-11-15 19:28:57 +00:00
|
|
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
|
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
|
|
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
|
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
|
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
|
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
|
|
/**
|
|
|
|
* @generated from protobuf message Packet
|
|
|
|
*/
|
|
|
|
export interface PacketType {
|
|
|
|
/**
|
|
|
|
* @generated from protobuf field: bytes originId = 1;
|
|
|
|
*/
|
2022-11-15 18:48:21 +00:00
|
|
|
originId: Uint8Array;
|
2022-11-15 19:28:57 +00:00
|
|
|
/**
|
|
|
|
* @generated from protobuf field: uint32 messageNumber = 2;
|
|
|
|
*/
|
2022-11-15 18:48:21 +00:00
|
|
|
messageNumber: number;
|
2022-11-15 19:28:57 +00:00
|
|
|
/**
|
|
|
|
* @generated from protobuf field: uint32 ttl = 3;
|
|
|
|
*/
|
2022-11-15 18:48:21 +00:00
|
|
|
ttl: number;
|
2022-11-15 19:28:57 +00:00
|
|
|
/**
|
|
|
|
* @generated from protobuf field: bytes data = 4;
|
|
|
|
*/
|
2022-11-15 18:48:21 +00:00
|
|
|
data: Uint8Array;
|
|
|
|
}
|
2022-11-15 19:28:57 +00:00
|
|
|
declare class Packet$Type extends MessageType<PacketType> {
|
|
|
|
constructor();
|
|
|
|
create(value?: PartialMessage<PacketType>): PacketType;
|
|
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PacketType): PacketType;
|
|
|
|
internalBinaryWrite(message: PacketType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* @generated MessageType for protobuf message Packet
|
|
|
|
*/
|
|
|
|
export declare const Packet: Packet$Type;
|
2022-11-15 18:48:21 +00:00
|
|
|
export {};
|
|
|
|
//# sourceMappingURL=messages.d.ts.map
|