import { ReflectionObject } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts";
Base class of all reflection objects.
Properties
Methods
getOption(name: string): any
Gets an option value.
onAdd(parent: ReflectionObject): void
Called when this object is added to a parent.
onRemove(parent: ReflectionObject): void
Called when this object is removed from a parent.
Resolves this objects type references.
setOption(): ReflectionObject
name: string,
value: any,
ifNotSet?: boolean,
Sets an option.
setOptions(options: { [k: string]: any; }, ifNotSet?: boolean): ReflectionObject
Sets multiple options.
setParsedOption(): ReflectionObject
name: string,
value: any,
propName: string,
Sets a parsed option.
toJSON(): { [k: string]: any; }
Converts this reflection object to its descriptor representation.
toString(): string
Converts this instance to its string representation.