import { Type } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts";
Reflected message type.
Properties
The registered constructor, if any registered, otherwise a generic constructor. Assigning a function replaces the internal constructor. If the function does not extend Message yet, its prototype will be setup accordingly and static methods will be populated. If it already extends Message, it will just replace the internal constructor.
Methods
Decodes a message of this type preceeded by its byte length as a varint.
Encodes a message of this type preceeded by its byte length as a varint. Does not implicitly Type#verify | verify messages.
Creates a new message of this type from a plain object. Also converts values to their respective internal types.
Converts this message type to a message type descriptor.
Creates a plain object from a message of this type. Also converts values to other types if specified.
Verifies that field values are valid and that required fields are present.